FS#37233 - [deadbeef] Segmentation Fault

Attached to Project: Community Packages
Opened by Andrey (Gendalf) - Monday, 07 October 2013, 19:23 GMT
Last edited by Balló György (City-busz) - Wednesday, 18 December 2013, 03:54 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Lukas Fleischer (lfleischer)
Architecture x86_64
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 11
Private No

Details

Description:
Segmentation Fault in deadbeef 0.5.6-2.This problem appeared after upgrade gtk3 package.I have now gtk3 3.10.0-2.

Additional info:
Segmentation Fault
backtrace() returned 29 addresses
deadbeef() [0x403780]
/usr/lib/libc.so.6(+0x35450) [0x7feaf02f4450]
/usr/lib/libgtk-3.so.0(+0xca83d) [0x7feaebea583d]
/usr/lib/libgtk-3.so.0(gtk_dialog_add_action_widget+0x121) [0x7feaebf0bb81]
/usr/lib/libgtk-3.so.0(gtk_dialog_add_button+0xc8) [0x7feaebf0bcb8]
/usr/lib/libgtk-3.so.0(gtk_file_chooser_dialog_new+0x9d) [0x7feaebf3439d]
/usr/lib/deadbeef/ddb_gui_GTK3.so(on_open_activate+0x71) [0x7feade3f5561]
/usr/lib/libgobject-2.0.so.0(g_closure_invoke+0x138) [0x7feaea9c66a8]
/usr/lib/libgobject-2.0.so.0(+0x2203d) [0x7feaea9d803d]
/usr/lib/libgobject-2.0.so.0(g_signal_emit_valist+0xde9) [0x7feaea9dfd49]
/usr/lib/libgobject-2.0.so.0(g_signal_emit+0x82) [0x7feaea9e0002]
/usr/lib/libgtk-3.so.0(gtk_widget_activate+0x7c) [0x7feaec0a385c]
/usr/lib/libgtk-3.so.0(gtk_menu_shell_activate_item+0xfe) [0x7feaebf97dce]
/usr/lib/libgtk-3.so.0(+0x1bd106) [0x7feaebf98106]
/usr/lib/libgtk-3.so.0(+0x1a13be) [0x7feaebf7c3be]
/usr/lib/libgobject-2.0.so.0(+0x108d7) [0x7feaea9c68d7]
/usr/lib/libgobject-2.0.so.0(g_signal_emit_valist+0x442) [0x7feaea9df3a2]
/usr/lib/libgobject-2.0.so.0(g_signal_emit+0x82) [0x7feaea9e0002]
/usr/lib/libgtk-3.so.0(+0x2c97a4) [0x7feaec0a47a4]
/usr/lib/libgtk-3.so.0(+0x19f74c) [0x7feaebf7a74c]
/usr/lib/libgtk-3.so.0(gtk_main_do_event+0x41a) [0x7feaebf7bf9a]
/usr/lib/libgdk-3.so.0(+0x4d8f2) [0x7feaebb778f2]
/usr/lib/libglib-2.0.so.0(g_main_context_dispatch+0x146) [0x7feaea4fc246]
/usr/lib/libglib-2.0.so.0(+0x48598) [0x7feaea4fc598]
/usr/lib/libglib-2.0.so.0(g_main_loop_run+0x6a) [0x7feaea4fc99a]
/usr/lib/libgtk-3.so.0(gtk_main+0x8d) [0x7feaebf7b4ed]
/usr/lib/deadbeef/ddb_gui_GTK3.so(gtkui_thread+0x4c2) [0x7feade3f49e2]
/usr/lib/libpthread.so.0(+0x80a2) [0x7feaf06720a2]
/usr/lib/libc.so.6(clone+0x6d) [0x7feaf03a443d]

Steps to reproduce:
Run deadbeef in console. Try open file in deadbeef.
This task depends upon

Closed by  Balló György (City-busz)
Wednesday, 18 December 2013, 03:54 GMT
Reason for closing:  Fixed
Additional comments about closing:  gtk3 3.10.2-1
Comment by Aleksandr Kamarov (KVbor) - Tuesday, 08 October 2013, 04:35 GMT
I have a crash when opening the preferences menu (Edit > Preferences) with DeadBeef 0.5.6-2. Compromised libs appear to be the same.

Segmentation Fault
backtrace() returned 27 addresses
deadbeef() [0x403780]
/usr/lib/libc.so.6(+0x35450) [0x7f428aee8450]
/usr/lib/libgtk-3.so.0(+0xca83d) [0x7f4286e0683d]
/usr/lib/deadbeef/ddb_gui_GTK3.so(create_prefwin+0x112) [0x7f4279360582]
/usr/lib/deadbeef/ddb_gui_GTK3.so(on_preferences_activate+0xad) [0x7f427938142d]
/usr/lib/libgobject-2.0.so.0(g_closure_invoke+0x138) [0x7f42859276a8]
/usr/lib/libgobject-2.0.so.0(+0x2203d) [0x7f428593903d]
/usr/lib/libgobject-2.0.so.0(g_signal_emit_valist+0xde9) [0x7f4285940d49]
/usr/lib/libgobject-2.0.so.0(g_signal_emit+0x82) [0x7f4285941002]
/usr/lib/libgtk-3.so.0(gtk_widget_activate+0x7c) [0x7f428700485c]
/usr/lib/libgtk-3.so.0(gtk_menu_shell_activate_item+0xfe) [0x7f4286ef8dce]
/usr/lib/libgtk-3.so.0(+0x1bd106) [0x7f4286ef9106]
/usr/lib/libgtk-3.so.0(+0x1a13be) [0x7f4286edd3be]
/usr/lib/libgobject-2.0.so.0(+0x108d7) [0x7f42859278d7]
/usr/lib/libgobject-2.0.so.0(g_signal_emit_valist+0x442) [0x7f42859403a2]
/usr/lib/libgobject-2.0.so.0(g_signal_emit+0x82) [0x7f4285941002]
/usr/lib/libgtk-3.so.0(+0x2c97a4) [0x7f42870057a4]
/usr/lib/libgtk-3.so.0(+0x19f74c) [0x7f4286edb74c]
/usr/lib/libgtk-3.so.0(gtk_main_do_event+0x41a) [0x7f4286edcf9a]
/usr/lib/libgdk-3.so.0(+0x4d8f2) [0x7f4286ad88f2]
/usr/lib/libglib-2.0.so.0(g_main_context_dispatch+0x146) [0x7f428545d246]
/usr/lib/libglib-2.0.so.0(+0x48598) [0x7f428545d598]
/usr/lib/libglib-2.0.so.0(g_main_loop_run+0x6a) [0x7f428545d99a]
/usr/lib/libgtk-3.so.0(gtk_main+0x8d) [0x7f4286edc4ed]
/usr/lib/deadbeef/ddb_gui_GTK3.so(gtkui_thread+0x4c2) [0x7f42793559e2]
/usr/lib/libpthread.so.0(+0x80a2) [0x7f428b2660a2]
/usr/lib/libc.so.6(clone+0x6d) [0x7f428af9843d]

How to reproduce the bug.

Run deadbeef
Try using the preferences menu in Edit>Preferences.
Comment by Imnotreal (oma) - Wednesday, 09 October 2013, 20:47 GMT
I also have this crash:

(deadbeef:11307): Gtk-CRITICAL **: Error building template class 'GtkDialog' for an instance of type 'GtkDialog': Invalid object type `GtkButtonBox'

(deadbeef:11307): Gtk-CRITICAL **: gtk_container_set_border_width: assertion 'GTK_IS_CONTAINER (container)' failed

(deadbeef:11307): Gtk-CRITICAL **: _gtk_box_get_spacing_set: assertion 'GTK_IS_BOX (box)' failed

(deadbeef:11307): Gtk-CRITICAL **: gtk_box_set_spacing: assertion 'GTK_IS_BOX (box)' failed

(deadbeef:11307): Gtk-CRITICAL **: _gtk_box_set_spacing_set: assertion 'GTK_IS_BOX (box)' failed

(deadbeef:11307): Gtk-CRITICAL **: gtk_box_set_spacing: assertion 'GTK_IS_BOX (box)' failed

(deadbeef:11307): Gtk-CRITICAL **: gtk_container_set_border_width: assertion 'GTK_IS_CONTAINER (container)' failed

(deadbeef:11307): Gtk-CRITICAL **: gtk_widget_show: assertion 'GTK_IS_WIDGET (widget)' failed
Segmentation Fault
backtrace() returned 27 addresses
deadbeef() [0x403780]
/usr/lib/libc.so.6(+0x35450) [0x7f27f4bcc450]
/usr/lib/libgtk-3.so.0(+0xca83d) [0x7f27f0aea83d]
/usr/lib/deadbeef/ddb_gui_GTK3.so(create_prefwin+0x112) [0x7f27e305c582]
/usr/lib/deadbeef/ddb_gui_GTK3.so(on_preferences_activate+0xad) [0x7f27e307d42d]
/usr/lib/libgobject-2.0.so.0(g_closure_invoke+0x138) [0x7f27ef60b6a8]
/usr/lib/libgobject-2.0.so.0(+0x2203d) [0x7f27ef61d03d]
/usr/lib/libgobject-2.0.so.0(g_signal_emit_valist+0xde9) [0x7f27ef624d49]
/usr/lib/libgobject-2.0.so.0(g_signal_emit+0x82) [0x7f27ef625002]
/usr/lib/libgtk-3.so.0(gtk_widget_activate+0x7c) [0x7f27f0ce885c]
/usr/lib/libgtk-3.so.0(gtk_menu_shell_activate_item+0xfe) [0x7f27f0bdcdce]
/usr/lib/libgtk-3.so.0(+0x1bd106) [0x7f27f0bdd106]
/usr/lib/libgtk-3.so.0(+0x1a13be) [0x7f27f0bc13be]
/usr/lib/libgobject-2.0.so.0(+0x108d7) [0x7f27ef60b8d7]
/usr/lib/libgobject-2.0.so.0(g_signal_emit_valist+0x442) [0x7f27ef6243a2]
/usr/lib/libgobject-2.0.so.0(g_signal_emit+0x82) [0x7f27ef625002]
/usr/lib/libgtk-3.so.0(+0x2c97a4) [0x7f27f0ce97a4]
/usr/lib/libgtk-3.so.0(+0x19f74c) [0x7f27f0bbf74c]
/usr/lib/libgtk-3.so.0(gtk_main_do_event+0x41a) [0x7f27f0bc0f9a]
/usr/lib/libgdk-3.so.0(+0x4d8f2) [0x7f27f07bc8f2]
/usr/lib/libglib-2.0.so.0(g_main_context_dispatch+0x146) [0x7f27ef141246]
/usr/lib/libglib-2.0.so.0(+0x48598) [0x7f27ef141598]
/usr/lib/libglib-2.0.so.0(g_main_loop_run+0x6a) [0x7f27ef14199a]
/usr/lib/libgtk-3.so.0(gtk_main+0x8d) [0x7f27f0bc04ed]
/usr/lib/deadbeef/ddb_gui_GTK3.so(gtkui_thread+0x4c2) [0x7f27e30519e2]
/usr/lib/libpthread.so.0(+0x80a2) [0x7f27f4f4a0a2]
/usr/lib/libc.so.6(clone+0x6d) [0x7f27f4c7c43d]

I'd like to add that the status bar doesn't show anything when playing an audio file, when run in terminal here's the relevant output when deadbeef starts:

gtkui plugin compiled for gtk version: 3.6.4

(deadbeef:11307): Gtk-CRITICAL **: Error building template class 'GtkStatusbar' for an instance of type 'GtkStatusbar': Invalid object type `GtkFrame'

(deadbeef:11307): Gtk-CRITICAL **: gtk_frame_set_shadow_type: assertion 'GTK_IS_FRAME (frame)' failed

(deadbeef:11307): Gtk-CRITICAL **: gtk_widget_queue_resize: assertion 'GTK_IS_WIDGET (widget)' failed

(deadbeef:11307): Gtk-CRITICAL **: gtk_widget_queue_resize: assertion 'GTK_IS_WIDGET (widget)' failed
connecting button tray signals

(deadbeef:11307): Gtk-CRITICAL **: gtk_widget_queue_resize: assertion 'GTK_IS_WIDGET (widget)' failed

(deadbeef:11307): Gtk-CRITICAL **: gtk_widget_queue_resize: assertion 'GTK_IS_WIDGET (widget)' failed

(deadbeef:11307): Gtk-CRITICAL **: gtk_widget_queue_resize: assertion 'GTK_IS_WIDGET (widget)' failed

(deadbeef:11307): Gtk-CRITICAL **: gtk_widget_queue_resize: assertion 'GTK_IS_WIDGET (widget)' failed



then when playing an audio file, these appears continuously:

(deadbeef:11307): Gtk-CRITICAL **: gtk_label_set_text: assertion 'GTK_IS_LABEL (label)' failed


step to reproduce:

empty status bar: start deadbeef, play a track
crash: start deadbeef, access preferences from menu


it seems the gtkui plugin is compiled for an older version of gtk.
Comment by Nicholas (Chawoosh) - Friday, 11 October 2013, 12:53 GMT
I have the same problem, on simple open file dialog.

extra/gtk3 3.10.0-2
community/deadbeef 0.5.6-2
Comment by agg3l (agg3l) - Saturday, 12 October 2013, 18:03 GMT
've suffered just the same problem.
Rebuilding the package with all up2date packages via (~ smth. alike):

yaourt -G deadbeef
cd deadbeef && makepgk -s -i

'd fixed this nuisance for me
Comment by Jelle van der Waa (jelly) - Sunday, 13 October 2013, 15:27 GMT
Comment by Andrey (Gendalf) - Wednesday, 16 October 2013, 13:27 GMT
deadbeef works fine again after upgrade to gtk3 3.10.2-1!
Comment by Nicholas (Chawoosh) - Wednesday, 16 October 2013, 13:34 GMT
Yes, it's right!
But "open directory" function still don't work...

Loading...