Re: [AD] SF.net SVN: alleg:[11645] allegro/branches/4.9/examples/ex_utf8.c

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


On Sun, 2009-02-22 at 09:36 +1100, Peter Wang wrote:
> On 2009-02-21, elias@xxxxxxxxxx <elias@xxxxxxxxxx> wrote:
> > Revision: 11645
> >           http://alleg.svn.sourceforge.net/alleg/?rev=11645&view=rev
> > Author:   elias
> > Date:     2009-02-21 15:43:42 +0000 (Sat, 21 Feb 2009)
> > 
> > Log Message:
> > -----------
> > Added a testcase to ex_utf8 which crashes for me. Peter: Waiting for you to fix it before I start debugging it myself :)
> > 
> 
> I can't reproduce it.
> 

Oh well, seems to be one of "those" bugs. I was unable to figure out the
cause of the crash, but I found if I set the size parameter of
_al_bvcformata to at least 32, the crashes stop. Looks like the actual
bug is in bstrlib. Or maybe I have a broken libc here? I committed the
work-around of setting the size to 32 for now, and also fixed a
constness warning.

-- 
Elias Pschernig <elias@xxxxxxxxxx>





Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/