GUI won't show on GNOME 3

Bug #1392563 reported by aphotic
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Haguichi
Expired
Undecided
Unassigned

Bug Description

Installed the app, it laoded up fine and I used it for a few days without issue. However I rebooted my machine last night and now the gui won't display. The application will run & without error. (loading from terminal with -d yeilds no errors while running just "haguichi" from command line yeilds no error output either.)

I just cannot get the application to display, I have checked both my desktops & GNOME Activities menu.

Only change I made before reboot was moving /var/log to tmpfs in my fstab.

Here's some debug output with personal information removed:

[20:16:04.6984020 GUI] [MainWindow] State changed: 0
[20:16:04.6991490 GUI] [MainWindow] State changed: Withdrawn
[20:16:06.7270700 HAMACHI] [Hamachi.SetNick] Setting nickname .. ok

[20:16:19.6987770 INFO] [Controller.UpdateConnectionTimeout] Number of active update cycles: 1
[20:16:19.6988070 INFO] [Controller.UpdateConnection] Retrieving connection status...
[20:16:19.6991650 INFO] [Controller.HasInternetConnection] Trying ping...
[20:16:19.7342790 INFO] [Controller.HasInternetConnection] Success.
[20:16:19.7623960 HAMACHI] [Hamachi.GetInfo] version : 2.1.0.130
  pid : 1328
  status : logged in

Here is my strace which I think reveals the issue:

recvmsg(8, 0x7fff63138710, 0) = -1 EAGAIN (Resource temporarily unavailable)
poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN}, {fd=7, events=POLLIN}, {fd=8, events=POLLIN}, {fd=5, events=POLLIN}], 5, 4294967295) = 1 ([{fd=4, revents=POLLIN}])
open("/usr/lib/mono/gac/policy.0.4.notify-sharp/0.0.0.0__2df29c54e245917a/policy.0.4.notify-sharp.dll", O_RDONLY) = -1 ENOENT (No such file or directory)
stat("/usr/lib/haguichi/notify-sharp.dll", 0x7fff63137470) = -1 ENOENT (No such file or directory)
stat("/usr/lib/haguichi/notify-sharp.exe", 0x7fff63137470) = -1 ENOENT (No such file or directory)
stat("/usr/lib/haguichi/notify-sharp/notify-sharp.dll", 0x7fff63137470) = -1 ENOENT (No such file or directory)
stat("/usr/lib/haguichi/notify-sharp/notify-sharp.exe", 0x7fff63137470) = -1 ENOENT (No such file or directory)
open("/usr/lib/mono/gac/notify-sharp/0.4.0.0__2df29c54e245917a/notify-sharp.dll", O_RDONLY) = 16
fstat(16, {st_mode=S_IFREG|0644, st_size=13824, ...}) = 0
mmap(NULL, 13824, PROT_READ, MAP_PRIVATE, 16, 0) = 0x7fb5e3270000
readlink("/usr", 0x7fff63136490, 4096) = -1 EINVAL (Invalid argument)
readlink("/usr/lib", 0x7fff63136490, 4096) = -1 EINVAL (Invalid argument)
readlink("/usr/lib/mono", 0x7fff63136490, 4096) = -1 EINVAL (Invalid argument)
readlink("/usr/lib/mono/gac", 0x7fff63136490, 4096) = -1 EINVAL (Invalid argument)
readlink("/usr/lib/mono/gac/notify-sharp", 0x7fff63136490, 4096) = -1 EINVAL (Invalid argument)
readlink("/usr/lib/mono/gac/notify-sharp/0.4.0.0__2df29c54e245917a", 0x7fff63136490, 4096) = -1 EINVAL (Invalid argument)
readlink("/usr/lib/mono/gac/notify-sharp/0.4.0.0__2df29c54e245917a/notify-sharp.dll", 0x7fff63136490, 4096) = -1 EINVAL (Invalid argument)
close(16) = 0
open("/usr/lib/mono/gac/notify-sharp/0.4.0.0__2df29c54e245917a/notify-sharp.dll.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/usr/lib/mono/gac/notify-sharp/0.4.0.0__2df29c54e245917a/notify-sharp.dll.so.la", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/mono/gac/notify-sharp/0.4.0.0__2df29c54e245917a/notify-sharp.dll.config", O_RDONLY) = 16
fstat(16, {st_mode=S_IFREG|0644, st_size=231, ...}) = 0
read(16, "<configuration>\n <dllmap dll=\"l"..., 231) = 231
close(16) = 0
open("/etc/mono/assemblies/notify-sharp/notify-sharp.config", O_RDONLY) = -1 ENOENT (No such file or directory)
brk(0x2c22000) = 0x2c22000
brk(0x2c44000) = 0x2c44000
brk(0x2c65000) = 0x2c65000
brk(0x2c90000) = 0x2c90000
brk(0x2c85000) = 0x2c85000
brk(0x2c83000) = 0x2c83000
brk(0x2c81000) = 0x2c81000
brk(0x2c80000) = 0x2c80000
stat("/usr/share/pixmaps/gnome", 0x7fff63137f30) = -1 ENOENT (No such file or directory)
stat("/usr/local/share/pixmaps/gnome", 0x7fff63137f30) = -1 ENOENT (No such file or directory)
stat("/usr/share/gnome/pixmaps/gnome", 0x7fff63137f30) = -1 ENOENT (No such file or directory)
stat("/usr/share/icons/gnome", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
stat("/usr/local/share/icons/gnome", 0x7fff63137f30) = -1 ENOENT (No such file or directory)
stat("/usr/share/gnome/icons/gnome", 0x7fff63137f30) = -1 ENOENT (No such file or directory)
stat("/home/zepharius/.local/share/icons/gnome", 0x7fff63137f30) = -1 ENOENT (No such file or directory)
stat("/home/zepharius/.icons/gnome", 0x7fff63137f30) = -1 ENOENT (No such file or directory)
stat("/usr/share/pixmaps/Humanity-Dark", 0x7fff63137f30) = -1 ENOENT (No such file or directory)
stat("/usr/local/share/pixmaps/Humanity-Dark", 0x7fff63137f30) = -1 ENOENT (No such file or directory)
stat("/usr/share/gnome/pixmaps/Humanity-Dark", 0x7fff63137f30) = -1 ENOENT (No such file or directory)
stat("/usr/share/icons/Humanity-Dark", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
stat("/usr/local/share/icons/Humanity-Dark", 0x7fff63137f30) = -1 ENOENT (No such file or directory)
stat("/usr/share/gnome/icons/Humanity-Dark", 0x7fff63137f30) = -1 ENOENT (No such file or directory)
stat("/home/zepharius/.local/share/icons/Humanity-Dark", 0x7fff63137f30) = -1 ENOENT (No such file or directory)
stat("/home/zepharius/.icons/Humanity-Dark", 0x7fff63137f30) = -1 ENOENT (No such file or directory)
stat("/home/zepharius/.icons/ubuntu-mono-dark", 0x7fff63137f30) = -1 ENOENT (No such file or directory)
stat("/home/zepharius/.local/share/icons/ubuntu-mono-dark", 0x7fff63137f30) = -1 ENOENT (No such file or directory)
stat("/usr/share/gnome/icons/ubuntu-mono-dark", 0x7fff63137f30) = -1 ENOENT (No such file or directory)
stat("/usr/local/share/icons/ubuntu-mono-dark", 0x7fff63137f30) = -1 ENOENT (No such file or directory)
stat("/usr/share/icons/ubuntu-mono-dark", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
stat("/usr/share/gnome/pixmaps/ubuntu-mono-dark", 0x7fff63137f30) = -1 ENOENT (No such file or directory)
stat("/usr/local/share/pixmaps/ubuntu-mono-dark", 0x7fff63137f30) = -1 ENOENT (No such file or directory)
stat("/usr/share/pixmaps/ubuntu-mono-dark", 0x7fff63137f30) = -1 ENOENT (No such file or directory)
stat("/home/zepharius/.icons/Humanity", 0x7fff63137f30) = -1 ENOENT (No such file or directory)
stat("/home/zepharius/.local/share/icons/Humanity", 0x7fff63137f30) = -1 ENOENT (No such file or directory)
stat("/usr/share/gnome/icons/Humanity", 0x7fff63137f30) = -1 ENOENT (No such file or directory)
stat("/usr/local/share/icons/Humanity", 0x7fff63137f30) = -1 ENOENT (No such file or directory)
stat("/usr/share/icons/Humanity", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
stat("/usr/share/gnome/pixmaps/Humanity", 0x7fff63137f30) = -1 ENOENT (No such file or directory)
stat("/usr/local/share/pixmaps/Humanity", 0x7fff63137f30) = -1 ENOENT (No such file or directory)
stat("/usr/share/pixmaps/Humanity", 0x7fff63137f30) = -1 ENOENT (No such file or directory)
stat("/home/zepharius/.icons/hicolor", 0x7fff63137f30) = -1 ENOENT (No such file or directory)
stat("/home/zepharius/.local/share/icons/hicolor", {st_mode=S_IFDIR|0775, st_size=4096, ...}) = 0
stat("/usr/share/gnome/icons/hicolor", 0x7fff63137f30) = -1 ENOENT (No such file or directory)
stat("/usr/local/share/icons/hicolor", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
stat("/usr/share/icons/hicolor", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
stat("/usr/share/gnome/pixmaps/hicolor", 0x7fff63137f30) = -1 ENOENT (No such file or directory)
stat("/usr/local/share/pixmaps/hicolor", 0x7fff63137f30) = -1 ENOENT (No such file or directory)
stat("/usr/share/pixmaps/hicolor", 0x7fff63137f30) = -1 ENOENT (No such file or directory)
stat("/home/zepharius/.icons", 0x7fff63137f30) = -1 ENOENT (No such file or directory)
stat("/home/zepharius/.local/share/icons", {st_mode=S_IFDIR|0775, st_size=4096, ...}) = 0
stat("/usr/share/gnome/icons", 0x7fff63137f30) = -1 ENOENT (No such file or directory)
stat("/usr/local/share/icons", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
stat("/usr/share/icons", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
stat("/usr/share/gnome/pixmaps", 0x7fff63137f30) = -1 ENOENT (No such file or directory)
stat("/usr/local/share/pixmaps", 0x7fff63137f30) = -1 ENOENT (No such file or directory)
stat("/usr/share/pixmaps", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
recvmsg(8, 0x7fff63138710, 0) = -1 EAGAIN (Resource temporarily unavailable)
poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN}, {fd=7, events=POLLIN}, {fd=8, events=POLLIN}, {fd=5, events=POLLIN}], 5, 0) = 1 ([{fd=4, revents=POLLIN}])
read(4, "\1\0\0\0\0\0\0\0", 16) = 8
recvmsg(8, 0x7fff63138710, 0) = -1 EAGAIN (Resource temporarily unavailable)
poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN}, {fd=7, events=POLLIN}, {fd=8, events=POLLIN}, {fd=5, events=POLLIN}], 5, 0) = 0 (Timeout)
read(4, 0x7fff631388b0, 16) = -1 EAGAIN (Resource temporarily unavailable)
recvmsg(8, 0x7fff63138710, 0) = -1 EAGAIN (Resource temporarily unavailable)
poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN}, {fd=7, events=POLLIN}, {fd=8, events=POLLIN}, {fd=5, events=POLLIN}], 5, 14999) = 0 (Timeout)
clone(child_stack=0x7fb5db135f30, flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, parent_tidptr=0x7fb5db1369d0, tls=0x7fb5db136700, child_tidptr=0x7fb5db1369d0) = 14229
futex(0x238b490, FUTEX_WAKE_PRIVATE, 1) = 1
recvmsg(8, 0x7fff63138710, 0) = -1 EAGAIN (Resource temporarily unavailable)
poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN}, {fd=7, events=POLLIN}, {fd=8, events=POLLIN}, {fd=5, events=POLLIN}], 5, 4294967295) = 1 ([{fd=4, revents=POLLIN}])
futex(0x7fb5e4555760, FUTEX_WAKE_PRIVATE, 1) = 0

I have verified that the missing items are installed with apt-get install --reinstall after doing dpkg -S to determine what packages were missing files.

Revision history for this message
aphotic (darkmishu) wrote :

Tried running haguichi as root to see if it's a permissions issue and got this -

Unhandled Exception:
System.Exception: Unable to open the session message bus. ---> System.ArgumentNullException: Argument cannot be null.
Parameter name: address
  at NDesk.DBus.Bus.Open (System.String address) [0x00000] in <filename unknown>:0
  at NDesk.DBus.Bus.get_Session () [0x00000] in <filename unknown>:0
  --- End of inner exception stack trace ---
  at NDesk.DBus.Bus.get_Session () [0x00000] in <filename unknown>:0
  at NDesk.DBus.BusG.Init () [0x00000] in <filename unknown>:0
  at Platform.Init () [0x00000] in <filename unknown>:0
  at Haguichi.Main (System.String[] args) [0x00000] in <filename unknown>:0
[ERROR] FATAL UNHANDLED EXCEPTION: System.Exception: Unable to open the session message bus. ---> System.ArgumentNullException: Argument cannot be null.
Parameter name: address
  at NDesk.DBus.Bus.Open (System.String address) [0x00000] in <filename unknown>:0
  at NDesk.DBus.Bus.get_Session () [0x00000] in <filename unknown>:0
  --- End of inner exception stack trace ---
  at NDesk.DBus.Bus.get_Session () [0x00000] in <filename unknown>:0
  at NDesk.DBus.BusG.Init () [0x00000] in <filename unknown>:0
  at Platform.Init () [0x00000] in <filename unknown>:0
  at Haguichi.Main (System.String[] args) [0x00000] in <filename unknown>:0

Revision history for this message
aphotic (darkmishu) wrote :

Update: Program is running in tray I am merely unable to bring up a window.

Revision history for this message
Stephen Brandt (ztefn) wrote :

If Haguichi is set to start in tray (via "Edit" -> "Preferences" -> "Start Haguichi minimized in the notification area") while you don't have any tray, you should normally still be able to bring it up by activating the launcher again (or executing "haguichi" in an other terminal window/tab). The new Haguichi instance will ask the running instance to show it's window and then exits (by using "haguichi -d" in the terminal you will see the message "There is already an active session, will try to show it and close this session").

It could possibly be that your Gnome Shell thinks to be smart and always blocks launching new instances, then it might only work from terminal. On my own machine though, running Ubuntu GNOME (gnome-shell 3.10.4) and don't have this problem. But I wouldn't be surprised if they started doing something like that in 3.12 or 3.14.

Revision history for this message
aphotic (darkmishu) wrote :

I've tried launching it while open, clicking on the systray icon, executing the app from terminal. I have tried everything I can think of to bypass Gnome possibly acting goofy about window management. I saw the message you mention when I ran haguichi -d from the terminal but still no window was presented to me.

I will try changing the start minimized option back to default and see if that has any results.

Revision history for this message
Stephen Brandt (ztefn) wrote :

You can disable start in tray via command line by executing:
gconftool-2 --set /apps/haguichi/behavior/start_in_tray --type bool false

If you have any other desktop environment install besides GNOME it might be very useful to check and see if the problem occurs there too.

Revision history for this message
aphotic (darkmishu) wrote :

Tried your command and it went through successfully. I then tried loading haguichi from a terminal and got this error:

The assembly mscorlib.dll was not found or could not be loaded.
It should have been installed in the `/usr/lib/mono/2.0/mscorlib.dll' directory.

I will test a different WM when I get home tonight, likely KDE unless you have another suggestion.

Revision history for this message
aphotic (darkmishu) wrote :

Leaving it run after that error I saw the following:

(Haguichi:17523): GLib-CRITICAL **: Source ID 120 was not found when attempting to remove it

(Haguichi:17523): GLib-CRITICAL **: Source ID 168 was not found when attempting to remove it

(Haguichi:17523): GLib-CRITICAL **: Source ID 177 was not found when attempting to remove it

(Haguichi:17523): GLib-CRITICAL **: Source ID 144 was not found when attempting to remove it

(Haguichi:17523): GLib-CRITICAL **: Source ID 126 was not found when attempting to remove it

(Haguichi:17523): GLib-CRITICAL **: Source ID 156 was not found when attempting to remove it

(Haguichi:17523): GLib-CRITICAL **: Source ID 183 was not found when attempting to remove it

(Haguichi:17523): GLib-CRITICAL **: Source ID 165 was not found when attempting to remove it

(Haguichi:17523): GLib-CRITICAL **: Source ID 171 was not found when attempting to remove it

(Haguichi:17523): GLib-CRITICAL **: Source ID 150 was not found when attempting to remove it

(Haguichi:17523): GLib-CRITICAL **: Source ID 123 was not found when attempting to remove it

(Haguichi:17523): GLib-CRITICAL **: Source ID 135 was not found when attempting to remove it

(Haguichi:17523): GLib-CRITICAL **: Source ID 180 was not found when attempting to remove it

(Haguichi:17523): GLib-CRITICAL **: Source ID 114 was not found when attempting to remove it

(Haguichi:17523): GLib-CRITICAL **: Source ID 138 was not found when attempting to remove it

(Haguichi:17523): GLib-CRITICAL **: Source ID 98 was not found when attempting to remove it

(Haguichi:17523): GLib-CRITICAL **: Source ID 153 was not found when attempting to remove it

(Haguichi:17523): GLib-CRITICAL **: Source ID 162 was not found when attempting to remove it

(Haguichi:17523): GLib-CRITICAL **: Source ID 159 was not found when attempting to remove it

(Haguichi:17523): GLib-CRITICAL **: Source ID 132 was not found when attempting to remove it

(Haguichi:17523): GLib-CRITICAL **: Source ID 186 was not found when attempting to remove it

(Haguichi:17523): GLib-CRITICAL **: Source ID 117 was not found when attempting to remove it

(Haguichi:17523): GLib-CRITICAL **: Source ID 189 was not found when attempting to remove it

(Haguichi:17523): GLib-CRITICAL **: Source ID 97 was not found when attempting to remove it

(Haguichi:17523): GLib-CRITICAL **: Source ID 129 was not found when attempting to remove it

(Haguichi:17523): GLib-CRITICAL **: Source ID 174 was not found when attempting to remove it

(Haguichi:17523): GLib-CRITICAL **: Source ID 147 was not found when attempting to remove it

(Haguichi:17523): GLib-CRITICAL **: Source ID 141 was not found when attempting to remove it

Revision history for this message
Stephen Brandt (ztefn) wrote :

The GLib messages are no problem, they can be seen anywhere. It's a known problem in Ubuntu 14.04 LTS:
https://bugs.launchpad.net/ubuntu/+source/gnome-control-center/+bug/1264368

If an assembly cannot be found I'm surprised that you have been able to start Haguichi at all. Sounds like some libraries on your system are messed up.

Had any luck on KDE?

Revision history for this message
aphotic (darkmishu) wrote :

It loads in KDE but initially the window is too small to display anything. (It shows up as just the border and window controls drawn by the WM.) I am able to resize it though and then the program functions normally. Hiding & restoring it the window maintains its size. It only does this glitch when the program first loads.

Revision history for this message
aphotic (darkmishu) wrote :

As for the missing library I did a purge and reinstall of haguichi and all its dependencies to get past that.

Revision history for this message
Stephen Brandt (ztefn) wrote :

Okay, so once you resize it to normal proportions and exit Haguichi normally (by using "Client" -> "Quit" form the menubar) then what is the size when you relaunch Haguichi again? Is the size you just set restored or is it back to near zero pixels again?

Stephen Brandt (ztefn)
Changed in haguichi:
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for Haguichi because there has been no activity for 60 days.]

Changed in haguichi:
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.