Re: A Segmentation fault in many programs on debian unstable

From: Yedidyah Bar-David (didi_at_nonexisting.hamakor.org.il)
Date: Sat 26 Jun 2004 - 20:53:52 IDT


On Sat, Jun 26, 2004 at 07:58:08PM +0300, ik wrote:
> On Saturday 26 June 2004 19:10, Yedidyah Bar-David wrote:
> > Did you try knoppix or something like that? If it crashes too you can
> > be pretty sure it's the hardware, otherwise I'll start checking other
> > stuff by using a known-good replacement e.g. from knoppix - the kernel,
> > glibc, etc.
> I run morphix and it worked just fine, firefox did not crush, and i had the same rispondes of things (the kernel is diffrent but i do not think
> it's the problem, because it's start a month afther i changed the kernel...)

So my guess (similar to others') is some lib.
You can find which libs it uses either with ldd or with strace (keep
the output in a file (using '-o'), grep for 'open.*lib').
Copy from morphix the lib you want to check against to some new
directory (e.g. '/tmp/testdir'), then do (in bash)
export LD_PRELOAD=thelibyouwant.so e.g.
export LD_PRELOAD=/tmp/testdir/libc.so.6
and run your app. You can try running it in strace, grep, and make sure
it did not load your installed lib. Do that with each of the libs,
starting with the newest ones going backwards.

One more note - when you reply, please add newlines before and after
your text, so that it's easier to find.

-- 
Didi
=================================================================
To unsubscribe, send mail to linux-il-request_at_linux.org.il with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail linux-il-request_at_linux.org.il


This archive was generated by hypermail 2.1.7 : Sat 26 Jun 2004 - 21:07:59 IDT