Re: big troubles in little libc
* David Z Maze (dmaze@debian.org) wrote:
> and you'll generally get a segfault where the program actually messes
> up, rather than when the symptoms are seen later. There's a cost in
> both memory and runtime, but using LD_PRELOAD inside gdb makes this a
> lot less permanent.
The thing that I find strangest is that the dying apps haven't changed
recently...
(gdb) run
Starting program: /home/ibroadfo/tmp/gaim-0.70/src/gaim
[New Thread 16384 (LWP 25567)]
Electric Fence 2.1 Copyright (C) 1987-1998 Bruce Perens.
ElectricFence Aborting: free(1): address not from malloc().
Program received signal SIGILL, Illegal instruction.
[Switching to Thread 16384 (LWP 25567)]
0x40702641 in kill () from /lib/libc.so.6
(gdb)
(gdb) run
Starting program: /home/ibroadfo/tmp/liferea-0.4.3/src/liferea
[New Thread 16384 (LWP 27561)]
Electric Fence 2.1 Copyright (C) 1987-1998 Bruce Perens.
ElectricFence Aborting: free(1): address not from malloc().
Program received signal SIGILL, Illegal instruction.
[Switching to Thread 16384 (LWP 27561)]
0x406cd641 in kill () from /lib/libc.so.6
(gdb)
iain
--
"If sharing a thing in no way diminishes it, it is not rightly owned if it is
not shared." -- St. Augustine
Reply to: