Re: gtk_timeout_remove causes seg fault



 A bt in gdb for 2 looks like this.
 
 #0  0x4041d0e4 in chunk_free (ar_ptr=0x404b1d60, p=0x80a8030) at
 malloc.c:3100
 #1  0x4041cfba in __libc_free (mem=0x80a8038) at malloc.c:3023
 #2  0x403ac36d in g_free ()
 #3  0x403aaae0 in g_source_destroy_func ()
 #4  0x403a87b3 in g_hook_free ()
 #5  0x403a8aa8 in g_hook_unref ()
 #6  0x403ab20e in g_main_dispatch ()
 #7  0x403ab751 in g_main_iterate ()
 #8  0x403ab8f1 in g_main_run ()
 #9  0x401c67b9 in gtk_main ()

This is your basic "corrupted or already-freed pointer passed to
free()" backtrace.

'MALLOC_CHECK_=2 gdb myapp' may be helpful (see malloc man page for
details on MALLOC_CHECK_).

Havoc





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]