[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

libthr/libkse and Mozilla Firebird



On Tue, 16 Sep 2003, Maxim Konovalov wrote:

> [...]
> > > From ktrace.out the last things firebird done were:
> > >
> > > # kdump -f ktrace.out | tail -20
> > >  37436 MozillaFirebird-bin CALL  socket(0x2,0x1,0)
> > >  37436 MozillaFirebird-bin RET   socket 31/0x1f
> > >  37436 MozillaFirebird-bin CALL  fcntl(0x1f,0x3,0x10)
> > >  37436 MozillaFirebird-bin RET   fcntl 2
> > >  37436 MozillaFirebird-bin CALL  fcntl(0x1f,0x4,0x6)
> > >  37436 MozillaFirebird-bin RET   fcntl 0
> > >  37436 MozillaFirebird-bin CALL  connect(0x1f,0xbfaedc48,0x10)
> > >  37436 MozillaFirebird-bin RET   connect -1 errno 36 Operation now in progress
> > >  37436 MozillaFirebird-bin CALL  poll(0xbfaedce8,0x6,0xffffffff)
> > >  37436 MozillaFirebird-bin RET   fork 0
> > >  37436 MozillaFirebird-bin CALL  gettimeofday(0xbfabaf10,0)
> > >  37436 MozillaFirebird-bin RET   gettimeofday 0
> > >  37436 MozillaFirebird-bin CALL  gettimeofday(0xbfabaee0,0)
> > >  37436 MozillaFirebird-bin RET   gettimeofday 0
> > >  37436 MozillaFirebird-bin PSIG  SIGSEGV caught handler=0x484f62e0 mask=0xfffefaff code=0xc
> > >  37436 MozillaFirebird-bin CALL  unlink(0x81c4440)
> > >  37436 MozillaFirebird-bin NAMI  "/home/maxim/.phoenix/default/17ma97wm.slt/lock"
> > >  37436 MozillaFirebird-bin RET   unlink 0
> > >  37436 MozillaFirebird-bin CALL  exit(0xb)
> >
> > Can you run it under the debugger?  I was able to get
> > mozilla to run under the debugger, but had to be root
> > for it to work.
> 
> # firebird --debug
> /usr/X11R6/lib/firebird/lib/mozilla-1.5a/run-mozilla.sh -g
> /usr/X11R6/lib/firebird/lib/mozilla-1.5a/MozillaFirebird-bin
> MOZILLA_FIVE_HOME=/usr/X11R6/lib/firebird/lib/mozilla-1.5a
> ...
> (no debugging symbols found)...(no debugging symbols found)...
> (no debugging symbols found)...
> Program terminated with signal SIGTRAP, Trace/breakpoint trap.
> The program no longer exists.
> (gdb)

-bash-2.05b$ ldd /usr/X11R6/lib/firebird/lib/mozilla-1.5a/MozillaFirebird-bin 
/usr/X11R6/lib/firebird/lib/mozilla-1.5a/MozillaFirebird-bin:
        libmozjs.so => not found (0x0)
        libxpcom.so => not found (0x0)
        libplds4.so => /usr/local/lib/libplds4.so (0x28089000)
        libplc4.so => /usr/local/lib/libplc4.so (0x280b2000)
        libnspr4.so => /usr/local/lib/libnspr4.so (0x280dc000)
        libgtk12.so.2 => /usr/X11R6/lib/libgtk12.so.2 (0x2810f000)
        libgdk12.so.2 => /usr/X11R6/lib/libgdk12.so.2 (0x2825c000)
        libgmodule12.so.3 => /usr/local/lib/libgmodule12.so.3 (0x28295000)
        libglib12.so.3 => /usr/local/lib/libglib12.so.3 (0x28298000)
        libintl.so.5 => /usr/local/lib/libintl.so.5 (0x282bd000)
        libXi.so.6 => /usr/X11R6/lib/libXi.so.6 (0x282c6000)
        libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x282ce000)
        libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x282dd000)
        libm.so.2 => /usr/lib/libm.so.2 (0x283a5000)
        libc_r.so.5 => /usr/lib/libkse.so.1 (0x283be000)
        libstdc++.so.4 => /usr/lib/libstdc++.so.4 (0x283e0000)
        libc.so.5 => /usr/lib/libc.so.5 (0x2849c000)
        libiconv.so.3 => /usr/local/lib/libiconv.so.3 (0x28575000)
-bash-2.05b$ firebird --debug
/usr/X11R6/lib/firebird/lib/mozilla-1.5a/run-mozilla.sh -g
/usr/X11R6/lib/firebird/lib/mozilla-1.5a/MozillaFirebird-bin
MOZILLA_FIVE_HOME=/usr/X11R6/lib/firebird/lib/mozilla-1.5a

LD_LIBRARY_PATH=/usr/X11R6/lib/firebird/lib/mozilla-1.5a:/usr/X11R6/lib/firebird/lib/mozilla-1.5a/plugins:/usr/X11R6/lib/browser_plugins:/usr/X11R6/lib/firebird/lib/mre/mre-1.5a
DISPLAY=:0.0
FONTCONFIG_PATH=/usr/X11R6/etc/fonts:/usr/X11R6/lib/firebird/lib/mozilla-1.5a/res/Xft
DYLD_LIBRARY_PATH=/usr/X11R6/lib/firebird/lib/mozilla-1.5a:/usr/X11R6/lib/firebird/lib/mre/mre-1.5a

LIBRARY_PATH=/usr/X11R6/lib/firebird/lib/mozilla-1.5a:/usr/X11R6/lib/firebird/lib/mozilla-1.5a/components:/usr/X11R6/lib/firebird/lib/mre/mre-1.5a

SHLIB_PATH=/usr/X11R6/lib/firebird/lib/mozilla-1.5a:/usr/X11R6/lib/firebird/lib/mre/mre-1.5a

LIBPATH=/usr/X11R6/lib/firebird/lib/mozilla-1.5a:/usr/X11R6/lib/firebird/lib/mre/mre-1.5a
       ADDON_PATH=/usr/X11R6/lib/firebird/lib/mozilla-1.5a
      MOZ_PROGRAM=/usr/X11R6/lib/firebird/lib/mozilla-1.5a/MozillaFirebird-bin
      MOZ_TOOLKIT=
        moz_debug=1
     moz_debugger=
/usr/bin/gdb /usr/X11R6/lib/firebird/lib/mozilla-1.5a/MozillaFirebird-bin -x
/tmp/mozargs700
GNU gdb 5.2.1 (FreeBSD)
Copyright 2002 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-undermydesk-freebsd"...(no debugging symbols
found)...
(gdb) 


I don't know what else I can do.  Do you have a /usr/lib/libpthread.so?
Can you try with a GENERIC kernel, or at least a stripped GENERIC with
removed devices.  I noticed you had MAXDSIZ=(1024*1024*1024) without the
'UL' (MAXDSIZ=(1024UL*1024*1024)).

-- 
Dan Eischen