Bug #6754 Right Mouse Click Causes Crash
Submitted: 22 Nov 2004 19:14 Modified: 24 Nov 2004 5:00
Reporter: Jason Phillips Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Query Browser Severity:S2 (Serious)
Version:1.1.1-gamma OS:Linux (RedHat Linux 2.4.20-31.9)
Assigned to: CPU Architecture:Any

[22 Nov 2004 19:14] Jason Phillips
Description:
Right clicking in the schemata tab without selecting a schemata causes a segmentation fault.

How to repeat:
1.  Open Mysql Query Browser.
2.  DO NOT select a database in the schemata tab.
3.  BELOW the schemata listing perform a right mouse click (with no schemata selected).  Make sure that your mouse pointer is not over a schemata listing when clicking.
4.  Application dies and produces the following error:
(mysql-query-browser:3210): Gtk-CRITICAL **: file gtktreestore.c: line 635 (gtk_tree_store_get_value): assertion `iter->stamp == GTK_TREE_STORE (tree_model)->stamp' failed
/usr/local/src/mysql-query-browser/bin/mysql-query-browser: line 9:  3210 Segmentation fault      $MYPATH/mysql-query-browser-bin

Suggested fix:
If no schemata is selected, present user with a different yet applicable pop-up window.
[24 Nov 2004 5:00] 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