Opened 5 years ago

Closed 5 years ago

#3662 closed defect (fixed)

Firefox crashes on page reload

Reported by: pich Owned by:
Priority: normal Milestone: 1.1.0-release
Component: Web plugin: Mozilla Version: 1.0.x (bugfix)
Severity: major Keywords: firefox mozilla plugin reload crash segmentation fault 1.0.6 3.6.3 refresh
Cc: diego.blanco@… Difficulty: unknown
Platform(s): Linux Work status: Not started

Description

Im using ubuntu 10.04 Lucid and I've tested this in several machines (also ubuntu Lucid)

Versions

  • firefox 3.6.3+nobinonl
  • libvlc2 1.0.6-1ubuntu1.1
  • libvlccore2 1.0.6-1ubuntu1.1
  • mozilla-plugin-vlc 1.0.6-1ubuntu1.1
  • vlc 1.0.6-1ubuntu1.1
  • vlc-data 1.0.6-1ubuntu1.1
  • vlc-nox 1.0.6-1ubuntu1.1

Steps to reproduce

  • Open firefox and load an url with a video
  • Reload the URL
  • Firefox crashes with a segmentation fault

Log

[0xb0583c90] main libvlc debug: translation test: code is "gl_ES"
[0xb0583c90] main libvlc debug: module bank initialized (379 modules)
[0xb0583c90] main libvlc debug: CPU has capabilities 486 586 MMX MMXEXT FPU 
[0xb0583c90] main libvlc debug: looking for memcpy module: 3 candidates
[0xb0583c90] main libvlc debug: using memcpy module "memcpymmxext"
[0xb3a871a0] main playlist debug: Activated
[0xaca75a80] main interface debug: looking for interface module: 1 candidate
[0xaca75a80] main interface debug: using interface module "hotkeys"
[0xaca75a80] main interface debug: thread (interface) created at priority 0 (interface/interface.c:151)
[0xaca75b40] main interface debug: looking for interface module: 1 candidate
[0xaca75b40] main interface debug: using interface module "inhibit"
[0xaca75b40] main interface debug: thread (interface) created at priority 0 (interface/interface.c:151)
[0xaca75a80] main interface debug: thread started
[0xb3a871a0] main playlist debug: rebuilding array of current - root Lista de reprodución
[0xaca75c00] main interface debug: looking for interface module: 1 candidate
[0xb3a871a0] main playlist debug: rebuild done - 0 items, index -1
[0xaca75c00] main interface debug: using interface module "screensaver"
[0xaca75b40] main interface debug: thread started
[0xaca75c00] main interface debug: thread (interface) created at priority 0 (interface/interface.c:151)
[0xaca75c00] main interface debug: thread started
Segmentation fault

Backtrace

#0  0xb7fbdf2d in pthread_mutex_lock () from /lib/tls/i686/cmov/libpthread.so.0
#1  0xb675047f in ?? () from /usr/lib/libX11.so.6
#2  0xb6766038 in XrmQGetSearchList () from /usr/lib/libX11.so.6
#3  0xb61820e1 in ?? () from /usr/lib/libXt.so.6
#4  0xb6183497 in _XtGetResources () from /usr/lib/libXt.so.6
#5  0xb616b3b5 in ?? () from /usr/lib/libXt.so.6
#6  0xb616b89c in _XtAppCreateShell () from /usr/lib/libXt.so.6
#7  0xb616baec in XtAppCreateShell () from /usr/lib/libXt.so.6
#8  0xb7c6f729 in ?? () from /usr/lib/firefox-3.6.3/libxul.so
#9  0xb693ddcc in g_cclosure_marshal_VOID__VOID () from /usr/lib/libgobject-2.0.so.0
#10 0xb692e8b9 in ?? () from /usr/lib/libgobject-2.0.so.0
#11 0xb6930252 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#12 0xb694423a in ?? () from /usr/lib/libgobject-2.0.so.0
#13 0xb6945db4 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#14 0xb6946256 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#15 0xb6ed736b in gtk_widget_realize () from /usr/lib/libgtk-x11-2.0.so.0
#16 0xb6ed8020 in gtk_widget_set_parent () from /usr/lib/libgtk-x11-2.0.so.0
#17 0xb7b5022b in ?? () from /usr/lib/firefox-3.6.3/libxul.so
#18 0xb7b50307 in ?? () from /usr/lib/firefox-3.6.3/libxul.so
#19 0xb693d2d8 in g_cclosure_marshal_VOID__OBJECT () from /usr/lib/libgobject-2.0.so.0
#20 0xb692e8b9 in ?? () from /usr/lib/libgobject-2.0.so.0
#21 0xb6930252 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#22 0xb694423a in ?? () from /usr/lib/libgobject-2.0.so.0
#23 0xb6945db4 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#24 0xb6946256 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#25 0xb6d12ed6 in gtk_container_add () from /usr/lib/libgtk-x11-2.0.so.0
#26 0xb7c6f2b6 in gtk_xtbin_new () from /usr/lib/firefox-3.6.3/libxul.so
#27 0xb7ab3ba0 in ?? () from /usr/lib/firefox-3.6.3/libxul.so
#28 0xb7ab3e40 in ?? () from /usr/lib/firefox-3.6.3/libxul.so
#29 0xb7aabfe0 in ?? () from /usr/lib/firefox-3.6.3/libxul.so
#30 0xb757a0bf in ?? () from /usr/lib/firefox-3.6.3/libxul.so
#31 0xb757d324 in ?? () from /usr/lib/firefox-3.6.3/libxul.so
#32 0xb773eacc in ?? () from /usr/lib/firefox-3.6.3/libxul.so
#33 0xb773eb0f in ?? () from /usr/lib/firefox-3.6.3/libxul.so
#34 0xb79e2bec in ?? () from /usr/lib/firefox-3.6.3/libxul.so
#35 0xb7469663 in ?? () from /usr/lib/firefox-3.6.3/libxul.so
#36 0xb746c2ba in ?? () from /usr/lib/firefox-3.6.3/libxul.so
#37 0xb746d658 in ?? () from /usr/lib/firefox-3.6.3/libxul.so
#38 0xb746d79a in ?? () from /usr/lib/firefox-3.6.3/libxul.so
#39 0xb73fec28 in ?? () from /usr/lib/firefox-3.6.3/libxul.so
#40 0xb73ff079 in ?? () from /usr/lib/firefox-3.6.3/libxul.so
#41 0xb7c2f37f in ?? () from /usr/lib/firefox-3.6.3/libxul.so
#42 0xb7c4434c in ?? () from /usr/lib/firefox-3.6.3/libxul.so
#43 0xb7c12f0f in ?? () from /usr/lib/firefox-3.6.3/libxul.so
#44 0xb7b77296 in ?? () from /usr/lib/firefox-3.6.3/libxul.so
#45 0xb7a39a40 in ?? () from /usr/lib/firefox-3.6.3/libxul.so
#46 0xb7383a84 in XRE_main () from /usr/lib/firefox-3.6.3/libxul.so
#47 0x001119c3 in ?? ()
#48 0xb63e1bd6 in __libc_start_main () from /lib/tls/i686/cmov/libc.so.6
#49 0x00111711 in ?? ()

Change History (7)

comment:1 Changed 5 years ago by pich

  • Cc diego.blanco@… added

comment:2 Changed 5 years ago by courmisch

  • Resolution set to wontfix
  • Status changed from new to closed

VLC requires XInitThreads() that be called before XOpenDisplay(). Firefox fails to do that. The only fix from VLC side would involve blacklisting all Xlib-based VLC plugins. In VLC 1.0, that would mean turning off video rendering altogether.

In other words, there is no way to fix this bug on VLC side. A change in Firefox is required.

comment:3 Changed 5 years ago by courmisch

  • Milestone changed from 1.1.x maintenance to 1.0.x maintenance

comment:4 Changed 5 years ago by courmisch

Not to despair too much, this problem is partially avoided in VLC 1.1.x as Xlib was ditched.

comment:5 Changed 5 years ago by courmisch

This bug is now fixed in VLC 1.1.0, at the necessary cost of removing PulseAudio? and GLX support from the Mozilla VLC plugin.

PulseAudio? support will be recovered once PulseAudio? bug 799 ( http://www.pulseaudio.org/ticket/799 ) is fixed, hopefully really soon.

comment:6 Changed 5 years ago by courmisch

  • Resolution wontfix deleted
  • Status changed from closed to reopened

comment:7 Changed 5 years ago by courmisch

  • Milestone changed from 1.0.x maintenance to 1.1.0-release
  • Resolution set to fixed
  • Status changed from reopened to closed
Note: See TracTickets for help on using tickets.