[SDL] Strange Error
Lucas Clemente Vella
lvella at uai.com.br
Sun Oct 10 07:06:42 PDT 2004
Just memory address:
36 rendered = TTF_RenderText_Blended(font, text_str, fg);
(gdb) print text_str
$1 = 0x804c650 "Exit"
(gdb) print font
$2 = (TTF_Font *) 0x80b5fc8
(gdb) next
Program received signal SIGSEGV, Segmentation fault.
0x4038c89e in _int_malloc () from /lib/libc.so.6
(gdb) next
Single stepping until exit from function _int_malloc,
which has no line number information.
Fatal signal: Segmentation Fault (SDL Parachute Deployed)
[Thread 16386 (LWP 12074) exited]
Uplink wrote:
> Then do
> *print font*
> *print text_str*
> in gdb before you do *next* and see what the values are
--
Lucas Clemente Vella
lvella at uai.com.br
More information about the SDL
mailing list