Opened 13 years ago

Closed 13 years ago

#252 closed Bug Report (fixed)

Patchage crashes on File -> Save Layout

Reported by: t_w_@… Owned by:
Priority: major Component: Patchage
Keywords: Cc: t_w_@…

Description

Just start patchage and do File menu -> Save Layout as Default. Patchage disappears.

$ patchage Loading configuration file /home/thorwil/.patchagerc Unable to find port to connect patchage: /usr/include/boost/optional/optional.hpp:577: typename boost::optional_detail::optional_base<T>::reference_const_type boost::optional<T>::get() const [with T = Coord]: Assertion `this->is_initialized()' failed. Aborted

Change History (3)

comment:1 Changed 13 years ago by David Robillard

Resolution: invalid
Status: newclosed

Unable to reproduce. Delete your ~/.patchagerc and reopen ticket with a backtrace if issue persists.

comment:2 Changed 13 years ago by t_w_@…

Resolution: invalid
Status: closedreopened

Happens with lad rev 1876. ~/.patchage.rc deleted

Core was generated by `patchage'.
Program terminated with signal 6, Aborted.
[New process 11623]
[New process 11628]
[New process 11627]
[New process 11624]
#0  0xb7f17410 in __kernel_vsyscall ()
(gdb) thread apply all bt

Thread 4 (process 11624):
#0  0xb7f17410 in __kernel_vsyscall ()
#1  0xb7172aa5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb718a496 in mb_thread_func (arg=0x0) at messagebuffer.c:70
#3  0xb716e4fb in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#4  0xb6f0ce5e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 3 (process 11627):
#0  0xb7f17410 in __kernel_vsyscall ()
#1  0xb6f02c07 in poll () from /lib/tls/i686/cmov/libc.so.6
#2  0xb718852e in jack_client_core_wait (client=0x82f6000) at client.c:1444
#3  0xb718887f in jack_thread_wait (client=0x82f6000, status=0) at client.c:1616
#4  0xb7188b04 in jack_client_thread_aux (arg=0x82f6000) at client.c:1739
#5  0xb7188bea in jack_client_thread (arg=0x82f6000) at client.c:1767
#6  0xb718d8e2 in jack_thread_proxy (varg=0x8292e28) at thread.c:110
#7  0xb716e4fb in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#8  0xb6f0ce5e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 2 (process 11628):
#0  0xb7f17410 in __kernel_vsyscall ()
#1  0xb6f02c07 in poll () from /lib/tls/i686/cmov/libc.so.6
#2  0x080a3b5f in AlsaDriver::_refresh_main (this=0x82a8bc8) at ../patchage/src/AlsaDriver.cpp:515
#3  0x080a3d89 in AlsaDriver::refresh_main (me=0x82a8bc8) at ../patchage/src/AlsaDriver.cpp:491
#4  0xb716e4fb in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#5  0xb6f0ce5e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 1 (process 11623):
#0  0xb7f17410 in __kernel_vsyscall ()
#1  0xb6e61085 in raise () from /lib/tls/i686/cmov/libc.so.6
#2  0xb6e62a01 in abort () from /lib/tls/i686/cmov/libc.so.6
#3  0xb6e5a10e in __assert_fail () from /lib/tls/i686/cmov/libc.so.6
#4  0x0807d21a in boost::optional<Coord>::get (this=0x82a8b74) at /usr/include/boost/optional/optional.hpp:577
#5  0x0807d249 in boost::optional<Coord>::operator* (this=0x82a8b74) at /usr/include/boost/optional/optional.hpp:593
#6  0x0807b3c8 in StateManager::save (this=0x826c960, filename=@0xbff3362c) at ../patchage/src/StateManager.cpp:236
#7  0x0806502b in Patchage::on_store_positions (this=0xbff335fc) at ../patchage/src/Patchage.cpp:653
#8  0x080706d7 in sigc::bound_mem_functor0<void, Patchage>::operator() (this=0x81466b4)
    at /usr/include/sigc++-2.0/sigc++/functors/mem_fun.h:1787
---Type <return> to continue, or q <return> to quit---
#9  0x080706fe in sigc::adaptor_functor<sigc::bound_mem_functor0<void, Patchage> >::operator() (this=0x81466b0)
    at /usr/include/sigc++-2.0/sigc++/adaptors/adaptor_trait.h:251
#10 0x0807072a in sigc::internal::slot_call0<sigc::bound_mem_functor0<void, Patchage>, void>::call_it (rep=0x8146698)
    at /usr/include/sigc++-2.0/sigc++/functors/slot.h:103
#11 0xb7e65985 in Glib::SignalProxyNormal::slot0_void_callback () from /usr/lib/libglibmm-2.4.so.1
#12 0xb7e07aef in g_cclosure_marshal_VOID__VOID () from /usr/lib/libgobject-2.0.so.0
#13 0xb7dfa749 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#14 0xb7e0f319 in ?? () from /usr/lib/libgobject-2.0.so.0
#15 0xb7e10c0f in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#16 0xb7e10f59 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#17 0xb77eb278 in gtk_widget_activate () from /usr/lib/libgtk-x11-2.0.so.0
#18 0xb76d4bc2 in gtk_menu_shell_activate_item () from /usr/lib/libgtk-x11-2.0.so.0
#19 0xb76d6708 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#20 0xb76cd914 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#21 0xb7bbabab in Gtk::Widget_Class::button_release_event_callback () from /usr/lib/libgtkmm-2.4.so.1
#22 0xb76c78d4 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#23 0xb7df9069 in ?? () from /usr/lib/libgobject-2.0.so.0
#24 0xb7dfa749 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#25 0xb7e0f10a in ?? () from /usr/lib/libgobject-2.0.so.0
#26 0xb7e10937 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#27 0xb7e10f59 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#28 0xb77e6667 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#29 0xb76c0b21 in gtk_propagate_event () from /usr/lib/libgtk-x11-2.0.so.0
#30 0xb76c1d88 in gtk_main_do_event () from /usr/lib/libgtk-x11-2.0.so.0
#31 0xb74f1a9a in ?? () from /usr/lib/libgdk-x11-2.0.so.0
#32 0xb7d70cc6 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#33 0xb7d74083 in ?? () from /usr/lib/libglib-2.0.so.0
#34 0xb7d74467 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#35 0xb76c2264 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#36 0xb7b3b307 in Gtk::Main::run_impl () from /usr/lib/libgtkmm-2.4.so.1
#37 0xb7b3c16a in Gtk::Main::run () from /usr/lib/libgtkmm-2.4.so.1
#38 0x0807e302 in main (argc=1, argv=0xbff33764) at ../patchage/src/main.cpp:34
(gdb)

comment:3 Changed 13 years ago by David Robillard

Resolution: fixed
Status: reopenedclosed

Fixed in r1878.

Note: See TracTickets for help on using tickets.