Mantis - gvim
Viewing Issue Advanced Details
4815 regular use crash always 2011-08-10 16:58 2013-04-28 21:59
zzxtty  
laurent  
normal  
closed  
won't fix  
none    
none  
0004815: vim/gtk/dbus error
[xxxxxx@taskmaster ~]0% gvim
Gtk-Message: Failed to load module "pk-gtk-module": ld.so.1: vim-x11: fatal: libpk-gtk-module.so: open failed: No such file or directory
Gtk-Message: Failed to load module "canberra-gtk-module": ld.so.1: vim-x11: fatal: libcanberra-gtk-module.so: open failed: No such file or directory
process 29001: D-Bus library appears to be incorrectly set up; failed to read machine uuid: Failed to open "/opt/csw/var/lib/dbus/machine-id": No such file or directory
See the manual page for dbus-uuidgen to correct this issue.
  D-Bus not compiled with backtrace support so unable to print a backtrace
Vim: Caught deadly signal ABRT
Vim: Finished.
Abort
[xxxxxx@taskmaster ~]134%
I was getting the above error on two SPARC/Solaris 9 machines. I removed all the CSW packages and reinstalled using the latest pkgutil, the error still occurs. It was also happening with firefox, although I haven't re-installed that yet.
related to 0004821closed dam dbus D-Bus library appears to be incorrectly set up 
Issue History
2011-08-10 16:58 zzxtty New Issue
2011-08-10 19:08 dam Status new => assigned
2011-08-10 19:08 dam Assigned To => dam
2011-08-11 16:06 dam Note Added: 0009224
2011-08-11 16:06 dam Status assigned => feedback
2011-08-11 16:22 zzxtty Note Added: 0009225
2011-08-11 16:32 zzxtty Note Added: 0009226
2011-08-11 16:35 dam Note Added: 0009227
2011-08-11 16:36 dam Note Added: 0009228
2011-08-11 16:53 zzxtty Note Added: 0009229
2011-08-12 12:40 dam Note Added: 0009235
2011-08-12 14:30 zzxtty Note Added: 0009236
2011-08-12 15:55 dam Note Added: 0009237
2011-08-12 16:08 zzxtty Note Added: 0009238
2011-08-12 17:09 dam Note Added: 0009239
2011-09-19 22:10 dam Relationship added related to 0004821
2013-04-28 21:53 laurent Issue Monitored: laurent
2013-04-28 21:54 laurent Status feedback => assigned
2013-04-28 21:54 laurent Assigned To dam => laurent
2013-04-28 21:59 laurent Note Added: 0010364
2013-04-28 21:59 laurent Status assigned => closed
2013-04-28 21:59 laurent Resolution open => won't fix

Notes
(0009224)
dam   
2011-08-11 16:06   
This happens when CSWdbus is not installed as the machine-id is set during postinstall. There is no explicit dependency from CSWgvim to CSWdbus at the moment. Please see if installing CSWdbus resolves your issue.
(0009225)
zzxtty   
2011-08-11 16:22   
I've added the dbus package, but it appears the "machine-id" binary doesnt exist:

[xxxxxx@taskmaster ~]0% pkgutil -c | grep -i dbus
You're not root and didn't set -W, using home dir.
CSWdbus 1.3.1,REV=2010.07.04 SAME
CSWdbusglib 0.86,REV=2010.07.04 SAME
CSWlibdbus 1.3.1,REV=2010.07.04 SAME
[xxxxxx@taskmaster ~]0% gvim
Gtk-Message: Failed to load module "pk-gtk-module": ld.so.1: vim-x11: fatal: libpk-gtk-module.so: open failed: No such file or directory
Gtk-Message: Failed to load module "canberra-gtk-module": ld.so.1: vim-x11: fatal: libcanberra-gtk-module.so: open failed: No such file or directory
process 7690: D-Bus library appears to be incorrectly set up; failed to read machine uuid: Failed to open "/opt/csw/var/lib/dbus/machine-id": No such file or directory
See the manual page for dbus-uuidgen to correct this issue.
  D-Bus not compiled with backtrace support so unable to print a backtrace
Vim: Caught deadly signal ABRT
Vim: Finished.
Abort
[xxxxxx@taskmaster ~]134% grep machine-id /var/sadm/install/contents
[xxxxxx@taskmaster ~]1%
(0009226)
zzxtty   
2011-08-11 16:32   
I'm not reading my error messages properly! The binary is "dbus-uuidgen" and does exist, perhaps it's not run during installation?
(0009227)
dam   
2011-08-11 16:35   
The current package seems to be lacking the rc script:
  http://sourceforge.net/apps/trac/gar/browser/csw/mgar/pkg/dbus/trunk/files/cswdbus#L19 [^]
Please try the relevant line
  /opt/csw/bin/dbus-uuidgen --ensure
DBus seems to be outdated anyway and needs a refresh.
(0009228)
dam   
2011-08-11 16:36   
Please also try to remove / reinstall the dbus package. Maybe there is something strange going on from a failed previous installation.
(0009229)
zzxtty   
2011-08-11 16:53   
The uuidgen command fixed the problem. This problem occurred on both my solaris 9 machines, but not on solaris 10. I removed all the CSW packages and reinstalled on one machine and the problem persisted. Admittedly I didn't check or clear out any orphaned files/directories from /var/opt, /etc/opt, or /opt/csw.

I also tried installing/removing the dbus package, again the problem persisted. I have not rebooted these machines during this process, they are both in use. These programs used to work, I suspect an "pkg-get -u" caused the problem as there is little else going on with them with regards to configuration changes.
(0009235)
dam   
2011-08-12 12:40   
I have made new packages with fixed rc scripts. Would you mind giving them a try?
  http://buildfarm.opencsw.org/experimental.html#dbus [^]

Best regards -- Dago
(0009236)
zzxtty   
2011-08-12 14:30   
I've installed this, however it was dependent on CSWlibexpat1 which I had to pull in from the buildfarm. It starts the dbus-daemon on installation and gvim will run. I've not done any additional testing.

Chris
(0009237)
dam   
2011-08-12 15:55   
CSWlibexpat1 has been released to unstable/ from
  http://mirror.opencsw.org/opencsw-future/unstable/ [^]
you are probably on current/. Sorry for the confusion, there is much in flux right now as we are aiming for a more stable release cycle and some juggling is needed for that.

As you testing looks good I will release the dbus package after your confirmation.
(0009238)
zzxtty   
2011-08-12 16:08   
I do have some machines on stable, but this one appears to be on unstable/current:

[root@taskmaster ~]141% /opt/csw/bin/pkgutil -U
Stale lock file (/var/opt/csw/pkgutil/admin.run) removed
=> Fetching new catalog and descriptions (http://mirror.opencsw.org/opencsw/unstable/sparc/5.9) [^] if available ...
--2011-08-12 15:05:11-- http://mirror.opencsw.org/opencsw/unstable/sparc/5.9/catalog [^]
Resolving mirror.opencsw.org... 131.188.40.80
Connecting to mirror.opencsw.org|131.188.40.80|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 596966 (583K) [text/plain]
Saving to: `/var/opt/csw/pkgutil/catalog.mirror.opencsw.org_opencsw_unstable_sparc_5.9.tmp'

100%[===================================================================================================================================================================================================>] 596,966 902K/s in 0.6s

2011-08-12 15:05:11 (902 KB/s) - `/var/opt/csw/pkgutil/catalog.mirror.opencsw.org_opencsw_unstable_sparc_5.9.tmp' saved [596966/596966]

--2011-08-12 15:05:11-- http://mirror.opencsw.org/opencsw/unstable/sparc/5.9/descriptions [^]
Resolving mirror.opencsw.org... 131.188.40.80
Connecting to mirror.opencsw.org|131.188.40.80|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 164984 (161K) [text/plain]
Saving to: `/var/opt/csw/pkgutil/descriptions.mirror.opencsw.org_opencsw_unstable_sparc_5.9.tmp'

100%[===================================================================================================================================================================================================>] 164,984 815K/s in 0.2s

2011-08-12 15:05:12 (815 KB/s) - `/var/opt/csw/pkgutil/descriptions.mirror.opencsw.org_opencsw_unstable_sparc_5.9.tmp' saved [164984/164984]

==> 3060 packages loaded from /var/opt/csw/pkgutil/catalog.mirror.opencsw.org_opencsw_unstable_sparc_5.9
[root@taskmaster ~]0% /opt/csw/bin/pkgutil -a | grep expat
expat CSWexpat 2.0.1,REV=2009.01.22 283.5 KB
[root@taskmaster ~]0%
(0009239)
dam   
2011-08-12 17:09   
Yeah, these are in fact different: mirror/opencsw/current and mirror/opencsw/unstable are the same while mirror/opencsw-future/unstable is newer. Sorry for the confusion.
(0010364)
laurent   
2013-04-28 21:59   
At this point, I've pushed updated vim and gvim packages for Solaris 10, and vim only for Solaris 9. Since this issue was on Solaris 9, I think it's time to close it, unless there's still a demand for running gvim there.