Closed Bug 297035 Opened 20 years ago Closed 19 years ago

Segmentation faults when using gxine plugin [@ _XrmInternalStringToQuark]

Categories

(Plugins Graveyard :: Xine, defect)

x86
Linux
defect
Not set
critical

Tracking

(Not tracked)

RESOLVED EXPIRED

People

(Reporter: reed, Unassigned)

References

()

Details

(Keywords: crash)

Crash Data

User-Agent:       Mozilla/5.0 (X11; U; NetBSD i386; en-US; rv:1.7.8) Gecko/20050518 Firefox/1.0.4
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20050517 Firefox/1.0.4

I am not sure yet if it is directly related to gxine.
When visiting various multimedia sites, the gxine plugin takes over.
It appears to be for different multimedia formats.
Sometimes firefox exits immediately and sometimes later when gxine is closed.
Firefox closes with "Segmentation fault".
So I enabled core dump and back traced in gdb:
#0  0x408c9861 in kill () at string2.h:1000
1000    string2.h: No such file or directory.
        in string2.h
(gdb) bt
#0  0x408c9861 in kill () at string2.h:1000
#1  0x4018553e in pthread_kill (thread=10981, signo=11) at signals.c:69
#2  0x40185843 in __pthread_raise (sig=11) at signals.c:200
#3  0x08054e42 in nsProfileLock::FatalSignalHandler ()
#4  0x40188126 in __pthread_sighandler (signo=11, ctx=
      {gs = 0, __gsh = 0, fs = 0, __fsh = 0, es = 123, __esh = 0, ds = 123,
__dsh = 49168, edi = 154013084, esi = 8, ebp = 3221219224, esp = 3221219168, ebx
= 1081776976, edx = 1107855326, ecx = 1107855326, eax = 134607592, trapno = 14,
err = 4, eip = 1080932940, cs = 115, __csh = 0, eflags = 2163206, esp_at_signal
= 3221219168, ss = 123, __ssh = 0, fpstate = 0xbfffe4e0, oldmask = 2147483648,
cr2 = 1107855326}) at sighandler.c:39
#5  <signal handler called>
#6  0x406dba4c in _XrmInternalStringToQuark (name=0x426667de "Form", len=4, 
    sig=1341, permstring=1) at Quarks.c:266
#7  0x406dbde5 in XrmPermStringToQuark (name=0x426667de "Form") at Quarks.c:379
#8  0x40b98fd5 in ObjectClassPartInitialize (wc=0x4266bc60) at Object.c:230
#9  0x40b82fcc in CallClassPartInit (ancestor=0x40bc2f60, wc=0x4266bc60)
    at Create.c:82
#10 0x40b82fb2 in CallClassPartInit (ancestor=0x40bc30c0, wc=0x4266bc60)
    at Create.c:79
#11 0x40b82fb2 in CallClassPartInit (ancestor=0x40bc2ae0, wc=0x4266bc60)
    at Create.c:79
#12 0x40b82fb2 in CallClassPartInit (ancestor=0x40bc2b60, wc=0x4266bc60)
    at Create.c:79
#13 0x40b82fb2 in CallClassPartInit (ancestor=0x40bc24a0, wc=0x4266bc60)
    at Create.c:79
#14 0x40b82fb2 in CallClassPartInit (ancestor=0x40bc2540, wc=0x4266bc60)
    at Create.c:79
#15 0x40b82fb2 in CallClassPartInit (ancestor=0x4266bc60, wc=0x4266bc60)
    at Create.c:79
#16 0x40b83263 in XtInitializeWidgetClass (wc=0x4266bc60) at Create.c:190
#17 0x40b83e17 in _XtCreateWidget (name=0x42073859 "form", 
    widget_class=0x4266bc60, parent=0x8ea2560, args=0x0, num_args=0, 
    typed_args=0x8cce440, num_typed_args=3) at Create.c:517
#18 0x40bb80db in _XtVaCreateWidget (name=0x42073859 "form", 
    widget_class=0x4266bc60, parent=0x8ea2560, var=0xbfffea1c "tì»@", count=3)
    at VarCreate.c:81
#19 0x40bb8277 in XtVaCreateManagedWidget (name=0x42073859 "form", 
    widget_class=0x4266bc60, parent=0x8ea2560) at VarCreate.c:136
#20 0x420724d8 in NPP_SetWindow (instance=0x8fb2534, window=0x92e0d9c)
    at plugin.c:495
#21 0x42072ce7 in Private_SetWindow (instance=0x8fb2534, window=0x92e0d9c)
    at npunix.c:184
#22 0x41b687f2 in ns4xPluginInstance::InitializePlugin ()
   from /usr/lib/firefox/components/libgkplugin.so
#23 0x41b7ff98 in nsPluginNativeWindowGtk2::CallSetWindow ()
   from /usr/lib/firefox/components/libgkplugin.so
#24 0x41b71d46 in nsPluginHostImpl::GetPluginTempDir ()
   from /usr/lib/firefox/components/libgkplugin.so
#25 0x41b6e19e in nsPluginStreamListenerPeer::SetupPluginCacheFile ()
   from /usr/lib/firefox/components/libgkplugin.so
#26 0x40d4a9d8 in NSGetModule () from /usr/lib/firefox/components/libnecko.so
#27 0x40d4aec3 in NSGetModule () from /usr/lib/firefox/components/libnecko.so
#28 0x40d4ac75 in NSGetModule () from /usr/lib/firefox/components/libnecko.so
#29 0x40d52f2b in NSGetModule () from /usr/lib/firefox/components/libnecko.so
#30 0x40cda1d4 in NSGetModule () from /usr/lib/firefox/components/libnecko.so
#31 0x40cda16f in NSGetModule () from /usr/lib/firefox/components/libnecko.so
#32 0x400eacdc in nsInputStreamReadyEvent::EventHandler ()
   from /usr/lib/firefox/libxpcom.so
#33 0x400fe963 in PL_HandleEvent () from /usr/lib/firefox/libxpcom.so
#34 0x400fe895 in PL_ProcessPendingEvents () from /usr/lib/firefox/libxpcom.so
#35 0x401001e6 in nsEventQueueImpl::NotifyObservers ()
   from /usr/lib/firefox/libxpcom.so
#36 0x40c0584e in nsBaseWidget::FreeNativeData ()
   from /usr/lib/firefox/components/libwidget_gtk2.so
#37 0x40690f49 in g_io_unix_dispatch (source=0x8223f60, 
    callback=0x40c05838 <nsBaseWidget::FreeNativeData(void*, unsigned int)+8>, 
    user_data=0x80ef538) at giounix.c:162
#38 0x40664c3c in g_main_dispatch (context=0x808ab70) at gmain.c:1947
    callback=0x40c05838 <nsBaseWidget::FreeNativeData(void*, unsigned int)+8>, 
    user_data=0x80ef538) at giounix.c:162
#38 0x40664c3c in g_main_dispatch (context=0x808ab70) at gmain.c:1947
---Type <return> to continue, or q <return> to quit---
#39 0x40665f90 in IA__g_main_context_dispatch (context=0x808ab70)
    at gmain.c:2497
#40 0x406664ae in g_main_context_iterate (context=0x808ab70, block=1, 
    dispatch=1, self=0x81060b0) at gmain.c:2578
#41 0x40666c67 in IA__g_main_loop_run (loop=0x81e8790) at gmain.c:2782
#42 0x4030005e in IA__gtk_main () at gtkmain.c:963
#43 0x40c05c3c in nsAppShell::ReleaseGlobals ()
   from /usr/lib/firefox/components/libwidget_gtk2.so
#44 0x40b3bd02 in ?? () from /usr/lib/firefox/components/libnsappshell.so
#45 0x080d38c8 in ?? ()
#46 0x08056830 in nsIObserver::GetIID()::iid ()
#47 0xbffff5a0 in ?? ()
#48 0x080589a8 in ?? ()
#49 0x40132420 in vtable for nsGetServiceByContractID ()
   from /usr/lib/firefox/libxpcom.so
#50 0xbffff6b0 in ?? ()
#51 0xbffffbd8 in ?? ()
#52 0x08050585 in xre_main ()
Previous frame identical to this frame (corrupt stack?)

I can reproduce a "Segmentation fault" at many websites, such as
http://movies.guide.real.com/movie/2005/mr_and_mrs_smith/trailer.html?autostart=true

When running firefox through strace, it does not seg fault though so I can not
track down with strace.




Reproducible: Always

Steps to Reproduce:
1. Visit some multimedia site that uses gxine plugin.
2.
3.

Actual Results:  
gxine may or may not play multimedia.
firefox may die with Segmentation fault before or after multimedia is played.

Expected Results:  
firefox should not have segmentation fault. If a plugin causes problem, firefox
should complain appropriately.

It may be that this problem is caused by something else, but this software crash
is only noticed in firefox.

gxine works great as standalone.
Severity: normal → critical
Component: General → Plug-ins
Keywords: crash
Product: Firefox → Core
QA Contact: general → plugins
Summary: Segmentation faults when using gxine plugin → Segmentation faults when using gxine plugin [@ _XrmInternalStringToQuark]
Version: unspecified → 1.7 Branch
This is an automated message, with ID "auto-resolve01".

This bug has had no comments for a long time. Statistically, we have found that
bug reports that have not been confirmed by a second user after three months are
highly unlikely to be the source of a fix to the code.

While your input is very important to us, our resources are limited and so we
are asking for your help in focussing our efforts. If you can still reproduce
this problem in the latest version of the product (see below for how to obtain a
copy) or, for feature requests, if it's not present in the latest version and
you still believe we should implement it, please visit the URL of this bug
(given at the top of this mail) and add a comment to that effect, giving more
reproduction information if you have it.

If it is not a problem any longer, you need take no action. If this bug is not
changed in any way in the next two weeks, it will be automatically resolved.
Thank you for your help in this matter.

The latest beta releases can be obtained from:
Firefox:     http://www.mozilla.org/projects/firefox/
Thunderbird: http://www.mozilla.org/products/thunderbird/releases/1.5beta1.html
Seamonkey:   http://www.mozilla.org/projects/seamonkey/
This bug has been automatically resolved after a period of inactivity (see above
comment). If anyone thinks this is incorrect, they should feel free to reopen it.
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → EXPIRED
Component: Plug-ins → Xine
Product: Core → Plugins
QA Contact: plugins → xine
Version: 1.7 Branch → unspecified
Crash Signature: [@ _XrmInternalStringToQuark]
Product: Plugins → Plugins Graveyard
You need to log in before you can comment on or make changes to this bug.