libthr/libkse and Mozilla Firebird

Daniel Eischen eischen at vigrid.com
Wed Sep 17 12:21:08 PDT 2003


On Wed, 17 Sep 2003, Morten Rodal wrote:

> I apologize if you guys get this mail twice, but it doesn't seem to
> have reached threads at freebsd.org?!  So, I'm resending it.
> 
> 
> On Mon, Sep 15, 2003 at 04:09:03PM -0400, Daniel Eischen wrote:
> > On Mon, 15 Sep 2003, Maxim Konovalov wrote:
> > 
> > > On Mon, 15 Sep 2003, 19:56+0400, Maxim Konovalov wrote:
> > > 
> > > > [...]
> > > > > Do you have any malloc options set, or any kernel options set
> > > >
> > > > no malloc options.
> > > >
> > > > > that are different from GENERIC?
> > > >
> > > > here you are: http://maxim.int.ru/stuff/GOLF5
> > > >
> > > > The only option I am worry about is 'options HZ 1000'.  Could it
> > > > interfere with libkse?
> > > 
> > > 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)
> 
> I get the same(?) ktrace when my firebird disappears.
> 
>  66628 MozillaFirebird-bin CALL  break(0x90a1000)
>  66628 MozillaFirebird-bin RET   break 0
>  66628 MozillaFirebird-bin PSIG  SIGSEGV caught handler=0x288b72e0 mask=0xfffefaff code=0xc
>  66628 MozillaFirebird-bin CALL  unlink(0x81c9040)
>  66628 MozillaFirebird-bin NAMI "/usr/home/morten/.phoenix/default/gd75op6b.slt/lock"
>  66628 MozillaFirebird-bin RET   unlink 0
>  66628 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.
> > 
> 
> How are you able to run it under the debugger?  Whenever I try
> (haven't tried as root) my computer panics!
> 
> For more info on the panic (if it has anything to do with debugging
> libkse programs) see this thread on current@
> 
> Message-ID: <20030912065458.GA604 at atlantis.rodal.no>
> 
> or
> 
> http://lists.freebsd.org/pipermail/freebsd-current/2003-September/010356.html

I just posted a similar panic when trying to debug mozilla
on an SMP system.  Something seems wrong in the kernel
and it doesn't appear to be KSE related.

-- 
Dan Eischen



More information about the freebsd-threads mailing list