Re: Segfault in g_malloc()?



"Luke Scharf" <luke vt edu> writes:
My application is segfauling in g_malloc().  Most of the application was
written by someone else.

Are there any standard things to look for that would cause g_malloc() to
segfault other than normal array-out-of-bounds messing up stuff that I don't
want to think about right now?


Try running your app like:

 MALLOC_CHECK_=2 gdb myapp

as a first step - often that catches a double free or something.

Havoc




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