After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 342710 - Page that tends to cause error or crash with Totem Mozilla plugin
Page that tends to cause error or crash with Totem Mozilla plugin
Status: RESOLVED DUPLICATE of bug 171884
Product: totem
Classification: Core
Component: Browser plugin (obsolete)
1.4.x
Other Linux
: Normal normal
: ---
Assigned To: General Totem maintainer(s)
General Totem maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2006-05-23 15:52 UTC by Christian Fredrik Kalager Schaller
Modified: 2006-05-26 14:38 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
playvideo.html (1.30 KB, text/plain)
2006-05-26 13:16 UTC, Bastien Nocera
Details

Description Christian Fredrik Kalager Schaller 2006-05-23 15:52:52 UTC
Using Totem and GStreamer backend I tend to get either an error or the browser crashing with the Totem Mozilla plugin:
http://www.vif-fotball.no/

If I get an error its:
Totem could not play 'fd://0'.
Could not determine type of stream.

The crash tends to come if I press any link on the page so I guess it doesn't handle reloading the mozilla plugin very well.
Comment 1 Bastien Nocera 2006-05-26 10:17:53 UTC
That's the URL to one of the videos:
http://www.viftv.no/script/playvideo.php?buffer=none&cred=none&mode=none&width=611&height=459&clip=vif/tlr9_hamkam-vif

I think that xine-lib backend will parse this of its own (if openVideo() is actually called):
<ASX version = "3.0">
    <Title></Title>
        <Entry>
        <Ref href = "mms://mms1.online.no/cmltpub/vif/tlr9_hamkam-vif.wmv" />
        <param name="Prebuffer" value="true" />
    </Entry>
    </ASX>


And if it isn't, we're redirected to the mms stream directly:
                        <OBJECT id = "Player" width="611" height="459"                                  CLASSID = "CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6">
                                <param Name = "autoStart"       Value = "true">
                                <param Name = "uiMode"          Value = "none" >
                                <param Name = "Volume"          Value = "80">
                                <param Name = "AutoSize" Value = "true">
                                <param Name = "StretchToFit" Value = "true">
                                <param Name = "ShowStatusBar" Value = "false">
                                <embed  type = "application/x-mplayer2"
                                                pluginspage="http://www.cikmedia.com/problemer.html"
                                                id="Player"
                                                src="mms://mms1.online.no/cmltpub/vif/tlr9_hamkam-vif.wmv"                                              width="611" height="459"                                                autostart="1" volume="80" StrechToFit="1" AutoSize="1"
                                                uiMode="none" >
                                </embed>
                        </OBJECT>

We don't support some of the parameters here, neither do we support the Javascript (?) interface of WMP, but I can't reproduce the crashers.
If you get crashers, please file a bug with a backtrace of the crash.
Comment 2 Christian Fredrik Kalager Schaller 2006-05-26 11:22:51 UTC
Just pasting the MMS uri into Totem/GStreamer works fine I just noticed.
Comment 3 Christian Fredrik Kalager Schaller 2006-05-26 11:35:06 UTC
Backtrace from gdb


Comment 4 Bastien Nocera 2006-05-26 11:40:13 UTC
We have the crash here:

Thread 1 (Thread -1208424752 (LWP 5100))

  • #0 ??
  • #1 raise
    from /lib/libc.so.6
  • #2 abort
    from /lib/libc.so.6
  • #3 g_logv
    from /usr/lib/libglib-2.0.so.0
  • #4 g_log
    from /usr/lib/libglib-2.0.so.0
  • #5 g_assert_warning
    from /usr/lib/libglib-2.0.so.0
  • #6 ??
  • #7 ??

Make sure you launch the browser with debugging enabled, and please tell us the assertion that should be printed out on the command-line.
Comment 5 Bastien Nocera 2006-05-26 13:05:39 UTC
I saw stuff like that, which sounds pretty bad.
** Message: stop
ao_flush (loop running: 1)
18692: assertion failed "n_blocks_outstanding >= 0" file "dbus-memory.c" line 636 function dbus_free

(totem-mozilla-viewer:18706): Gdk-WARNING **: GdkWindow 0x360002a unexpectedly destroyed

(totem-mozilla-viewer:18706): Gdk-WARNING **: GdkWindow 0x3600029 unexpectedly destroyed

(totem-mozilla-viewer:18706): Gdk-WARNING **: GdkWindow 0x3600028 unexpectedly destroyed

(totem-mozilla-viewer:18706): Gdk-WARNING **: GdkWindow 0x3600023 unexpectedly destroyed

(totem-mozilla-viewer:18706): Gdk-WARNING **: GdkWindow 0x3600003 unexpectedly destroyed
Comment 6 Bastien Nocera 2006-05-26 13:12:17 UTC
(gdb) bt
  • #0 __kernel_vsyscall
  • #1 raise
    from /lib/libpthread.so.0
  • #2 NSGetModule
    from /usr/lib/mozilla-1.7.12/components/libprofile.so
  • #3 <signal handler called>
  • #4 __kernel_vsyscall
  • #5 raise
    from /lib/libc.so.6
  • #6 abort
    from /lib/libc.so.6
  • #7 _dbus_abort
    from /usr/lib/mozilla-1.7.12/plugins/libtotem_mozilla.so
  • #8 _dbus_real_assert
    from /usr/lib/mozilla-1.7.12/plugins/libtotem_mozilla.so
  • #9 dbus_free
    from /usr/lib/mozilla-1.7.12/plugins/libtotem_mozilla.so
  • #10 dbus_pending_call_unref
    from /usr/lib/mozilla-1.7.12/plugins/libtotem_mozilla.so
  • #11 g_hash_table_lookup_extended
    from /usr/lib/libglib-2.0.so.0
  • #12 g_hash_table_remove
    from /usr/lib/libglib-2.0.so.0
  • #13 dbus_g_method_return_error
    from /usr//lib/libdbus-glib-1.so.2
  • #14 dbus_g_proxy_call
    from /usr//lib/libdbus-glib-1.so.2
  • #15 totemMozillaObject::Rewind
    at totem-mozilla-scriptable.cpp line 76
  • #16 totem_plugin_destroy_instance
    at totem-mozilla-plugin.cpp line 375
  • #17 ??
    from /usr/lib/mozilla-1.7.12/components/libgkplugin.so

Comment 7 Bastien Nocera 2006-05-26 13:16:54 UTC
Created attachment 66280 [details]
playvideo.html

Page to reproduce the bug. Press reload at the end of the playback.
Comment 8 Christian Fredrik Kalager Schaller 2006-05-26 13:39:35 UTC
Ok, did some more testing and discovered something interesting. So I am currently running Firefix 1.5.0.3 under FC5. The totem plugin is installed in /usr/lib/mozilla/plugins. 

If I copy the totem plugin over to /usr/lib/firefox-1.5.0.3/plugins then I don't get this crash at all.
Comment 9 Bastien Nocera 2006-05-26 14:38:40 UTC
The bug with www.vif-fotball.no is actually the old playlist bug.

*** This bug has been marked as a duplicate of 171884 ***