Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Oct 2005 12:16:42 +0200
From:      Uwe Laverenz <uwe@laverenz.de>
To:        freebsd-current@freebsd.org
Subject:   Re: Firefox dies unexpectedly.
Message-ID:  <20051011101642.GA17532@laverenz.de>
In-Reply-To: <1128613406.84353.5.camel@beeyatch.mean.net>
References:  <1128613406.84353.5.camel@beeyatch.mean.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Oct 06, 2005 at 05:43:25PM +0200, Mika wrote:

> has anyone have the problem that firefox dies spontaneously ? I get this

I have the same problem with Mozilla since I switched from RELENG_5 to
RELENG_6. I've rebuilt all my ports completely but it keeps crashing
from time to time. This can happen after hours or after a few minutes,
mostly when klicking a link.

I think it's related to FreeBSD 6 as I don't see this problem on 5.x
machines with similar setup. I have linuxpluginwrapper installed on all
machines.

I would like to make a PR but I'm not sure how to collect some useful
information from the mozilla-bin.core. I start gdb with:

  $ gdb /usr/X11R6/lib/mozilla/mozilla-bin mozilla-bin.core

  GNU gdb 6.1.1 [FreeBSD]
  Copyright 2004 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-marcel-freebsd"...(no debugging
  symbols found)...
  Core was generated by `mozilla-bin'.
  Program terminated with signal 11, Segmentation fault.
  ...
  [Reading/Loading symbols information snipped]
  ...
  #0  0x285ba40b in pthread_testcancel () from /usr/lib/libpthread.so.2
  [New Thread 0xa826400 (sleeping)]
  [New Thread 0x83c4400 (sleeping)]
  [New Thread 0x8f78e00 (sleeping)]
  [New Thread 0x8f78600 (sleeping)]
  [New Thread 0x8f53e00 (sleeping)]
  [New Thread 0x8f53600 (sleeping)]
  [New Thread 0x8f1ce00 (sleeping)]
  [New Thread 0x80cee00 (sleeping)]
  [New Thread 0x8132600 (runnable)]
  [New Thread 0x8132400 (LWP 100156)]
  [New Thread 0x8074000 (LWP 100152)]

  (gdb) where
  #0  0x285ba40b in pthread_testcancel () from /usr/lib/libpthread.so.2
  #1  0x285ab1e5 in sigaction () from /usr/lib/libpthread.so.2
  #2  0x285a5269 in pthread_kill () from /usr/lib/libpthread.so.2
  #3  0x285a4c38 in raise () from /usr/lib/libpthread.so.2
  #4  0x29829667 in nsProfileLock::FatalSignalHandler () from
  /usr/X11R6/lib/mozilla/components/libprofile.so
  #5  0x285a9ec6 in sigaction () from /usr/lib/libpthread.so.2
  #6  0x285a9d4b in sigaction () from /usr/lib/libpthread.so.2
  #7  0x285aa90c in sigaction () from /usr/lib/libpthread.so.2
  #8  0x285b3134 in pthread_mutexattr_init () from
  /usr/lib/libpthread.so.2
  #9  0x285b3028 in pthread_mutexattr_init () from
  /usr/lib/libpthread.so.2
  #10 0x286619a7 in _ctx_start () from /lib/libc.so.6
  #11 0x00000000 in ?? ()
  #12 0xbfbf9f80 in ?? ()
  #13 0xbfbf9cc0 in ?? ()
  #14 0x00000000 in ?? ()
  #15 0x285b2fc4 in pthread_mutexattr_init () from /usr/lib/libpthread.so.2
  #16 0x2aa4e5da in ChunkMalloc::Free () from /usr/X11R6/lib/linux-flashplugin6/libflashplayer.so
  #17 0x2aa4eaaa in __builtin_delete () from /usr/X11R6/lib/linux-flashplugin6/libflashplayer.so
  #18 0x2aad3f96 in jpeg_free_small () from /usr/X11R6/lib/linux-flashplugin6/libflashplayer.so
  #19 0x2aad3fe4 in jpeg_free_large () from /usr/X11R6/lib/linux-flashplugin6/libflashplayer.so
  #20 0x2aad3d5e in jpeg_idct_islow () from /usr/X11R6/lib/linux-flashplugin6/libflashplayer.so
  #21 0x2aaccaf7 in jpeg_abort () from /usr/X11R6/lib/linux-flashplugin6/libflashplayer.so
  #22 0x2aacd197 in jpeg_finish_decompress () from /usr/X11R6/lib/linux-flashplugin6/libflashplayer.so
  #23 0x2aad45dc in PlatformJpeg::ReadJPEGImage () from /usr/X11R6/lib/linux-flashplugin6/libflashplayer.so
  #24 0x2aad4694 in PlatformJpeg::GetImageBitmap () from /usr/X11R6/lib/linux-flashplugin6/libflashplayer.so
  #25 0x2aa7b89c in ScriptThread::BuildBits () from /usr/X11R6/lib/linux-flashplugin6/libflashplayer.so
  #26 0x2aa78a16 in SShapeParser::GetStyles () from /usr/X11R6/lib/linux-flashplugin6/libflashplayer.so
  #27 0x2aa71e99 in SCharacterParser::BuildEdges () from /usr/X11R6/lib/linux-flashplugin6/libflashplayer.so
  #28 0x2aa72b1b in SObject::BuildEdges () from /usr/X11R6/lib/linux-flashplugin6/libflashplayer.so
  #29 0x2aa752a2 in SObject::Draw () from /usr/X11R6/lib/linux-flashplugin6/libflashplayer.so
  #30 0x2aa74f86 in SObject::DrawClipBracket () from /usr/X11R6/lib/linux-flashplugin6/libflashplayer.so
  #31 0x2aa75301 in SObject::Draw () from /usr/X11R6/lib/linux-flashplugin6/libflashplayer.so
  #32 0x2aa7532f in SObject::Draw () from /usr/X11R6/lib/linux-flashplugin6/libflashplayer.so
  #33 0x2aa7532f in SObject::Draw () from /usr/X11R6/lib/linux-flashplugin6/libflashplayer.so
  #34 0x2aa6513d in DisplayList::UpdateRect () from /usr/X11R6/lib/linux-flashplugin6/libflashplayer.so
  #35 0x2aa6548b in DisplayList::Update () from /usr/X11R6/lib/linux-flashplugin6/libflashplayer.so
  #36 0x2aaa3099 in CorePlayer::UpdateBuffer () from /usr/X11R6/lib/linux-flashplugin6/libflashplayer.so
  #37 0x2aaa29c2 in CorePlayer::DrawScreen () from /usr/X11R6/lib/linux-flashplugin6/libflashplayer.so
  #38 0x2aaa2f5d in CorePlayer::UpdateScreen () from /usr/X11R6/lib/linux-flashplugin6/libflashplayer.so
  #39 0x2aa9b8d2 in CorePlayer::DoPlay () from /usr/X11R6/lib/linux-flashplugin6/libflashplayer.so
  #40 0x2aac5dd5 in UnixCommonPlayer::OnTimer () from /usr/X11R6/lib/linux-flashplugin6/libflashplayer.so
  #41 0x2aafaad5 in PlatformPlayer::TimerProc () from /usr/X11R6/lib/linux-flashplugin6/libflashplayer.so
  #42 0x297705cd in XtAppProcessEvent () from /usr/X11R6/lib/libXt.so.6
  #43 0x29741ad8 in ?? () from /usr/X11R6/lib/mozilla/libgtkxtbin.so
  #44 0x09bc8200 in ?? ()
  #45 0x0000000f in ?? ()
  #46 0xbfbfe478 in ?? ()
  #47 0x29741aaa in ?? () from /usr/X11R6/lib/mozilla/libgtkxtbin.so
  #48 0x288ca338 in ?? () from /usr/local/lib/libglib-2.0.so.600
  #49 0x086fd800 in ?? ()
  #50 0xbfbfe478 in ?? ()
  #51 0x2887326c in g_main_context_wakeup () from
  /usr/local/lib/libglib-2.0.so.600
  Previous frame identical to this frame (corrupt stack?)
  (gdb)
  
I obviously don't have a clue about how to use gdb, what can I do next?

tnx,
Uwe




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