Re: [Tuxpaint-devel] Segfault with more than 127 font families detected
An award-winning drawing program for children of all ages
Brought to you by:
wkendrick
|
From: Pere P. i C. <pe...@fo...> - 2007-11-30 22:48:26
|
> I get this when compiling, not sure if it is related, any hints? > src/tuxpaint.c:15858: warning: passing argument 1 of ‘TTF_SizeUNICODE’ > from incompatible pointer type > valgrind shows this amog a lot of other output getfonthandle(394)... Setting 'name' to fi->filename[0 (0x0)] Which is: metalord.ttf fi->handle was set (0x59427a0) ==29509== ==29509== Use of uninitialised value of size 4 ==29509== at 0x4117BE1: TTF_SizeUNICODE (in /usr/lib/libSDL_ttf-2.0.so.0.6.3) ==29509== by 0x8063220: mainloop (tuxpaint.c:15858) ==29509== by 0x8069C56: main (tuxpaint.c:1779) ==29509== ==29509== Invalid read of size 4 ==29509== at 0x4117BE1: TTF_SizeUNICODE (in /usr/lib/libSDL_ttf-2.0.so.0.6.3) ==29509== by 0x8063220: mainloop (tuxpaint.c:15858) ==29509== by 0x8069C56: main (tuxpaint.c:1779) ==29509== Address 0x322F5357 is not stack'd, malloc'd or (recently) free'd ==29509== ==29509== Process terminating with default action of signal 11 (SIGSEGV) ==29509== Access not within mapped region at address 0x322F5357 ==29509== at 0x4117BE1: TTF_SizeUNICODE (in /usr/lib/libSDL_ttf-2.0.so.0.6.3) ==29509== by 0x8063220: mainloop (tuxpaint.c:15858) ==29509== by 0x8069C56: main (tuxpaint.c:1779) ==29509== ==29509== ERROR SUMMARY: 401 errors from 22 contexts (suppressed: 421 from 1) ==29509== malloc/free: in use at exit: 36,794,729 bytes in 56,518 blocks. ==29509== malloc/free: 379,102 allocs, 322,584 frees, 165,859,510 bytes allocated. ==29509== For counts of detected errors, rerun with: -v ==29509== searching for pointers to 56,518 not-freed blocks. ==29509== checked 47,540,848 bytes. ==29509== ==29509== > > Yours > Pere > > > ------------------------------------------------------------------------- > SF.Net email is sponsored by: The Future of Linux Business White Paper > from Novell. From the desktop to the data center, Linux is going > mainstream. Let it simplify your IT future. > http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 > _______________________________________________ > Tuxpaint-devel mailing list > Tux...@li... > https://lists.sourceforge.net/lists/listinfo/tuxpaint-devel |