Bug #5009 crash due to gconf lock failure
Submitted: 12 Aug 2004 1:50 Modified: 2 Sep 2004 16:50
Reporter: Danny Rathjens Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Query Browser Severity:S3 (Non-critical)
Version:1.0.5-alpha OS:Linux (RH9)
Assigned to: Alfredo Kojima CPU Architecture:Any

[12 Aug 2004 1:50] Danny Rathjens
Description:
The query browser would crash whenever I double clicked on a function or syntax node.
The exact errors are pasted below.

GConf Error: Failed to contact configuration server; some possible causes are that you need to enable TCP/IP networking for ORBit, or you have stale NFS locks due to a system crash. See http://www.gnome.org/projects/gconf/ for information. (Details -  1: IOR file '/tmp/gconfd-dkr/lock/ior' not opened successfully, no gconfd located: No such file or directory 2: IOR file '/tmp/gconfd-dkr/lock/ior' not opened successfully, no gconfd located: No such file or directory)
GConf Error: Failed to contact configuration server; some possible causes are that you need to enable TCP/IP networking for ORBit, or you have stale NFS locks due to a system crash. See http://www.gnome.org/projects/gconf/ for information. (Details -  1: IOR file '/tmp/gconfd-dkr/lock/ior' not opened successfully, no gconfd located: No such file or directory 2: IOR file '/tmp/gconfd-dkr/lock/ior' not opened successfully, no gconfd located: No such file or directory)

gtkhtml-ERROR **: gconf error: Failed to contact configuration server; some possible causes are that you need to enable TCP/IP networking for ORBit, or you have stale NFS locks due to a system crash. See http://www.gnome.org/projects/gconf/ for information. (Details -  1: IOR file '/tmp/gconfd-dkr/lock/ior' not opened successfully, no gconfd located: No such file or directory 2: IOR file '/tmp/gconfd-dkr/lock/ior' not opened successfully, no gconfd located: No such file or directory)

aborting...
./mysql-query-browser: line 9:  5231 Aborted                 $MYPATH/mysql-query-browser-bin

How to repeat:
Double click on a function or syntax node. when your gconf lock files are located in ~/.gconfd rather than in /tmp.

Suggested fix:
It is looking for gconf lock in the wrong place(/tmp/gconf-username).   So I just did  ln -s ~/.gconfd /tmp/gconfd-dkr  and it is working ok now.   I've never used gconf before, perhaps it is just a version discrepency for the location of the lock files.
I am using a rehdat 9 box which has GConf2-2.2.0-1 and GConf-1.0.9-10
[12 Aug 2004 4:21] Matthew Lord
I verified this using RH 9 (2.4.21 #12 SMP).  I got this message as soon as I started the app:

GConf Error: Failed to contact configuration server; some possible causes are that you need to 
enable TCP/IP networking for ORBit, or you have stale NFS locks due to a system crash. See 
http://www.gnome.org/projects/gconf/ for information. (Details -  1: IOR file '/tmp/gconfd-matt/
lock/ior' not opened successfully, no gconfd located: No such file or directory 2: IOR file '/tmp/
gconfd-matt/lock/ior' not opened successfully, no gconfd located: No such file or directory)

and this error when clicking on a function:

gtkhtml-ERROR **: gconf error: Failed to contact configuration server; some possible causes are 
that you need to enable TCP/IP networking for ORBit, or you have stale NFS locks due to a 
system crash. See http://www.gnome.org/projects/gconf/ for information. (Details -  1: IOR file '/
tmp/gconfd-matt/lock/ior' not opened successfully, no gconfd located: No such file or directory 2: 
IOR file '/tmp/gconfd-matt/lock/ior' not opened successfully, no gconfd located: No such file or 
directory)

It also segfaulted when I tried to open the connection editor.
[2 Sep 2004 16:50] Alfredo Kojima
Thank you for your bug report. This issue has already been fixed
in the latest released version of that product, which you can download at 
http://www.mysql.com/downloads/