Re: Window destroy = program crash?



"David J. Topper" <topper virginia edu> writes:

> Hi folks,
> 
> I seem to be getting strange crashes in my app, back tracing shows a
> long list of gtk function calls ... which do not help me debug.  Here's
> a brief snippet:
> 
> #0  0x40318c00 in free () from /lib/libc.so.6
> #1  0x40318a9b in free () from /lib/libc.so.6

Segfault in free == memory corruption somewhere else in
your app. It's most likely a double free - to catch that
on Linux, try: 

 $ gdb myprog
 (gdb) set env MALLOC_CHECK_=2
 (gdb) r  

Regards,
                                        Owen




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