On Mon, 25 Nov 2002, Net Llama! wrote:
> On Tue, 19 Nov 2002, Jim Bonnet wrote:
> > >>Or.. Have you run a debugger against the programs to see if you can find
> > >>the actual line of code that is causing the fault? Maybe its a lib call
> > >>and you can pinpoint the lib that way.
> > >>
> > >>
> > >
> > >I don't even have gdb installed on this box..ugh.  If i do install it,
> > >what syntax would i use?  Something like "gdb <binary>"?
> > >
> > exactly, although you should compile with -g so you get some symbols to
> > debug against, and install ddd so you
> > can get something done right away, VS learning C debugging from the
> > command line.. ouch.
> >
> > I guess the rest of your machine is running just fine? because as was
> > previously noted.. RAM is a factor in segfault..
>
> I ran memtest86 on this box for 5 days straight, and didn't have a single
> error.
>
> The problem, however, appears to be worsening, as now mozilla core dumps
> too, and it ran ok last week.
> I finally installed gdb and ddd, and ran it against mozilla.  The only
> output that i got was:
>
> Core was generated by `/opt/mozilla/mozilla-bin'.
> Program terminated with signal 11, Segmentation fault.
> Reading symbols from /opt/mozilla/libgkgfx.so...(no debugging symbols
> found)...
> done.
> Loaded symbols for /opt/mozilla/libgkgfx.so
> Reading symbols from /opt/mozilla/libjsj.so...(no debugging symbols
> found)...
> done.
> Loaded symbols for /opt/mozilla/libjsj.so
> Reading symbols from /opt/mozilla/libmozjs.so...(no debugging symbols
> found)...
> done.
> Loaded symbols for /opt/mozilla/libmozjs.so
> Reading symbols from /opt/mozilla/libxpcom.so...(no debugging symbols
> found)...
> done.
> Loaded symbols for /opt/mozilla/libxpcom.so
> Reading symbols from /opt/mozilla/libplds4.so...(no debugging symbols
> found)...
> done.
> Loaded symbols for /opt/mozilla/libplds4.so
> Reading symbols from /opt/mozilla/libplc4.so...(no debugging symbols
> found)...
> done.
> Loaded symbols for /opt/mozilla/libplc4.so
> Reading symbols from /opt/mozilla/libnspr4.so...(no debugging symbols
> found)...
> done.
> Loaded symbols for /opt/mozilla/libnspr4.so
> Reading symbols from /lib/libpthread.so.0...(no debugging symbols
> found)...
> done.
>
> warning: Unable to set global thread event mask: generic error
> [New Thread 1024 (LWP 20934)]
> Error while reading shared library symbols:
> Cannot enable thread event reporting for Thread 1024 (LWP 20934): generic
> error
> Reading symbols from /lib/libdl.so.2...(no debugging symbols
> found)...done.
> Loaded symbols for /lib/libdl.so.2
> Reading symbols from /usr/lib/libgtk-1.2.so.0...(no debugging symbols
> found)...
> done.
> Loaded symbols for /usr/lib/libgtk-1.2.so.0
> Reading symbols from /usr/lib/libgdk-1.2.so.0...(no debugging symbols
> found)...
> done.
> Loaded symbols for /usr/lib/libgdk-1.2.so.0
> Reading symbols from /usr/lib/libgmodule-1.2.so.0...
> (no debugging symbols found)...done.
> Loaded symbols for /usr/lib/libgmodule-1.2.so.0
> Reading symbols from /usr/lib/libglib-1.2.so.0...done.
> Loaded symbols for /usr/lib/libglib-1.2.so.0
> Reading symbols from /usr/X11R6/lib/libXi.so.6...done.
> Loaded symbols for /usr/X11R6/lib/libXi.so.6
> Reading symbols from /usr/X11R6/lib/libXext.so.6...done.
> Loaded symbols for /usr/X11R6/lib/libXext.so.6
> Reading symbols from /usr/X11R6/lib/libX11.so.6...done.
> Loaded symbols for /usr/X11R6/lib/libX11.so.6
> Reading symbols from /lib/libm.so.6...done.
> Loaded symbols for /lib/libm.so.6
> Reading symbols from /lib/libc.so.6...done.
> Loaded symbols for /lib/libc.so.6
> Reading symbols from /usr/lib/libstdc++-libc6.1-1.so.2...done.
> Loaded symbols for /usr/lib/libstdc++-libc6.1-1.so.2
> Reading symbols from /lib/ld-linux.so.2...done.
> Loaded symbols for /lib/ld-linux.so.2
> #0  0x4020a6a3 in __errno_location () from /lib/libpthread.so.0
> (gdb)
>
>
> Does this mean that the problem is with /lib/libpthread.so.0 ?

I think i've figured out (part of) thje problem.  Somehow, and i've yet to
figure out how, when i was attempting to build glibc-2.2.5 last week,
parts of it got installed.  I have no idea how, since the build bombed out
(ironically with a core dump) and i never even got as far as the 'make
install' phase.

-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Lonni J Friedman                                [EMAIL PROTECTED]
Linux Step-by-step & TyGeMo                  http://netllama.ipfox.com

_______________________________________________
Linux-users mailing list
[EMAIL PROTECTED]
Unsubscribe/Suspend/Etc -> http://www.linux-sxs.org/mailman/listinfo/linux-users

Reply via email to