Ticket #63 (closed defect: fixed)

Opened 8 years ago

Last modified 4 years ago

Bug: Segmentation fault when changing tabs without a session

Reported by: phil Owned by: armin
Priority: normal Milestone: Gobby 0.2.0
Component: Gobby Version:
Severity: critical Keywords: bug confirmed
Cc: Launchpad Bug:

Description

Gobby will crash with a segmentation fault when you try to change tabs left from previous sessions and lack a connection.

Change History

Changed 8 years ago by phil

  • keywords confirmed added

The last 15 steps on the call stack:

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1223462240 (LWP 16672)]
0xb75ba1f9 in obby::local_document_info::get_buffer (this=0x8325e40)
    at local_document_info.cpp:36
36              return dynamic_cast<const obby::local_buffer&>(m_buffer);
(gdb) bt
#0  0xb75ba1f9 in obby::local_document_info::get_buffer (this=0x8325e40)
    at local_document_info.cpp:36
#1  0x080b1cd7 in Gobby::Folder::on_switch_page (this=0xbffff50c,
    page=0x817d878, page_num=0) at src/folder.cpp:337
#2  0xb7e9be5c in Gtk::Notebook_Class::switch_page_callback ()
   from /usr/lib/libgtkmm-2.4.so.1
#3  0xb7a44075 in _gtk_marshal_VOID__POINTER_UINT ()
   from /usr/lib/libgtk-x11-2.0.so.0
#4  0xb767a5bf in g_cclosure_new_swap () from /usr/lib/libgobject-2.0.so.0
#5  0xb767a351 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#6  0xb768a270 in g_signal_emit_by_name () from /usr/lib/libgobject-2.0.so.0
#7  0xb76898f1 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#8  0xb7689b75 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#9  0xb7a5a339 in gtk_notebook_new () from /usr/lib/libgtk-x11-2.0.so.0
#10 0xb7a5a520 in gtk_notebook_new () from /usr/lib/libgtk-x11-2.0.so.0
#11 0xb7a57068 in gtk_notebook_new () from /usr/lib/libgtk-x11-2.0.so.0
#12 0xb7f039a9 in Gtk::Widget::on_button_press_event ()
   from /usr/lib/libgtkmm-2.4.so.1
#13 0xb7efb972 in Gtk::Widget_Class::button_press_event_callback ()
   from /usr/lib/libgtkmm-2.4.so.1
#14 0xb7a41bca in _gtk_marshal_BOOLEAN__BOXED ()
   from /usr/lib/libgtk-x11-2.0.so.0
#15 0xb767a5bf in g_cclosure_new_swap () from /usr/lib/libgobject-2.0.so.0

Changed 8 years ago by libobby

  • status changed from new to closed
  • resolution set to fixed

(In [286]) /gobby: changeset Queried the cached subscribe value instead of requesting it from obby::document_info [fixes #63] Original author: Armin Burgmeier <armin@…> Date: 2005-07-27 18:01:13

Note: See TracTickets for help on using tickets.