`gnome-open somefile.txt` shows the icon in the launcher, blinking.
After some time (aout 30s) the icon goes away and the gedit process is
still running.

Starting gedit in standalone mode doesn't help either: the icon is not
shown in the launcher, and gedit terminates with the following issue:

    `Failed to register: Timeout was reached`

I also tried:
- running as root --> `gedit -s` doesn't terminate
- `apt-get remove gedit` then `apt-get install gedit` --> `gedit -s` doesn't 
- `dpkg-reconfigure gedit` --> `gedit -s` doesn't terminate

`gedit -s` doesn't respond to Ctrl-C which means that the process is
stuck in kernel mode, in some I/O or system call and doesn't return to
user mode. Only the KILL signal will terminate it.

As a result I can attach gdb to the `gedit -s` process but cannot debug it:
$ gdb -p 11414
GNU gdb (Ubuntu 7.11.1-0ubuntu1~16.04) 7.11.1
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
Find the GDB manual and other documentation resources online at:
For help, type "help".
Type "apropos word" to search for commands related to "word".
Attaching to process 11414

You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

  gedit is stuck starting, no window is shown

To manage notifications about this bug go to:

ubuntu-bugs mailing list

Reply via email to