View Issue Details

IDCategoryLast Update
0007110bugs2016-11-14 23:10
ReportertimbyrAssigned Tonmains 
Reproducibilityalways 
Status resolvedResolutionfixed 
Product Version5.X git (version in description) 
Fixed in Version5.X git (version in description) 
Summary0007110: Session with selected midi notes in 5.4.320 crashes when opened with 5.4
DescriptionI know that we don't guarantee backwards Session file compatibility but if this is easy enough to fix/revert/add compatibility, I think we should do so.

It looks like this issue was introduced recently with commit 9698f16a
TagsNo tags attached.

Activities

x42

2016-11-14 03:10

administrator   ~0018958

Can you get a backtrace? Is it as simple as

Selection::set_state ()
{
  ...
  XMLProperty const * prop_id = (*ci)->property (X_("id"));
  Evoral::event_id_t id = atoi(prop_id->value());
  ...
}

and prop_id is NULL when loading a 5.4.0 session?

x42

2016-11-14 03:15

administrator   ~0018959

Last edited: 2016-11-14 03:17

View 2 revisions

Potential fix in 5.4-334-g6794a83

since "id" not a PBD::ID but an Evoral::event_id_t I think we should change the identifier-name and not re-use "id" in the XML.

timbyr

2016-11-14 03:33

developer  

5.4-crash-with-selected-midi-notes.bt.txt (33,614 bytes)
[timbyr@thinkpad-T420-1 HEAD-debug-tests-internal-libs]$ ./gtk2_ardour/ardbg
GNU gdb (GDB) Fedora 7.11.1-86.fc24
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-redhat-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from ./gtk2_ardour/../build/gtk2_ardour/ardour-5.4.0...done.
(gdb) run
Starting program: /home/timbyr/Data/devel/ardour/ardour-build-scripts/BUILD/HEAD-debug-tests-internal-libs/build/gtk2_ardour/ardour-5.4.0 
Missing separate debuginfos, use: dnf debuginfo-install glibc-2.23.1-10.fc24.x86_64
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
bind txt domain [gtk2_ardour5] to /usr/local/share/ardour5/locale
Ardour5.4.0 (built using 5.4 and GCC version 6.2.1 20160916 (Red Hat 6.2.1-2))
ardour: [INFO]: Your system is configured to limit Ardour to only 4,096 open files
ardour: [INFO]: Loading system configuration file /home/timbyr/Data/devel/ardour/ardour-build-scripts/BUILD/HEAD-debug-tests-internal-libs/system_config
ardour: [INFO]: Loading user configuration file /home/timbyr/.config/ardour5/config
[New Thread 0x7fffd896c700 (LWP 21427)]
ardour: [INFO]: CPU vendor: GenuineIntel
ardour: [INFO]: AVX-capable processor
ardour: [INFO]: CPU brand:        Intel(R) Core(TM) i7-2640M CPU @ 2.80GHz
ardour: [INFO]: Using SSE optimized routines
[New Thread 0x7fffd816b700 (LWP 21428)]
[New Thread 0x7fffd796a700 (LWP 21429)]
[New Thread 0x7fffd7169700 (LWP 21430)]
[New Thread 0x7fffd4a3c700 (LWP 21431)]
[New Thread 0x7fffc7fff700 (LWP 21432)]
Cannot xinstall SIGPIPE error handler
ardour: [INFO]: Loading default ui configuration file /home/timbyr/Data/devel/ardour/ardour-build-scripts/BUILD/HEAD-debug-tests-internal-libs/build/gtk2_ardour/default_ui_config
ardour: [INFO]: Loading user ui configuration file /home/timbyr/.config/ardour5/ui_config
[New Thread 0x7fffbbba5700 (LWP 21433)]
[New Thread 0x7fffbb3a4700 (LWP 21434)]
[New Thread 0x7fffbaba3700 (LWP 21435)]
[New Thread 0x7fffba3a2700 (LWP 21436)]
ardour: [INFO]: Loading color file /home/timbyr/Data/devel/ardour/ardour-build-scripts/BUILD/HEAD-debug-tests-internal-libs/gtk2_ardour/themes/dark-ardour.colors
ardour: [INFO]: Loading ui configuration file /home/timbyr/Data/devel/ardour/ardour-build-scripts/BUILD/HEAD-debug-tests-internal-libs/build/gtk2_ardour/clearlooks.rc
ardour: [INFO]: Loading ui configuration file /home/timbyr/Data/devel/ardour/ardour-build-scripts/BUILD/HEAD-debug-tests-internal-libs/build/gtk2_ardour/clearlooks.rc
[New Thread 0x7fffb97cc700 (LWP 21438)]
[New Thread 0x7fffb8fcb700 (LWP 21439)]
[New Thread 0x7fffa3fff700 (LWP 21440)]
Found nothing along /home/timbyr/.config/ardour5/templates:./gtk2_ardour/../templates:./gtk2_ardour/../build/templates:./gtk2_ardour/../gtk2_ardour/templates:./gtk2_ardour/../build/gtk2_ardour/templates:./templates
run dialog
[Thread 0x7fffb8fcb700 (LWP 21439) exited]
[Thread 0x7fffb97cc700 (LWP 21438) exited]
[Thread 0x7fffba3a2700 (LWP 21436) exited]
[Thread 0x7fffbaba3700 (LWP 21435) exited]
Detaching after vfork from child process 21442.
[New Thread 0x7fffb8fcb700 (LWP 21443)]
playback :
  nchan  : 4
  fsamp  : 48000
  fsize  : 1024
  nfrag  : 2
  format : S32_LE
capture  :
  nchan  : 2
  fsamp  : 48000
  fsize  : 1024
  nfrag  : 2
  format : S32_LE
synced
[New Thread 0x7fffb80c1d80 (LWP 21444)]
protocol Ableton Push 2 not found
protocol Open Sound Control (OSC) active ? 0
protocol PreSonus FaderPort active ? 0
protocol Generic MIDI active ? 0
protocol Mackie active ? 0
Scanning folders for bundled LV2s: ./gtk2_ardour/../build/libs/LV2
KP is /home/timbyr/.config/ardour5/ardour.keys
[New Thread 0x7fffbaba3700 (LWP 21445)]
[New Thread 0x7fffba3a2700 (LWP 21446)]
[New Thread 0x7fffb97cc700 (LWP 21447)]
Set cursor set to default
[New Thread 0x7fffa2ebe700 (LWP 21448)]
[New Thread 0x7fffa26bcd80 (LWP 21449)]
[New Thread 0x7fffa26a3d80 (LWP 21450)]
[New Thread 0x7fffa268ad80 (LWP 21451)]
Set buffering params to 262144|131072|10|10
[New Thread 0x7fffa2671800 (LWP 21452)]
[New Thread 0x7fffa250e700 (LWP 21453)]
protocol Ableton Push 2 not found
protocol Open Sound Control (OSC) active ? 0
protocol PreSonus FaderPort active ? 0
protocol Generic MIDI active ? 0
protocol Mackie active ? 0
protocol Steinberg CC121 not found
Set buffering params to 262144|131072|10|10
Skip explicit buffer seconds, preset in use
Skip explicit buffer seconds, preset in use
[Thread 0x7fffa2ebe700 (LWP 21448) exited]
[Thread 0x7fffb97cc700 (LWP 21447) exited]
[Thread 0x7fffbaba3700 (LWP 21445) exited]
[Thread 0x7fffa3fff700 (LWP 21440) exited]
[New Thread 0x7fffa2ebe700 (LWP 21454)]
[New Thread 0x7fffbaba3700 (LWP 21455)]
[New Thread 0x7fffb97cc700 (LWP 21456)]
ardour-5.4.0: ../gtk2_ardour/selection.cc:1418: int Selection::set_state(const XMLNode&, int): Assertion `prop_channel' failed.

Thread 1 "ardour-5.4.0" received signal SIGABRT, Aborted.
0x00007fffec5e26f5 in raise () from /lib64/libc.so.6
Missing separate debuginfos, use: dnf debuginfo-install GConf2-3.2.6-16.fc24.x86_64 PackageKit-gtk3-module-1.1.3-2.fc24.x86_64 adwaita-gtk2-theme-3.20.2-1.fc24.x86_64 alsa-lib-1.1.1-1.fc24.x86_64 atk-2.20.0-1.fc24.x86_64 atkmm-2.24.2-2.fc24.x86_64 aubio-0.4.2-2.fc24.x86_64 bluez-libs-5.41-1.fc24.x86_64 bzip2-libs-1.0.6-20.fc24.x86_64 cairo-1.14.6-2.fc24.x86_64 cairomm-1.12.0-2.fc24.x86_64 cwiid-0.6.00-27.20100505gitfadf11e.fc24.x86_64 cyrus-sasl-lib-2.1.26-26.2.fc24.x86_64 dbus-glib-0.108-1.fc24.x86_64 dbus-libs-1.11.4-1.fc24.x86_64 dconf-0.26.0-1.fc24.x86_64 expat-2.1.1-2.fc24.x86_64 fftw-libs-double-3.3.4-7.fc24.x86_64 fftw-libs-single-3.3.4-7.fc24.x86_64 flac-libs-1.3.1-6.fc24.x86_64 fontconfig-2.11.94-7.fc24.x86_64 freetype-2.6.3-2.fc24.x86_64 gdk-pixbuf2-2.34.0-1.fc24.x86_64 glib-networking-2.48.2-1.fc24.x86_64 glib2-2.48.2-1.fc24.x86_64 glibmm24-2.48.1-1.fc24.x86_64 gmp-6.1.1-1.fc24.x86_64 gnutls-3.4.15-1.fc24.x86_64 graphite2-1.3.6-1.fc24.x86_64 gsm-1.0.13-14.fc24.x86_64 gtk2-2.24.31-1.fc24.x86_64 gtkmm24-2.24.4-9.fc24.x86_64 gvfs-client-1.28.3-1.fc24.x86_64 harfbuzz-1.2.7-1.fc24.x86_64 ibus-gtk2-1.5.13-3.fc24.x86_64 ibus-libs-1.5.13-3.fc24.x86_64 jack-audio-connection-kit-1.9.10-5.fc24.x86_64 keyutils-libs-1.5.9-8.fc24.x86_64 krb5-libs-1.14.4-4.fc24.x86_64 ladspa-1.13-16.fc24.x86_64 libX11-1.6.3-3.fc24.x86_64 libXau-1.0.8-6.fc24.x86_64 libXcomposite-0.4.4-8.fc24.x86_64 libXcursor-1.1.14-6.fc24.x86_64 libXdamage-1.1.4-8.fc24.x86_64 libXext-1.3.3-4.fc24.x86_64 libXfixes-5.0.3-1.fc24.x86_64 libXi-1.7.7-1.fc24.x86_64 libXinerama-1.1.3-6.fc24.x86_64 libXrandr-1.5.1-1.fc24.x86_64 libXrender-0.9.10-1.fc24.x86_64 libXxf86vm-1.1.4-3.fc24.x86_64 libacl-2.2.52-11.fc24.x86_64 libarchive-3.2.1-3.fc24.x86_64 libattr-2.4.47-16.fc24.x86_64 libcanberra-0.30-11.fc24.x86_64 libcanberra-gtk2-0.30-11.fc24.x86_64 libcap-2.24-9.fc24.x86_64 libcom_err-1.42.13-4.fc24.x86_64 libcurl-7.47.1-8.fc24.x86_64 libdatrie-0.2.9-3.fc24.x86_64 libdrm-2.4.71-2.fc24.x86_64 libffi-3.1-9.fc24.x86_64 libgcc-6.2.1-2.fc24.x86_64 libgcrypt-1.6.6-1.fc24.x86_64 libgpg-error-1.24-1.fc24.x86_64 libicu-56.1-4.fc24.x86_64 libidn-1.33-1.fc24.x86_64 liblo-0.28-2.fc24.x86_64 liblrdf-0.5.0-10.fc24.x86_64 libmodman-2.0.1-12.fc24.x86_64 libnghttp2-1.7.1-1.fc24.x86_64 libogg-1.3.2-5.fc24.x86_64 libpng-1.6.23-1.fc24.x86_64 libproxy-0.4.12-3.fc24.x86_64 libpsl-0.13.0-2.fc24.x86_64 libsamplerate-0.1.8-10.fc24.x86_64 libselinux-2.5-9.fc24.x86_64 libsigc++20-2.8.0-1.fc24.x86_64 libsndfile-1.0.25-20.fc24.x86_64 libssh2-1.7.0-5.fc24.x86_64 libstdc++-6.2.1-2.fc24.x86_64 libtasn1-4.9-1.fc24.x86_64 libtdb-1.3.9-1.fc24.x86_64 libthai-0.1.24-1.fc24.x86_64 libtool-ltdl-2.4.6-12.fc24.x86_64 libunistring-0.9.4-3.fc24.x86_64 libvorbis-1.3.4-6.fc24.x86_64 libwayland-client-1.10.0-1.fc24.x86_64 libwayland-server-1.10.0-1.fc24.x86_64 libxcb-1.11.1-2.fc24.x86_64 libxml2-2.9.3-3.fc24.x86_64 libxshmfence-1.2-3.fc24.x86_64 libxslt-1.1.28-12.fc24.x86_64 lilv-0.20.0-5.fc24.x86_64 lz4-r131-2.fc24.x86_64 lzo-2.08-8.fc24.x86_64 mesa-libEGL-12.0.3-1.fc24.x86_64 mesa-libGL-12.0.3-1.fc24.x86_64 mesa-libgbm-12.0.3-1.fc24.x86_64 mesa-libglapi-12.0.3-1.fc24.x86_64 nettle-3.2-3.fc24.x86_64 nspr-4.13.0-1.fc24.x86_64 nss-3.27.0-1.1.fc24.x86_64 nss-softokn-freebl-3.27.0-1.0.fc24.x86_64 nss-util-3.27.0-1.0.fc24.x86_64 openldap-2.4.44-1.fc24.x86_64 openssl-libs-1.0.2j-1.fc24.x86_64 opus-1.1.2-2.fc24.x86_64 p11-kit-0.23.2-2.fc24.x86_64 pango-1.40.3-1.fc24.x86_64 pangomm-2.40.0-1.fc24.x86_64 pcre-8.39-3.fc24.x86_64 pixman-0.34.0-2.fc24.x86_64 raptor2-2.0.15-6.fc24.x86_64 rubberband-1.8.1-8.fc24.x86_64 serd-0.20.0-3.fc24.x86_64 sord-0.12.2-8.fc24.x86_64 sratom-0.4.6-4.fc24.x86_64 suil-0.8.2-4.fc24.x86_64 systemd-libs-229-16.fc24.x86_64 taglib-1.11-1.fc24.x86_64 vamp-plugin-sdk-2.5-8.fc24.x86_64 xz-libs-5.2.2-2.fc24.x86_64 yajl-2.1.0-5.fc24.x86_64 zlib-1.2.8-10.fc24.x86_64
(gdb) t a a bt

Thread 28 (Thread 0x7fffb97cc700 (LWP 21456)):
#0  0x00007fffef9434ad in nanosleep () at /lib64/libpthread.so.0
#1  0x00007ffff39de3d8 in g_usleep () at /lib64/libglib-2.0.so.0
#2  0x00007ffff64065ea in ARDOUR::AutomationWatch::thread() (this=0x68b4cd0) at ../libs/ardour/automation_watch.cc:153
#3  0x00007ffff6409a9b in boost::_mfi::mf0<void, ARDOUR::AutomationWatch>::operator()(ARDOUR::AutomationWatch*) const (this=0x6029bd0, p=0x68b4cd0) at /usr/include/boost/bind/mem_fn_template.hpp:49
#4  0x00007ffff6409718 in boost::_bi::list1<boost::_bi::value<ARDOUR::AutomationWatch*> >::operator()<boost::_mfi::mf0<void, ARDOUR::AutomationWatch>, boost::_bi::list0>(boost::_bi::type<void>, boost::_mfi::mf0<void, ARDOUR::AutomationWatch>&, boost::_bi::list0&, int) (this=0x6029be0, f=..., a=...) at /usr/include/boost/bind/bind.hpp:259
#5  0x00007ffff64091e9 in boost::_bi::bind_t<void, boost::_mfi::mf0<void, ARDOUR::AutomationWatch>, boost::_bi::list1<boost::_bi::value<ARDOUR::AutomationWatch*> > >::operator()() (this=0x6029bd0)
    at /usr/include/boost/bind/bind.hpp:1222
#6  0x00007ffff6409176 in sigc::adaptor_functor<boost::_bi::bind_t<void, boost::_mfi::mf0<void, ARDOUR::AutomationWatch>, boost::_bi::list1<boost::_bi::value<ARDOUR::AutomationWatch*> > > >::operator()() const (this=0x6029bd0) at /usr/include/sigc++-2.0/sigc++/adaptors/adaptor_trait.h:256
#7  0x00007ffff6408c4c in sigc::internal::slot_call0<boost::_bi::bind_t<void, boost::_mfi::mf0<void, ARDOUR::AutomationWatch>, boost::_bi::list1<boost::_bi::value<ARDOUR::AutomationWatch*> > >, void>::call_it(sigc::internal::slot_rep*) (rep=0x6029ba0) at /usr/include/sigc++-2.0/sigc++/functors/slot.h:115
#8  0x00007ffff3f1a3bd in call_thread_entry_slot () at /lib64/libglibmm-2.4.so.1
#9  0x00007ffff39dccf5 in g_thread_proxy () at /lib64/libglib-2.0.so.0
#10 0x00007fffef93a5ca in start_thread () at /lib64/libpthread.so.0
#11 0x00007fffec6b0f6d in clone () at /lib64/libc.so.6

Thread 27 (Thread 0x7fffbaba3700 (LWP 21455)):
#0  0x00007fffef93fbd0 in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007ffff6886575 in ARDOUR::Session::auto_connect_thread_run() (this=0x2b2eb00) at ../libs/ardour/session.cc:7093
#2  0x00007ffff68862ea in ARDOUR::Session::auto_connect_thread(void*) (arg=0x2b2eb00) at ../libs/ardour/session.cc:7047
#3  0x00007fffef93a5ca in start_thread () at /lib64/libpthread.so.0
#4  0x00007fffec6b0f6d in clone () at /lib64/libc.so.6

Thread 26 (Thread 0x7fffa2ebe700 (LWP 21454)):
#0  0x00007fffef93fbd0 in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007ffff68f735d in ARDOUR::Session::emit_thread_run() (this=0x2b2eb00) at ../libs/ardour/session_process.cc:1316
#2  0x00007ffff68f72fa in ARDOUR::Session::emit_thread(void*) (arg=0x2b2eb00) at ../libs/ardour/session_process.cc:1305
#3  0x00007fffef93a5ca in start_thread () at /lib64/libpthread.so.0
#4  0x00007fffec6b0f6d in clone () at /lib64/libc.so.6

Thread 25 (Thread 0x7fffa250e700 (LWP 21453)):
#0  0x00007fffec6a53ed in poll () at /lib64/libc.so.6
#1  0x00007ffff39b6a06 in g_main_context_iterate.isra () at /lib64/libglib-2.0.so.0
#2  0x00007ffff39b6d92 in g_main_loop_run () at /lib64/libglib-2.0.so.0
#3  0x00007ffff4b89b4d in BaseUI::main_thread() (this=0x3f79660) at ../libs/pbd/base_ui.cc:86
#4  0x00007ffff4b8dcfa in sigc::bound_mem_functor0<void, BaseUI>::operator()() const (this=0x3f79d28) at /usr/include/sigc++-2.0/sigc++/functors/mem_fun.h:1989
#5  0x00007ffff4b8d93a in sigc::adaptor_functor<sigc::bound_mem_functor0<void, BaseUI> >::operator()() const (this=0x3f79d20) at /usr/include/sigc++-2.0/sigc++/adaptors/adaptor_trait.h:256
#6  0x00007ffff4b8d37b in sigc::internal::slot_call0<sigc::bound_mem_functor0<void, BaseUI>, void>::call_it(sigc::internal::slot_rep*) (rep=0x3f79cf0) at /usr/include/sigc++-2.0/sigc++/functors/slot.h:115
#7  0x00007ffff3f1a3bd in call_thread_entry_slot () at /lib64/libglibmm-2.4.so.1
#8  0x00007ffff39dccf5 in g_thread_proxy () at /lib64/libglib-2.0.so.0
#9  0x00007fffef93a5ca in start_thread () at /lib64/libpthread.so.0
#10 0x00007fffec6b0f6d in clone () at /lib64/libc.so.6

Thread 24 (Thread 0x7fffa2671800 (LWP 21452)):
#0  0x00007fffec6a53ed in poll () at /lib64/libc.so.6
#1  0x00007ffff4b9f96a in CrossThreadChannel::poll_for_request() (this=0x2b2b898) at ../libs/pbd/crossthread.posix.cc:75
#2  0x00007ffff4b9f9d3 in CrossThreadChannel::receive(char&, bool) (this=0x2b2b898, msg=@0x7fffa267036f: 0 '\000', wait=true) at ../libs/pbd/crossthread.posix.cc:96
#3  0x00007ffff641980a in ARDOUR::Butler::thread_work() (this=0x2b2b800) at ../libs/ardour/butler.cc:175
#4  0x00007ffff641958b in ARDOUR::Butler::_thread_work(void*) (arg=0x2b2b800) at ../libs/ardour/butler.cc:156
#5  0x00007ffff4bc1072 in fake_thread_start(void*) (arg=0x3f79410) at ../libs/pbd/pthread_utils.cc:101
---Type <return> to continue, or q <return> to quit---
#6  0x00007fffef93a5ca in start_thread () at /lib64/libpthread.so.0
#7  0x00007fffec6b0f6d in clone () at /lib64/libc.so.6

Thread 23 (Thread 0x7fffa268ad80 (LWP 21451)):
#0  0x00007fffef9420c7 in do_futex_wait.constprop () at /lib64/libpthread.so.0
#1  0x00007fffef942174 in __new_sem_wait_slow.constprop.0 () at /lib64/libpthread.so.0
#2  0x00007fffef94221a in sem_wait@@GLIBC_2.2.5 () at /lib64/libpthread.so.0
#3  0x00007ffff650c73a in PBD::Semaphore::wait() (this=0x35e92d8) at /home/timbyr/Data/devel/ardour/ardour-build-scripts/BUILD/HEAD-debug-tests-internal-libs/libs/pbd/pbd/semutils.h:61
#4  0x00007ffff650a8e6 in ARDOUR::Graph::run_one() (this=0x35e9200) at ../libs/ardour/graph.cc:387
#5  0x00007ffff650aca4 in ARDOUR::Graph::helper_thread() (this=0x35e9200) at ../libs/ardour/graph.cc:418
#6  0x00007ffff6511257 in boost::_mfi::mf0<void, ARDOUR::Graph>::operator()(ARDOUR::Graph*) const (this=0x7fffa268a2d8, p=0x35e9200) at /usr/include/boost/bind/mem_fn_template.hpp:49
#7  0x00007ffff65109b0 in boost::_bi::list1<boost::_bi::value<ARDOUR::Graph*> >::operator()<boost::_mfi::mf0<void, ARDOUR::Graph>, boost::_bi::list0>(boost::_bi::type<void>, boost::_mfi::mf0<void, ARDOUR::Graph>&, boost::_bi::list0&, int) (this=0x7fffa268a2e8, f=..., a=...) at /usr/include/boost/bind/bind.hpp:259
#8  0x00007ffff650fe33 in boost::_bi::bind_t<void, boost::_mfi::mf0<void, ARDOUR::Graph>, boost::_bi::list1<boost::_bi::value<ARDOUR::Graph*> > >::operator()() (this=0x7fffa268a2d8)
    at /usr/include/boost/bind/bind.hpp:1222
#9  0x00007ffff650f6cd in boost::detail::function::void_function_obj_invoker0<boost::_bi::bind_t<void, boost::_mfi::mf0<void, ARDOUR::Graph>, boost::_bi::list1<boost::_bi::value<ARDOUR::Graph*> > >, void>::invoke(boost::detail::function::function_buffer&) (function_obj_ptr=...) at /usr/include/boost/function/function_template.hpp:159
#10 0x000000000131c1aa in boost::function0<void>::operator()() const (this=0x7fffa268a2d0) at /usr/include/boost/function/function_template.hpp:771
#11 0x00007fffc6903a64 in ARDOUR::AlsaAudioBackend::alsa_process_thread(void*) (arg=0x35f96e0) at ../libs/backends/alsa/alsa_audiobackend.cc:1109
#12 0x00007fffef93a5ca in start_thread () at /lib64/libpthread.so.0
#13 0x00007fffec6b0f6d in clone () at /lib64/libc.so.6

Thread 22 (Thread 0x7fffa26a3d80 (LWP 21450)):
#0  0x00007fffef9420c7 in do_futex_wait.constprop () at /lib64/libpthread.so.0
#1  0x00007fffef942174 in __new_sem_wait_slow.constprop.0 () at /lib64/libpthread.so.0
#2  0x00007fffef94221a in sem_wait@@GLIBC_2.2.5 () at /lib64/libpthread.so.0
#3  0x00007ffff650c73a in PBD::Semaphore::wait() (this=0x35e92d8) at /home/timbyr/Data/devel/ardour/ardour-build-scripts/BUILD/HEAD-debug-tests-internal-libs/libs/pbd/pbd/semutils.h:61
#4  0x00007ffff650a8e6 in ARDOUR::Graph::run_one() (this=0x35e9200) at ../libs/ardour/graph.cc:387
#5  0x00007ffff650aca4 in ARDOUR::Graph::helper_thread() (this=0x35e9200) at ../libs/ardour/graph.cc:418
#6  0x00007ffff6511257 in boost::_mfi::mf0<void, ARDOUR::Graph>::operator()(ARDOUR::Graph*) const (this=0x7fffa26a32d8, p=0x35e9200) at /usr/include/boost/bind/mem_fn_template.hpp:49
#7  0x00007ffff65109b0 in boost::_bi::list1<boost::_bi::value<ARDOUR::Graph*> >::operator()<boost::_mfi::mf0<void, ARDOUR::Graph>, boost::_bi::list0>(boost::_bi::type<void>, boost::_mfi::mf0<void, ARDOUR::Graph>&, boost::_bi::list0&, int) (this=0x7fffa26a32e8, f=..., a=...) at /usr/include/boost/bind/bind.hpp:259
#8  0x00007ffff650fe33 in boost::_bi::bind_t<void, boost::_mfi::mf0<void, ARDOUR::Graph>, boost::_bi::list1<boost::_bi::value<ARDOUR::Graph*> > >::operator()() (this=0x7fffa26a32d8)
    at /usr/include/boost/bind/bind.hpp:1222
#9  0x00007ffff650f6cd in boost::detail::function::void_function_obj_invoker0<boost::_bi::bind_t<void, boost::_mfi::mf0<void, ARDOUR::Graph>, boost::_bi::list1<boost::_bi::value<ARDOUR::Graph*> > >, void>::invoke(boost::detail::function::function_buffer&) (function_obj_ptr=...) at /usr/include/boost/function/function_template.hpp:159
#10 0x000000000131c1aa in boost::function0<void>::operator()() const (this=0x7fffa26a32d0) at /usr/include/boost/function/function_template.hpp:771
#11 0x00007fffc6903a64 in ARDOUR::AlsaAudioBackend::alsa_process_thread(void*) (arg=0x35f96e0) at ../libs/backends/alsa/alsa_audiobackend.cc:1109
#12 0x00007fffef93a5ca in start_thread () at /lib64/libpthread.so.0
#13 0x00007fffec6b0f6d in clone () at /lib64/libc.so.6

Thread 21 (Thread 0x7fffa26bcd80 (LWP 21449)):
#0  0x00007fffef9420c7 in do_futex_wait.constprop () at /lib64/libpthread.so.0
#1  0x00007fffef942174 in __new_sem_wait_slow.constprop.0 () at /lib64/libpthread.so.0
#2  0x00007fffef94221a in sem_wait@@GLIBC_2.2.5 () at /lib64/libpthread.so.0
#3  0x00007ffff650c73a in PBD::Semaphore::wait() (this=0x35e92f8) at /home/timbyr/Data/devel/ardour/ardour-build-scripts/BUILD/HEAD-debug-tests-internal-libs/libs/pbd/pbd/semutils.h:61
#4  0x00007ffff6509d9c in ARDOUR::Graph::restart_cycle() (this=0x35e9200) at ../libs/ardour/graph.cc:261
#5  0x00007ffff6509d69 in ARDOUR::Graph::dec_ref() (this=0x35e9200) at ../libs/ardour/graph.cc:248
#6  0x00007ffff6511a2a in ARDOUR::GraphNode::finish(int) (this=0x3f96e68, chain=1) at ../libs/ardour/graphnode.cc:71
#7  0x00007ffff650aa90 in ARDOUR::Graph::run_one() (this=0x35e9200) at ../libs/ardour/graph.cc:401
#8  0x00007ffff650af79 in ARDOUR::Graph::main_thread() (this=0x35e9200) at ../libs/ardour/graph.cc:457
#9  0x00007ffff6511257 in boost::_mfi::mf0<void, ARDOUR::Graph>::operator()(ARDOUR::Graph*) const (this=0x7fffa26bc2d8, p=0x35e9200) at /usr/include/boost/bind/mem_fn_template.hpp:49
#10 0x00007ffff65109b0 in boost::_bi::list1<boost::_bi::value<ARDOUR::Graph*> >::operator()<boost::_mfi::mf0<void, ARDOUR::Graph>, boost::_bi::list0>(boost::_bi::type<void>, boost::_mfi::mf0<void, ARDOUR::Graph>---Type <return> to continue, or q <return> to quit---
&, boost::_bi::list0&, int) (this=0x7fffa26bc2e8, f=..., a=...) at /usr/include/boost/bind/bind.hpp:259
#11 0x00007ffff650fe33 in boost::_bi::bind_t<void, boost::_mfi::mf0<void, ARDOUR::Graph>, boost::_bi::list1<boost::_bi::value<ARDOUR::Graph*> > >::operator()() (this=0x7fffa26bc2d8)
    at /usr/include/boost/bind/bind.hpp:1222
#12 0x00007ffff650f6cd in boost::detail::function::void_function_obj_invoker0<boost::_bi::bind_t<void, boost::_mfi::mf0<void, ARDOUR::Graph>, boost::_bi::list1<boost::_bi::value<ARDOUR::Graph*> > >, void>::invoke(boost::detail::function::function_buffer&) (function_obj_ptr=...) at /usr/include/boost/function/function_template.hpp:159
#13 0x000000000131c1aa in boost::function0<void>::operator()() const (this=0x7fffa26bc2d0) at /usr/include/boost/function/function_template.hpp:771
#14 0x00007fffc6903a64 in ARDOUR::AlsaAudioBackend::alsa_process_thread(void*) (arg=0x28c6c20) at ../libs/backends/alsa/alsa_audiobackend.cc:1109
#15 0x00007fffef93a5ca in start_thread () at /lib64/libpthread.so.0
#16 0x00007fffec6b0f6d in clone () at /lib64/libc.so.6

Thread 18 (Thread 0x7fffba3a2700 (LWP 21446)):
#0  0x00007fffec6ab0b9 in syscall () at /lib64/libc.so.6
#1  0x00007ffff39fac8a in g_cond_wait_until () at /lib64/libglib-2.0.so.0
#2  0x00007ffff398b469 in g_async_queue_pop_intern_unlocked () at /lib64/libglib-2.0.so.0
#3  0x00007ffff398ba8c in g_async_queue_timeout_pop () at /lib64/libglib-2.0.so.0
#4  0x00007ffff39dd7bd in g_thread_pool_thread_proxy () at /lib64/libglib-2.0.so.0
#5  0x00007ffff39dccf5 in g_thread_proxy () at /lib64/libglib-2.0.so.0
#6  0x00007fffef93a5ca in start_thread () at /lib64/libpthread.so.0
#7  0x00007fffec6b0f6d in clone () at /lib64/libc.so.6

Thread 16 (Thread 0x7fffb80c1d80 (LWP 21444)):
#0  0x00007fffec6a54b1 in ppoll () at /lib64/libc.so.6
#1  0x00007fffc6929f92 in Alsa_pcmi::pcm_wait() (this=0x2bea5c0) at ../libs/backends/alsa/zita-alsa-pcmi.cc:178
#2  0x00007fffc69073a9 in ARDOUR::AlsaAudioBackend::main_process_thread() (this=0x28514a0) at ../libs/backends/alsa/alsa_audiobackend.cc:1890
#3  0x00007fffc69022bd in pthread_process(void*) (arg=0x28514a0) at ../libs/backends/alsa/alsa_audiobackend.cc:794
#4  0x00007fffef93a5ca in start_thread () at /lib64/libpthread.so.0
#5  0x00007fffec6b0f6d in clone () at /lib64/libc.so.6

Thread 15 (Thread 0x7fffb8fcb700 (LWP 21443)):
#0  0x00007fffec6a71c3 in select () at /lib64/libc.so.6
#1  0x00007ffff4bd3f92 in PBD::SystemExec::output_interposer() (this=0x28f7c90) at ../libs/pbd/system_exec.cc:926
#2  0x00007ffff4bd31fd in interposer_thread(void*) (arg=0x28f7c90) at ../libs/pbd/system_exec.cc:333
#3  0x00007fffef93a5ca in start_thread () at /lib64/libpthread.so.0
#4  0x00007fffec6b0f6d in clone () at /lib64/libc.so.6

Thread 9 (Thread 0x7fffbb3a4700 (LWP 21434)):
#0  0x00007fffec6a53ed in poll () at /lib64/libc.so.6
#1  0x00007ffff39b6a06 in g_main_context_iterate.isra () at /lib64/libglib-2.0.so.0
#2  0x00007ffff39b6d92 in g_main_loop_run () at /lib64/libglib-2.0.so.0
#3  0x00007ffff1ff9e46 in gdbus_shared_thread_func () at /lib64/libgio-2.0.so.0
#4  0x00007ffff39dccf5 in g_thread_proxy () at /lib64/libglib-2.0.so.0
#5  0x00007fffef93a5ca in start_thread () at /lib64/libpthread.so.0
#6  0x00007fffec6b0f6d in clone () at /lib64/libc.so.6

Thread 8 (Thread 0x7fffbbba5700 (LWP 21433)):
#0  0x00007fffec6a53ed in poll () at /lib64/libc.so.6
#1  0x00007ffff39b6a06 in g_main_context_iterate.isra () at /lib64/libglib-2.0.so.0
#2  0x00007ffff39b6b1c in g_main_context_iteration () at /lib64/libglib-2.0.so.0
#3  0x00007ffff39b6b61 in glib_worker_main () at /lib64/libglib-2.0.so.0
#4  0x00007ffff39dccf5 in g_thread_proxy () at /lib64/libglib-2.0.so.0
#5  0x00007fffef93a5ca in start_thread () at /lib64/libpthread.so.0
#6  0x00007fffec6b0f6d in clone () at /lib64/libc.so.6

---Type <return> to continue, or q <return> to quit---
Thread 7 (Thread 0x7fffc7fff700 (LWP 21432)):
#0  0x00007fffec6ab0b9 in syscall () at /lib64/libc.so.6
#1  0x00007ffff39fab6f in g_cond_wait () at /lib64/libglib-2.0.so.0
#2  0x00007ffff63b1680 in ARDOUR::AudioEngine::do_devicelist_update() (this=0x26048a0) at ../libs/ardour/audioengine.cc:560
#3  0x00007ffff63bc1cd in boost::_mfi::mf0<void, ARDOUR::AudioEngine>::operator()(ARDOUR::AudioEngine*) const (this=0x2611770, p=0x26048a0) at /usr/include/boost/bind/mem_fn_template.hpp:49
#4  0x00007ffff63bbbfc in boost::_bi::list1<boost::_bi::value<ARDOUR::AudioEngine*> >::operator()<boost::_mfi::mf0<void, ARDOUR::AudioEngine>, boost::_bi::list0>(boost::_bi::type<void>, boost::_mfi::mf0<void, ARDOUR::AudioEngine>&, boost::_bi::list0&, int) (this=0x2611780, f=..., a=...) at /usr/include/boost/bind/bind.hpp:259
#5  0x00007ffff63bb347 in boost::_bi::bind_t<void, boost::_mfi::mf0<void, ARDOUR::AudioEngine>, boost::_bi::list1<boost::_bi::value<ARDOUR::AudioEngine*> > >::operator()() (this=0x2611770)
    at /usr/include/boost/bind/bind.hpp:1222
#6  0x00007ffff63bac52 in sigc::adaptor_functor<boost::_bi::bind_t<void, boost::_mfi::mf0<void, ARDOUR::AudioEngine>, boost::_bi::list1<boost::_bi::value<ARDOUR::AudioEngine*> > > >::operator()() const (this=0x2611770) at /usr/include/sigc++-2.0/sigc++/adaptors/adaptor_trait.h:256
#7  0x00007ffff63b9f32 in sigc::internal::slot_call0<boost::_bi::bind_t<void, boost::_mfi::mf0<void, ARDOUR::AudioEngine>, boost::_bi::list1<boost::_bi::value<ARDOUR::AudioEngine*> > >, void>::call_it(sigc::internal::slot_rep*) (rep=0x2611740) at /usr/include/sigc++-2.0/sigc++/functors/slot.h:115
#8  0x00007ffff3f1a3bd in call_thread_entry_slot () at /lib64/libglibmm-2.4.so.1
#9  0x00007ffff39dccf5 in g_thread_proxy () at /lib64/libglib-2.0.so.0
#10 0x00007fffef93a5ca in start_thread () at /lib64/libpthread.so.0
#11 0x00007fffec6b0f6d in clone () at /lib64/libc.so.6

Thread 6 (Thread 0x7fffd4a3c700 (LWP 21431)):
#0  0x00007fffec6ab0b9 in syscall () at /lib64/libc.so.6
#1  0x00007ffff39fab6f in g_cond_wait () at /lib64/libglib-2.0.so.0
#2  0x00007ffff63b145a in ARDOUR::AudioEngine::do_reset_backend() (this=0x26048a0) at ../libs/ardour/audioengine.cc:525
#3  0x00007ffff63bc1cd in boost::_mfi::mf0<void, ARDOUR::AudioEngine>::operator()(ARDOUR::AudioEngine*) const (this=0x2611720, p=0x26048a0) at /usr/include/boost/bind/mem_fn_template.hpp:49
#4  0x00007ffff63bbbfc in boost::_bi::list1<boost::_bi::value<ARDOUR::AudioEngine*> >::operator()<boost::_mfi::mf0<void, ARDOUR::AudioEngine>, boost::_bi::list0>(boost::_bi::type<void>, boost::_mfi::mf0<void, ARDOUR::AudioEngine>&, boost::_bi::list0&, int) (this=0x2611730, f=..., a=...) at /usr/include/boost/bind/bind.hpp:259
#5  0x00007ffff63bb347 in boost::_bi::bind_t<void, boost::_mfi::mf0<void, ARDOUR::AudioEngine>, boost::_bi::list1<boost::_bi::value<ARDOUR::AudioEngine*> > >::operator()() (this=0x2611720)
    at /usr/include/boost/bind/bind.hpp:1222
#6  0x00007ffff63bac52 in sigc::adaptor_functor<boost::_bi::bind_t<void, boost::_mfi::mf0<void, ARDOUR::AudioEngine>, boost::_bi::list1<boost::_bi::value<ARDOUR::AudioEngine*> > > >::operator()() const (this=0x2611720) at /usr/include/sigc++-2.0/sigc++/adaptors/adaptor_trait.h:256
#7  0x00007ffff63b9f32 in sigc::internal::slot_call0<boost::_bi::bind_t<void, boost::_mfi::mf0<void, ARDOUR::AudioEngine>, boost::_bi::list1<boost::_bi::value<ARDOUR::AudioEngine*> > >, void>::call_it(sigc::internal::slot_rep*) (rep=0x26116f0) at /usr/include/sigc++-2.0/sigc++/functors/slot.h:115
#8  0x00007ffff3f1a3bd in call_thread_entry_slot () at /lib64/libglibmm-2.4.so.1
#9  0x00007ffff39dccf5 in g_thread_proxy () at /lib64/libglib-2.0.so.0
#10 0x00007fffef93a5ca in start_thread () at /lib64/libpthread.so.0
#11 0x00007fffec6b0f6d in clone () at /lib64/libc.so.6

Thread 5 (Thread 0x7fffd7169700 (LWP 21430)):
#0  0x00007fffec6ab0b9 in syscall () at /lib64/libc.so.6
#1  0x00007ffff39fab6f in g_cond_wait () at /lib64/libglib-2.0.so.0
#2  0x00007ffff634ba72 in ARDOUR::Analyser::work() () at ../libs/ardour/analyser.cc:87
#3  0x00007ffff634b85e in analyser_work() () at ../libs/ardour/analyser.cc:52
#4  0x0000000001a4ec19 in sigc::pointer_functor0<void>::operator()() const (this=0x2611aa8) at /usr/include/sigc++-2.0/sigc++/functors/ptr_fun.h:77
#5  0x0000000001a4bfbe in sigc::adaptor_functor<sigc::pointer_functor0<void> >::operator()() const (this=0x2611aa0) at /usr/include/sigc++-2.0/sigc++/adaptors/adaptor_trait.h:256
#6  0x0000000001a47ec1 in sigc::internal::slot_call0<sigc::pointer_functor0<void>, void>::call_it(sigc::internal::slot_rep*) (rep=0x2611a70) at /usr/include/sigc++-2.0/sigc++/functors/slot.h:115
#7  0x00007ffff3f1a3bd in call_thread_entry_slot () at /lib64/libglibmm-2.4.so.1
#8  0x00007ffff39dccf5 in g_thread_proxy () at /lib64/libglib-2.0.so.0
#9  0x00007fffef93a5ca in start_thread () at /lib64/libpthread.so.0
#10 0x00007fffec6b0f6d in clone () at /lib64/libc.so.6

Thread 4 (Thread 0x7fffd796a700 (LWP 21429)):

#0  0x00007fffec6ab0b9 in syscall () at /lib64/libc.so.6
#1  0x00007ffff39fab6f in g_cond_wait () at /lib64/libglib-2.0.so.0
#2  0x00007ffff697d362 in peak_thread_work() () at ../libs/ardour/source_factory.cc:71
---Type <return> to continue, or q <return> to quit---
#3  0x0000000001a4ec19 in sigc::pointer_functor0<void>::operator()() const (this=0x26003e8) at /usr/include/sigc++-2.0/sigc++/functors/ptr_fun.h:77
#4  0x0000000001a4bfbe in sigc::adaptor_functor<sigc::pointer_functor0<void> >::operator()() const (this=0x26003e0) at /usr/include/sigc++-2.0/sigc++/adaptors/adaptor_trait.h:256
#5  0x0000000001a47ec1 in sigc::internal::slot_call0<sigc::pointer_functor0<void>, void>::call_it(sigc::internal::slot_rep*) (rep=0x26003b0) at /usr/include/sigc++-2.0/sigc++/functors/slot.h:115
#6  0x00007ffff3f1a3bd in call_thread_entry_slot () at /lib64/libglibmm-2.4.so.1
#7  0x00007ffff39dccf5 in g_thread_proxy () at /lib64/libglib-2.0.so.0
#8  0x00007fffef93a5ca in start_thread () at /lib64/libpthread.so.0
#9  0x00007fffec6b0f6d in clone () at /lib64/libc.so.6

Thread 3 (Thread 0x7fffd816b700 (LWP 21428)):
#0  0x00007fffec6ab0b9 in syscall () at /lib64/libc.so.6
#1  0x00007ffff39fab6f in g_cond_wait () at /lib64/libglib-2.0.so.0
#2  0x00007ffff697d362 in peak_thread_work() () at ../libs/ardour/source_factory.cc:71
#3  0x0000000001a4ec19 in sigc::pointer_functor0<void>::operator()() const (this=0x258ced8) at /usr/include/sigc++-2.0/sigc++/functors/ptr_fun.h:77
#4  0x0000000001a4bfbe in sigc::adaptor_functor<sigc::pointer_functor0<void> >::operator()() const (this=0x258ced0) at /usr/include/sigc++-2.0/sigc++/adaptors/adaptor_trait.h:256
#5  0x0000000001a47ec1 in sigc::internal::slot_call0<sigc::pointer_functor0<void>, void>::call_it(sigc::internal::slot_rep*) (rep=0x258cea0) at /usr/include/sigc++-2.0/sigc++/functors/slot.h:115
#6  0x00007ffff3f1a3bd in call_thread_entry_slot () at /lib64/libglibmm-2.4.so.1
#7  0x00007ffff39dccf5 in g_thread_proxy () at /lib64/libglib-2.0.so.0
#8  0x00007fffef93a5ca in start_thread () at /lib64/libpthread.so.0
#9  0x00007fffec6b0f6d in clone () at /lib64/libc.so.6

Thread 2 (Thread 0x7fffd896c700 (LWP 21427)):
#0  0x00007fffef9434ad in nanosleep () at /lib64/libpthread.so.0
#1  0x00007ffff39de3d8 in g_usleep () at /lib64/libglib-2.0.so.0
#2  0x0000000001d49aa8 in gui_event_loop(void*) (ptr=0x0) at ../gtk2_ardour/linux_vst_gui_support.cc:386
#3  0x00007fffef93a5ca in start_thread () at /lib64/libpthread.so.0
#4  0x00007fffec6b0f6d in clone () at /lib64/libc.so.6

Thread 1 (Thread 0x7ffff7f8d9c0 (LWP 21413)):
#0  0x00007fffec5e26f5 in raise () at /lib64/libc.so.6
#1  0x00007fffec5e42fa in abort () at /lib64/libc.so.6
#2  0x00007fffec5daf97 in __assert_fail_base () at /lib64/libc.so.6
#3  0x00007fffec5db042 in  () at /lib64/libc.so.6
#4  0x0000000001b9027b in Selection::set_state(XMLNode const&, int) (this=0x501c7c0, node=...) at ../gtk2_ardour/selection.cc:1418
#5  0x000000000147f9cd in Editor::set_state(XMLNode const&, int) (this=0x4ffcd10, node=..., version=3002) at ../gtk2_ardour/editor.cc:2519
#6  0x0000000001472c08 in Editor::set_session(ARDOUR::Session*) (this=0x4ffcd10, t=0x2b2eb00) at ../gtk2_ardour/editor.cc:1349
#7  0x000000000136d09e in ARDOUR_UI::connect_dependents_to_session(ARDOUR::Session*) (this=0x2626e70, s=0x2b2eb00) at ../gtk2_ardour/ardour_ui_dependents.cc:119
#8  0x0000000001372074 in ARDOUR_UI::set_session(ARDOUR::Session*) (this=0x2626e70, s=0x2b2eb00) at ../gtk2_ardour/ardour_ui_dialogs.cc:178
#9  0x000000000130a71b in ARDOUR_UI::load_session(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >) (this=0x2626e70, path="/home/timbyr/Ardour-Sessions/test-5.4.320-7109-midi-quantization", snap_name="test-5.4.320-7109-midi-quantization", mix_template="") at ../gtk2_ardour/ardour_ui.cc:3575
#10 0x0000000001309c48 in ARDOUR_UI::get_session_parameters(bool, bool, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >) (this=0x2626e70, quit_on_cancel=false, should_be_new=false, load_template="") at ../gtk2_ardour/ardour_ui.cc:3398
#11 0x00000000012ff47b in ARDOUR_UI::starting() (this=0x2626e70) at ../gtk2_ardour/ardour_ui.cc:1161
#12 0x00007ffff750b430 in Gtkmm2ext::UI::run(Receiver&) (this=0x2626e70, old_receiver=...) at ../libs/gtkmm2ext/gtk_ui.cc:281
#13 0x00000000017f188a in main(int, char**) (argc=1, argv=0x7fffffffd138) at ../gtk2_ardour/main.cc:408
(gdb) 

timbyr

2016-11-14 03:34

developer   ~0018961

Sorry, backtrace from 5.4 build uploaded.

I'll test potential fix now.

x42

2016-11-14 03:39

administrator   ~0018962

Oh, that's the other way 'round :) I've fixed backwards compat: A session saved in 5.4.0 w/selection -> open in 5.4-git.

You want forward compatibility :(

timbyr

2016-11-14 03:42

developer   ~0018963

I agree about not using "id" as the identifier name, perhaps "note-id" or "event-id" (unless that may cause complications later on)

timbyr

2016-11-14 03:52

developer   ~0018964

In this case I would prefer if a Session with midi notes selected and saved in 5.5 doesn't crash when opened in 5.4.

We could strictly stick to a no "forward" compatiblity policy but I think this may annoy people if they are sharing and working on Sessions between 5.5 and 5.4 versions.

Even if this doesn't get fixed, I thought it necessary to at least report the issue.

x42

2016-11-14 04:07

administrator   ~0018965

Changing the top-level identifier ("MIDINote") to something else would work.
In that case selection is simply lost when going between 5.4 and upcoming 5.5

timbyr

2016-11-14 04:12

developer   ~0018966

Losing selection state when opening a Session in an earlier program version *is* totally acceptable IMO.

nick_m

2016-11-14 16:49

reporter   ~0018967

this should be fixed by 0b2ae7dad

timbyr

2016-11-14 23:10

developer   ~0018970

Tested with c16eb83f applied. Should be resolved as of nightly build >= 5.4.341

Now opening a Session created in version >= 5.4.341 with 5.4 only selection information is lost, no crash.

Issue History

Date Modified Username Field Change
2016-11-14 03:03 timbyr New Issue
2016-11-14 03:03 timbyr Status new => assigned
2016-11-14 03:03 timbyr Assigned To => nmains
2016-11-14 03:10 x42 Note Added: 0018958
2016-11-14 03:15 x42 Note Added: 0018959
2016-11-14 03:17 x42 Note Edited: 0018959 View Revisions
2016-11-14 03:33 timbyr File Added: 5.4-crash-with-selected-midi-notes.bt.txt
2016-11-14 03:34 timbyr Note Added: 0018961
2016-11-14 03:39 x42 Note Added: 0018962
2016-11-14 03:42 timbyr Note Added: 0018963
2016-11-14 03:52 timbyr Note Added: 0018964
2016-11-14 04:07 x42 Note Added: 0018965
2016-11-14 04:12 timbyr Note Added: 0018966
2016-11-14 16:49 nick_m Note Added: 0018967
2016-11-14 23:10 timbyr Note Added: 0018970
2016-11-14 23:10 timbyr Status assigned => resolved
2016-11-14 23:10 timbyr Fixed in Version => 5.X git (version in description)
2016-11-14 23:10 timbyr Resolution open => fixed