View Issue Details

IDProjectCategoryView StatusLast Update
0003144ardourbugspublic2020-04-19 20:14
Reporterdanboid Assigned Tocth103  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Target Version3.0-beta1 
Summary0003144: A3 doesn't like the Duke or Bach - MIDI import problems
DescriptionI've had problems importing some MIDI files into r7116 that play fine with timidity so I've attached a couple of examples to this issue. Ardour says 'file contains data in an unknown format' for both of these.
TagsNo tags attached.

Activities

2010-05-18 11:08

 

2010-05-18 11:11

 

bwv582.mid (36,529 bytes)   

danboid

2010-05-19 06:51

reporter   ~0007944

My hunch is that this relates to the naming of the tracks (too long or unsupported characters) or the presence of chord annotations as when you play b+t-fantasy.mid with timidity it prints rough estimations of the chord to the screen as it plays back.

cth103

2010-05-19 14:45

administrator   ~0007948

Hmm. Both these files open fine for me. I take it you are using a recent checkout of SVN?

paul

2010-05-19 14:56

administrator   ~0007949

dan - a backtrace might be helpful here. http://ardour.org/debugging_ardour will help explain.

danboid

2010-05-19 18:14

reporter   ~0007953

Heres a backtrace when trying to import the black and tan into r7119:

iatn@ninjatop:~/src/3.0/gtk2_ardour$ ./ardbg
USING OLD CLEARLOOKS
GNU gdb (GDB) 7.1-ubuntu
Copyright (C) 2010 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-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /home/iatn/src/3.0/build/default/gtk2_ardour/ardour-3.0...done.
(gdb) run
Starting program: /home/iatn/src/3.0/build/default/gtk2_ardour/ardour-3.0
[Thread debugging using libthread_db enabled]
Ardour1.0.2 (built using 7119 and GCC version 4.4.3)
Copyright (C) 1999-2008 Paul Davis
Some portions Copyright (C) Steve Harris, Ari Johnson, Brett Viren, Joel Baker

Ardour comes with ABSOLUTELY NO WARRANTY
not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
This is free software, and you are welcome to redistribute it
under certain conditions; see the source for copying conditions.
Cannot install SIGPIPE error handler
ardour: [INFO]: Loading default ui configuration file ./../gtk2_ardour/ardour3_ui_default.conf
Loading user ui configuration file /home/iatn/.config/ardour3/ardour3_ui.conf
Loading ui configuration file ./../build/default/gtk2_ardour/ardour3_ui_dark.rc
ardour: [INFO]: Ardour will be limited to 1024 open files
ardour: [WARNING]: Duplicate MIDI port definition found (tag="control") - ignored
After config loaded, MTC port name = control
ardour: [INFO]: Loading system configuration file /usr/local/etc/ardour3/ardour_system.rc
Loading user configuration file /home/iatn/.config/ardour3/ardour.rc
Using SSE optimized routines
[New Thread 0x7fffe3bd5710 (LWP 3954)]
[New Thread 0x7fffe33d4710 (LWP 3955)]
[New Thread 0x7fffe2bd3710 (LWP 3956)]
[New Thread 0x7fffdbfff710 (LWP 3957)]
[New Thread 0x7fffdb7fe710 (LWP 3958)]
[New Thread 0x7fffdaffd710 (LWP 3959)]
[Thread 0x7fffdaffd710 (LWP 3959) exited]
[Thread 0x7fffdb7fe710 (LWP 3958) exited]
Found 0 along :/home/iatn/.config/ardour3/templates
Grab new name focus
lost focus
[New Thread 0x7fffdb7fe710 (LWP 3962)]
[New Thread 0x7fffdaffd710 (LWP 3963)]
[New Thread 0x7fffda7fc710 (LWP 3964)]
[New Thread 0x7fffd9ffb710 (LWP 3965)]
[New Thread 0x7fffd97fa710 (LWP 3966)]
[New Thread 0x7fffd8ff9710 (LWP 3967)]
[New Thread 0x7fffd87f8710 (LWP 3968)]
[New Thread 0x7fffd7ff7710 (LWP 3969)]
[New Thread 0x7fffd77f6710 (LWP 3970)]
[Thread 0x7fffd9ffb710 (LWP 3965) exited]
[Thread 0x7fffd7ff7710 (LWP 3969) exited]
[Thread 0x7fffda7fc710 (LWP 3964) exited]
[Thread 0x7fffdbfff710 (LWP 3957) exited]
[Thread 0x7fffd87f8710 (LWP 3968) exited]
[Thread 0x7fffd77f6710 (LWP 3970) exited]
[Thread 0x7fffd8ff9710 (LWP 3967) exited]
[Thread 0x7fffd97fa710 (LWP 3966) exited]
[Thread 0x7fffdaffd710 (LWP 3963) exited]
lost focus
[New Thread 0x7fffdaffd710 (LWP 3971)]
LV2: Discovering 0 plugins
Done LV2 discovery
[New Thread 0x7fffe00ef710 (LWP 3974)]
[New Thread 0x7fffdb8cc830 (LWP 3975)]
[New Thread 0x7fffd97fa710 (LWP 3976)]
MIDI UI running
[New Thread 0x7fffda30d830 (LWP 3977)]
[New Thread 0x7fffd8ff9710 (LWP 3978)]
[Thread 0x7fffd8ff9710 (LWP 3978) exited]
[New Thread 0x7fffd8ff9710 (LWP 3979)]
[New Thread 0x7fffd77f6710 (LWP 3980)]
[Thread 0x7fffd77f6710 (LWP 3980) exited]
[Thread 0x7fffd8ff9710 (LWP 3979) exited]
[New Thread 0x7fffd8ff9710 (LWP 3981)]
[Thread 0x7fffd8ff9710 (LWP 3981) exited]
[New Thread 0x7fffe03a6830 (LWP 3982)]
[Thread 0x7fffe03a6830 (LWP 3982) exited]
++++++++++ MIDI REdisplay

Program received signal SIGSEGV, Segmentation fault.
0x0000000000a1b77e in std::list<boost::shared_ptr<ARDOUR::Region>, std::allocator<boost::shared_ptr<ARDOUR::Region> > >::begin (this=0x7ff7dc3995c0)
    at /usr/include/c++/4.4/bits/stl_list.h:690
690 { return iterator(this->_M_impl._M_node._M_next); }

danboid

2010-05-19 18:29

reporter   ~0007954

Trying to import b+t causes a segfault as shown but it turns out I can actually import bwv582.mid. I've noticed that if I double-click on that MIDI file in A3's Import file dialogue the Ardour Log window springs up with a warning about the 'File contains data in an unknown format' but if I just click 'OK' it does import bwv582 fine. If you don't double-click it before pushing OK, you don't get the error message.

cth103

2010-05-19 18:31

administrator   ~0007955

After the crash, please type

thread apply all bt

into gdb and attach the output of that. Thanks!

cth103

2010-05-19 18:32

administrator   ~0007956

Ah right, it'll be the auditioner, then. I'll take a look.

danboid

2010-05-19 18:51

reporter   ~0007959

Tried doing a 'thread apply all bt' but I all I got was:


Cannot find new threads: generic error

cth103

2010-05-19 23:36

administrator   ~0007960

This may be fixed in current SVN. Could you give it a try?

danboid

2010-05-20 09:17

reporter   ~0007961

Last edited: 2010-05-20 09:22

Nope- trying to load B+T still crashes r7125 here with the same error as above.

I run

ulimit -c unlimited

before I run ardbg but no core is dumped that I can see so no backtrace

EDIT

I do get a different error when I double-click on a MIDI file now though- it says 'Ardour doesn't support MIDI preview yet' instead of 'unknown file format'

cth103

2010-05-20 10:03

administrator   ~0007962

Try running ardour using plain ardev, and then it should give you a coredump.

danboid

2010-05-20 14:21

reporter   ~0007963

Again, no coredump and this is starting Ardour via ardev and just after having run 'ulimit -c unlimited'. I compiled r7125 with --debug enabled and I'm looking for a file called core* in the same folder as ardev right? Its not there.

danboid

2010-05-20 17:14

reporter   ~0007965

Last edited: 2010-05-20 17:16

r7127

iatn@ninjatop:~/src/3.0/gtk2_ardour$ gdb
GNU gdb (GDB) 7.1-ubuntu
Copyright (C) 2010 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-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
(gdb) core-file core
[New Thread 4015]
[New Thread 4036]
[New Thread 4034]
[New Thread 4018]
[New Thread 4031]
[New Thread 4019]
[New Thread 4037]
[New Thread 4035]
[New Thread 4042]
[New Thread 4020]
Core was generated by `./../build/default/gtk2_ardour/ardour-3.0'.
Program terminated with signal 11, Segmentation fault.
#0 0x0000000000a1bb2e in ?? ()
(gdb) thread apply all bt

Thread 10 (Thread 4020):
#0 0x00007f0450c7c85c in ?? ()
0000001 0x0000000000000000 in ?? ()

Thread 9 (Thread 4042):
#0 0x00007f0450c7cbc9 in ?? ()
0000001 0x0000000000000000 in ?? ()

Thread 8 (Thread 4035):
#0 0x00007f044a6f3f53 in ?? ()
0000001 0x00007f04362ccc40 in ?? ()
#2 0x00000000ffffffff in ?? ()
#3 0x0000000000000001 in ?? ()
0000004 0x00007f04362ccde0 in ?? ()
0000005 0x00007f04362cce20 in ?? ()
#6 0x00007f0453f813fe in ?? ()
#7 0x00000000373e6c00 in ?? ()
0000008 0x00007f04554d8742 in ?? ()
0000009 0x0000000000000000 in ?? ()

Thread 7 (Thread 4037):
#0 0x00007f0450c8011d in ?? ()
0000001 0x0000000000000000 in ?? ()

Thread 6 (Thread 4019):
#0 0x00007f0450c7c85c in ?? ()
0000001 0x0000000000000000 in ?? ()

Thread 5 (Thread 4031):
#0 0x00007f0450c7c85c in ?? ()
0000001 0x0000000000000000 in ?? ()

Thread 4 (Thread 4018):
#0 0x00007f0450c7c85c in ?? ()
0000001 0x0000000000000000 in ?? ()

Thread 3 (Thread 4034):
#0 0x00007f044a6f3f53 in ?? ()
---Type <return> to continue, or q <return> to quit---
0000001 0x0001000100000010 in ?? ()
#2 0x00007f04000003e8 in ?? ()
#3 0x0000000000000002 in ?? ()
0000004 0x00007f0438075800 in ?? ()
0000005 0x000000003652cb40 in ?? ()
#6 0x00007f0450e981a6 in ?? ()
#7 0x00007f043c497000 in ?? ()
0000008 0x00007f04380c0290 in ?? ()
0000009 0x00007f043652cb60 in ?? ()
0000010 0x00007f043c496000 in ?? ()
0000011 0x00007f043652cb60 in ?? ()
0000012 0x00007f0450e9854c in ?? ()
0000013 0x000000000373b9d0 in ?? ()
0000014 0x00007f04380c0290 in ?? ()
#15 0x00007f043652cbb0 in ?? ()
0000016 0x00007f0453f0f671 in ?? ()
#17 0x00007f04380d1a00 in ?? ()
0000018 0x00007f04380d1a00 in ?? ()
0000019 0x00007f04380c0290 in ?? ()
0000020 0x0000040000000000 in ?? ()
0000021 0x00007f04380d1a00 in ?? ()
0000022 0x0000000000000005 in ?? ()
0000023 0x0000000000000001 in ?? ()
#24 0x0000000000000001 in ?? ()
0000025 0x00007f043652cbd0 in ?? ()
0000026 0x00007f0453f0f444 in ?? ()
0000027 0x0000000004000001 in ?? ()
0000028 0x00007f04380d1a00 in ?? ()
0000029 0x00007f043652cc00 in ?? ()
0000030 0x00007f0450e9885e in ?? ()
0000031 0x00007f0400000005 in ?? ()
0000032 0x00007f04380c0290 in ?? ()
0000033 0x00007f043c496000 in ?? ()
0000034 0x00007f04380c0290 in ?? ()
0000035 0x00007f04365a6d90 in ?? ()
0000036 0x00007f0450e9de4c in ?? ()
0000037 0x0000000000000000 in ?? ()

Thread 2 (Thread 4036):
---Type <return> to continue, or q <return> to quit---
#0 0x00007f044a6f3f53 in ?? ()
0000001 0x00000000037c5600 in ?? ()
#2 0x00000000ffffffff in ?? ()
#3 0x0000000000000003 in ?? ()
0000004 0x00000000037c5600 in ?? ()
0000005 0x00000000037c71e8 in ?? ()
#6 0x00007f04507ce4a9 in ?? ()
#7 0x00000000037c71e0 in ?? ()
0000008 0x00007f04ffffffff in ?? ()
0000009 0x00007f0450a67788 in ?? ()
0000010 0x00007f0450a677c0 in ?? ()
0000011 0x0000000100000001 in ?? ()
0000012 0x00000000037c71e8 in ?? ()
0000013 0x00007f0450a67788 in ?? ()
0000014 0x7fffffffffffffff in ?? ()
#15 0x0000000000000000 in ?? ()

Thread 1 (Thread 4015):
#0 0x0000000000a1bb2e in ?? ()
0000001 0x00007f04384397a0 in ?? ()
#2 0x00007efc384f4960 in ?? ()
#3 0xffffffff80000000 in ?? ()
0000004 0x00007f04384397a0 in ?? ()
0000005 0x00007fff671470f0 in ?? ()
#6 0x00007f0454135a46 in ?? ()
#7 0x00007fff67146f00 in ?? ()
0000008 0x00007f04383d0530 in ?? ()
0000009 0x00007fff67146fc0 in ?? ()
0000010 0x00007f04383821a0 in ?? ()
0000011 0x00007f04556e9438 in ?? ()
0000012 0x00007fff67147000 in ?? ()
0000013 0x00007fff67147018 in ?? ()
0000014 0x0000000138383460 in ?? ()
#15 0x00007f04384f2950 in ?? ()
0000016 0x00007f04384f4950 in ?? ()
#17 0x00007f04384f4950 in ?? ()
0000018 0x00007f0453ed8eb7 in ?? ()
0000019 0x00007f04384397a0 in ?? ()
0000020 0x00007f04384397b8 in ?? ()
---Type <return> to continue, or q <return> to quit---
0000021 0x00007f04384397b8 in ?? ()
0000022 0x00007fff67147130 in ?? ()
0000023 0x00007f04384263e0 in ?? ()
#24 0x0000000000875201 in ?? ()
0000025 0xffffffff67147020 in ?? ()
0000026 0x00007f0438430d6c in ?? ()
0000027 0x00007f04384f0550 in ?? ()
0000028 0x00007f04384f0550 in ?? ()
0000029 0x00007fff67147010 in ?? ()
0000030 0x00007fff67147010 in ?? ()
0000031 0xffffffff67147040 in ?? ()
0000032 0x0000000000000005 in ?? ()
0000033 0x0000000001423dc8 in ?? ()
0000034 0x0000000000000001 in ?? ()
0000035 0x00007fff67147000 in ?? ()
0000036 0x0000000000000002 in ?? ()
0000037 0x00007f04384f0550 in ?? ()
0000038 0x0000000000000000 in ?? ()

danboid

2010-05-20 20:06

reporter   ~0007967

Hopefully this is what you wanted- again took from r7127

++++++++++ MIDI REdisplay

Program received signal SIGSEGV, Segmentation fault.
0x0000000000a1bb2e in std::list<boost::shared_ptr<ARDOUR::Region>, std::allocator<boost::shared_ptr<ARDOUR::Region> > >::begin (this=0x7ff7d84a11d0)
    at /usr/include/c++/4.4/bits/stl_list.h:690
690 { return iterator(this->_M_impl._M_node._M_next); }
(gdb) thread apply all bt

Thread 29 (Thread 0x7fffd57fa710 (LWP 5281)):
#0 0x00007ffff358bbc9 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
0000001 0x00007ffff2051602 in ?? () from /usr/lib/libgthread-2.0.so.0
#2 0x00007ffff30b4851 in ?? () from /lib/libglib-2.0.so.0
#3 0x00007ffff30b4997 in g_async_queue_timed_pop () from /lib/libglib-2.0.so.0
0000004 0x00007ffff31049c8 in ?? () from /lib/libglib-2.0.so.0
0000005 0x00007ffff3102b84 in ?? () from /lib/libglib-2.0.so.0
#6 0x00007ffff35869ca in start_thread () from /lib/libpthread.so.0
#7 0x00007fffed00f69d in clone () from /lib/libc.so.6
0000008 0x0000000000000000 in ?? ()

Thread 16 (Thread 0x7fffdcbfd830 (LWP 5268)):
#0 0x00007ffff358f11d in nanosleep () from /lib/libpthread.so.0
0000001 0x00007ffff31057d8 in g_usleep () from /lib/libglib-2.0.so.0
#2 0x00007ffff681f256 in ARDOUR::AudioEngine::meter_thread (this=0x7fffd808ec00) at ../libs/ardour/audioengine.cc:632
#3 0x00007ffff68398bb in boost::_mfi::mf0<void, ARDOUR::AudioEngine>::operator() (this=0x7fffd80f5770, p=0x7fffd808ec00)
    at /usr/include/boost/bind/mem_fn_template.hpp:49
0000004 0x00007ffff6835f86 in boost::_bi::list1<boost::_bi::value<ARDOUR::AudioEngine*> >::operator()<boost::_mfi::mf0<void, ARDOUR::AudioEngine>, boost::_bi::list0> (this=0x7fffd80f5780, f=..., a=...) at /usr/include/boost/bind/bind.hpp:246
0000005 0x00007ffff68328e1 in boost::_bi::bind_t<void, boost::_mfi::mf0<void, ARDOUR::AudioEngine>, boost::_bi::list1<boost::_bi::value<ARDOUR::AudioEngine*> > >::operator() (this=0x7fffd80f5770) at /usr/include/boost/bind/bind_template.hpp:20
#6 0x00007ffff682ea98 in sigc::adaptor_functor<boost::_bi::bind_t<void, boost::_mfi::mf0<void, ARDOUR::AudioEngine>, boost::_bi::list1<boost::_bi::value<ARDOUR::AudioEngine*> > > >::operator() (this=0x7fffd80f5770) at /usr/include/sigc++-2.0/sigc++/adaptors/adaptor_trait.h:251
#7 0x00007ffff682b3c8 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 (rep=0x7fffd80f5740) at /usr/include/sigc++-2.0/sigc++/functors/slot.h:103
0000008 0x00007ffff24d2862 in ?? () from /usr/lib/libglibmm-2.4.so.1
0000009 0x00007ffff3102b84 in ?? () from /lib/libglib-2.0.so.0
0000010 0x00007ffff35869ca in start_thread () from /lib/libpthread.so.0
0000011 0x00007fffed00f69d in clone () from /lib/libc.so.6
0000012 0x0000000000000000 in ?? ()

Thread 15 (Thread 0x7fffde6c9710 (LWP 5267)):
#0 0x00007fffed002f53 in poll () from /lib/libc.so.6
0000001 0x00007ffff30dd4a9 in ?? () from /lib/libglib-2.0.so.0
#2 0x00007ffff30ddc55 in g_main_loop_run () from /lib/libglib-2.0.so.0
#3 0x00007ffff7b30c8b in BaseUI::main_thread (this=0x2046ec0) at ../libs/pbd/base_ui.cc:76
0000004 0x00007ffff7b32137 in sigc::bound_mem_functor0<void, BaseUI>::operator() (this=0x2049578) at /usr/include/sigc++-2.0/sigc++/functors/mem_fun.h:1787
0000005 0x00007ffff7b31f92 in sigc::adaptor_functor<sigc::bound_mem_functor0<void, BaseUI> >::operator() (this=0x2049570)
---Type <return> to continue, or q <return> to quit---
    at /usr/include/sigc++-2.0/sigc++/adaptors/adaptor_trait.h:251
#6 0x00007ffff7b31ceb in sigc::internal::slot_call0<sigc::bound_mem_functor0<void, BaseUI>, void>::call_it (rep=0x2049540)
    at /usr/include/sigc++-2.0/sigc++/functors/slot.h:103
#7 0x00007ffff24d2862 in ?? () from /usr/lib/libglibmm-2.4.so.1
0000008 0x00007ffff3102b84 in ?? () from /lib/libglib-2.0.so.0
0000009 0x00007ffff35869ca in start_thread () from /lib/libpthread.so.0
0000010 0x00007fffed00f69d in clone () from /lib/libc.so.6
0000011 0x0000000000000000 in ?? ()

Thread 14 (Thread 0x7fffdd752830 (LWP 5266)):
#0 0x00007fffed002f53 in poll () from /lib/libc.so.6
0000001 0x00007ffff68903fe in ARDOUR::Butler::thread_work (this=0x1fe0e10) at ../libs/ardour/butler.cc:142
#2 0x00007ffff6890372 in ARDOUR::Butler::_thread_work (arg=0x1fe0e10) at ../libs/ardour/butler.cc:123
#3 0x00007ffff7b64d4c in fake_thread_start (arg=0x1754ba0) at ../libs/pbd/pthread_utils.cc:81
0000004 0x00007ffff35869ca in start_thread () from /lib/libpthread.so.0
0000005 0x00007fffed00f69d in clone () from /lib/libc.so.6
#6 0x0000000000000000 in ?? ()

Thread 13 (Thread 0x7fffdeeca710 (LWP 5265)):
#0 0x00007fffed002f53 in poll () from /lib/libc.so.6
0000001 0x00007ffff37a71a6 in jack_client_core_wait (client=0x7fffd8089d90) at client.c:1681
#2 0x00007ffff37a754c in jack_cycle_wait (client=0x7fffd8089d90) at client.c:1878
#3 0x00007ffff681e671 in ARDOUR::AudioEngine::process_thread (this=0x7fffd808ec00) at ../libs/ardour/audioengine.cc:420
0000004 0x00007ffff681e444 in ARDOUR::AudioEngine::_process_thread (arg=0x7fffd808ec00) at ../libs/ardour/audioengine.cc:362
0000005 0x00007ffff37a785e in jack_client_thread (arg=0x7fffd8089d90) at client.c:2003
#6 0x00007ffff35869ca in start_thread () from /lib/libpthread.so.0
#7 0x00007fffed00f69d in clone () from /lib/libc.so.6
0000008 0x0000000000000000 in ?? ()

Thread 12 (Thread 0x7fffe06cd710 (LWP 5262)):
#0 0x00007ffff358b85c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
0000001 0x00007ffff37a962d in mb_thread_func (arg=0x0) at messagebuffer.c:72
#2 0x00007ffff35869ca in start_thread () from /lib/libpthread.so.0
#3 0x00007fffed00f69d in clone () from /lib/libc.so.6
0000004 0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7fffe2bd3710 (LWP 5252)):
#0 0x00007ffff358b85c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
0000001 0x00007ffff67b3dd3 in ARDOUR::Analyser::work () at ../libs/ardour/analyser.cc:85
---Type <return> to continue, or q <return> to quit---
#2 0x00007ffff67b3b05 in analyser_work () at ../libs/ardour/analyser.cc:49
#3 0x0000000000e0d31b in sigc::pointer_functor0<void>::operator()() const ()
0000004 0x0000000000e0b866 in sigc::adaptor_functor<sigc::pointer_functor0<void> >::operator()() const ()
0000005 0x0000000000e09151 in sigc::internal::slot_call0<sigc::pointer_functor0<void>, void>::call_it(sigc::internal::slot_rep*) ()
#6 0x00007ffff24d2862 in ?? () from /usr/lib/libglibmm-2.4.so.1
#7 0x00007ffff3102b84 in ?? () from /lib/libglib-2.0.so.0
0000008 0x00007ffff35869ca in start_thread () from /lib/libpthread.so.0
0000009 0x00007fffed00f69d in clone () from /lib/libc.so.6
0000010 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7fffe33d4710 (LWP 5251)):
#0 0x00007ffff358b85c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
0000001 0x00007ffff6c03d4b in peak_thread_work () at ../libs/ardour/source_factory.cc:69
#2 0x0000000000e0d31b in sigc::pointer_functor0<void>::operator()() const ()
#3 0x0000000000e0b866 in sigc::adaptor_functor<sigc::pointer_functor0<void> >::operator()() const ()
0000004 0x0000000000e09151 in sigc::internal::slot_call0<sigc::pointer_functor0<void>, void>::call_it(sigc::internal::slot_rep*) ()
0000005 0x00007ffff24d2862 in ?? () from /usr/lib/libglibmm-2.4.so.1
#6 0x00007ffff3102b84 in ?? () from /lib/libglib-2.0.so.0
#7 0x00007ffff35869ca in start_thread () from /lib/libpthread.so.0
0000008 0x00007fffed00f69d in clone () from /lib/libc.so.6
0000009 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7fffe3bd5710 (LWP 5250)):
#0 0x00007ffff358b85c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
0000001 0x00007ffff6c03d4b in peak_thread_work () at ../libs/ardour/source_factory.cc:69
#2 0x0000000000e0d31b in sigc::pointer_functor0<void>::operator()() const ()
#3 0x0000000000e0b866 in sigc::adaptor_functor<sigc::pointer_functor0<void> >::operator()() const ()
0000004 0x0000000000e09151 in sigc::internal::slot_call0<sigc::pointer_functor0<void>, void>::call_it(sigc::internal::slot_rep*) ()
0000005 0x00007ffff24d2862 in ?? () from /usr/lib/libglibmm-2.4.so.1
#6 0x00007ffff3102b84 in ?? () from /lib/libglib-2.0.so.0
#7 0x00007ffff35869ca in start_thread () from /lib/libpthread.so.0
0000008 0x00007fffed00f69d in clone () from /lib/libc.so.6
0000009 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7ffff7faf820 (LWP 5247)):
#0 0x0000000000a1bb2e in std::list<boost::shared_ptr<ARDOUR::Region>, std::allocator<boost::shared_ptr<ARDOUR::Region> > >::begin (this=0x7ff7d84a11d0)
    at /usr/include/c++/4.4/bits/stl_list.h:690
0000001 0x00007ffff6a44a46 in ARDOUR::Playlist::relayer (this=0x7fffd830b7b0) at ../libs/ardour/playlist.cc:2450
#2 0x00007ffff6a39b6b in ARDOUR::Playlist::flush_notifications (this=0x7fffd830b7b0) at ../libs/ardour/playlist.cc:625
---Type <return> to continue, or q <return> to quit---
#3 0x00007ffff6a39120 in ARDOUR::Playlist::release_notifications (this=0x7fffd830b7b0) at ../libs/ardour/playlist.cc:462
0000004 0x00007ffff67e042c in ~RegionLock (this=0x7fffffffbe00, __in_chrg=<value optimized out>) at ../libs/ardour/ardour/playlist.h:232
0000005 0x00007ffff6a3a368 in ARDOUR::Playlist::add_region (this=0x7fffd830b7b0, region=..., position=0, times=1, auto_partition=false)
    at ../libs/ardour/playlist.cc:713
#6 0x0000000000a8b5ee in Editor::finish_bringing_in_material (this=0x1b5f220, region=..., in_chans=1, out_chans=2, pos=@0x1b603e0,
    mode=Editing::ImportAsTrack, existing_track=...) at ../gtk2_ardour/editor_audio_import.cc:892
#7 0x0000000000a8ac55 in Editor::add_sources (this=0x1b5f220, paths=..., sources=..., pos=@0x1b603e0, mode=Editing::ImportAsTrack, target_regions=-1,
    target_tracks=-1, track=...) at ../gtk2_ardour/editor_audio_import.cc:812
0000008 0x0000000000a88658 in Editor::import_sndfiles (this=0x1b5f220, paths=..., mode=Editing::ImportAsTrack, quality=ARDOUR::SrcFastest, pos=@0x7fffffffc7a8,
    target_regions=1, target_tracks=-1, track=..., replace=false) at ../gtk2_ardour/editor_audio_import.cc:521
0000009 0x0000000000a8797e in Editor::do_import (this=0x1b5f220, paths=..., chns=Editing::ImportDistinctFiles, mode=Editing::ImportAsTrack,
    quality=ARDOUR::SrcFastest, pos=@0x7fffffffc7a8) at ../gtk2_ardour/editor_audio_import.cc:391
0000010 0x0000000000a86793 in Editor::external_audio_dialog (this=0x1b5f220) at ../gtk2_ardour/editor_audio_import.cc:177
0000011 0x0000000000a39669 in sigc::bound_mem_functor0<void, Editor>::operator() (this=0x1cb4628) at /usr/include/sigc++-2.0/sigc++/functors/mem_fun.h:1787
0000012 0x0000000000a336ae in sigc::adaptor_functor<sigc::bound_mem_functor0<void, Editor> >::operator() (this=0x1cb4620)
    at /usr/include/sigc++-2.0/sigc++/adaptors/adaptor_trait.h:251
0000013 0x0000000000a2c981 in sigc::internal::slot_call0<sigc::bound_mem_functor0<void, Editor>, void>::call_it (rep=0x1cb45f0)
    at /usr/include/sigc++-2.0/sigc++/functors/slot.h:103
0000014 0x00007ffff24dac52 in Glib::SignalProxyNormal::slot0_void_callback(_GObject*, void*) () from /usr/lib/libglibmm-2.4.so.1
#15 0x00007ffff22615de in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
0000016 0x00007ffff22759a4 in ?? () from /usr/lib/libgobject-2.0.so.0
#17 0x00007ffff2276a76 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
0000018 0x00007ffff2277033 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
0000019 0x00007ffff1aa9203 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
0000020 0x00007ffff22615de in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
0000021 0x00007ffff2274e61 in ?? () from /usr/lib/libgobject-2.0.so.0
0000022 0x00007ffff2276a76 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
0000023 0x00007ffff2277033 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#24 0x00007ffff1c8980e in gtk_widget_activate () from /usr/lib/libgtk-x11-2.0.so.0
0000025 0x00007ffff1b7d4ad in gtk_menu_shell_activate_item () from /usr/lib/libgtk-x11-2.0.so.0
0000026 0x00007ffff1b7ebdb in ?? () from /usr/lib/libgtk-x11-2.0.so.0
0000027 0x00007ffff1b6f0b8 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
0000028 0x00007ffff22615de in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
0000029 0x00007ffff22751dd in ?? () from /usr/lib/libgobject-2.0.so.0
0000030 0x00007ffff22768b9 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
0000031 0x00007ffff2277033 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
0000032 0x00007ffff1c85e9f in ?? () from /usr/lib/libgtk-x11-2.0.so.0
0000033 0x00007ffff1b67583 in gtk_propagate_event () from /usr/lib/libgtk-x11-2.0.so.0
0000034 0x00007ffff1b6865b in gtk_main_do_event () from /usr/lib/libgtk-x11-2.0.so.0
---Type <return> to continue, or q <return> to quit---
0000035 0x00007ffff17dc80c in ?? () from /usr/lib/libgdk-x11-2.0.so.0
0000036 0x00007ffff30d98c2 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
0000037 0x00007ffff30dd748 in ?? () from /lib/libglib-2.0.so.0
0000038 0x00007ffff30ddc55 in g_main_loop_run () from /lib/libglib-2.0.so.0
0000039 0x00007ffff1b68af7 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
0000040 0x00007ffff58d444b in Gtkmm2ext::UI::run (this=0x1764830, old_receiver=...) at ../libs/gtkmm2ext/gtk_ui.cc:246
0000041 0x0000000000c89513 in main (argc=1, argv=0x7fffffffda88) at ../gtk2_ardour/main.cc:433

danboid

2010-05-26 12:19

reporter   ~0008047

Did anyone manage to discern anything from that backtrace? 7163 is still crashing for me when I try to import b+t-fantasy.mid

danboid

2010-06-05 15:17

reporter   ~0008161

As cth103 said and I have now verified, b+t does indeed open fine running A3 under 32-bit lucid but it still crashes 64-bit lucid

2010-06-05 16:59

 

patch.txt (590 bytes)   
Index: libs/ardour/playlist.cc
===================================================================
--- libs/ardour/playlist.cc     (revision 7233)
+++ libs/ardour/playlist.cc     (working copy)
@@ -2392,7 +2392,7 @@
        int const divisions = 512;

        /* find the start and end positions of the regions on this playlist */
-       framepos_t start = UINT_MAX;
+       framepos_t start = INT64_MAX;
        framepos_t end = 0;
        for (RegionList::const_iterator i = regions.begin(); i != regions.end(); ++i) {
                start = min (start, (*i)->position());
patch.txt (590 bytes)   

cth103

2010-06-05 16:59

administrator   ~0008164

The attached patch may fix it ...

danboid

2010-06-05 17:39

reporter   ~0008165

Tried applying to a 7233 tree wit'nae luck, 'scuse my patch applying innocence

iatn@ninjatop:~/src/3.0$ patch -p1 < patch.txt
(Stripping trailing CRs from patch.)
patching file ardour/playlist.cc
Hunk 0000001 FAILED at 2392.
1 out of 1 hunk FAILED -- saving rejects to file ardour/playlist.cc.rej
iatn@ninjatop:~/src/3.0$ patch -p0 < patch.txt
(Stripping trailing CRs from patch.)
patching file libs/ardour/playlist.cc
Hunk 0000001 FAILED at 2392.
1 out of 1 hunk FAILED -- saving rejects to file libs/ardour/playlist.cc.rej
iatn@ninjatop:~/src/3.0$ patch < patch.txt
(Stripping trailing CRs from patch.)
patching file playlist.cc
Hunk 0000001 FAILED at 2392.
1 out of 1 hunk FAILED -- saving rejects to file playlist.cc.rej

cth103

2010-06-05 17:46

administrator   ~0008166

Hmm... strange. Maybe just try changing that one line manually. If not I'll check when I'm back at my computer.

danboid

2010-06-05 18:19

reporter   ~0008168

Just tried hand patching it as I think the line numbers were wrong and it got as far as:

[265/640] cxx: libs/ardour/playlist.cc -> build/default/libs/ardour/playlist_1.o
[266/640] cxx: libs/ardour/playlist_factory.cc -> build/default/libs/ardour/playlist_factory_1.o
../libs/ardour/playlist.cc: In member function ‘void ARDOUR::Playlist::relayer()’:
../libs/ardour/playlist.cc:2395:21: error: ‘INT64_MAX’ was not declared in this scope
Waf: Leaving directory `/home/iatn/src/3.0/build'
Build failed
 -> task failed (err 0000001):
    {task: cxx playlist.cc -> playlist_1.o}

cth103

2010-06-06 00:32

administrator   ~0008169

Sorry, my fault. I've committed a fixed version of that patch. Perhaps you could test it?

danboid

2010-06-06 01:46

reporter   ~0008173

This is proving to be a tough nut to crack. I'm sorry to say that trying to import b+t into 7234 under 64-bit buntu lucid still causes it to crash. Would another backtrace be any use?

cth103

2010-06-07 12:44

administrator   ~0008179

Should be fixed in SVN.

danboid

2010-06-07 13:40

reporter   ~0008181

Ardour loves the Duke madly - at long last!

Well, it imports that MIDI file without segfaulting at least so MIDI import under x64 should be much better overall now I'd imagine.

Thanks Mr H!

cth103

2010-06-07 13:44

administrator   ~0008182

Cool, thanks.

system

2020-04-19 20:14

developer   ~0022067

Issue has been closed automatically, by Trigger Close Plugin.
Feel free to re-open with additional information if you think the issue is not resolved.

Issue History

Date Modified Username Field Change
2010-05-18 11:08 danboid New Issue
2010-05-18 11:08 danboid File Added: b+t-fantasy.mid
2010-05-18 11:11 danboid File Added: bwv582.mid
2010-05-19 06:51 danboid Note Added: 0007944
2010-05-19 14:45 cth103 Note Added: 0007948
2010-05-19 14:45 cth103 Status new => feedback
2010-05-19 14:56 paul Note Added: 0007949
2010-05-19 18:14 danboid Note Added: 0007953
2010-05-19 18:29 danboid Note Added: 0007954
2010-05-19 18:31 cth103 Note Added: 0007955
2010-05-19 18:32 cth103 Note Added: 0007956
2010-05-19 18:51 danboid Note Added: 0007959
2010-05-19 23:36 cth103 Note Added: 0007960
2010-05-20 09:17 danboid Note Added: 0007961
2010-05-20 09:22 danboid Note Edited: 0007961
2010-05-20 10:03 cth103 Note Added: 0007962
2010-05-20 14:21 danboid Note Added: 0007963
2010-05-20 17:14 danboid Note Added: 0007965
2010-05-20 17:16 danboid Note Edited: 0007965
2010-05-20 20:06 danboid Note Added: 0007967
2010-05-21 11:59 cth103 cost => 0.00
2010-05-21 11:59 cth103 Target Version => 3.0-beta1
2010-05-26 12:19 danboid Note Added: 0008047
2010-06-05 15:17 danboid Note Added: 0008161
2010-06-05 16:59 cth103 File Added: patch.txt
2010-06-05 16:59 cth103 Note Added: 0008164
2010-06-05 17:39 danboid Note Added: 0008165
2010-06-05 17:46 cth103 Note Added: 0008166
2010-06-05 18:19 danboid Note Added: 0008168
2010-06-06 00:32 cth103 Note Added: 0008169
2010-06-06 01:46 danboid Note Added: 0008173
2010-06-07 12:44 cth103 Note Added: 0008179
2010-06-07 13:40 danboid Note Added: 0008181
2010-06-07 13:44 cth103 Note Added: 0008182
2010-06-07 13:44 cth103 Status feedback => resolved
2010-06-07 13:44 cth103 Resolution open => fixed
2010-06-07 13:44 cth103 Assigned To => cth103
2020-04-19 20:14 system Note Added: 0022067
2020-04-19 20:14 system Status resolved => closed