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 310020 - Totem segfaults due to bad location
Totem segfaults due to bad location
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins
0.8.x
Other All
: High critical
: 0.8.11
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2005-07-11 13:34 UTC by Pavel Šefránek
Modified: 2005-08-07 17:48 UTC
See Also:
GNOME target: ---
GNOME version: 2.9/2.10



Description Pavel Šefránek 2005-07-11 13:34:10 UTC
Steps to reproduce:
1. Totem segfaults, when i run from terminal for example this <code>totem
abcd:///</code> or <code>totem bb://</code> or something stupid word.
2. After this command Totem crashes quickly and segfaults
3. Here is an output from console (in czech language): 
(totem:4678): GLib-CRITICAL **: g_error_new_literal: assertion `domain != 0' failed
Neoprávněný přístup do paměti (SIGSEGV)


Stack trace:


Other information:
In addition totem segfaults when I try to open location, which is mounted DVD
iso -- error output is the same as I posted at the top.
Comment 1 Teppo Turtiainen 2005-07-11 14:25:51 UTC
Thanks for the bug report. Without a stack trace from the crash it's very hard
to determine what caused it. Can you provide us with one? Please see
http://live.gnome.org/GettingTraces for more information on how to do so.
Comment 2 Pavel Šefránek 2005-07-12 10:41:26 UTC
Yes, here is stack trace:

Starting program: /usr/bin/totem
Reading symbols from shared object read from target memory...(no debugging
symbols found)...done.
Loaded system supplied DSO at 0xd90000
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
---Type <return> to continue, or q <return> to quit---
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread -1208719680 (LWP 9334)]
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
---Type <return> to continue, or q <return> to quit---
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
---Type <return> to continue, or q <return> to quit---
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
---Type <return> to continue, or q <return> to quit---
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[New Thread -1211348048 (LWP 9337)]
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
---Type <return> to continue, or q <return> to quit---
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[New Thread -1212970064 (LWP 9338)]

(totem:9334): GLib-CRITICAL **: g_error_new_literal: assertion `domain != 0' failed

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1208719680 (LWP 9334)]
0x0806ff3e in bacon_video_widget_get_type ()
Comment 3 Pavel Šefránek 2005-07-12 10:44:24 UTC
And here is output from "thread apply all bt":

(gdb) thread apply all bt

Thread 1 (Thread -1208535360 (LWP 9351))

  • #0 bacon_video_widget_get_type
  • #1 gst_marshal_VOID__OBJECT_BOXED_STRING
    from /usr/lib/libgstreamer-0.8.so.1
  • #2 g_closure_invoke
    from /usr/lib/libgobject-2.0.so.0
  • #3 g_signal_stop_emission
    from /usr/lib/libgobject-2.0.so.0
  • #4 g_signal_emit_valist
    from /usr/lib/libgobject-2.0.so.0
  • #5 g_signal_emit
    from /usr/lib/libgobject-2.0.so.0
  • #6 gst_element_error_full
    from /usr/lib/libgstreamer-0.8.so.1
  • #7 gst_play_base_bin_get_streaminfo
    from /usr/lib/gstreamer-0.8/libgstplaybin.so
  • #8 ??
    from /usr/lib/gstreamer-0.8/libgstplaybin.so
  • #9 gst_element_wait_state_change
    from /usr/lib/libgstreamer-0.8.so.1
  • #10 gst_element_set_state
    from /usr/lib/libgstreamer-0.8.so.1
  • #11 bacon_video_widget_open_with_subtitle
  • #12 totem_action_set_mrl_with_warning
  • #13 totem_action_set_mrl
  • #14 totem_action_set_mrl
  • #15 totem_action_set_mrl
  • #16 g_cclosure_marshal_VOID__VOID
    from /usr/lib/libgobject-2.0.so.0
  • #17 g_closure_invoke
    from /usr/lib/libgobject-2.0.so.0
  • #18 g_signal_stop_emission
    from /usr/lib/libgobject-2.0.so.0
  • #19 g_signal_emit_valist
    from /usr/lib/libgobject-2.0.so.0
  • #20 g_signal_emit
    from /usr/lib/libgobject-2.0.so.0
  • #21 gtk_widget_activate
    from /usr/lib/libgtk-x11-2.0.so.0
  • #22 gtk_menu_shell_activate_item
    from /usr/lib/libgtk-x11-2.0.so.0
  • #23 gtk_menu_shell_activate_item
    from /usr/lib/libgtk-x11-2.0.so.0
  • #24 gtk_menu_reorder_child
    from /usr/lib/libgtk-x11-2.0.so.0
  • #25 gtk_marshal_VOID__UINT_STRING
    from /usr/lib/libgtk-x11-2.0.so.0
  • #26 g_cclosure_new_swap
    from /usr/lib/libgobject-2.0.so.0
  • #27 g_closure_invoke
    from /usr/lib/libgobject-2.0.so.0
  • #28 g_signal_stop_emission
    from /usr/lib/libgobject-2.0.so.0
  • #29 g_signal_emit_valist
    from /usr/lib/libgobject-2.0.so.0
  • #30 g_signal_emit
    from /usr/lib/libgobject-2.0.so.0
  • #31 gtk_widget_activate
    from /usr/lib/libgtk-x11-2.0.so.0
  • #32 gtk_propagate_event
    from /usr/lib/libgtk-x11-2.0.so.0
  • #33 gtk_main_do_event
    from /usr/lib/libgtk-x11-2.0.so.0
  • #34 gdk_screen_get_setting
    from /usr/lib/libgdk-x11-2.0.so.0
  • #35 g_main_context_dispatch
    from /usr/lib/libglib-2.0.so.0
  • #36 g_main_context_check
    from /usr/lib/libglib-2.0.so.0
  • #37 g_main_loop_run
    from /usr/lib/libglib-2.0.so.0
  • #38 gtk_main
    from /usr/lib/libgtk-x11-2.0.so.0
  • #39 main

Comment 4 Ronald Bultje 2005-08-07 17:47:58 UTC
2005-08-07  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>

        * gst/playback/gstplaybasebin.c: (setup_source):
          Assign proper error code and domain, fixes #310020.