Subject: Firefox 1.5 instability under NetBSD 3.0/i386
To: None <tech-pkg@netbsd.org>
From: David H.Gutteridge <dhgutteridge@sympatico.ca>
List: tech-pkg
Date: 02/04/2006 21:22:25
Hi all,
Just wondering if anyone else has experienced the following problem with Firefox.
If I open multiple tabs almost simultaneously, and try resolving multiple sites,
I often get a segfault. Any combination of sites that require a bit of time
to load seems to cause the problem.
I'm running NetBSD 3.0/i386 stock from the installer CD, with firefox-1.5nb3
built from pkgsrc. I'm not getting any segfaults with any other applications on
the machine, and I've tested the RAM (the machine has ECC RAM, which makes that
possibility less likely anyway).
I ktraced the application and also looked at the core with gdb, but I haven't tried
actually running a build with debugging symbols enabled. This output probably
isn't too useful, I'm more curious if I'm the only one who's encountered this.
Here's some output from ktrace:
13943 firefox-bin RET read 32/0x20
13943 firefox-bin CALL read(3,0x8c8c0c0,0x2c)
13943 firefox-bin GIO fd 3 read 44 bytes
"\M^F\^A\0\0\M^G\^A\0\0\M^H\^A\0\0\M^I\^A\0\0%\^A\0\0\M^D\^A\0\0\M^E\^A\0\0\^_\0\0\0n\^A\0\0m\^A\0\0o\^A\0\0"
13943 firefox-bin RET read 44/0x2c
13943 firefox-bin PSIG SIGSEGV caught handler=0x805b310 mask=(): code=SEGV_MAPERR, addr=0xa1, trap=6)
13943 firefox-bin CALL __sigprocmask14(3,0xbd3c6580,0)
13943 firefox-bin RET __sigprocmask14 0
<snip>
13943 firefox-bin CALL unlink(0x8080400)
13943 firefox-bin NAMI "/home/disciple/.mozilla/firefox/b5lajwdq.default/lock"
13943 firefox-bin RET unlink 0
13943 firefox-bin CALL __sigaction_sigtramp(0xb,0xbfbfca44,0,0xbd34bbe4,1)
13943 firefox-bin RET __sigaction_sigtramp 0
13943 firefox-bin CALL getuid
13943 firefox-bin RET getuid 1000/0x3e8, 1000/0x3e8
13943 firefox-bin CALL getpid
13943 firefox-bin RET getpid 13943/0x3677, 25145/0x6239
13943 firefox-bin CALL getpid
13943 firefox-bin RET getpid 13943/0x3677, 25145/0x6239
13943 firefox-bin CALL kill(0x3677, SIGSEGV)
13943 firefox-bin RET kill 0
13943 firefox-bin PSIG SIGSEGV SIG_DFL
13943 firefox-bin NAMI "firefox-bin.core"
13943 firefox-bin RET poll -1 errno 4 Interrupted system call
Here's the backtrace output from gdb:
(gdb) bt
#0 0xbd3100bb in kill () from /usr/lib/libc.so.12
#1 0xbd3313e4 in raise () from /usr/lib/libc.so.12
#2 0x0805b3dc in nsProfileLock::FatalSignalHandler(int) ()
#3 0xbd3bc447 in pthread__signal_deferred () from /usr/lib/libpthread.so.0
(gdb)
Regards,
Dave