Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Sep 2003 11:34:04 +0400 (MSD)
From:      Maxim Konovalov <maxim@macomnet.ru>
To:        deischen@FreeBSD.org
Cc:        threads@FreeBSD.org
Subject:   Re: libthr/libkse and Mozilla Firebird
Message-ID:  <20030916112331.M89056@news1.macomnet.ru>
In-Reply-To: <Pine.GSO.4.10.10309151606520.10420-100000@pcnet5.pcnet.com>
References:  <Pine.GSO.4.10.10309151606520.10420-100000@pcnet5.pcnet.com>

next in thread | previous in thread | raw e-mail | index | archive | help
[...]
> > 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)

That works flawless if I comment out libc_r mapping.

-- 
Maxim Konovalov, maxim@macomnet.ru, maxim@FreeBSD.org



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030916112331.M89056>