View Issue Details

IDProjectCategoryView StatusLast Update
0006703ardourbugspublic2016-02-12 01:19
Reporterrwman Assigned To 
PrioritynormalSeveritycrashReproducibilityalways
Status feedbackResolutionopen 
PlatformLinuxOSopenSUSEOS Version13.2
Product Version4.4 
Summary0006703: Crash reusing track template with some plugins and lilv 0.20.0
DescriptionThis bug appears with lilv 0.20.0
After i upgraded to lilv 0.22.0 - bug vanished.

Affected plugins: zam-sfz, calf-fluidsynth.
Steps To Reproduce
Steps to reproduce:
1) Create new session
2) Create MIDI track with zam-sfz or calf-fluidsynth as instrument.
3) Save track as template (say, "my-template")
4) Open new track addition dialog (right-click on track list)
5) Choose "Audio Track" type and configuration "my-template" in the select-boxes
6) Click "Add"

Result: Ardour crashed (segmentation fault)
Console log: http://paste.opensuse.org/33346397
Backtrace:
----------------------------
Program received signal SIGSEGV, Segmentation fault.
retrieve_callback (handle=0x0, key=40, size=0x7fff08322230, type=0x7fff08322210, flags=0x7fff08322220) at ../src/state.c:171
171 ../src/state.c: No such file or directory.
(gdb) bt
#0 0x00007f12eb1c55d5 in retrieve_callback (handle=0x0, key=40, size=0x7fff08322230, type=0x7fff08322210, flags=0x7fff08322220) at ../src/state.c:171
0000001 0x00007f1285b6371e in calf_plugins::lv2_instance::impl_restore(void const* (*)(void*, unsigned int, unsigned long*, unsigned int*, unsigned int*), void*) () at /usr/lib64/lv2/calf.lv2/calf.so
#2 0x00007f1285b63894 in calf_plugins::lv2_wrapper<calf_plugins::fluidsynth_audio_module>::cb_state_restore(void*, void const* (*)(void*, unsigned int, unsigned long*, unsigned int*, unsigned int*), void*, unsigned int, _LV2_Feature const* const*) () at /usr/lib64/lv2/calf.lv2/calf.so
#3 0x00007f12eb1c5aba in lilv_state_restore (state=0x0, instance=0x5cf7150, set_value=0x0, user_data=0x0, flags=0, features=<optimized out>) at ../src/state.c:418
0000004 0x00007f12f02aeabb in ARDOUR::LV2Plugin::set_state(XMLNode const&, int) () at /usr/lib64/ardour4/libardour.so.3
0000005 0x00007f12f0153a12 in ARDOUR::PluginInsert::set_state(XMLNode const&, int) () at /usr/lib64/ardour4/libardour.so.3
#6 0x00007f12f01b9542 in ARDOUR::Route::set_processor_state(XMLNode const&) () at /usr/lib64/ardour4/libardour.so.3
#7 0x00007f12f01bcf57 in ARDOUR::Route::set_state(XMLNode const&, int) () at /usr/lib64/ardour4/libardour.so.3
0000008 0x00007f12f028ef5d in ARDOUR::Track::set_state(XMLNode const&, int) () at /usr/lib64/ardour4/libardour.so.3
0000009 0x00007f12f011035e in ARDOUR::MidiTrack::set_state(XMLNode const&, int) () at /usr/lib64/ardour4/libardour.so.3
0000010 0x00007f12f023787b in ARDOUR::Session::XMLRouteFactory(XMLNode const&, int) () at /usr/lib64/ardour4/libardour.so.3
0000011 0x00007f12f01ee865 in ARDOUR::Session::new_route_from_template(unsigned int, std::string const&, std::string const&) () at /usr/lib64/ardour4/libardour.so.3
0000012 0x00000000004cd239 in ARDOUR_UI::add_route(Gtk::Window*) ()
0000013 0x0000000000565b6f in Editor::edit_controls_button_release(_GdkEventButton*) ()
0000014 0x00007f12ed0444cb in () at /usr/lib64/libgtkmm-2.4.so.1
#15 0x00007f12ee36bf95 in () at /usr/lib64/libgtk-x11-2.0.so.0
0000016 0x00007f12eed95e78 in g_closure_invoke () at /usr/lib64/libgobject-2.0.so.0
#17 0x00007f12eeda7311 in () at /usr/lib64/libgobject-2.0.so.0
0000018 0x00007f12eedaea18 in g_signal_emit_valist () at /usr/lib64/libgobject-2.0.so.0
0000019 0x00007f12eedaf002 in g_signal_emit () at /usr/lib64/libgobject-2.0.so.0
0000020 0x00007f12ee47baa4 in () at /usr/lib64/libgtk-x11-2.0.so.0
0000021 0x00007f12ee36a744 in gtk_propagate_event () at /usr/lib64/libgtk-x11-2.0.so.0
0000022 0x00007f12ee36aafb in gtk_main_do_event () at /usr/lib64/libgtk-x11-2.0.so.0
0000023 0x00007f12edfdb90c in () at /usr/lib64/libgdk-x11-2.0.so.0
#24 0x00007f12eeac2a04 in g_main_context_dispatch () at /usr/lib64/libglib-2.0.so.0
0000025 0x00007f12eeac2c48 in () at /usr/lib64/libglib-2.0.so.0
0000026 0x00007f12eeac2f0a in g_main_loop_run () at /usr/lib64/libglib-2.0.so.0
0000027 0x00007f12ee369be7 in gtk_main () at /usr/lib64/libgtk-x11-2.0.so.0
0000028 0x00007f12f08c3b16 in Gtkmm2ext::UI::run(Receiver&) () at /usr/lib64/ardour4/libgtkmm2ext.so.0
0000029 0x0000000000495f3d in main ()

TagsNo tags attached.

Activities

timbyr

2016-02-12 01:19

developer   ~0017920

There have been a number of updates to lv2 state handling since version 4.4 and 4.6.

If it is possible can you please retest this with a recent build and confirm if it is still an issue. Thanks.

Issue History

Date Modified Username Field Change
2015-12-08 07:11 rwman New Issue
2016-02-12 01:19 timbyr Note Added: 0017920
2016-02-12 01:19 timbyr Status new => feedback