Bug #1122 Crashes whenever a table is selected from an open DB
Submitted: 22 Aug 2003 22:37 Modified: 24 Aug 2003 13:12
Reporter: Justin Matlock Email Updates:
Status: Closed Impact on me:
None 
Category:MySQLCC Severity:S1 (Critical)
Version:0.9.2 OS:Linux (Linux 2.4.20/Redhat 9/i386)
Assigned to: CPU Architecture:Any

[22 Aug 2003 22:37] Justin Matlock
Description:
Using the tree view on the left of the screen, dropping down from the database server, I double click on an individual database to get a list of tables.  The first click, I get the status update in the right pane -- on the second click, it crashes with a Segmentation Fault.  Repeatable, even after reboot.

How to repeat:
See description; more info:

backtrace from GDB:

GNU gdb Red Hat Linux (5.3post-0.20021129.18rh)
Copyright 2003 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-redhat-linux-gnu"...
(gdb) run
Starting program: /usr/local/mysqlcc/mysqlcc
[New Thread 1075111072 (LWP 20378)]
[New Thread 1088351536 (LWP 20380)]
[Thread 1088351536 (LWP 20380) exited]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1075111072 (LWP 20378)]
0x082925e4 in QListView::itemAt(QPoint const&) const ()
(gdb) backtrace
#0  0x082925e4 in QListView::itemAt(QPoint const&) const ()
#1  0x082902d1 in QListView::contentsMouseReleaseEventEx(QMouseEvent*) ()
#2  0x082b6291 in QScrollView::viewportMouseReleaseEvent(QMouseEvent*) ()
#3  0x082b5cac in QScrollView::eventFilter(QObject*, QEvent*) ()
#4  0x0828f07a in QListView::eventFilter(QObject*, QEvent*) ()
#5  0x081f13ab in QObject::activate_filters(QEvent*) ()
#6  0x081f130e in QObject::event(QEvent*) ()
#7  0x0820b8b2 in QWidget::event(QEvent*) ()
#8  0x081ad663 in QApplication::internalNotify(QObject*, QEvent*) ()
#9  0x081acf52 in QApplication::notify(QObject*, QEvent*) ()
#10 0x08163567 in QETWidget::translateMouseEvent(_XEvent const*) ()
#11 0x08161293 in QApplication::x11ProcessEvent(_XEvent*) ()
#12 0x0840537f in QEventLoop::processEvents(unsigned) ()
#13 0x081b9928 in QEventLoop::processEvents(unsigned, int) ()
#14 0x081ad771 in QApplication::processEvents(int) ()
#15 0x081ad753 in QApplication::processEvents() ()
#16 0x0812ffbd in CMySQLQuery::next(bool) ()
#17 0x080d9b82 in CTableGroupItem::refreshWidget(bool) ()
#18 0x080d7aee in CTableGroupItem::CTableGroupItem(CDatabaseListViewItem*, QString const&, CMySQLServer*) ()
#19 0x0809506a in CDatabaseItem::setConnected(bool) ()
#20 0x08094fbf in CDatabaseItem::doubleClicked() ()
#21 0x080968c3 in CDatabaseListView::DoubleClicked(QListViewItem*) ()
#22 0x0813b548 in CDatabaseListView::qt_invoke(int, QUObject*) ()
#23 0x081f3101 in QObject::activate_signal(QConnectionList*, QUObject*) ()
#24 0x083f635c in QListView::doubleClicked(QListViewItem*) ()
#25 0x082909cc in QListView::contentsMouseDoubleClickEvent(QMouseEvent*) ()
#26 0x082b634d in QScrollView::viewportMouseDoubleClickEvent(QMouseEvent*) ()
#27 0x082b5cbb in QScrollView::eventFilter(QObject*, QEvent*) ()
#28 0x0828f07a in QListView::eventFilter(QObject*, QEvent*) ()
#29 0x081f13ab in QObject::activate_filters(QEvent*) ()
#30 0x081f130e in QObject::event(QEvent*) ()
#31 0x0820b8b2 in QWidget::event(QEvent*) ()
#32 0x081ad663 in QApplication::internalNotify(QObject*, QEvent*) ()
#33 0x081acf52 in QApplication::notify(QObject*, QEvent*) ()
#34 0x08163567 in QETWidget::translateMouseEvent(_XEvent const*) ()
#35 0x08161293 in QApplication::x11ProcessEvent(_XEvent*) ()
#36 0x0840537f in QEventLoop::processEvents(unsigned) ()
#37 0x081b98a7 in QEventLoop::enterLoop() ()
#38 0x081b9774 in QEventLoop::exec() ()
#39 0x081ad80f in QApplication::exec() ()
#40 0x080e981c in mysqlcc_main(int, char**) ()
#41 0x080eae77 in main ()
#42 0x420156a4 in __libc_start_main () from /lib/tls/libc.so.6
(gdb) quit

.... and system libraries/installed RPM's (to show versions).. all up2date'd ...

glib2-devel-2.2.2-0.ximian.6.1
glibc-common-2.3.2-27.9
glibc-devel-2.3.2-27.9
glibc-kernheaders-2.4-8.10
glib2-2.2.2-0.ximian.6.1
glib-devel-1.2.10-10.ximian.6.14
glibc-2.3.2-27.9
glib-1.2.10-10.ximian.6.14
MySQL-devel-4.0.14-0
MySQL-client-4.0.14-0
MySQL-shared-compat-4.0.14-0

Running KDE 3.1.3
[24 Aug 2003 13:12] Jorge del Conde
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