Bug #11101 Segmentation fault
Submitted: 4 Jun 2005 19:24 Modified: 15 Jun 2005 5:32
Reporter: Richard Wiater Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Query Browser Severity:S1 (Critical)
Version:1.1.10 OS:Linux (fedora core 3.0)
Assigned to: Alfredo Kojima CPU Architecture:Any

[4 Jun 2005 19:24] Richard Wiater
Description:
When I start (with 4.1.12 mysql server running),mysql-query-browser-1.1.10 from the command line,

I get the error /mysql-query-browser: line 20:  5644 Segmentation fault      $PRG-bin

How to repeat:
When I start (with 4.1.12 mysql server running),mysql-query-browser-1.1.10 from the command line,

I get the error /mysql-query-browser: line 20:  5644 Segmentation fault      $PRG-bin
[6 Jun 2005 16:18] MySQL Verification Team
I was able to repeat:

[miguel@hegel bin]$ ./mysql-query-browser
./mysql-query-browser: line 20:  3408 Segmentation fault      $PRG-bin

Thank you for the bug report.
[7 Jun 2005 19:07] Juan José Conti
I am using Debian sarge (a few days before it gets stable).
I am using MySQL-server 4.0.24 and mysql-admin connects fine.

I have dowloaded MySQL Query Browser 1.1.10 from mysql.com and installed it.

The default socket is /var/lib/mysql/mysql.sock (it gaves me a 2002 error) but in my machine:

sarge:/opt/mysql-query-browser/bin# netstat -ln | grep mysql unix  2      [ ACC ]     STREAM     LISTENING     13898    /var/run/mysqld/mysqld.sock

So I change the socket file at the program. When I click on 'connect' the program dies with this error:

(mysql-query-browser:5483): Gtk-WARNING **: Ignoring the separator setting
./mysql-query-browser: line 20:  5483 Violación de segmento   $PRG-bin

I hope you fix the bug
[8 Jun 2005 10:03] Nils Nilsson
I'm also getting a segmentation fault when I try to connect to a remote server.
I'm running Kde 3.4 on Mandrake  10.2.
result:
./mysql-query-browser
** (mysql-query-browser:27400): WARNING **: request for bad widget 'make_view_btn' in glade object
./mysql-query-browser: line 20: 27400 Segmentation fault      $PRG-bin
[8 Jun 2005 16:35] ron banks
I can confirm this same problem on FC3. I have installed the administrator and the browser from source and I have installed Mysql-administrator-1.0.21-1.rh9.i386.rpm and mysql-query-browser-1.1.10-1.rh9.i386.rpm on FC3. The problem is the same with both. The administrator seems to work fine but when I try to open the query browser with the menu command 'Edit Table Data' the browser opens but crashes after entering passwordd with this error:
** (mysql-query-browser:7815): WARNING **: request for bad widget 'make_view_btn' in glade object
When trying to run the browser by itself from the command line I get the login screen but after entering the password and attempting to log in I get this error:
/usr/bin/mysql-query-browser: line 20: 8101 Segmentation fault $PRG-bin
Has anyone experienced/resolved these types of errors.

OS version: 2.6.11-1.27_FC3
Mysql version: 4.1.7
mysql-administrator version: 1.0.21-1
mysql-query-browser version: 1.0.21-1
mysql-administrator installation package: mysql-administrator-1.0.21-1.rh9.i386.rpm
mysql-query-browser installation package: mysql-query-browser-1.1.10-1.rh9.i386.rpm

Thanks,
ronbanks
[12 Jun 2005 22:12] Andre de Oliveira
On Linux Fedora Core 3
gnome 2.8.0
Kernel version 2.6.9-1.667 
Processor type: i686 athlon i386 GNU/Linux (AMD Athlon 64 3000)

logged with "root" user.

A) Mysql Query Browser version 1.1.10 (bug)
B) Mysql Control Center version 0.9.4 Beta (OK)

A) Issue in Mysql Query Browser
If I try to connect with Mysql-Query-Browser to Mysql server installed in the same machine, calling it from the shell as well(command line), and:

1) typed the wrong password in the connection window and I got this message:

Could not connect to host 'localhost'.
MySQL Error Nr. 1045
Access denied for user 'root'@'localhost' (using password: NO)
Click the 'Ping' button to see if there is a networking problem.

So I clicked on 'Ping' button and it received the responses (the network link is ok - obvious).

2) Now I tried the right password in the connection window and I got the same error reported here:

(mysql-query-browser:25981): Gtk-WARNING **: Ignoring the separator setting

** (mysql-query-browser:25981): WARNING **: request for bad widget 'make_view_btn' in glade object
/usr/bin/mysql-query-browser: line 20: 25981 Segmentation fault      $PRG-bin

B) Issue in Mysql Control Center

I ran it from shell as well, calling "./mysqlcc", and the GUI loaded fine. Everything worked fine. I created tables, edited the tables properties and succeeded in editing data into tables, as well as running SQL queries just fine (the query window works fine here).
The single difference from the Query Browser issue here is that the connection window doesn't load, hence the Control Center doesn't ask me for a user name and password. As soon as I run "./mysqlcc" it loads the GUI and works just fine. However in the main window (control center) I can read the information about my local server and the "user name" states root, "using prompt for password" states no.

Hope it will be fixed soon.
[13 Jun 2005 8:37] Stefan Svensson
Running mysql-query-browser-1.1.11-1.rh9.i386 running on FC3

Got the following as soon as I click on the "Connect" button at the connect startup dialog:
** (mysql-query-browser:5130): WARNING **: request for bad widget 'make_view_btn' in glade object
./mysql-query-browser: line 20:  5130 Segmenteringsfel        $PRG-bin

No problem with mysql-administrator-1.0.22-1.rh9.i386.
[15 Jun 2005 5:32] 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