GNOME Bugzilla – Bug 609126
gedit Segmentation fault (core dumped) when run over x tunnel ssh 64bit fedora12
Last modified: 2013-10-06 23:25:05 UTC
gedit aborts when run remotely via x tunnel over ssh. Application launches normally and works until user selects text. o ssh to fedora 12 64bit machine o tunnel x o gedit o type some text, select text -> crash o Segmentation fault (core dumped) gedit runs normally when run directly on console. Another editor kwrite works normally through tunnel. Not sure if this is specific to gedit or more general gnome issue. Output from ABRT follows Count: 1 DUPHASH: 4f736f94089758f9cee5a6e98deda79d222b1736 DumpDir: /var/cache/abrt/ccpp-1265388189-2270 Reported: 0 UUID: a46ac2acd75e3e73c86fad2439f91ebf05bb6753 analyzer: CCpp architecture: x86_64 cmdline: gedit comment: Just trying to run gedit remotely x tunneled over ssh component: gedit coredump: /var/cache/abrt/ccpp-1265388189-2270/coredump executable: /usr/bin/gedit kernel: 2.6.31.12-174.2.3.fc12.x86_64 package: gedit-1:2.28.3-1.fc12 rating: 4 reason: Process was terminated by signal 11 (Segmentation fault) release: Fedora release 12 (Constantine) time: 1265388189 uid: 500 backtrace ----- warning: section .gnu.liblist not found in /var/cache/abrt-di/usr/lib/debug/.build-id/62/880e3e138a4055da16445e4e37c6b5ec8bd21f.debug warning: section .gnu.conflict not found in /var/cache/abrt-di/usr/lib/debug/.build-id/62/880e3e138a4055da16445e4e37c6b5ec8bd21f.debug warning: section .gnu.liblist not found in /var/cache/abrt-di/usr/lib/debug/.build-id/62/880e3e138a4055da16445e4e37c6b5ec8bd21f.debug warning: section .gnu.conflict not found in /var/cache/abrt-di/usr/lib/debug/.build-id/62/880e3e138a4055da16445e4e37c6b5ec8bd21f.debug warning: section .gnu.liblist not found in /var/cache/abrt-di/usr/lib/debug/.build-id/62/880e3e138a4055da16445e4e37c6b5ec8bd21f.debug warning: section .gnu.conflict not found in /var/cache/abrt-di/usr/lib/debug/.build-id/62/880e3e138a4055da16445e4e37c6b5ec8bd21f.debug Core was generated by `gedit'. Program terminated with signal 11, Segmentation fault.
+ Trace 220440
Thread 1 (Thread 2270)
description ----- Text editor for the GNOME desktop gedit is a small, but powerful text editor designed specifically for the GNOME desktop. It has most standard text editor functions and fully supports international text in Unicode. Advanced features include syntax highlighting and automatic indentation of source code, printing and editing of multiple documents in one window. gedit is extensible through a plugin system, which currently includes support for spell checking, comparing files, viewing CVS ChangeLogs, and adjusting indentation levels. Further plugins can be found in the gedit-plugins package. reproduce ----- 1.ssh to fedora 12 64 bit system 2.tunnel x through ssh 3.execute gedit as non-root user, select any text -> crash
Reassigning to gtk since the crash is at the gdk level.
> o ssh to fedora 12 64bit machine So you are saying gedit is running on a 64bit machine but displaying on a 32bit X server ? It would be helpful if you could capture this in gdb, go up to gdk_event_translate, and print the contents of the selection_notify struct.
(In reply to comment #2) > > o ssh to fedora 12 64bit machine > > So you are saying gedit is running on a 64bit machine but displaying on a 32bit > X server ? > > It would be helpful if you could capture this in gdb, go up to > gdk_event_translate, and print the contents of the selection_notify struct. The gnome application gedit was being run on a 64bit Fedora 12 OS. The output was being displayed on an XP machine running Exceed. I have subsequently tried this with 32bit Fedora 12 OS and the results are the same. I have also tried to select text from other gnome applications (gnome-calculator) while running in these same configurations (x-tunnel via ssh) and they all seem to crash with (Segmentation fault (core dumped)). Other X applications (non gnome) seem to work (kwrite, kdevelop). I'm probably too stupid to understand (just use this stuff, don't claim to understand, and it all worked for Fedora 10) you request for additional debug info but if you can give me specific instructions I will get you whatever I can. Thanks for the help
I got similar bug report against Fedora 13 (gtk2-2.20.1-1) <https://bugzilla.redhat.com/show_bug.cgi?id=598989>. Also x86_64 X11 client and Exceed on Windows XP as X11 server. I have disasesembled code and register state in addition (see linked report in Red Hat Bugzilla). I think it's null pointer dereference of value returned from previous function. I looked into source code and the function in question is ifdefed by XFIXES extension. I found 4 years old xpdyinfo of Exceed on the Web (don't remember where) and this extension was missing there.
Fedora 13 is long obsolete so marking this bug as obsolete. Feel free to reopen if you still have this issue on a recent version of Fedora/GTK+