Re: What is cause of this error??
- From: Owen Taylor <otaylor redhat com>
- To: gtk-list gnome org
- Subject: Re: What is cause of this error??
- Date: 02 Feb 2003 09:54:42 -0500
On Sat, 2003-02-01 at 14:03, beer wrote:
> Hi,
> I have some error about my program.
> It make my program terminate.
>
> Program received signal SIGSEGV, Segmentation fault.
> [Switching to Thread 8192 (LWP 22876)]
> 0x420741b1 in malloc_consolidate () from /lib/i686/libc.so.6
> (gdb) bt
> #0 0x420741b1 in malloc_consolidate () from /lib/i686/libc.so.6
> #1 0x42073ab7 in _int_malloc () from /lib/i686/libc.so.6
> #2 0x42073155 in malloc () from /lib/i686/libc.so.6
> #3 0x403b4edd in g_try_malloc () from /usr/lib/libglib-2.0.so.0
Segfault inside malloc => you corrupted memory elsewhere in your
program. First thing to do (if you are under Linux) is try setting
the MALLOC_CHECK_ environment variable to 2. If that doesn't show
the error, you may want to try a tool such as valgrind or ElectricFence.
Regards,
Owen
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]