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 552462 - Plugin crash in totem_embedded_set_uri
Plugin crash in totem_embedded_set_uri
Status: RESOLVED FIXED
Product: totem
Classification: Core
Component: Browser plugin (obsolete)
2.23.x
Other Solaris
: Normal normal
: ---
Assigned To: totem-browser-maint
totem-browser-maint
Depends on:
Blocks:
 
 
Reported: 2008-09-16 07:41 UTC by jerry tan
Modified: 2008-09-29 15:14 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description jerry tan 2008-09-16 07:41:50 UTC
start firefox, open one audio file, 
it will leave one core by totem-plugin-viewer

# pstack totem-plugin-vie.1221129041
core 'totem-plugin-vie.1221129041' of 983:	/usr/lib/totem-plugin-viewer --plugin-type basic --user-agent Mozilla/
-----------------  lwp# 1 / thread# 1  --------------------
 fee835e0 strlen   (8061a1d, 8046618, 8046520, 0) + 30
 feec74b0 vsnprintf (8046570, 1, 8061a00, 8046618) + 70
 fe8c7d9f g_printf_string_upper_bound (8061a00, 8046618) + 27
 fe8f0a83 g_vasprintf (80465d0, 8061a00, 8046618) + 2f
 fe8dbcaa g_strdup_vprintf (8061a00, 8046618) + 2a
 fe8c7add g_print  (8061a00, 0, 0, 0) + 2d
 0805a0c6 totem_embedded_set_uri (8107630, 0, 0, 0) + 15e
 0805a1e6 totem_embedded_clear_playlist (8107630, 0) + 3e
 0805a55c totem_embedded_open_stream (8107630, 83808c0, 83809f0, 804681c, 0) + 30
 0805cd30 dbus_glib_marshal_totem_embedded_BOOLEAN__STRING_STRING_POINTER (8046720, 804670c, 4, 840d830, 0, 805a52c) + 60
 fe44c041 invoke_object_method (8107630, 80607f8, 8060834, 810edf8, 840d7b8) + 511
 fe44c965 gobject_message_function (810edf8, 840d7b8, 8107630) + 661
 fd1d3241 _dbus_object_tree_dispatch_and_unlock (810bc90, 840d7b8) + fd
 fd1c6994 dbus_connection_dispatch (810edf8, 1, fe957bb0, 8046b78, fe8be9dc, 810ea38) + 338
 fe449e70 message_queue_dispatch (810ea38, 0, 0) + 28
 fe8be9dc g_main_dispatch (809b9a0) + 1e0
 fe8bfadd g_main_context_dispatch (809b9a0) + 85
 fe8bfefa g_main_context_iterate (809b9a0, 1, 1, 8074428) + 3ce
 fe8c04fc g_main_loop_run (8110a68) + 1b8
 feb5aaf6 gtk_main (8046eec, 8046d78, feffb7dc, 2e67726f, 6d6f6e67, 6f742e65) + b2
 0805d322 main     (1, 8046dbc, 8046ddc) + 2b6
 0805880a _start   (7, 8046f54, 0, 0, 0, 0) + 7a
-----------------  lwp# 2 / thread# 2  --------------------
 feefd6f7 __nanosleep (f9ecef50, f9ecef58) + 7
 fe8e7171 g_usleep (186a0) + 49
 f9f764df gst_ximagesink_event_thread (836a020) + 8f
 fe8e4b00 g_thread_create_proxy (83714a8) + 118
 feefa1c0 _thrp_setup (fa880a00) + 70
 feefa420 _lwp_start (fa880a00, 0, 0, 0, 0, 0)
Comment 1 jerry tan 2008-09-16 08:01:07 UTC
reason is simple:
when open a new URI, it will call totem_embedded_clear_playlist (emb, NULL), 
which will call totem_embedded_set_uri (emb, NULL, NULL, FALSE);

but in the function of totem_
it will call g_print ("totem_embedded_set_uri uri %s base %s => resolved %s\n", uri, base_uri, emb->current_uri);

uri is NULL , so it core dumped.
Comment 2 Bastien Nocera 2008-09-29 15:14:28 UTC
You really need to nag the Solaris libc guys to have something a bit more robust than that...

2008-09-29  Bastien Nocera  <hadess@hadess.net>

        * browser-plugin/totem-plugin-viewer.c (totem_embedded_set_uri):
        Fix a crash when emptying the playlist on Solaris machines
        (Closes: #552462)