|
From: Kolja K. <ko...@fr...> - 2021-11-14 19:55:24
|
> You need to compile libgig and gigedit with debugging symbols turned on for > the backtrace to contain the required information like function name, source > file line number, function arguments passed, etc.: > > https://bugs.linuxsampler.org/ > > If you are installing libgig by some distro/package script then also make sure > it does not 'strip' the binaries, otherwise it renders the backtrace output > useless again. > I (thought I) did that, but only with debug-symbols for gigedit. Now I did the following: - Uninstalled libgig, gigedit, linuxsampler - reinstalled them using the svn-versions from Archlinux AUR: - added 'options=(debug !strip)' to all of them, as of https://wiki.archlinux.org/title/Debugging - libgig: https://aur.archlinux.org/packages/libgig-svn/ - linuxsampler: https://aur.archlinux.org/packages/linuxsampler-svn/ - removed dependencies for Steinberg's VST-SDK (link to http://www.steinberg.net/sdk_downloads/vstsdk366_27_06_2016_build_61.zip seems to be dead, I don't use that anyway) - gigedit: https://aur.archlinux.org/packages/gigedit-svn/ - applied the already mentioned patches Ran gigedit using gdb, loaded one sample, assigned it to one region and saved the gig. It crashed. I then saved the attached 'gigedit_trace_all_debug_on_2021_11_14.log' Looks quite like the other one to me... Next, I recompiled gigedit manually with CXXFLAGS="-O0 -g3" ./configure && make and ran libtool --mode=execute gdb --arg src/gigedit/gigedit After the crash, I typed bt and got: #0 0x00007ffff631c200 in g_log_structured_array () at /usr/lib/libglib-2.0.so.0 #1 0x00007ffff631c4c6 in g_log_default_handler () at /usr/lib/libglib-2.0.so.0 #2 0x00007ffff631d8fd in g_logv () at /usr/lib/libglib-2.0.so.0 #3 0x00007ffff631dc00 in g_log () at /usr/lib/libglib-2.0.so.0 #4 0x00007ffff720ba4a in () at /usr/lib/libglibmm-2.4.so.1 #5 0x00007ffff720bce8 in () at /usr/lib/libglibmm-2.4.so.1 #6 0x00007ffff722655c in Glib::IOSource::dispatch(sigc::slot_base*) () at /usr/lib/libglibmm-2.4.so.1 #7 0x00007ffff721f7d7 in Glib::Source::dispatch_vfunc(_GSource*, int (*)(void*), void*) () at /usr/lib/libglibmm-2.4.so.1 #8 0x00007ffff63153e5 in g_main_context_dispatch () at /usr/lib/libglib-2.0.so.0 #9 0x00007ffff6369799 in () at /usr/lib/libglib-2.0.so.0 #10 0x00007ffff6314a63 in g_main_loop_run () at /usr/lib/libglib-2.0.so.0 #11 0x00007ffff6bcd88f in gtk_main () at /usr/lib/libgtk-3.so.0 #12 0x00007ffff7e527ee in GigEdit::run(int, char**) (this=this@entry=0x7fffffffe330, argc=<optimized out>, argc@entry=1, argv=<optimized out>, argv@entry=0x7fffffffe538) at gigedit.cpp:416 #13 0x0000555555555084 in main(int, char**) (argc=1, argv=0x7fffffffe538) at main.cpp:53 Cheers, Kolja |