Date: Fri, 6 Mar 2009 05:09:11 GMT From: Henry Hu <henry.hu.sh@gmail.com> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/132352: [patch]mysql-query-browser hangs when picking scheme Message-ID: <200903060509.n2659BCX019513@www.freebsd.org> Resent-Message-ID: <200903060510.n265A1pD082832@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 132352 >Category: ports >Synopsis: [patch]mysql-query-browser hangs when picking scheme >Confidential: no >Severity: serious >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Mar 06 05:10:01 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Henry Hu >Release: FreeBSD 7-STABLE >Organization: Tsinghua University, Beijing, China >Environment: FreeBSD laptop.h.org 7.1-STABLE FreeBSD 7.1-STABLE #2: Thu Feb 26 20:29:55 CST 2009 root@laptop.h.org:/usr/obj/usr/src/sys/MYKERNEL i386 >Description: After installing databases/mysql-gui-tools, when I start mysql-query-browser and connect with a default scheme, it freezes and becomes a cpu hog. If I connect without a default scheme, the freeze happens when I select a scheme. It's a known bug: http://bugs.mysql.com/bug.php?id=30055&thanks=sub It seems like that this bug would not be fixed soon. >How-To-Repeat: 1. install databases/mysql-gui-tools 2. start mysql-query-browser 3. connect with a default scheme or connect and select a scheme >Fix: patch attached from the bug report on bugs.mysql.com Patch attached with submission follows: diff -ruN mysql-gui-tools-5.0r11.ORIG/mysql-query-browser/source/linux/MQQueryDispatcher.cc mysql-gui-tools-5.0r11/mysql-query-browser/source/linux/MQQueryDispatcher.cc --- mysql-gui-tools-5.0r12.ORIG/mysql-query-browser/source/linux/MQQueryDispatcher.cc 2007-02-21 01:31:19.000000000 +0000 +++ mysql-gui-tools-5.0r12/mysql-query-browser/source/linux/MQQueryDispatcher.cc 2007-11-09 15:31:38.000000000 +0000 @@ -558,8 +558,8 @@ Gtk::Main::instance()->run(); - while(!req->is_complete()) - ; +// while(!req->is_complete()) +// ; return sps; } >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200903060509.n2659BCX019513>