segfault when looking for preset online

Found a bug ? Report here

segfault when looking for preset online

Postby rugubara » Sun Jan 07, 2018 6:18 pm

I have guitarix-0.36-1 installed (built from source). When I press Online button, guitarix crashes (segfault).

I tried to collect a backtrace

[New Thread 0x7fffcf3d3700 (LWP 21519)]
Cannot connect to server socket err = Нет такого файла или каталога
Cannot connect to server request channel
jack server is not running or cannot be started
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
[Thread 0x7fffcf3d3700 (LWP 21519) exited]
[Thread 0x7fffd057b700 (LWP 21511) exited]

Thread 1 "guitarix" received signal SIGSEGV, Segmentation fault.
0x00007ffff31b1f1c in sigc::slot_base::slot_base(sigc::slot_base const&) () from /usr/lib64/libsigc-2.0.so.0
(gdb) bt
#0 0x00007ffff31b1f1c in sigc::slot_base::slot_base(sigc::slot_base const&) () from /usr/lib64/libsigc-2.0.so.0
#1 0x00007ffff3b8ee7d in Gio::File::copy(Glib::RefPtr<Gio::File> const&, sigc::slot<void, long, long, sigc::nil, sigc::nil, sigc::nil, sigc::nil, sigc::nil> const&, Glib::RefPtr<Gio::Cancellable> const&, Gio::FileCopyFlags) ()
from /usr/lib64/libgiomm-2.4.so.1
#2 0x000055555583770c in PresetWindow::download_file(Glib::ustring, Glib::ustring) ()
#3 0x0000555555845470 in PresetWindow::show_online_preset() ()
#4 0x00007ffff3634ca0 in ?? () from /usr/lib64/libglibmm-2.4.so.1
#5 0x00007ffff6d116b5 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#6 0x00007ffff6d11a78 in ?? () from /usr/lib64/libglib-2.0.so.0
#7 0x00007ffff6d11d92 in g_main_loop_run () from /usr/lib64/libglib-2.0.so.0
#8 0x00007ffff65b5537 in gtk_main () from /usr/lib64/libgtk-x11-2.0.so.0
#9 0x0000555555801167 in MainWindow::run() ()
#10 0x000055555587f989 in mainGtk(int, char**) ()
#11 0x00005555556ca357 in main ()
(gdb)

It always happens when I press Online button in Preset Selection
User avatar
rugubara
 
Posts: 4
Joined: Tue Dec 19, 2017 2:10 pm

Re: segfault when looking for preset online

Postby brummer10 » Sun Jan 07, 2018 8:10 pm

https://slackbuilds.org/slackbuilds/14. ... DME.online
Hi
Check out this readme from slackware.
User avatar
brummer10
Site Admin
 
Posts: 802
Joined: Thu Mar 26, 2009 6:57 pm

Re: segfault when looking for preset online

Postby rugubara » Tue Jan 09, 2018 7:17 am

Thank you for the hint.

I checked both conditions: the site https://musical-artifacts.com/ is up and accessible from my rig,
DBus is configured properly
anton@home64 ~ $ echo $DBUS_SESSION_BUS_ADDRESS
unix:abstract=/tmp/dbus-QqH0plIFhG,guid=5861b6e8750906bc52b2708f5a546b92

guitarix still segfaults
User avatar
rugubara
 
Posts: 4
Joined: Tue Dec 19, 2017 2:10 pm

Re: segfault when looking for preset online

Postby brummer10 » Mon Jan 15, 2018 12:00 pm

Are you on Gentoo?

Well, I've no real idea what could cause this, maybe a build flag in GIO is missing, so that you cant access files by uris?
User avatar
brummer10
Site Admin
 
Posts: 802
Joined: Thu Mar 26, 2009 6:57 pm

Re: segfault when looking for preset online

Postby brummer10 » Tue Jan 30, 2018 4:08 am

Okay, I've checked it a bit deeper, and this one:
rugubara wrote:Thread 1 "guitarix" received signal SIGSEGV, Segmentation fault.
0x00007ffff31b1f1c in sigc::slot_base::slot_base(sigc::slot_base const&) () from /usr/lib64/libsigc-2.0.so.0

looks like it crash in the SlotFileProgress of the copy operation.
Even if I cant reproduce the crash here, I've changed it a bit, maybe it works now for you?
Check out the latest git.
User avatar
brummer10
Site Admin
 
Posts: 802
Joined: Thu Mar 26, 2009 6:57 pm


Return to Bug reports

Who is online

Users browsing this forum: No registered users and 1 guest