[26752] in Athena Bugs

home help back first fref pref prev next nref lref last post

Re: linux 9.4.19: firefox

daemon@ATHENA.MIT.EDU (Ken Raeburn)
Thu Feb 23 20:10:33 2006

To: bugs@mit.edu
In-reply-to: <200602220119.k1M1JCL6024929@all-in-one.mit.edu>
From: Ken Raeburn <raeburn@mit.edu>
Date: Thu, 23 Feb 2006 20:09:56 -0500
Message-ID: <tx14q2pmujf.fsf@mit.edu>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Spam-Score: 1.217
X-Spam-Level: * (1.217)
X-Spam-Flag: NO
Errors-To: bugs-bounces@mit.edu

Last night I left firefox running, and today I saw another segfault
report.

I was sort of able to trigger a segfault again today, with a little
prodding.  My recipe:

Start firefox.
Start gdb on firefox-bin, attach the firefox process, let it continue.
Could it be related to leaving it running without AFS tokens?
Run unlog.
Hit ^T to create a new tab, tell it to go to www.cnn.com.
No segfault yet.
Run renew, type in password.
Look at CNN page, middle-click on a link to pop up another tab.
Wait.
Watch gdb report a segmentation fault.

Now, I do have valid tokens when the segfault happens, but it's after
a brief period where I didn't have tokens and firefox was loading
stuff, so it may have tried to update the history data in my home
directory, failed, done something to try to compensate, and then
crashed later because the workaround wasn't right, maybe dereferencing
a NULL file handle or something.

Ken



Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1084655584 (LWP 21950)]
0x4086f61d in ftell () from /lib/tls/libc.so.6
(gdb) bt 
#0  0x4086f61d in ftell () from /lib/tls/libc.so.6
#1  0x42a293f9 in morkStdioFile::Length ()
   from /usr/athena/lib/firefox/components/libmork.so
#2  0x42a28c33 in morkFile::Eof ()
   from /usr/athena/lib/firefox/components/libmork.so
#3  0x42a38342 in morkStore::DoPreferLargeOverCompressCommit ()
   from /usr/athena/lib/firefox/components/libmork.so
#4  0x42a3ab80 in morkStore::LargeCommit ()
   from /usr/athena/lib/firefox/components/libmork.so
#5  0x429c5e02 in nsGlobalHistory::Commit ()
   from /usr/athena/lib/firefox/components/libtoolkitcomps.so
#6  0x429c5e29 in nsGlobalHistory::Flush ()
   from /usr/athena/lib/firefox/components/libtoolkitcomps.so
#7  0x429c0284 in nsGlobalHistory::Sync ()
   from /usr/athena/lib/firefox/components/libtoolkitcomps.so
#8  0x429cbe77 in nsGlobalHistory::fireSyncTimer ()
   from /usr/athena/lib/firefox/components/libtoolkitcomps.so
#9  0x40109801 in nsTimerImpl::Fire () from /usr/athena/lib/firefox/libxpcom.so
#10 0x4010988f in handleTimerEvent () from /usr/athena/lib/firefox/libxpcom.so
#11 0x401054a7 in PL_HandleEvent (self=0x426069b8)
    at ../../../xpcom/threads/plevent.c:673
#12 0x40105c31 in PL_ProcessPendingEvents (self=0x873a1c0)
    at ../../../xpcom/threads/plevent.c:608
#13 0x401071e2 in nsEventQueueImpl::ProcessPendingEvents ()
   from /usr/athena/lib/firefox/libxpcom.so
#14 0x40ea9b3e in event_processor_callback ()
   from /usr/athena/lib/firefox/components/libwidget_gtk2.so
#15 0x4062b91d in g_io_unix_dispatch (source=0x88861b0, 
    callback=0x40ea9b28 <event_processor_callback(_GIOChannel*, GIOCondition, void*)>, user_data=0x873a188) at giounix.c:161
#16 0x406013b8 in g_main_dispatch (context=0x86f4358) at gmain.c:1942
#17 0x406027ce in g_main_context_dispatch (context=0x86f4358) at gmain.c:2492
#18 0x40602d00 in g_main_context_iterate (context=0x86f4358, block=1, 
    dispatch=1, self=0x87733f8) at gmain.c:2573
#19 0x40603552 in g_main_loop_run (loop=0x8881ec0) at gmain.c:2777
#20 0x402c28f8 in gtk_main () at gtkmain.c:1173
#21 0x40eaa260 in nsAppShell::Run ()
   from /usr/athena/lib/firefox/components/libwidget_gtk2.so
#22 0x40dda10a in nsAppShellService::Run ()
   from /usr/athena/lib/firefox/components/libnsappshell.so
#23 0x08050542 in xre_main ()
#24 0x0804c385 in main ()

home help back first fref pref prev next nref lref last post