View Issue Details

IDProjectCategoryView StatusLast Update
0001946ardourbugspublic2008-02-10 23:16
Reporteroofus Assigned To 
PrioritynormalSeveritymajorReproducibilitysometimes
Status closedResolutionfixed 
PlatformCentrino 1.6GHz LaptopOSLinuxOS VersionMandriva 2008
Summary0001946: When jack is in real time mode, Ardour sometimes does not start after session selection.
DescriptionWhen jack is in real time mode, Ardour sometimes does not start after session selection.

The error is :: "programming error: no Ardour-UI request buffer found for thread unknown"

Backtrace attached.
TagsNo tags attached.

Activities

2007-10-31 01:09

 

ErrorLog (12,650 bytes)   
(gdb) run
Starting program: /home/chris/ArdourBuild/ardour2trunk/gtk2_ardour/ardour-3.0
[Thread debugging using libthread_db enabled]
[New Thread -1238345312 (LWP 15576)]
Ardour/GTK 3.0
   (built using 1801 and GCC version 4.2.2 20070909 (prerelease) (4.2.2-0.RC.1mdv2008.0))
Copyright (C) 1999-2007 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.
loading default ui configuration file gtk2_ardour/ardour2_ui_default.conf
loading user ui configuration file /home/chris/.ardour2/ardour2_ui.conf
Configuration::pack_canvasvars () called, canvas_colors.size() = 91
ardour: [INFO]: Loading ui configuration file gtk2_ardour/ardour2_ui_dark.rc
theme_init() called from internal clearlooks engine
loading system configuration file ./ardour_system.rc
loading user configuration file ./ardour.rc
ardour: [INFO]: Using SSE optimized routines
[New Thread -1240417392 (LWP 15589)]
[New Thread -1248810096 (LWP 15590)]
ardour: [INFO]: looking for control protocols in libs/surfaces/frontier:libs/surfaces/generic_midi:libs/surfaces/mackie:libs/surfaces/tranzport
ardour: [INFO]: Control surface protocol discovered: "Generic MIDI"
ardour: [INFO]: Control protocol Mackie not usable
ardour: [INFO]: Control protocol Tranzport not usable
[New Thread -1284904048 (LWP 15592)]
[New Thread -1293321328 (LWP 15593)]
[Thread -1284904048 (LWP 15592) exited]
[Thread -1293321328 (LWP 15593) exited]
[New Thread -1293321328 (LWP 15597)]
[New Thread -1284904048 (LWP 15598)]
[New Thread -1302287472 (LWP 15599)]
[New Thread -1310680176 (LWP 15600)]
[New Thread -1319072880 (LWP 15601)]
[New Thread -1327465584 (LWP 15602)]
[New Thread -1335858288 (LWP 15603)]
[New Thread -1344250992 (LWP 15604)]
[New Thread -1352643696 (LWP 15605)]
[New Thread -1361036400 (LWP 15606)]
[Thread -1293321328 (LWP 15597) exited]
[Thread -1284904048 (LWP 15598) exited]
[Thread -1302287472 (LWP 15599) exited]
[Thread -1310680176 (LWP 15600) exited]
[Thread -1319072880 (LWP 15601) exited]
[Thread -1327465584 (LWP 15602) exited]
[Thread -1335858288 (LWP 15603) exited]
[Thread -1344250992 (LWP 15604) exited]
[Thread -1352643696 (LWP 15605) exited]
[Thread -1361036400 (LWP 15606) exited]
[New Thread -1352643696 (LWP 15607)]
[Thread -1352643696 (LWP 15607) exited]
[New Thread -1352643696 (LWP 15608)]
[New Thread -1327465584 (LWP 15609)]
[New Thread -1335858288 (LWP 15610)]
[New Thread -1310680176 (LWP 15611)]
[New Thread -1293321328 (LWP 15612)]
[New Thread -1302287472 (LWP 15613)]
[New Thread -1319072880 (LWP 15614)]
[New Thread -1344250992 (LWP 15615)]
[New Thread -1361036400 (LWP 15616)]
[New Thread -1369429104 (LWP 15617)]
[Thread -1369429104 (LWP 15617) exited]
[Thread -1361036400 (LWP 15616) exited]
[Thread -1302287472 (LWP 15613) exited]
[Thread -1293321328 (LWP 15612) exited]
[Thread -1319072880 (LWP 15614) exited]
[Thread -1335858288 (LWP 15610) exited]
[Thread -1327465584 (LWP 15609) exited]
[Thread -1310680176 (LWP 15611) exited]
[Thread -1352643696 (LWP 15608) exited]
[Thread -1344250992 (LWP 15615) exited]
[New Thread -1290728272 (LWP 15619)]
loading bindings from gtk2_ardour/ardour.bindings
[New Thread -1292317808 (LWP 15620)]
programming error: no Ardour-UI request buffer found for thread unknown
 
Program received signal SIGABRT, Aborted.
[Switching to Thread -1292317808 (LWP 15620)]
0xffffe410 in __kernel_vsyscall ()
(gdb) thread apply all bt
 
Thread 28 (Thread -1292317808 (LWP 15620)):
#0  0xffffe410 in __kernel_vsyscall ()
#1  0xb6817ec5 in raise () from /lib/i686/libc.so.6
#2  0xb6819921 in abort () from /lib/i686/libc.so.6
#3  0xb7a69fff in AbstractUI<Gtkmm2ext::UIRequest>::get_request (this=0x88f60c0, rt=2)
    at libs/pbd/pbd/abstract_ui.cc:53
#4  0xb7a603cb in Gtkmm2ext::UI::receive (this=0x88f60b0, chn=Transmitter::Error,
    str=0x900b80c "JACK: cannot use real-time scheduling (FIFO at priority 69) [for thread -1292317808, from thread -1292317808] (1: Operation not permitted)") at libs/gtkmm2ext/gtk_ui.cc:396
#5  0xb799513b in sigc::bound_mem_functor2<void, Receiver, Transmitter::Channel, char const*>::operator() (
    this=0x8b3869c, _A_a1=@0x88d3c0c, _A_a2=@0xb2f8c19c) at libs/sigc++2/sigc++/functors/mem_fun.h:1897
#6  0xb7995170 in sigc::adaptor_functor<sigc::bound_mem_functor2<void, Receiver, Transmitter::Channel, char const*> >::operator()<Transmitter::Channel const&, char const* const&> (this=0x8b38698, _A_arg1=@0x88d3c0c,
    _A_arg2=@0xb2f8c19c) at libs/sigc++2/sigc++/adaptors/adaptor_trait.h:103
#7  0xb79951aa in sigc::internal::slot_call2<sigc::bound_mem_functor2<void, Receiver, Transmitter::Channel, char const*>, void, Transmitter::Channel, char const*>::call_it (rep=0x8b38680, a_1=@0x88d3c0c,
    a_2=@0xb2f8c19c) at libs/sigc++2/sigc++/functors/slot.h:173
#8  0xb799b8bb in sigc::internal::signal_emit2<void, Transmitter::Channel, char const*, sigc::nil_>::emit (
    impl=0x88f59e0, _A_a1=@0x88d3c0c, _A_a2=@0xb2f8c19c) at libs/sigc++2/sigc++/signal.h:779
#9  0xb799b96c in sigc::signal2<void, Transmitter::Channel, char const*, sigc::nil_>::emit (this=0x88d3c24,
    _A_a1=@0x88d3c0c, _A_a2=@0xb2f8c19c) at libs/sigc++2/sigc++/signal.h:1806
#10 0xb799b99d in sigc::signal2<void, Transmitter::Channel, char const*, sigc::nil_>::operator() (
    this=0x88d3c24, _A_a1=@0x88d3c0c, _A_a2=@0xb2f8c19c) at libs/sigc++2/sigc++/signal.h:1810
#11 0xb799b232 in Transmitter::deliver (this=0x88d3bd8) at libs/pbd/transmitter.cc:74
#12 0x0839d753 in endmsg (ostr=@0x88d3be0) at libs/pbd/pbd/transmitter.h:94
#13 0xb69e474f in std::ostream::operator<< () from /usr/lib/libstdc++.so.6
#14 0xb7cb859a in ardour_jack_error (
    msg=0xb2f8c220 "cannot use real-time scheduling (FIFO at priority 69) [for thread -1292317808, from thread -1292317808] (1: Operation not permitted)") at libs/ardour/audioengine.cc:57
#15 0xb6ee8e6c in jack_error (
---Type <return> to continue, or q <return> to quit---
    fmt=0xb6ef1624 "cannot use real-time scheduling (FIFO at priority %d) [for thread %d, from thread %d] (%d: %s)") at client.c:152
#16 0xb6eeddb1 in jack_acquire_real_time_scheduling (thread=3002649488, priority=69) at thread.c:243
#17 0xb6eede68 in jack_thread_proxy (varg=0x9008250) at thread.c:102
#18 0xb6b33462 in start_thread () from /lib/i686/libpthread.so.0
#19 0xb68be82e in clone () from /lib/i686/libc.so.6
 
Thread 27 (Thread -1290728272 (LWP 15619)):
#0  0xffffe410 in __kernel_vsyscall ()
#1  0xb6b3a546 in nanosleep () from /lib/i686/libpthread.so.0
#2  0xb75508d7 in g_usleep () from /usr/lib/libglib-2.0.so.0
#3  0xb6e1d369 in Glib::usleep (microseconds=10000) at libs/glibmm2/glibmm/timer.cc:68
#4  0xb7cbb804 in ARDOUR::AudioEngine::meter_thread (this=0x8d539e8) at libs/ardour/audioengine.cc:449
#5  0xb7cbe628 in sigc::bound_mem_functor0<void, ARDOUR::AudioEngine>::operator() (this=0x8be4974)
    at libs/sigc++2/sigc++/functors/mem_fun.h:1781
#6  0xb7cbe64a in sigc::adaptor_functor<sigc::bound_mem_functor0<void, ARDOUR::AudioEngine> >::operator() (
    this=0x8be4970) at libs/sigc++2/sigc++/adaptors/adaptor_trait.h:251
#7  0xb7cbe676 in sigc::internal::slot_call0<sigc::bound_mem_functor0<void, ARDOUR::AudioEngine>, void>::call_it (rep=0x8be4958) at libs/sigc++2/sigc++/functors/slot.h:103
#8  0x0839f9d2 in sigc::slot0<void>::operator() (this=0x8d53928) at libs/sigc++2/sigc++/functors/slot.h:440
#9  0xb6e09f8d in call_thread_entry_slot (data=0x8d53928) at libs/glibmm2/glibmm/thread.cc:43
#10 0xb754e3a4 in virtual thunk to Gtk::Window::~Window$delete() () at libs/gtkmm2/gtk/gtkmm/window.cc:95
#11 0xb6b33462 in start_thread () from /lib/i686/libpthread.so.0
#12 0xb68be82e in clone () from /lib/i686/libc.so.6
 
Thread 3 (Thread -1248810096 (LWP 15590)):
#0  0xffffe410 in __kernel_vsyscall ()
#1  0xb6b37206 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i686/libpthread.so.0
#2  0xb6e093f9 in Glib::Cond::wait (this=0x8a302a0, mutex=@0xb7f3d3dc) at libs/glibmm2/glibmm/thread.cc:362
#3  0xb7e8b74f in peak_thread_work () at libs/ardour/source_factory.cc:57
#4  0x08697ee9 in sigc::pointer_functor0<void>::operator() (this=0x8a46f9c)
---Type <return> to continue, or q <return> to quit---
    at libs/sigc++2/sigc++/functors/ptr_fun.h:77
#5  0x08697f00 in sigc::adaptor_functor<sigc::pointer_functor0<void> >::operator() (this=0x8a46f98)
    at libs/sigc++2/sigc++/adaptors/adaptor_trait.h:251
#6  0x08697f1c in sigc::internal::slot_call0<sigc::pointer_functor0<void>, void>::call_it (rep=0x8a46f80)
    at libs/sigc++2/sigc++/functors/slot.h:103
#7  0x0839f9d2 in sigc::slot0<void>::operator() (this=0x8a30508) at libs/sigc++2/sigc++/functors/slot.h:440
#8  0xb6e09f8d in call_thread_entry_slot (data=0x8a30508) at libs/glibmm2/glibmm/thread.cc:43
#9  0xb754e3a4 in virtual thunk to Gtk::Window::~Window$delete() () at libs/gtkmm2/gtk/gtkmm/window.cc:95
#10 0xb6b33462 in start_thread () from /lib/i686/libpthread.so.0
#11 0xb68be82e in clone () from /lib/i686/libc.so.6
 
Thread 2 (Thread -1240417392 (LWP 15589)):
#0  0xffffe410 in __kernel_vsyscall ()
#1  0xb6b37206 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i686/libpthread.so.0
#2  0xb6e093f9 in Glib::Cond::wait (this=0x8a302a0, mutex=@0xb7f3d3dc) at libs/glibmm2/glibmm/thread.cc:362
#3  0xb7e8b74f in peak_thread_work () at libs/ardour/source_factory.cc:57
#4  0x08697ee9 in sigc::pointer_functor0<void>::operator() (this=0x8a3cbf4)
    at libs/sigc++2/sigc++/functors/ptr_fun.h:77
#5  0x08697f00 in sigc::adaptor_functor<sigc::pointer_functor0<void> >::operator() (this=0x8a3cbf0)
    at libs/sigc++2/sigc++/adaptors/adaptor_trait.h:251
#6  0x08697f1c in sigc::internal::slot_call0<sigc::pointer_functor0<void>, void>::call_it (rep=0x8a3cbd8)
    at libs/sigc++2/sigc++/functors/slot.h:103
#7  0x0839f9d2 in sigc::slot0<void>::operator() (this=0x8a46290) at libs/sigc++2/sigc++/functors/slot.h:440
#8  0xb6e09f8d in call_thread_entry_slot (data=0x8a46290) at libs/glibmm2/glibmm/thread.cc:43
#9  0xb754e3a4 in virtual thunk to Gtk::Window::~Window$delete() () at libs/gtkmm2/gtk/gtkmm/window.cc:95
#10 0xb6b33462 in start_thread () from /lib/i686/libpthread.so.0
#11 0xb68be82e in clone () from /lib/i686/libc.so.6
 
Thread 1 (Thread -1238345312 (LWP 15576)):
#0  0xffffe410 in __kernel_vsyscall ()
#1  0xb6b39a31 in __lll_mutex_unlock_wake () from /lib/i686/libpthread.so.0
---Type <return> to continue, or q <return> to quit---
#2  0xb6b3435a in _L_mutex_unlock_3699 () from /lib/i686/libpthread.so.0
#3  0xb6b33e9e in pthread_create@@GLIBC_2.1 () from /lib/i686/libpthread.so.0
#4  0xb6eee024 in jack_client_create_thread (client=0x8d61d10, thread=0x8d61d4c, priority=69, realtime=1,
    start_routine=0xb6eea330 <jack_client_thread>, arg=0x8d61d10) at thread.c:175
#5  0xb6ee9210 in jack_activate (client=0x8d61d10) at client.c:1687
#6  0xb7cbb79c in ARDOUR::AudioEngine::start (this=0x8d539e8) at libs/ardour/audioengine.cc:162
#7  0x083ad2e8 in ARDOUR_UI::do_engine_start (this=0x88f60b0) at gtk2_ardour/ardour_ui.cc:1724
#8  0x083b9717 in ARDOUR_UI::post_engine (this=0x88f60b0) at gtk2_ardour/ardour_ui.cc:358
#9  0x083b9b97 in ARDOUR_UI::create_engine (this=0x88f60b0) at gtk2_ardour/ardour_ui.cc:284
#10 0x083b9f18 in ARDOUR_UI::get_session_parameters (this=0x88f60b0, predetermined_path=@0xbfcd1ee8,
    have_engine=true, should_be_new=false) at gtk2_ardour/ardour_ui.cc:2120
#11 0x083bb543 in ARDOUR_UI::startup (this=0x88f60b0) at gtk2_ardour/ardour_ui.cc:678
#12 0x083c48fc in sigc::bound_mem_functor0<void, ARDOUR_UI>::operator() (this=0x8b385d4)
    at libs/sigc++2/sigc++/functors/mem_fun.h:1781
#13 0x083c4912 in sigc::adaptor_functor<sigc::bound_mem_functor0<void, ARDOUR_UI> >::operator() (
    this=0x8b385d0) at libs/sigc++2/sigc++/adaptors/adaptor_trait.h:251
#14 0x083c492e in sigc::internal::slot_call0<sigc::bound_mem_functor0<void, ARDOUR_UI>, void>::call_it (
    rep=0x8b385b8) at libs/sigc++2/sigc++/functors/slot.h:103
#15 0x083c67af in sigc::internal::signal_emit0<void, sigc::nil_>::emit (impl=0x8b38320)
    at libs/sigc++2/sigc++/signal.h:517
#16 0x083c6844 in sigc::signal0<void, sigc::nil_>::emit (this=0x88f60f8) at libs/sigc++2/sigc++/signal.h:1584
#17 0x083c6857 in sigc::signal0<void, sigc::nil_>::operator() (this=0x88f60f8)
    at libs/sigc++2/sigc++/signal.h:1588
#18 0xb7a60969 in Gtkmm2ext::UI::run (this=0x88f60b0, old_receiver=@0x88d4ebc)
    at libs/gtkmm2ext/gtk_ui.cc:221
#19 0x0860acbc in main (argc=1, argv=0xbfcd20e4) at gtk2_ardour/main.cc:317
#0  0xffffe410 in __kernel_vsyscall () 
ErrorLog (12,650 bytes)   

oofus

2008-02-10 23:16

developer   ~0004714

Cannot reproduce anymore

Issue History

Date Modified Username Field Change
2007-10-31 01:09 oofus New Issue
2007-10-31 01:09 oofus File Added: ErrorLog
2008-02-10 23:16 oofus Status new => closed
2008-02-10 23:16 oofus Note Added: 0004714
2008-02-10 23:16 oofus Resolution open => fixed