|
From: <da...@ix...> - 2003-04-15 19:58:40
|
In article <3E9...@ta...>,
Leif Mortenson <wra...@li...> wrote:
>I have not been able to figure out how free could be getting called more
>than
>once for those variables. They are being set to NULL immediately after
>being
>freed. Also that exact code has been working perfectly for well over a
>year
>on all the other UNIX platforms.
WAG: Buffer overflow somewhere?
Hmm... I was going to try ElectricFence, but that didn't get me very far.
Changing console() to do
exec df $WRAPPER_CMD ...
And core dump right away.
Running NodeWarrior Analytics Server...
Electric Fence 2.2.0 Copyright (C) 1987-1999 Bruce Perens
<br...@pe...>
ElectricFence Aborting: Allocating 0 bytes, probably a bug.
/usr/bin/ef: line 20: 32496 Illegal instruction (core dumped) ( export LD_PRELOAD=libefence.so.0.0; exec $* )
(gdb) bt
#0 0x42029331 in kill () from /lib/i686/libc.so.6
#1 0x4002ae98 in do_abort () from /usr/lib/libefence.so.0.0
#2 0x4002b10f in EF_Abort () from /usr/lib/libefence.so.0.0
#3 0x4002a541 in memalign () from /usr/lib/libefence.so.0.0
#4 0x4002ac26 in malloc () from /usr/lib/libefence.so.0.0
#5 0x0804b5d9 in wrapperLoadConfiguration ()
#6 0x0804c9b4 in main ()
#7 0x42017589 in __libc_start_main () from /lib/i686/libc.so.6
mrc
--
Mike Castle da...@ix... www.netcom.com/~dalgoda/
We are all of us living in the shadow of Manhattan. -- Watchmen
fatal ("You are in a maze of twisty compiler features, all different"); -- gcc
|