GNOME Bugzilla – Bug 666653
gedit shuts down completely when closing a window
Last modified: 2012-01-02 13:25:33 UTC
When I have multiple windows open (rt click: move to new window) and then close one of the windows, gedit shuts down completely (all the windows shut down)--any unsaved material gets lost. Seems to be happening since I moved to Fedora 15/that includes gedit 3.0.6; I don't remember this problem in the past, and I've used multiple windows in gedit for a long time.
Thanks for taking the time to report this bug. Without a stack trace from the crash it's very hard to determine what caused it. Can you get us a stack trace? Please see http://live.gnome.org/GettingTraces for more information on how to do so. Thanks in advance!
ABDT is running--I have a number of older crash reports not related to this issue. ABDT has no crash report when gedit has shut down completely as described in the bug report. I then tried running GDB (output below). When I started gedit inside gdb (it thus ran as root), the problem did not repeat--I was able to close one gedit window without the others closing down. But when I do the same running gedit as myself, the problem occurs but there is no crash report. When I started gedit from command line as root the problem also did not occur. I have the tweak tool installed and set to "have file manager handle desktop." I tried turning this off but the problem with gedit occurred in that situation as well. [eric@localhost ~]$ su - Password: [root@localhost ~]# gdb gedit GNU gdb (GDB) Fedora (7.3.1-46.fc15) Copyright (C) 2011 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-redhat-linux-gnu". For bug reporting instructions, please see: <http://www.gnu.org/software/gdb/bugs/>... Reading symbols from /usr/bin/gedit...Reading symbols from /usr/lib/debug/usr/bin/gedit.debug...done. done. (gdb) run Starting program: /usr/bin/gedit [Thread debugging using libthread_db enabled] Detaching after fork from child process 4543. [New Thread 0x7ffff0d13700 (LWP 4548)] [New Thread 0x7fffebfff700 (LWP 4549)] [New Thread 0x7fffeb5f6700 (LWP 4550)] [Thread 0x7ffff0d13700 (LWP 4548) exited] [New Thread 0x7ffff0d13700 (LWP 4555)] [New Thread 0x7fffe9165700 (LWP 4556)] [Thread 0x7ffff0d13700 (LWP 4555) exited] [New Thread 0x7ffff0d13700 (LWP 4557)] [New Thread 0x7fffe8964700 (LWP 4558)] [Thread 0x7ffff0d13700 (LWP 4557) exited] [Thread 0x7fffe9165700 (LWP 4556) exited] [New Thread 0x7fffe9165700 (LWP 4559)] [Thread 0x7fffe8964700 (LWP 4558) exited] [New Thread 0x7fffe8964700 (LWP 4560)] [New Thread 0x7ffff0d13700 (LWP 4561)] [New Thread 0x7fffd7fff700 (LWP 4562)] [Thread 0x7fffe9165700 (LWP 4559) exited] [Thread 0x7fffe8964700 (LWP 4560) exited] [Thread 0x7fffd7fff700 (LWP 4562) exited] [New Thread 0x7fffd7fff700 (LWP 4563)] [New Thread 0x7fffe8964700 (LWP 4564)] [New Thread 0x7fffe9165700 (LWP 4565)] [Thread 0x7fffe8964700 (LWP 4564) exited] [Thread 0x7fffd7fff700 (LWP 4563) exited] [Thread 0x7fffe9165700 (LWP 4565) exited] [New Thread 0x7fffe9165700 (LWP 4566)] [New Thread 0x7fffd7fff700 (LWP 4567)] [Thread 0x7fffe9165700 (LWP 4566) exited] [Thread 0x7fffd7fff700 (LWP 4567) exited] [New Thread 0x7fffd7fff700 (LWP 4568)] [New Thread 0x7fffe9165700 (LWP 4569)] [Thread 0x7fffd7fff700 (LWP 4568) exited] [Thread 0x7ffff0d13700 (LWP 4561) exited] [New Thread 0x7ffff0d13700 (LWP 4570)] [New Thread 0x7fffd7fff700 (LWP 4571)] [New Thread 0x7fffe8964700 (LWP 4572)] [New Thread 0x7fffd77fe700 (LWP 4573)] [Thread 0x7fffd77fe700 (LWP 4573) exited] [Thread 0x7ffff0d13700 (LWP 4570) exited] [Thread 0x7fffe8964700 (LWP 4572) exited] [Thread 0x7fffd7fff700 (LWP 4571) exited] [New Thread 0x7fffd7fff700 (LWP 4574)] [New Thread 0x7fffe8964700 (LWP 4575)] [New Thread 0x7ffff0d13700 (LWP 4576)] [New Thread 0x7fffd77fe700 (LWP 4577)] [New Thread 0x7fffd6ffd700 (LWP 4578)] [New Thread 0x7fffd67fc700 (LWP 4579)] [New Thread 0x7fffd5ffb700 (LWP 4580)] [Thread 0x7ffff0d13700 (LWP 4576) exited] [Thread 0x7fffd7fff700 (LWP 4574) exited] [Thread 0x7fffe8964700 (LWP 4575) exited] [Thread 0x7fffd77fe700 (LWP 4577) exited] [Thread 0x7fffe9165700 (LWP 4569) exited] [Thread 0x7fffd67fc700 (LWP 4579) exited] [Thread 0x7fffd5ffb700 (LWP 4580) exited] [New Thread 0x7fffd5ffb700 (LWP 4581)] [New Thread 0x7fffd67fc700 (LWP 4582)] [New Thread 0x7fffd77fe700 (LWP 4583)] [New Thread 0x7fffe9165700 (LWP 4584)] [Thread 0x7fffd67fc700 (LWP 4582) exited] [Thread 0x7fffd6ffd700 (LWP 4578) exited] [Thread 0x7fffd77fe700 (LWP 4583) exited] [Thread 0x7fffe9165700 (LWP 4584) exited] (gedit:4540): Gtk-WARNING **: Attempting to store changes into `/root/.local/share/recently-used.xbel', but failed: Failed to create file '/root/.local/share/recently-used.xbel.EBL76V': No such file or directory (gedit:4540): Gtk-WARNING **: Attempting to set the permissions of `/root/.local/share/recently-used.xbel', but failed: No such file or directory [Thread 0x7fffd5ffb700 (LWP 4581) exited] [New Thread 0x7fffd5ffb700 (LWP 4586)] [Thread 0x7fffd5ffb700 (LWP 4586) exited] (gedit:4540): Gtk-WARNING **: Attempting to store changes into `/root/.local/share/recently-used.xbel', but failed: Failed to create file '/root/.local/share/recently-used.xbel.HXWZ6V': No such file or directory (gedit:4540): Gtk-WARNING **: Attempting to set the permissions of `/root/.local/share/recently-used.xbel', but failed: No such file or directory [Thread 0x7fffeb5f6700 (LWP 4550) exited] [Thread 0x7fffebfff700 (LWP 4549) exited] [Inferior 1 (process 4540) exited normally] Missing separate debuginfos, use: debuginfo-install GConf2-2.32.3-1.fc15.x86_64 ORBit2-2.14.19-2.fc15.x86_64 PackageKit-gtk3-module-0.6.17-1.fc15.x86_64 adwaita-gtk3-theme-3.0.2-1.fc15.x86_64 dbus-glib-0.92-2.fc15.x86_64 dbus-libs-1.4.6-5.fc15.x86_64 dconf-0.7.5-1.x86_64 expat-2.0.1-11.fc15.x86_64 gamin-0.1.10-9.fc15.x86_64 gvfs-1.8.2-1.fc15.x86_64 hunspell-1.2.15-2.fc15.x86_64 libXau-1.0.6-2.fc15.x86_64 libXcomposite-0.4.3-2.fc15.x86_64 libXcursor-1.1.11-3.fc15.x86_64 libXdamage-1.1.3-2.fc15.x86_64 libXext-1.2.0-2.fc15.x86_64 libXfixes-5.0-1.fc15.x86_64 libXi-1.4.3-3.fc15.x86_64 libXinerama-1.1.1-2.fc15.x86_64 libXrandr-1.3.1-2.fc15.x86_64 libXrender-0.9.6-2.fc15.x86_64 libcanberra-0.28-3.fc15.x86_64 libcanberra-gtk3-0.28-3.fc15.x86_64 libcroco-0.6.2-6.fc15.x86_64 libgcc-4.6.1-9.fc15.x86_64 libogg-1.2.2-3.fc15.x86_64 librsvg2-2.34.0-2.fc15.x86_64 libselinux-2.0.99-4.fc15.x86_64 libstdc++-4.6.1-9.fc15.x86_64 libtdb-1.2.9-9.fc15.x86_64 libtool-ltdl-2.4-6.fc15.x86_64 libudev-167-6.fc15.x86_64 libuuid-2.19.1-1.4.fc15.x86_64 libvorbis-1.3.2-1.fc15.x86_64 libxcb-1.7-2.fc15.x86_64 nss-softokn-freebl-3.12.10-5.fc15.x86_64 pixman-0.20.2-2.fc15.x86_64 zlib-1.2.5-5.fc15.x86_64 (gdb) thread apply all bt full (gdb) bt No stack. (gdb)
(In reply to comment #2) > When I started gedit inside gdb (it thus ran as root) That sounds wrong. gdb does NOT require being root.
I was in root when I installed the various debugging things, so I stayed there to do the gdb. I'll try it as me.
[eric@localhost ~]$ gdb gedit GNU gdb (GDB) Fedora (7.3.1-46.fc15) Copyright (C) 2011 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-redhat-linux-gnu". For bug reporting instructions, please see: <http://www.gnu.org/software/gdb/bugs/>... Reading symbols from /usr/bin/gedit...Reading symbols from /usr/lib/debug/usr/bin/gedit.debug...done. done. (gdb) run Starting program: /usr/bin/gedit [Thread debugging using libthread_db enabled] [New Thread 0x7ffff0d13700 (LWP 5745)] [New Thread 0x7fffebfff700 (LWP 5746)] [New Thread 0x7fffeb3cc700 (LWP 5747)] Detaching after fork from child process 5748. [Thread 0x7ffff0d13700 (LWP 5745) exited] Fatal Python error: PyEval_SaveThread: NULL tstate Program received signal SIGABRT, Aborted. 0x00000031c70352d5 in __GI_raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64 64 return INLINE_SYSCALL (tgkill, 3, pid, selftid, sig); Missing separate debuginfos, use: debuginfo-install GConf2-2.32.3-1.fc15.x86_64 ORBit2-2.14.19-2.fc15.x86_64 PackageKit-gtk3-module-0.6.17-1.fc15.x86_64 PyXML-0.8.4-26.fc15.x86_64 adwaita-gtk3-theme-3.0.2-1.fc15.x86_64 dbus-glib-0.92-2.fc15.x86_64 dbus-libs-1.4.6-5.fc15.x86_64 dconf-0.7.5-1.x86_64 expat-2.0.1-11.fc15.x86_64 gamin-0.1.10-9.fc15.x86_64 gvfs-1.8.2-1.fc15.x86_64 hunspell-1.2.15-2.fc15.x86_64 keyutils-libs-1.2-7.fc15.x86_64 krb5-libs-1.9.1-14.fc15.x86_64 libXau-1.0.6-2.fc15.x86_64 libXcomposite-0.4.3-2.fc15.x86_64 libXcursor-1.1.11-3.fc15.x86_64 libXdamage-1.1.3-2.fc15.x86_64 libXext-1.2.0-2.fc15.x86_64 libXfixes-5.0-1.fc15.x86_64 libXi-1.4.3-3.fc15.x86_64 libXinerama-1.1.1-2.fc15.x86_64 libXrandr-1.3.1-2.fc15.x86_64 libXrender-0.9.6-2.fc15.x86_64 libcanberra-0.28-3.fc15.x86_64 libcanberra-gtk3-0.28-3.fc15.x86_64 libcom_err-1.41.14-2.fc15.x86_64 libcroco-0.6.2-6.fc15.x86_64 libgcc-4.6.1-9.fc15.x86_64 libogg-1.2.2-3.fc15.x86_64 librsvg2-2.34.0-2.fc15.x86_64 libselinux-2.0.99-4.fc15.x86_64 libstdc++-4.6.1-9.fc15.x86_64 libtdb-1.2.9-9.fc15.x86_64 libtool-ltdl-2.4-6.fc15.x86_64 libudev-167-6.fc15.x86_64 libuuid-2.19.1-1.4.fc15.x86_64 libvorbis-1.3.2-1.fc15.x86_64 libxcb-1.7-2.fc15.x86_64 nss-softokn-freebl-3.12.10-5.fc15.x86_64 openssl-1.0.0e-1.fc15.x86_64 pixman-0.20.2-2.fc15.x86_64 pycairo-1.8.8-2.fc14.x86_64 pygobject2-2.28.6-1.fc15.x86_64 python-libs-2.7.1-7.fc15.x86_64 zlib-1.2.5-5.fc15.x86_64 (gdb) =========== ran it a second time: it crashed when I tried to open a new window: "not responding" message [eric@localhost ~]$ gdb gedit GNU gdb (GDB) Fedora (7.3.1-46.fc15) Copyright (C) 2011 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-redhat-linux-gnu". For bug reporting instructions, please see: <http://www.gnu.org/software/gdb/bugs/>... Reading symbols from /usr/bin/gedit...Reading symbols from /usr/lib/debug/usr/bin/gedit.debug...done. done. (gdb) run Starting program: /usr/bin/gedit [Thread debugging using libthread_db enabled] [New Thread 0x7ffff0d13700 (LWP 5894)] [New Thread 0x7fffebfff700 (LWP 5895)] [Thread 0x7ffff0d13700 (LWP 5894) exited] [Thread 0x7fffebfff700 (LWP 5895) exited] [Inferior 1 (process 5891) exited normally] Missing separate debuginfos, use: debuginfo-install PackageKit-gtk3-module-0.6.17-1.fc15.x86_64 adwaita-gtk3-theme-3.0.2-1.fc15.x86_64 dbus-glib-0.92-2.fc15.x86_64 dbus-libs-1.4.6-5.fc15.x86_64 expat-2.0.1-11.fc15.x86_64 libXau-1.0.6-2.fc15.x86_64 libXcomposite-0.4.3-2.fc15.x86_64 libXcursor-1.1.11-3.fc15.x86_64 libXdamage-1.1.3-2.fc15.x86_64 libXext-1.2.0-2.fc15.x86_64 libXfixes-5.0-1.fc15.x86_64 libXi-1.4.3-3.fc15.x86_64 libXinerama-1.1.1-2.fc15.x86_64 libXrandr-1.3.1-2.fc15.x86_64 libXrender-0.9.6-2.fc15.x86_64 libcanberra-0.28-3.fc15.x86_64 libcanberra-gtk3-0.28-3.fc15.x86_64 libcroco-0.6.2-6.fc15.x86_64 libgcc-4.6.1-9.fc15.x86_64 libogg-1.2.2-3.fc15.x86_64 librsvg2-2.34.0-2.fc15.x86_64 libselinux-2.0.99-4.fc15.x86_64 libtdb-1.2.9-9.fc15.x86_64 libtool-ltdl-2.4-6.fc15.x86_64 libuuid-2.19.1-1.4.fc15.x86_64 libvorbis-1.3.2-1.fc15.x86_64 libxcb-1.7-2.fc15.x86_64 nss-softokn-freebl-3.12.10-5.fc15.x86_64 pixman-0.20.2-2.fc15.x86_64 zlib-1.2.5-5.fc15.x86_64 (gdb) thread apply all bt full (gdb) bt No stack. (gdb) =========== ran it a third time: same result--crashed when I tried to open the new window.
Seems like a bug in pygobject that was already fixed. Thanks for reporting anyway. I suggest you to update to fedora 16 to get his fixed.
Edit: reporting error by me--gedit actually crashed on 2nd and 3rd try when I tried to close one of the open windows.
OK. Thanks. Will try that.
"Seems like a bug in pygobject that was already fixed. Thanks for reporting anyway. I suggest you to update to fedora 16 to get his fixed." I don't have time now to mess with a new installation of a new verson. Only got all the kinks worked out from this installation about two months ago. Can I just reinstall pygoobject? Is there some reason Fedora 15 couldn't have the fixed pygobject in their updates for Fedora 15?