Bug #7949 Segmentation fault after DELETE FROM `table`
Submitted: 17 Jan 2005 2:43 Modified: 1 Mar 2005 23:54
Reporter: [ name withheld ] Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Query Browser Severity:S3 (Non-critical)
Version:1.0.15 OS:Linux (Debian/Linux)
Assigned to: Alfredo Kojima CPU Architecture:Any

[17 Jan 2005 2:43] [ name withheld ]
Description:
PAtrial backtrace,

(gdb) bt
#0  0xb6fedc80 in g_quark_to_string () from /usr/lib/libglib-2.0.so.0
#1  0xb6fecb00 in g_datalist_id_set_data_full () from /usr/lib/libglib-2.0.so.0
#2  0xb706d2c9 in g_object_interface_list_properties () from /usr/lib/libgobject-2.0.so.0
#3  0xb706d3bb in g_object_interface_list_properties () from /usr/lib/libgobject-2.0.so.0
#4  0xb7324be8 in gtk_label_get () from /usr/lib/libgtk-x11-2.0.so.0
#5  0xb7323bb7 in gtk_label_get_mnemonic_keyval () from /usr/lib/libgtk-x11-2.0.so.0
#6  0xb7323cd0 in gtk_label_set_text () from /usr/lib/libgtk-x11-2.0.so.0
#7  0xb76924fa in Gtk::Label::set_text () from /usr/lib/libgtkmm-2.0.so.1
#8  0x080bd4fd in MQResultSetView::execute_query (this=0x8604ff8, query=@0xbfffe6f0) at MQResultSetView.cc:519
#9  0x080e2518 in MQWorkArea::execute_clicked (this=0x84399b8, refresh=false) at MQWorkArea.cc:2702
#10 0x080ebad6 in SigC::ObjectSlot1_<void, bool, MQWorkArea>::proxy (p1=@0xb7057560, s=0x0) at object_slot.h:100
#11 0x080b5319 in SigC::AdaptorBindSlot0_1_<void, bool>::proxy (data=0xb7057560) at bind.h:153
#12 0xb71e20e5 in Glib::SignalProxyNormal::slot0_void_callback () from /usr/lib/libglibmm-2.0.so.1
#13 0xb707f121 in g_cclosure_marshal_VOID__VOID () from /usr/lib/libgobject-2.0.so.0
#14 0xb706ac20 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#15 0xb707eaa8 in g_signal_emit_by_name () from /usr/lib/libgobject-2.0.so.0
#16 0xb707dbe7 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#17 0xb707dee4 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#18 0xb7437f89 in gtk_widget_can_activate_accel () from /usr/lib/libgtk-x11-2.0.so.0
#19 0xb706ac20 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#20 0xb707ec28 in g_signal_emit_by_name () from /usr/lib/libgobject-2.0.so.0
#21 0xb707d9be in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#22 0xb707dee4 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#23 0xb726a47e in gtk_accel_group_activate () from /usr/lib/libgtk-x11-2.0.so.0
#24 0xb726a5c3 in gtk_accel_groups_activate () from /usr/lib/libgtk-x11-2.0.so.0
#25 0xb744ab8f in gtk_window_activate_key () from /usr/lib/libgtk-x11-2.0.so.0
#26 0xb744707c in gtk_window_propagate_key_event () from /usr/lib/libgtk-x11-2.0.so.0

How to repeat:
1. Open a connection to a database
2. DELETE FROM `enter favourite table here`
3. repeat #2. segfault.

Note: sometimes you may have to do #3 more than once. :)
[1 Mar 2005 23:54] Alfredo Kojima
Thank you for your bug report. This issue has been committed to our
source repository of that product and will be incorporated into the
next release.

If necessary, you can access the source repository and build the latest
available version, including the bugfix, yourself. More information 
about accessing the source trees is available at
    http://www.mysql.com/doc/en/Installing_source_tree.html