[Ardour-Dev] config wizard [was : Re: video timeline patch testing]

Robin Gareus robin at gareus.org
Mon Jul 19 04:50:25 PDT 2010


On 07/18/2010 03:32 PM, Patrick Shirkey wrote:
> On 07/18/2010 11:25 PM, Paul Davis wrote:
>> On Sun, Jul 18, 2010 at 9:23 AM, Patrick Shirkey
>> <pshirkey at boosthardware.com>  wrote:
>>
>>   
>>> Sorry, late on Sunday here.
>>>
>>> This is the trace:
>>>
>>> #0  0x0000003494e0d330 in sem_wait () from /lib64/libpthread.so.0
>>> #1  0x00007ffff7362167 in ARDOUR::Graph::routes_no_roll(unsigned int,
>>> long,
>>> long, bool, bool, int) () from
>>> ./../build/default/libs/ardour/libardour.so.3
>>> #2  0x0000000001eb4800 in ?? ()
>>> #3  0x00007ffff74b5f63 in ARDOUR::Session::no_roll(unsigned int) ()
>>>    from ./../build/default/libs/ardour/libardour.so.3
>>>      
>> you need to read the debugging guide again. the relevant command is:
>>
>>     thread apply all bt
>>
>> so that you get a trace per thread. in this particular case, you got
>> lucky and found the most relevant thread, but the others matter too.
>>    
> 
> Sorry, Late here and I'm onto at least the 50'th attempt at getting this
> all to work now. Brain starting to turn to slush and all data blurring
> into one string, etc...
> 
> Here's the full trace:
> 
> +++++++++++++++++++++++
> 
> Thread 17 (Thread 0x7fffe010d830 (LWP 7308)):
> #0  0x0000003494e0e91d in nanosleep () from /lib64/libpthread.so.0
> #1  0x0000003495e64478 in g_usleep () from /lib64/libglib-2.0.so.0
> #2  0x00007ffff728f4ea in ARDOUR::AudioEngine::meter_thread() ()
>    from ./../build/default/libs/ardour/libardour.so.3
> #3  0x0000000002439270 in ?? ()
> #4  0x00000034ada3554d in ?? () from /usr/lib64/libglibmm-2.4.so.1
> #5  0x0000003495e62134 in ?? () from /lib64/libglib-2.0.so.0
> #6  0x0000003494e06a3a in start_thread () from /lib64/libpthread.so.0
> #7  0x00000034946de77d in clone () from /lib64/libc.so.6
> #8  0x0000000000000000 in ?? ()
> 
> Thread 16 (Thread 0x7fffe3fff710 (LWP 7307)):
> #0  0x00000034946d5353 in poll () from /lib64/libc.so.6
> #1  0x0000003495e3ca0c in ?? () from /lib64/libglib-2.0.so.0
> #2  0x0000003495e3d075 in g_main_loop_run () from /lib64/libglib-2.0.so.0
> #3  0x00000034ada3554d in ?? () from /usr/lib64/libglibmm-2.4.so.1
> #4  0x0000003495e62134 in ?? () from /lib64/libglib-2.0.so.0
> #5  0x0000003494e06a3a in start_thread () from /lib64/libpthread.so.0
> #6  0x00000034946de77d in clone () from /lib64/libc.so.6
> #7  0x0000000000000000 in ?? ()
> 
> Thread 15 (Thread 0x7fffe018f710 (LWP 7306)):
> JackEngine::XRun: client = ardour was not run: state = 1
> JackAudioDriver::ProcessAsync Process error
> #0  0x00000034946d5353 in poll () from /lib64/libc.so.6
> #1  0x00007ffff72cb675 in ARDOUR::Butler::thread_work() ()
>    from ./../build/default/libs/ardour/libardour.so.3
> #2  0x00007fffe018ece8 in ?? ()
> #3  0x00007fffe018ec90 in ?? ()
> #4  0x0000000000000000 in ?? ()
> 
> Thread 14 (Thread 0x7fffe8122710 (LWP 7302)):
> #0  0x0000003494e0d417 in sem_timedwait () from /lib64/libpthread.so.0
> #1  0x00007ffff5ba36e0 in Jack::JackPosixSemaphore::TimedWait(long) ()
>    from /usr/local/lib/libjack.so.0
> #2  0x00007ffff5b9046a in
> Jack::JackConnectionManager::SuspendRefNum(Jack::JackClientControl*,
> Jack::JackPosixSemaphore*, Jack::JackClientTiming*, long) ()
>    from /usr/local/lib/libjack.so.0
> #3  0x00007ffff5b8d347 in Jack::JackClient::CycleWait() ()
>    from /usr/local/lib/libjack.so.0
> #4  0x00007ffff72904f2 in ARDOUR::AudioEngine::process_thread() ()
>    from ./../build/default/libs/ardour/libardour.so.3
> #5  0x0000000001540fa0 in ?? ()
> #6  0x00007fffece1b000 in ?? ()
> #7  0x00007ffff5b8f05b in Jack::JackClient::Execute() ()
>    from /usr/local/lib/libjack.so.0
> #8  0x00007ffff5ba2fc0 in Jack::JackPosixThread::ThreadHandler(void*) ()
>    from /usr/local/lib/libjack.so.0
> 
> 
> 
> +++++++++++++++++++++++

Does that mean anything to you?

It looks like it is related to the multithreaded process-graph.

BTW if I choose "All available processors" the "Log" window says:
  Using 0 threads on 2 CPUs.
With "All but one processor" it's [mathematically] correct:
  Using 1 threads on 2 CPUs.

ardour3 does not hang and plays audio just fine in both cases!
That is svn-r7439. Do you need more info about the system?

robin



More information about the Ardour-Dev mailing list