#98 buzztard-0.4.0: core dump when creating new file

v0.4
open
Stefan Sauer
bt-edit (37)
5
2009-04-05
2008-11-30
Thomas Klausner
No

I compiled buzztard-0.4.0 on NetBSD, using the patches from
https://sourceforge.net/tracker/index.php?func=detail&aid=2367668&group_id=55124&atid=476039
https://sourceforge.net/tracker/index.php?func=detail&aid=2367654&group_id=55124&atid=476039
https://sourceforge.net/tracker/index.php?func=detail&aid=2367650&group_id=55124&atid=476039
and using a workaround for
https://sourceforge.net/tracker/index.php?func=detail&aid=2367633&group_id=55124&atid=476037

The resulting binary starts up fine. I have no existing buzz files, so I tried creating a new one. However, I get an immediate core dump.
Warnings during startup:
(buzztard-edit:686): GLib-GIO-WARNING **: FAMOpen failed, FAMErrno=0
(buzztard-edit:686): GLib-GIO-WARNING **: FAMOpen failed, FAMErrno=0
(buzztard-edit:686): Gtk-WARNING **: Unable to find default local directory monitor type
(buzztard-edit:686): Gtk-WARNING **: Unable to find default local directory monitor type

Backtrace:
Core was generated by `buzztard-edit'.
Program terminated with signal 11, Segmentation fault.
#0 gst_base_sink_pad_getcaps (pad=0x7f7ff313fcf0) at gstbasesink.c:424
424 gstbasesink.c: No such file or directory.
in gstbasesink.c
(gdb) bt
#0 gst_base_sink_pad_getcaps (pad=0x7f7ff313fcf0) at gstbasesink.c:424
#1 0x00007f7ff904e976 in gst_pad_get_caps_unlocked (pad=0x7f7ff313fcf0)
at gstpad.c:2004
#2 0x00007f7ff90526a3 in gst_pad_get_caps (pad=0x7f7ff313fcf0)
at gstpad.c:2088
#3 0x00007f7ff9045399 in gst_proxy_pad_do_getcaps (pad=0x7f7ff4473c00)
at gstghostpad.c:244
#4 0x00007f7ff904e976 in gst_pad_get_caps_unlocked (pad=0x7f7ff4473c00)
at gstpad.c:2004
#5 0x00007f7ff9054753 in gst_pad_link (srcpad=0x7f7ff313fb80,
sinkpad=0x7f7ff4473c00) at gstpad.c:1675
#6 0x00007f7ff9077a91 in pad_link_maybe_ghosting (src=0x7f7ff313fb80,
sink=0x7f7ff4473c00) at gstutils.c:1323
#7 0x00007f7ff9078c5c in gst_element_link_pads (src=0x7f7ff3146490,
srcpadname=<value optimized out>, dest=0x7f7ff3c24320,
destpadname=<value optimized out>) at gstutils.c:1469
#8 0x00007f7ff9079963 in gst_element_link_pads_filtered (src=0x7f7ff3146490,
srcpadname=0x0, dest=0x7f7ff3c24320, destpadname=0x0, filter=0x0)
at gstutils.c:1660
#9 0x00007f7ffdc2650c in bt_sink_bin_link_many ()
from /usr/pkg/lib/libbuzztard-core.so.0
#10 0x00007f7ffdc274d1 in bt_sink_bin_update ()
from /usr/pkg/lib/libbuzztard-core.so.0
#11 0x00007f7ffdc27abd in bt_sink_bin_init ()
from /usr/pkg/lib/libbuzztard-core.so.0
#12 0x00007f7ff582bb35 in g_type_create_instance ()
from /usr/pkg/lib/libgobject-2.0.so.0
#13 0x00007f7ff580fe3d in g_object_notify ()
from /usr/pkg/lib/libgobject-2.0.so.0
#14 0x00007f7ff581046f in g_object_newv ()
from /usr/pkg/lib/libgobject-2.0.so.0
#15 0x00007f7ff5810eac in g_object_new_valist ()
from /usr/pkg/lib/libgobject-2.0.so.0
#16 0x00007f7ff58110e1 in g_object_new () from /usr/pkg/lib/libgobject-2.0.so.0
#17 0x00007f7ff90415b7 in gst_element_factory_create (
factory=<value optimized out>, name=0x7f7fffffbb30 "master_0x7f7ff3c61430")
at gstelementfactory.c:405
#18 0x00007f7ff9041e0f in gst_element_factory_make (
factoryname=0x7f7ff207a0a0 "bt-sink-bin",
name=0x7f7fffffbb30 "master_0x7f7ff3c61430") at gstelementfactory.c:474
#19 0x00007f7ffdc13fac in bt_machine_make_internal_element ()
from /usr/pkg/lib/libbuzztard-core.so.0
#20 0x00007f7ffdc14291 in bt_machine_setup ()
from /usr/pkg/lib/libbuzztard-core.so.0
#21 0x00007f7ffdc19bcc in bt_machine_new ()
from /usr/pkg/lib/libbuzztard-core.so.0
#22 0x00007f7ffdc2917b in bt_sink_machine_new ()
from /usr/pkg/lib/libbuzztard-core.so.0
#23 0x0000000000417afb in bt_edit_application_new_song ()
#24 0x000000000041994d in bt_main_window_new_song ()
#25 0x000000000041edae in bt_main_toolbar_new ()
#26 0x00007f7ff580b329 in g_closure_invoke ()
from /usr/pkg/lib/libgobject-2.0.so.0
#27 0x00007f7ff581b8d1 in g_signal_chain_from_overridden ()
from /usr/pkg/lib/libgobject-2.0.so.0
#28 0x00007f7ff581cb9f in g_signal_emit_valist ()
from /usr/pkg/lib/libgobject-2.0.so.0
#29 0x00007f7ff5820056 in g_signal_emit_by_name ()
from /usr/pkg/lib/libgobject-2.0.so.0
#30 0x00007f7ff580b329 in g_closure_invoke ()
from /usr/pkg/lib/libgobject-2.0.so.0
#31 0x00007f7ff581b8d1 in g_signal_chain_from_overridden ()
from /usr/pkg/lib/libgobject-2.0.so.0
#32 0x00007f7ff581cb9f in g_signal_emit_valist ()
from /usr/pkg/lib/libgobject-2.0.so.0
#33 0x00007f7ff581cd93 in g_signal_emit ()
from /usr/pkg/lib/libgobject-2.0.so.0
#34 0x00007f7ffcf91a19 in gtk_button_set_alignment ()
from /usr/pkg/lib/libgtk-x11-2.0.so.0
#35 0x00007f7ff580b329 in g_closure_invoke ()
from /usr/pkg/lib/libgobject-2.0.so.0
#36 0x00007f7ff581b56c in g_signal_chain_from_overridden ()
from /usr/pkg/lib/libgobject-2.0.so.0
#37 0x00007f7ff581cb9f in g_signal_emit_valist ()
from /usr/pkg/lib/libgobject-2.0.so.0
#38 0x00007f7ff581cd93 in g_signal_emit ()
from /usr/pkg/lib/libgobject-2.0.so.0
#39 0x00007f7ffcf90389 in gtk_button_released ()
from /usr/pkg/lib/libgtk-x11-2.0.so.0
#40 0x00007f7ffd02d61d in gtk_marshal_BOOLEAN__VOID ()
from /usr/pkg/lib/libgtk-x11-2.0.so.0
#41 0x00007f7ff580b329 in g_closure_invoke ()
from /usr/pkg/lib/libgobject-2.0.so.0
#42 0x00007f7ff581ba64 in g_signal_chain_from_overridden ()
from /usr/pkg/lib/libgobject-2.0.so.0
#43 0x00007f7ff581c9f8 in g_signal_emit_valist ()
from /usr/pkg/lib/libgobject-2.0.so.0
#44 0x00007f7ff581cd93 in g_signal_emit ()
from /usr/pkg/lib/libgobject-2.0.so.0
#45 0x00007f7ffd11f99e in gtk_widget_class_list_style_properties ()
from /usr/pkg/lib/libgtk-x11-2.0.so.0
#46 0x00007f7ffd0267ff in gtk_propagate_event ()
from /usr/pkg/lib/libgtk-x11-2.0.so.0
#47 0x00007f7ffd027927 in gtk_main_do_event ()
from /usr/pkg/lib/libgtk-x11-2.0.so.0
#48 0x00007f7ffcd4e25c in gdk_add_client_message_filter ()
from /usr/pkg/lib/libgdk-x11-2.0.so.0
#49 0x00007f7ff4f350d2 in g_main_context_dispatch ()
from /usr/pkg/lib/libglib-2.0.so.0
#50 0x00007f7ff4f383a5 in g_main_context_check ()
from /usr/pkg/lib/libglib-2.0.so.0
#51 0x00007f7ff4f3869d in g_main_loop_run () from /usr/pkg/lib/libglib-2.0.so.0
#52 0x00007f7ffd027c52 in gtk_main () from /usr/pkg/lib/libgtk-x11-2.0.so.0
#53 0x00000000004199c6 in bt_main_window_run ()
#54 0x0000000000417261 in bt_edit_application_show_about ()
#55 0x0000000000417e18 in bt_edit_application_run ()
#56 0x0000000000416538 in main ()

Please advise. Thanks.

Discussion

  • Stefan Sauer
    Stefan Sauer
    2008-12-01

    Unfortunately the backtrace has no symbols from here (thats libbtcore).

    #9 0x00007f7ffdc2650c in bt_sink_bin_link_many ()
    from /usr/pkg/lib/libbuzztard-core.so.0
    #10 0x00007f7ffdc274d1 in bt_sink_bin_update ()
    from /usr/pkg/lib/libbuzztard-core.so.0
    #11 0x00007f7ffdc27abd in bt_sink_bin_init ()
    from /usr/pkg/lib/libbuzztard-core.so.0

    Could you redo it. What steps have you done in the ui?

     
  • Stefan Sauer
    Stefan Sauer
    2008-12-02

    • assigned_to: nobody --> berzerka
     
  • Stefan Sauer
    Stefan Sauer
    2009-02-05

    Ping? Could you retry?

     
  • Stefan Sauer
    Stefan Sauer
    2009-04-05

    • assigned_to: berzerka --> ensonic