Closed SolarHoodie closed 8 years ago
I assume this occurred while you were editing the booru sites in the preferences window?
It occurs anytime I try to start the program at all, actually.
I had coredumps too but fetching new source code and compiling ahoviewer again solved the problem.
I tried that twice and it did nothing.
Did you by chance delete all the booru sites from the settings?
I'll commit a fix for this soon, in the mean time to get the program to work you could try deleting the config file ~/.config/ahoviewer/ahoviewer.cfg
.
No I did not delete all the booru sites. I had put in my login for gelbooru though. Also, deleting ahoviewer.cfg did fix it.
9b64c2d should prevent this from happening in the future.
Running on Arch Linux Here's the output gdb gives me:
Program received signal SIGSEGV, Segmentation fault. AhoViewer::Booru::Browser::get_active_site (this=) at booru/browser.h:67
67 { return Settings.get_sites()[m_ComboBox->get_active_row_number()]; }
(gdb) bt
0 AhoViewer::Booru::Browser::get_active_site (this=) at booru/browser.h:67
1 AhoViewer::Booru::Browser::<lambda()>::operator() (__closure=0x89bd40) at booru/browser.cc:90
2 sigc::adaptor_functorAhoViewer::Booru::Browser::update_combobox_model()::<lambda() >::operator() (this=0x89bd40)
3 sigc::internal::slot_call0AhoViewer::Booru::Browser::update_combobox_model()::<lambda(), void>::call_it(sigc::internal::slot_rep *) (rep=0x89bd10) at /usr/include/sigc++-2.0/sigc++/functors/slot.h:108
4 0x00007ffff64c98c8 in Glib::SignalProxyNormal::slot0_void_callback(GObject, void_) ()
from /usr/lib/libglibmm-2.4.so.1
5 0x00007ffff49e1015 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
6 0x00007ffff49f3304 in ?? () from /usr/lib/libgobject-2.0.so.0
7 0x00007ffff49fbdfc in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
8 0x00007ffff49fc12f in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
9 0x00007ffff6fc65bb in ?? () from /usr/lib/libgtk-x11-2.0.so.0
10 0x00007ffff6fc8b00 in gtk_combo_box_set_active () from /usr/lib/libgtk-x11-2.0.so.0
11 0x0000000000423a1c in AhoViewer::Booru::Browser::update_combobox_model (this=this@entry=0x8822f0)
12 0x0000000000425894 in AhoViewer::Booru::Browser::Browser (this=0x8822f0, cobj=, bldr=...,
13 0x0000000000468c13 in Gtk::Builder::get_widget_derivedAhoViewer::Booru::Browser (widget=@0x870e50: 0x0, name=...,
14 AhoViewer::MainWindow::MainWindow (this=0x870de0, cobj=, bldr=..., __in_chrg=,
15 0x0000000000456820 in Gtk::Builder::get_widget_derivedAhoViewer::MainWindow (this=, name=...,
16 0x000000000041bb08 in main (argc=1, argv=0x7fffffffe928) at main.cc:41