firefox-1.0 crash on 5.3-stable, running flash plugin: possibleproblem in pthreads (Nov 8th)

Federico Galvez-Durand Besnard Federico.Besnard at bluewin.ch
Thu Nov 18 12:04:45 PST 2004


Hello, I found firefox-1.0 crashes with signal 11, Segmentation fault, 
when using flashplugin.
It happens accessing this site: http://www.globo.com. The plugin seems 
to work well in other sites, but I did not test many.
The same site can be accessed without the plugin (no flash effects, of 
course) and firefox doesn't crash.
GDB backtrace points out libpthread functions before crashing.
The problem is triggered by the flashplugin, but I am not sure whether 
it is a pthread bug or just a misuse of the library routines.

Federico

p.s. : I do not sign this list, please reply with CC to me whenever 
possible.

Additional info:

# file /usr/lib/libpthread.so.1
/usr/lib/libpthread.so.1: ELF 32-bit LSB shared object, Intel 80386, 
version 1 (FreeBSD), stripped

# ls -l /usr/lib/libpthread.so.1
-r--r--r--  1 root  wheel  133328 Nov  8 00:34 /usr/lib/libpthread.so.1

# file /usr/X11R6/lib/firefox/plugins/npflash.so
/usr/X11R6/lib/firefox/plugins/npflash.so: ELF 32-bit LSB shared object, 
Intel 80386, version 1 (FreeBSD), stripped

# ls -l /usr/X11R6/lib/firefox/plugins/npflash.so
-r-xr-xr-x  1 root  wheel  14248 Nov 18 12:38 
/usr/X11R6/lib/firefox/plugins/npflash.so

# uname -v
FreeBSD 5.3-STABLE #0: Tue Nov 16 22:09:20 GMT-1 2004  [...] i386

# dmesg | grep -i cpu
CPU: Intel Pentium III (646.83-MHz 686-class CPU)

# pkg_info | grep flash
flashplugin-firefox-0.4.12 A GPL standalone Flash (TM) plugin for 
FireFox web browser
libflash-0.4.12     GPL Flash (TM) Library

# pkg_info | grep firefox | grep -v plugin
firefox-1.0,1       Web browser based on the browser portion of Mozilla


backtrace from gdb:

(no debugging symbols found)...Core was generated by `firefox-bin'.
Program terminated with signal 11, Segmentation fault.
... (no debugging symbols found)...
#0  0x2898df9f in pthread_testcancel () from /usr/lib/libpthread.so.1
#1  0x2897f0b9 in sigaction () from /usr/lib/libpthread.so.1
#2  0x289791e1 in pthread_kill () from /usr/lib/libpthread.so.1
#3  0x28978bb0 in raise () from /usr/lib/libpthread.so.1
#4  0x08055493 in nsProfileLock::FatalSignalHandler ()
#5  0x2897dc1a in sigaction () from /usr/lib/libpthread.so.1
#6  0x2897da9b in sigaction () from /usr/lib/libpthread.so.1
#7  0x2897e61d in sigaction () from /usr/lib/libpthread.so.1
#8  0x28986b57 in pthread_mutexattr_init () from /usr/lib/libpthread.so.1
#9  0x28986a46 in pthread_mutexattr_init () from /usr/lib/libpthread.so.1
#10 0x28a34c5f in _ctx_start () from /lib/libc.so.5
#11 0x00000000 in ?? ()
#12 0xbfbfd260 in ?? ()
#13 0xbfbfcfa0 in ?? ()
#14 0x00000000 in ?? ()
#15 0x289869e0 in pthread_mutexattr_init () from /usr/lib/libpthread.so.1
#16 0x2990b882 in Text::execute (this=0x8941e80, gd=0x8a73400, 
matrix=0xbfbfd4b0, cxform=0x8a81fa8) at text.cc:104
#17 0x298faeb9 in DisplayList::render (this=0x8a66460, gd=0x8a73400, 
render_matrix=0xbfbfd5d0, cxform=0x0) at displaylist.cc:629
#18 0x2990b519 in Sprite::execute (this=0x17e, gd=0x8a73400, 
matrix=0xbfbfd5d0,
    cxform=0x0) at sprite.cc:67
#19 0x298faeb9 in DisplayList::render (this=0x891a1e0, gd=0x8a73400,
    render_matrix=0x0, cxform=0x0) at displaylist.cc:629
#20 0x29902304 in FlashMovie::renderMovie (this=0x88e9c00) at movie.cc:149
#21 0x29902062 in FlashMovie::processMovie (this=0x88e9c00, gd=0x8a73400,
    sm=0x88e0dc0) at movie.cc:75
#22 0x298fb353 in FlashExec (flashHandle=0x88e9c00, flag=1, fe=0xbfbfd730,
    wakeDate=0x88e9bac) at flash.cc:184
#23 0x298ed4ac in NPP_Print () from 
/usr/X11R6/lib/firefox/plugins/npflash.so
#24 0x298ecd08 in NPP_Destroy () from 
/usr/X11R6/lib/firefox/plugins/npflash.so
#25 0x28b355f5 in XtAppProcessEvent () from /usr/X11R6/lib/libXt.so.6
#26 0x28b0fc63 in ?? ()
   from /usr/X11R6/lib/firefox/lib/firefox-1.0/libgtkxtbin.so
#27 0x0899f700 in ?? ()
#28 0x0000000f in ?? ()
#29 0x419c8dfe in ?? ()
#30 0x288484ce in g_thread_self () from /usr/local/lib/libglib-2.0.so.400
#31 0x288315f0 in g_timeout_dispatch () from 
/usr/local/lib/libglib-2.0.so.400
#32 0x2882ef37 in g_main_dispatch () from /usr/local/lib/libglib-2.0.so.400
#33 0x2882fe03 in g_main_context_dispatch ()
   from /usr/local/lib/libglib-2.0.so.400
#34 0x288301e2 in g_main_context_iterate ()
   from /usr/local/lib/libglib-2.0.so.400
#35 0x2883084e in g_main_loop_run () from /usr/local/lib/libglib-2.0.so.400
#36 0x283c7896 in gtk_main () from /usr/X11R6/lib/libgtk-x11-2.0.so.400
#37 0x28b929f8 in nsAppShell::ReleaseGlobals ()
   from /usr/X11R6/lib/firefox/lib/firefox-1.0/components/libwidget_gtk2.so
#38 0x28ade872 in nsAppShellService::HandleExitEvent ()
   from /usr/X11R6/lib/firefox/lib/firefox-1.0/components/libnsappshell.so
#39 0x080503a8 in xre_main ()
#40 0x0804c275 in main ()



More information about the freebsd-threads mailing list