View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0003221 | ardour | bugs | public | 2010-06-03 14:35 | 2020-04-19 20:14 |
| Reporter | ongaku_taro | Assigned To | paul | ||
| Priority | normal | Severity | crash | Reproducibility | always |
| Status | closed | Resolution | fixed | ||
| Summary | 0003221: crash when push the apply button on "New Session" dialog | ||||
| Description | ?caution I'm japanese, and I don't speak English. So, my English is so bad. I apologize in advance for confuse you. My ardour3(svn rev.7206) crashed when it started from console command "ardour3" and through "what would you like to do?" dialog, push the "apply" button on "New Session" dialog. Steps to reproduce: (1) Start ardour3 from console command "ardour3" (2) Select "Open a new session" on "What would you like to do?" dialog window (3) Input "Session name", and push "Apply" button on "New Session" dialog window ----------------------------------------- please show the following console log. [ongaku_taro@myhost gtk2_ardour]$ ardour3 Ardour3.0pre0 (built using 7200 and GCC version 4.5.0 20100520 (prerelease)) 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. ardour: [INFO]: Loading default ui configuration file /usr/local/etc/ardour3/ardour3_ui_default.conf Loading ui configuration file /usr/local/etc/ardour3/ardour3_ui_dark.rc ardour: [INFO]: Ardour will be limited to 1024 open files 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/yagiura/.config/ardour3/ardour.rc Using SSE optimized routines Found 0 along :/home/yagiura/.config/ardour3/templates Grab new name focus lost focus LV2: Discovering 0 plugins Done LV2 discovery Segmentation fault ----------------------------------------- and print gdb trace log, please check it out. | ||||
| Additional Information | [ongaku_taro@myhost gtk2_ardour]$ ./ardbg USING OLD CLEARLOOKS GNU gdb (GDB) 7.1 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-unknown-linux-gnu". For bug reporting instructions, please see: <http://www.gnu.org/software/gdb/bugs/>... Reading symbols from /home/yagiura/src/svn/ardour/build/default/gtk2_ardour/ardour-3.0...done. (gdb) run Starting program: /home/yagiura/src/svn/ardour/build/default/gtk2_ardour/ardour-3.0 [Thread debugging using libthread_db enabled] Ardour3.0pre0 (built using 7200 and GCC version 4.5.0 20100520 (prerelease)) 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 ui configuration file ./../build/default/gtk2_ardour/ardour3_ui_dark.rc ardour: [INFO]: Ardour will be limited to 1024 open files 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/yagiura/.config/ardour3/ardour.rc Using SSE optimized routines [New Thread 0x7fffe77bf710 (LWP 8692)] [New Thread 0x7fffe6fbe710 (LWP 8693)] [New Thread 0x7fffe67bd710 (LWP 8694)] [New Thread 0x7fffdc7b8710 (LWP 8695)] [New Thread 0x7fffdbfb7710 (LWP 8696)] [New Thread 0x7fffdb7b6710 (LWP 8697)] [New Thread 0x7fffdb735710 (LWP 8698)] [Thread 0x7fffdb735710 (LWP 8698) exited] [Thread 0x7fffdb7b6710 (LWP 8697) exited] [Thread 0x7fffdc7b8710 (LWP 8695) exited] Found 0 along :/home/yagiura/.config/ardour3/templates Grab new name focus lost focus [New Thread 0x7fffdc7b8710 (LWP 8702)] [New Thread 0x7fffdb5b6710 (LWP 8703)] [Thread 0x7fffdbfb7710 (LWP 8696) exited] [Thread 0x7fffdb5b6710 (LWP 8703) exited] [New Thread 0x7fffdb7b6710 (LWP 8704)] [New Thread 0x7fffdb735710 (LWP 8705)] LV2: Discovering 0 plugins Done LV2 discovery Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 0x7fffdb7b6710 (LWP 8704)] 0x00007fffeea536ab in std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(std::string const&) () from /usr/lib/libstdc++.so.6 (gdb) thread apply all bt Thread 12 (Thread 0x7fffdb735710 (LWP 8705)): #0 0x00007fffee30b08d in read () from /lib/libpthread.so.0 0000001 0x00007ffff482de42 in Jack::JackClientSocket::Read(void*, int) () from /usr/lib/libjack.so.0 #2 0x00007ffff48302c7 in Jack::JackSocketClientChannel::Execute() () from /usr/lib/libjack.so.0 #3 0x00007ffff482c1c0 in Jack::JackPosixThread::ThreadHandler(void*) () from /usr/lib/libjack.so.0 0000004 0x00007fffee30397a in start_thread () from /lib/libpthread.so.0 0000005 0x00007fffee06f01d in clone () from /lib/libc.so.6 #6 0x0000000000000000 in ?? () Thread 11 (Thread 0x7fffdb7b6710 (LWP 8704)): #0 0x00007fffeea536ab in std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(std::string const&) () from /usr/lib/libstdc++.so.6 0000001 0x00007ffff67b5924 in AbstractUI<Gtkmm2ext::UIRequest>::register_thread(std::string, unsigned long, std::string, unsigned int) () from ./../build/default/libs/gtkmm2ext/libgtkmm2ext.so.0 #2 0x00007ffff67b3862 in boost::detail::function::void_function_obj_invoker4<boost::_bi::bind_t<void, boost::_mfi::mf4<void, AbstractUI<Gtkmm2ext::UIRequest>, std::string, unsigned long, std::string, unsigned int>, boost::_bi::list5<boost:---Type <return> to continue, or q <return> to quit--- :_bi::value<AbstractUI<Gtkmm2ext::UIRequest>*>, boost::arg<1>, boost::arg<2>, boost::arg<3>, boost::arg<4> > >, void, std::string, unsigned long, std::string, unsigned int>::invoke(boost::detail::function::function_buffer&, std::string, unsigned long, std::string, unsigned int) () from ./../build/default/libs/gtkmm2ext/libgtkmm2ext.so.0 #3 0x00007ffff7bb0b37 in boost::signals2::detail::signal4_impl<void, std::string, unsigned long, std::string, unsigned int, boost::signals2::optional_last_value<void>, int, std::less<int>, boost::function<void ()(std::string, unsigned long, std::string, unsigned int)>, boost::function<void ()(boost::signals2::connection const&, std::string, unsigned long, std::string, unsigned int)>, boost::signals2::mutex>::operator()(std::string, unsigned long, std::string, unsigned int) () from ./../build/default/libs/pbd/libpbd.so.4 0000004 0x00007ffff7badba1 in PBD::notify_gui_about_thread_creation(std::string, unsigned long, std::string, int) () from ./../build/default/libs/pbd/libpbd.so.4 0000005 0x00007ffff6f24343 in _thread_init_callback(void*) () from ./../build/default/libs/ardour/libardour.so.3 #6 0x00007ffff4826988 in Jack::JackMessageBuffer::Execute() () from /usr/lib/libjack.so.0 #7 0x00007ffff482c1c0 in Jack::JackPosixThread::ThreadHandler(void*) () from /usr/lib/libjack.so.0 0000008 0x00007fffee30397a in start_thread () from /lib/libpthread.so.0 0000009 0x00007fffee06f01d in clone () from /lib/libc.so.6 0000010 0x0000000000000000 in ?? () ---Type <return> to continue, or q <return> to quit--- Thread 9 (Thread 0x7fffdc7b8710 (LWP 8702)): #0 0x00007fffee3084d9 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0 0000001 0x00007ffff34e31c2 in g_cond_timed_wait_posix_impl () from /usr/lib/libgthread-2.0.so.0 #2 0x00007ffff453bc3f in g_async_queue_pop_intern_unlocked () from /usr/lib/libglib-2.0.so.0 #3 0x00007ffff453c637 in g_async_queue_timed_pop () from /usr/lib/libglib-2.0.so.0 0000004 0x00007ffff458c3d1 in g_thread_pool_thread_proxy () from /usr/lib/libglib-2.0.so.0 0000005 0x00007ffff4589d96 in g_thread_create_proxy () from /usr/lib/libglib-2.0.so.0 #6 0x00007fffee30397a in start_thread () from /lib/libpthread.so.0 #7 0x00007fffee06f01d in clone () from /lib/libc.so.6 0000008 0x0000000000000000 in ?? () Thread 4 (Thread 0x7fffe67bd710 (LWP 8694)): #0 0x00007fffee30816c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0 0000001 0x00007ffff6ecb8c3 in ARDOUR::Analyser::work() () from ./../build/default/libs/ardour/libardour.so.3 ---Type <return> to continue, or q <return> to quit--- #2 0x00007ffff3961c3d in call_thread_entry_slot () from /usr/lib/libglibmm-2.4.so.1 #3 0x00007ffff4589d96 in g_thread_create_proxy () from /usr/lib/libglib-2.0.so.0 0000004 0x00007fffee30397a in start_thread () from /lib/libpthread.so.0 0000005 0x00007fffee06f01d in clone () from /lib/libc.so.6 #6 0x0000000000000000 in ?? () Thread 3 (Thread 0x7fffe6fbe710 (LWP 8693)): #0 0x00007fffee30816c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0 0000001 0x00007ffff72854b4 in peak_thread_work() () from ./../build/default/libs/ardour/libardour.so.3 #2 0x00007ffff3961c3d in call_thread_entry_slot () from /usr/lib/libglibmm-2.4.so.1 #3 0x00007ffff4589d96 in g_thread_create_proxy () from /usr/lib/libglib-2.0.so.0 0000004 0x00007fffee30397a in start_thread () from /lib/libpthread.so.0 0000005 0x00007fffee06f01d in clone () from /lib/libc.so.6 #6 0x0000000000000000 in ?? () Thread 2 (Thread 0x7fffe77bf710 (LWP 8692)): #0 0x00007fffee30816c in pthread_cond_wait@@GLIBC_2.3.2 () ---Type <return> to continue, or q <return> to quit--- from /lib/libpthread.so.0 0000001 0x00007ffff72854b4 in peak_thread_work() () from ./../build/default/libs/ardour/libardour.so.3 #2 0x00007ffff3961c3d in call_thread_entry_slot () from /usr/lib/libglibmm-2.4.so.1 #3 0x00007ffff4589d96 in g_thread_create_proxy () from /usr/lib/libglib-2.0.so.0 0000004 0x00007fffee30397a in start_thread () from /lib/libpthread.so.0 0000005 0x00007fffee06f01d in clone () from /lib/libc.so.6 #6 0x0000000000000000 in ?? () Thread 1 (Thread 0x7ffff7fb0980 (LWP 8689)): #0 0x00007fffee30816c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0 0000001 0x00007ffff482d871 in Jack::JackProcessSync::Wait() () from /usr/lib/libjack.so.0 #2 0x00007ffff4826b53 in Jack::JackMessageBuffer::SetInitCallback(void (*)(void*), void*) () from /usr/lib/libjack.so.0 #3 0x00007ffff4814316 in Jack::JackClient::SetInitCallback(void (*)(void*), void*) () from /usr/lib/libjack.so.0 0000004 0x00007ffff6f2407d in ARDOUR::AudioEngine::start() () from ./../build/default/libs/ardour/libardour.so.3 0000005 0x00000000005a8f30 in ARDOUR_UI::do_engine_start() () ---Type <return> to continue, or q <return> to quit--- #6 0x00000000005bfdab in ARDOUR_UI::post_engine() () #7 0x00000000005c0e77 in ARDOUR_UI::create_engine() () 0000008 0x00000000005c185e in ARDOUR_UI::get_session_parameters(bool, bool) () 0000009 0x00000000005c28e4 in ARDOUR_UI::startup() () 0000010 0x00007ffff67adb02 in Gtkmm2ext::UI::run(Receiver&) () from ./../build/default/libs/gtkmm2ext/libgtkmm2ext.so.0 0000011 0x00000000009053c1 in main () | ||||
| Tags | No tags attached. | ||||
|
|
This is likely to be a bug in gcc 4.5. there are known bug reports in the gcc bug data base about issues with std::string. This behaviour does not occur with other versions of gcc (both "regular" gcc 4.3 and 4.4, and the apple-modified 4.0 and 4.2 series). My impression is that 4.5 is not ready for use on complex C++ applications unless you are willing to debug gcc. |
|
|
thank you very much for answer. You're right. I replaced gcc4.5 with gcc4.3, and it work fine. arigato-gozaimashita(thank you). |
|
|
sorry, please change status "resolved". I'm mistake. |
|
|
ummh,sorry, I'm mistake again. my problem was resolved, so please change proper status. |
|
|
Thanks. |
|
|
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. |
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2010-06-03 14:35 | ongaku_taro | New Issue | |
| 2010-06-03 15:19 | paul | cost | => 0.00 |
| 2010-06-03 15:19 | paul | Note Added: 0008147 | |
| 2010-06-03 15:19 | paul | Status | new => resolved |
| 2010-06-03 15:19 | paul | Resolution | open => no change required |
| 2010-06-03 15:19 | paul | Assigned To | => paul |
| 2010-06-04 15:45 | ongaku_taro | Note Added: 0008153 | |
| 2010-06-04 15:45 | ongaku_taro | Status | resolved => feedback |
| 2010-06-04 15:45 | ongaku_taro | Resolution | no change required => reopened |
| 2010-06-04 15:48 | ongaku_taro | Note Added: 0008154 | |
| 2010-06-04 16:00 | ongaku_taro | Note Added: 0008155 | |
| 2010-06-05 10:15 | cth103 | Note Added: 0008158 | |
| 2010-06-05 10:15 | cth103 | Status | feedback => resolved |
| 2010-06-05 10:15 | cth103 | Resolution | reopened => fixed |
| 2020-04-19 20:14 | system | Note Added: 0022116 | |
| 2020-04-19 20:14 | system | Status | resolved => closed |