View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0009841 | ardour | bugs | public | 2024-10-29 15:17 | 2024-10-29 15:17 |
Reporter | fordfrog | Assigned To | |||
Priority | normal | Severity | minor | Reproducibility | always |
Status | new | Resolution | open | ||
Platform | gentoo | OS | linux | OS Version | (any) |
Product Version | 8.10 | ||||
Summary | 0009841: ardour 8.10 crashes on startup when compiled with clang | ||||
Description | in fact this issue with clang is there already for some time. if i compile ardour with clang, it always crashes on startup (session selection/creation window occurs, i chose a new session, the gui loads the main window and then the crash occurs). if i compile it with gcc, no crash occurs. Thread 1 "ArdourGUI" received signal SIGABRT, Aborted. 0x00007ffff4ca536c in ?? () from /lib64/libc.so.6 (gdb) bt #0 0x00007ffff4ca536c in ??? () at /lib64/libc.so.6 0000001 0x00007ffff4c4f646 in raise () at /lib64/libc.so.6 #2 0x00007ffff4c378fa in abort () at /lib64/libc.so.6 #3 0x00007ffff4c38956 in ??? () at /lib64/libc.so.6 0000004 0x00007ffff4d3106b in __fortify_fail () at /lib64/libc.so.6 0000005 0x00007ffff4d309f6 in __chk_fail () at /lib64/libc.so.6 #6 0x00007ffff4d32839 in __vsnprintf_chk () at /lib64/libc.so.6 #7 0x00007ffff714bd1a in snprintf(char*, unsigned long pass_dynamic_object_size1, char const*, ...) (__s=0x6d3 <error: Cannot access memory at address 0x6d3>, __s@entry=0x55555c913680 "", __n=1747, __n@entry=514, __fmt=0x8 <error: Cannot access memory at address 0x8>) at /usr/include/bits/stdio2.h:80 0000008 0x00007ffff714be76 in ARDOUR::IO::find_port_hole (this=<optimized out>, ports=std::shared_ptr<const ARDOUR::PortSet> (empty) = {...}, base=0x55555eaea6e0 "Click/audio_out") at ../libs/ardour/io.cc:1410 0000009 0x00007ffff7140524 in ARDOUR::IO::build_legal_port_name[abi:cxx11](std::shared_ptr<ARDOUR::PortSet const>, ARDOUR::DataType) (this=0x55555ae91320, ports=std::shared_ptr<const ARDOUR::PortSet> (empty) = {...}, type=...) at ../libs/ardour/io.cc:1386 0000010 0x00007ffff713f321 in ARDOUR::IO::add_port (this=0x55555ae91320, destination="", src=0x55555eabb300, type=...) at ../libs/ardour/io.cc:315 0000011 0x00007ffff73eb08c in ARDOUR::Session::setup_click_state (this=0x55555eabb300, node=<optimized out>) at ../libs/ardour/session.cc:1024 0000012 0x00007ffff73e9e56 in ARDOUR::Session::setup_click (this=0x55555eabb300) at ../libs/pbd/pbd/xml++.h:81 0000013 0x00007ffff73e1909 in ARDOUR::Session::immediately_post_engine (this=0x55555eabb300) at ../libs/ardour/session.cc:627 0000014 0x00007ffff73e5038 in ARDOUR::Session::Session (this=0x55555eabb300, eng=<optimized out>, fullpath="/home/fordfrog/Hudba/Untitled-2024-10-29-16-01-42", snapshot_name=<optimized out>, bus_profile=0x7fffffffb95c, mix_template="", unnamed=<optimized out>, sr=0) at ../libs/ardour/session.cc:398 #15 0x0000555555a86b5c in ARDOUR_UI::build_session_stage_two (this=<optimized out>, path="/home/fordfrog/Hudba/Untitled-2024-10-29-16-01-42", snap_name=<optimized out>, session_template=<optimized out>, bus_profile=<optimized out>, unnamed=<optimized out>, domain=<optimized out>, samplerate=<optimized out>) at ../gtk2_ardour/ardour_ui_session.cc:716 0000016 0x0000555555a818b4 in ARDOUR_UI::build_session (this=0x5555573ee080, path="/home/fordfrog/Hudba/Untitled-2024-10-29-16-01-42", snap_name="Untitled-2024-10-29-16-01-42", session_template="", bus_profile=..., from_startup_fsm=true, unnamed=<optimized out>, domain=<optimized out>) at ../gtk2_ardour/ardour_ui_session.cc:663 #17 0x0000555555a979eb in ARDOUR_UI::load_session_from_startup_fsm (this=0x5555573ee080) at ../gtk2_ardour/ardour_ui_startup.cc:696 0000018 0x0000555555a96e8c in ARDOUR_UI::sfsm_response (this=0x5555573ee080, r=1747) at ../gtk2_ardour/ardour_ui_startup.cc:555 0000019 0x00005555564b4de6 in sigc::internal::signal_emit1<void, StartupFSM::Result, sigc::nil>::emit (impl=<optimized out>, _A_a1=@0x7fffffffbd28: StartupFSM::LoadSession) at /usr/include/sigc++-2.0/sigc++/signal.h:1041 0000020 0x00005555564af5db in sigc::signal1<void, StartupFSM::Result, sigc::nil>::emit (this=<optimized out>, _A_a1=<optimized out>) at /usr/include/sigc++-2.0/sigc++/signal.h:2951 0000021 sigc::signal1<void, StartupFSM::Result, sigc::nil>::operator() (this=<optimized out>, _A_a1=<optimized out>) at /usr/include/sigc++-2.0/sigc++/signal.h:2967 0000022 0x00005555564af5db in StartupFSM::dialog_response_handler () 0000023 0x00007ffff5a92a2b in ??? () at /usr/lib64/libgtkmm-2.4.so.1 #24 0x00007ffff621b857 in g_closure_invoke () at /usr/lib64/libgobject-2.0.so.0 0000025 0x00007ffff6234d78 in ??? () at /usr/lib64/libgobject-2.0.so.0 0000026 0x00007ffff6233635 in ??? () at /usr/lib64/libgobject-2.0.so.0 0000027 0x00007ffff6233d50 in g_signal_emit () at /usr/lib64/libgobject-2.0.so.0 0000028 0x00005555564aeea8 in StartupFSM::engine_running (this=<optimized out>) at ../gtk2_ardour/startup_fsm.cc:567 0000029 0x00005555564aeea8 in StartupFSM::start_audio_midi_setup () 0000030 0x00007ffff5a92a2b in ??? () at /usr/lib64/libgtkmm-2.4.so.1 0000031 0x00007ffff621b857 in g_closure_invoke () at /usr/lib64/libgobject-2.0.so.0 0000032 0x00007ffff6234d78 in ??? () at /usr/lib64/libgobject-2.0.so.0 0000033 0x00007ffff6233635 in ??? () at /usr/lib64/libgobject-2.0.so.0 0000034 0x00007ffff6233d50 in g_signal_emit () at /usr/lib64/libgobject-2.0.so.0 0000035 0x00005555563eed9b in SessionDialog::open_button_pressed (this=0x5555582d5d40, ev=<optimized out>) at ../gtk2_ardour/session_dialog.cc:560 0000036 0x00007ffff5b2301e in ??? () at /usr/lib64/libgtkmm-2.4.so.1 0000037 0x00007ffff533787a in ??? () at /usr/lib64/libgtk-x11-2.0.so.0 0000038 0x00007ffff621b857 in g_closure_invoke () at /usr/lib64/libgobject-2.0.so.0 0000039 0x00007ffff6234a59 in ??? () at /usr/lib64/libgobject-2.0.so.0 0000040 0x00007ffff623369e in ??? () at /usr/lib64/libgobject-2.0.so.0 0000041 0x00007ffff6233d50 in g_signal_emit () at /usr/lib64/libgobject-2.0.so.0 0000042 0x00007ffff545a58c in ??? () at /usr/lib64/libgtk-x11-2.0.so.0 0000043 0x00007ffff5335f6c in gtk_propagate_event () at /usr/lib64/libgtk-x11-2.0.so.0 0000044 0x00007ffff53362db in gtk_main_do_event () at /usr/lib64/libgtk-x11-2.0.so.0 0000045 0x00007ffff56f6340 in ??? () at /usr/lib64/libgdk-x11-2.0.so.0 0000046 0x00007ffff656fe9d in ??? () at /usr/lib64/libglib-2.0.so.0 0000047 0x00007ffff657024e in ??? () at /usr/lib64/libglib-2.0.so.0 0000048 0x00007ffff6570569 in g_main_loop_run () at /usr/lib64/libglib-2.0.so.0 0000049 0x00007ffff533518f in gtk_main () at /usr/lib64/libgtk-x11-2.0.so.0 0000050 0x00007ffff680a313 in Gtkmm2ext::UI::run (this=0x5555573ee080, old_receiver=<optimized out>) at ../libs/gtkmm2ext/gtk_ui.cc:305 0000051 0x0000555555f503e1 in main (argc=1, argv=0x7fffffffd098) at ../gtk2_ardour/main.cc:471 i can provide more info if needed. currently i compiled only ardour with debug enabled. | ||||
Additional Information | this is a gentoo linux amd64 system with pipewire-1.2.6. current workaround is not to use clang for compilation. | ||||
Tags | No tags attached. | ||||
Date Modified | Username | Field | Change |
---|---|---|---|
2024-10-29 15:17 | fordfrog | New Issue |