Description:
When I try to edit a connection i get a segmentation fault.
I have checked that the mysqlserver is running and I can connect to it with mysql (the client)
Using following steps to reproduce the bug
start mysqlcc
alt+a for action
e for edit -> segmentation fault
I have tried it under gdb and below is a backtrace.
I hope this can help
/Klaus
[kfo@Shiraz scripts]$ gdb /usr/local/mysqlcc/mysqlcc
GNU gdb Red Hat Linux (5.2-2)
Copyright 2002 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"...
(gdb) r
Starting program: /usr/local/mysqlcc-0.9.3-linux-glibc22/mysqlcc
[New Thread 1024 (LWP 8457)]
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1024 (LWP 8457)]
0x083b739a in QTextCodec::fromUnicode(QString const&) const ()
(gdb) bt
#0 0x083b739a in QTextCodec::fromUnicode(QString const&) const ()
#1 0x0812844c in CMySQL::emitError() ()
#2 0x081281fd in CMySQL::connect() ()
#3 0x080a4a71 in CMySQLServer::connect() ()
#4 0x080cb6b4 in CRegisterServerDialog::initConnectionDialog(CMessagePanel*) ()
#5 0x080cb120 in CRegisterServerDialog::CRegisterServerDialog(QString const&, CMessagePanel*, QWidget*) ()
#6 0x080cef7e in CServerItem::processMenu(int) ()
#7 0x08091acf in CDatabaseListView::processCurrentItemMenu(int) ()
#8 0x0812ffe8 in CDatabaseListView::qt_invoke(int, QUObject*) ()
#9 0x081e5de9 in QObject::activate_signal(QConnectionList*, QUObject*) ()
#10 0x081e5e94 in QObject::activate_signal(int, int) ()
#11 0x083e82ae in QPopupMenu::activated(int) ()
#12 0x08298822 in QPopupMenu::actSig(int, bool) ()
#13 0x0829d685 in QPopupMenu::keyPressEvent(QKeyEvent*) ()
#14 0x081fe0a1 in QWidget::event(QEvent*) ()
#15 0x0819ff0b in QApplication::internalNotify(QObject*, QEvent*) ()
#16 0x0819fb28 in QApplication::notify(QObject*, QEvent*) ()
#17 0x0815913b in QETWidget::translateKeyEvent(_XEvent const*, bool) ()
#18 0x081557ee in QApplication::x11ProcessEvent(_XEvent*) ()
#19 0x083f515f in QEventLoop::processEvents(unsigned) ()
#20 0x081ac753 in QEventLoop::enterLoop() ()
#21 0x081ac620 in QEventLoop::exec() ()
#22 0x081a00b7 in QApplication::exec() ()
#23 0x080e0b6e in mysqlcc_main(int, char**) ()
#24 0x080e22bf in main ()
#25 0x42017589 in __libc_start_main () from /lib/i686/libc.so.6
(gdb)
How to repeat:
start mysqlcc
alt+a for action
e for edit -> segmentation fault
Suggested fix:
??