[Bug 782101] New: gedit fails to run over ssh X11 forwarding, reports memory corruption
https://bugzilla.novell.com/show_bug.cgi?id=782101 https://bugzilla.novell.com/show_bug.cgi?id=782101#c0 Summary: gedit fails to run over ssh X11 forwarding, reports memory corruption Classification: openSUSE Product: openSUSE 12.1 Version: Final Platform: x86-64 OS/Version: openSUSE 12.1 Status: NEW Severity: Normal Priority: P5 - None Component: GNOME AssignedTo: bnc-team-gnome@forge.provo.novell.com ReportedBy: james.faulkner@yale.edu QAContact: qa-bugs@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.1 (KHTML, like Gecko) Chrome/21.0.1180.89 Safari/537.1 gedit fails to run over X11 forwarding. This happens when trying to run gedit using X11 forwarding both from Linux and Mac OS X desktops. jdf42@phantom ~ $ ssh -Y perch Last login: Tue Sep 25 12:44:08 2012 from phantom.cs.yale.edu ================== ATTENTION =================== Use of Yale's electronic systems is governed by applicable laws and policies (http://www.yale.edu/policy/). Violators and unauthorized access may be prosecuted. ================================================ ############################################################## # The Zoo has been upgraded to OpenSUSE 12.1. Please report # # any problems or missing software to: cs.support@yale.edu # ############################################################## jdf42@perch:~> gedit *** glibc detected *** gedit: malloc(): memory corruption: 0x00000000006fbaf0 *** ^C jdf42@perch:~> which gedit /usr/bin/gedit jdf42@perch:~> rpm -qf /usr/bin/gedit gedit-3.2.3-2.3.1.x86_64 jdf42@perch:~> cat /etc/SuSE-release openSUSE 12.1 (x86_64) VERSION = 12.1 CODENAME = Asparagus jdf42@perch:~> Reproducible: Always Steps to Reproduce: 1. try to run gedit over ssh X11 forwarding 2. 3. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=782101 https://bugzilla.novell.com/show_bug.cgi?id=782101#c1 David Liang <dliang@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dliang@suse.com --- Comment #1 from David Liang <dliang@suse.com> 2012-09-26 06:37:38 UTC --- Cannot reproduce it. (openSUSE12.1 x86_64, Asparagus, gedit-3.2.3-2.3.1) Does gedit run correctly in the server, not over ssh? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=782101 https://bugzilla.novell.com/show_bug.cgi?id=782101#c2 --- Comment #2 from James Faulkner <james.faulkner@yale.edu> 2012-09-26 16:52:04 UTC --- Yes it works correctly on the local system. I've played around with it a bit and sometimes it works, sometimes it shows the memory corruption error. I'll gather more information and report back. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=782101 https://bugzilla.novell.com/show_bug.cgi?id=782101#c3 --- Comment #3 from James Faulkner <james.faulkner@yale.edu> 2012-09-26 16:56:08 UTC --- Hi, it appears that gedit will run when a user dbus process is running, but otherwise displays the memory corruption error. For some reason, when gedit is run with strace, the dbus process gets started, but otherwise it doesn't. Perhaps this has to do with my system policy, I'm using permissions.secure and "restrictive" policykit permissions. jdf42@gari:~> gedit *** glibc detected *** gedit: malloc(): memory corruption: 0x00000000006fbaf0 *** ^C jdf42@gari:~> ps aux | grep jdf42 root 3212 0.1 0.0 107656 4996 ? Ss 12:52 0:00 sshd: jdf42 [priv] jdf42 3214 0.0 0.0 107796 2728 ? S 12:52 0:00 sshd: jdf42@pts/0 jdf42 3215 0.6 0.0 14932 3856 pts/0 Ss 12:52 0:00 -bash jdf42 3322 0.0 0.0 4832 1016 pts/0 R+ 12:52 0:00 ps aux jdf42 3323 0.0 0.0 8048 868 pts/0 S+ 12:52 0:00 grep --color=auto jdf42 jdf42@gari:~> gedit *** glibc detected *** gedit: malloc(): memory corruption: 0x00000000006fbaf0 *** ^C jdf42@gari:~> ps aux | grep jdf42 root 3212 0.0 0.0 107656 4996 ? Ss 12:52 0:00 sshd: jdf42 [priv] jdf42 3214 0.0 0.0 107796 2728 ? S 12:52 0:00 sshd: jdf42@pts/0 jdf42 3215 0.4 0.0 14932 3856 pts/0 Ss 12:52 0:00 -bash jdf42 3330 0.0 0.0 4832 1012 pts/0 R+ 12:52 0:00 ps aux jdf42 3331 0.0 0.0 8048 864 pts/0 S+ 12:52 0:00 grep --color=auto jdf42 jdf42@gari:~> strace /usr/bin/gedit >/dev/null 2>&1 jdf42@gari:~> echo that worked that worked jdf42@gari:~> /usr/bin/gedit jdf42@gari:~> echo that also worked that also worked jdf42@gari:~> ps aux | grep jdf42 root 3212 0.0 0.0 107656 4996 ? Ss 12:52 0:00 sshd: jdf42 [priv] jdf42 3214 0.1 0.0 107932 2852 ? S 12:52 0:00 sshd: jdf42@pts/0 jdf42 3215 0.1 0.0 14932 3920 pts/0 Ss 12:52 0:00 -bash jdf42 3339 0.0 0.0 13876 932 pts/0 S 12:52 0:00 dbus-launch --autolaunch=7114cfdc0f3d0ca005ce2503000003ed --binary-syntax --close-stderr jdf42 3340 0.0 0.0 19392 916 ? Ss 12:52 0:00 /bin/dbus-daemon --fork --print-pid 5 --print-address 7 --session jdf42 3345 0.0 0.0 189840 2628 ? Sl 12:52 0:00 /usr/lib/dconf-service jdf42 3362 0.0 0.0 4832 1012 pts/0 R+ 12:53 0:00 ps aux jdf42 3363 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=782101 https://bugzilla.novell.com/show_bug.cgi?id=782101#c4 --- Comment #4 from James Faulkner <james.faulkner@yale.edu> 2012-09-26 17:14:06 UTC --- It would be nice to use "dbus-launch gedit" as a workaround, but that doesn't appear to work. I don't want to tell users to run "strace gedit" to get it to run remotely. jdf42@gari:~> ps aux | grep jdf42 root 3895 0.3 0.0 107656 5004 ? Ss 12:58 0:00 sshd: jdf42 [priv] jdf42 3897 0.0 0.0 107656 2736 ? S 12:58 0:00 sshd: jdf42@pts/0 jdf42 3898 2.3 0.0 14932 3816 pts/0 Ss 12:58 0:00 -bash jdf42 4001 0.0 0.0 4832 1012 pts/0 R+ 12:58 0:00 ps aux jdf42 4002 0.0 0.0 8048 864 pts/0 S+ 12:58 0:00 grep --color=auto jdf42 jdf42@gari:~> dbus-launch gedit *** glibc detected *** gedit: malloc(): memory corruption: 0x00000000006fbaf0 *** ^C jdf42@gari:~> ps aux | grep jdf42 root 3895 0.0 0.0 107656 5004 ? Ss 12:58 0:00 sshd: jdf42 [priv] jdf42 3897 0.0 0.0 107796 2736 ? S 12:58 0:00 sshd: jdf42@pts/0 jdf42 3898 0.7 0.0 14932 3920 pts/0 Ss 12:58 0:00 -bash jdf42 4009 0.0 0.0 19392 444 ? Ss 12:59 0:00 /bin/dbus-daemon --fork --print-pid 5 --print-address 7 --session jdf42 4012 0.0 0.0 4832 1012 pts/0 R+ 12:59 0:00 ps aux jdf42 4013 0.0 0.0 8048 868 pts/0 S+ 12:59 0:00 grep --color=auto jdf42 jdf42@gari:~> dbus-launch gedit *** glibc detected *** gedit: malloc(): memory corruption: 0x00000000006fbaf0 *** ^C jdf42@gari:~> gedit *** glibc detected *** gedit: malloc(): memory corruption: 0x00000000006fbaf0 *** ^C jdf42@gari:~> -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=782101 https://bugzilla.novell.com/show_bug.cgi?id=782101#c5 --- Comment #5 from James Faulkner <james.faulkner@yale.edu> 2012-09-26 17:20:02 UTC --- Created an attachment (id=507238) --> (http://bugzilla.novell.com/attachment.cgi?id=507238) strace of gedit memory corruption -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=782101 https://bugzilla.novell.com/show_bug.cgi?id=782101#c6 --- Comment #6 from James Faulkner <james.faulkner@yale.edu> 2012-09-26 17:20:54 UTC --- I got it to show memory corruption with strace, please see my attachment. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=782101 https://bugzilla.novell.com/show_bug.cgi?id=782101#c7 Bob Vickers <R.Vickers@cs.rhul.ac.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |R.Vickers@cs.rhul.ac.uk --- Comment #7 from Bob Vickers <R.Vickers@cs.rhul.ac.uk> 2012-11-09 14:37:42 UTC --- I have just upgraded my workstation to Opensuse 12.2 and it is no longer possibly to run gedit or evince when logged into a 12.1 server...the crash happens every time. However, if I connect from my 12.2 workstation to another 12.2 system then it seems to be OK. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=782101 https://bugzilla.novell.com/show_bug.cgi?id=782101#c8 --- Comment #8 from Bob Vickers <R.Vickers@cs.rhul.ac.uk> 2012-11-09 16:03:11 UTC --- There is an Ubuntu bug report which looks very similar. See https://bugs.launchpad.net/ubuntu/+source/libxi/+bug/968218 and the upstream bug http://cgit.freedesktop.org/xorg/lib/libXi/commit/?h=libXi-1.4-branch&id=22e9ace88d57803ecda95db7c9355a614db1902a Note also that in my environment I don't see any correlation with either dbus or strace: the crash happens every time even if you set up dbus first. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=782101 https://bugzilla.novell.com/show_bug.cgi?id=782101#c9 --- Comment #9 from Bob Vickers <R.Vickers@cs.rhul.ac.uk> 2012-11-12 10:26:06 UTC --- Created an attachment (id=512785) --> (http://bugzilla.novell.com/attachment.cgi?id=512785) Trace provided by xscope In case it is useful I ran xscope to trace the X11 traffic. The gedit traffic can be found by looking for a time stamp of 111 seconds. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=782101 https://bugzilla.novell.com/show_bug.cgi?id=782101#c10 --- Comment #10 from Bob Vickers <R.Vickers@cs.rhul.ac.uk> 2012-11-20 12:34:36 UTC --- This bug is causing me a lot of grief, because our servers will remain on 12.1 until next summer. Is there any more information I could provide which would help resolve it (or find a workround)? I did try compiling a newer version of libXi, but it failed so I'm guessing it has interdependencies with the other X11 stuff. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=782101 https://bugzilla.novell.com/show_bug.cgi?id=782101#c11 --- Comment #11 from David Liang <dliang@suse.com> 2012-11-22 09:57:55 UTC --- I built a package in my repo with the patch you mentioned in comment#8, can you try it? https://build.opensuse.org/package/binaries?package=libXi6&project=home%3Adliang%3Abranches%3AopenSUSE%3A12.1%3AUpdate&repository=standard (In reply to comment #10)
This bug is causing me a lot of grief, because our servers will remain on 12.1 until next summer. Is there any more information I could provide which would help resolve it (or find a workround)?
I did try compiling a newer version of libXi, but it failed so I'm guessing it has interdependencies with the other X11 stuff.
-- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=782101 https://bugzilla.novell.com/show_bug.cgi?id=782101#c12 --- Comment #12 from Bob Vickers <R.Vickers@cs.rhul.ac.uk> 2012-11-22 14:04:22 UTC --- Thank you! Yes, that seems to fix it. I tested it with gedit evince nautilus file-roller gcalctool gnome-terminal All crashed immediately without the fix but started OK with the fix included. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=782101 https://bugzilla.novell.com/show_bug.cgi?id=782101#c13 --- Comment #13 from James Faulkner <james.faulkner@yale.edu> 2012-11-26 20:42:32 UTC --- confirmed that the updated libXi6 RPM fixes the remote gedit crashing bug for me as well. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=782101 https://bugzilla.novell.com/show_bug.cgi?id=782101#c14 Vincent Untz <vuntz@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Component|GNOME |X.Org AssignedTo|bnc-team-gnome@forge.provo. |bnc-team-xorg-bugs@forge.pr |novell.com |ovo.novell.com QAContact|qa-bugs@suse.de |xorg-maintainer-bugs@forge. | |provo.novell.com --- Comment #14 from Vincent Untz <vuntz@suse.com> 2012-11-28 21:46:48 UTC --- Looks like we might want to release this as an update. Moving to xorg, as it's about libXi6, and so it's up to the xorg maintainers to decide. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=782101 https://bugzilla.novell.com/show_bug.cgi?id=782101#c15 --- Comment #15 from Bernhard Wiedemann <bwiedemann@suse.com> 2012-11-30 19:00:47 CET --- This is an autogenerated message for OBS integration: This bug (782101) was mentioned in https://build.opensuse.org/request/show/142989 Maintenance / -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=782101 https://bugzilla.novell.com/show_bug.cgi?id=782101#c16 --- Comment #16 from Swamp Workflow Management <swamp@suse.de> 2012-12-05 13:10:02 UTC --- openSUSE-RU-2012:1611-1: An update that has one recommended fix can now be installed. Category: recommended (low) Bug References: 782101 CVE References: Sources used: openSUSE 12.1 (src): libXi6-1.4.0-10.4.1 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=782101 https://bugzilla.novell.com/show_bug.cgi?id=782101#c17 Stefan Dirsch <sndirsch@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P3 - Medium Status|NEW |ASSIGNED AssignedTo|bnc-team-xorg-bugs@forge.pr |xorg-maintainer-bugs@forge. |ovo.novell.com |provo.novell.com --- Comment #17 from Stefan Dirsch <sndirsch@suse.com> 2012-12-07 11:58:21 UTC --- I agree in releasing libXi with the fix for openSUSE 12.2. Any volunteers for doing and pushing the update for openSUSE 12.2? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=782101 https://bugzilla.novell.com/show_bug.cgi?id=782101#c18 --- Comment #18 from David Liang <dliang@suse.com> 2012-12-11 09:45:48 UTC --- The libXi 1.6.1 in openSUSE 12.2 has already included this patch. (In reply to comment #17)
I agree in releasing libXi with the fix for openSUSE 12.2. Any volunteers for doing and pushing the update for openSUSE 12.2?
-- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=782101 https://bugzilla.novell.com/show_bug.cgi?id=782101#c19 --- Comment #19 from Bob Vickers <R.Vickers@cs.rhul.ac.uk> 2012-12-11 10:24:56 UTC --- That fits in with my experience. I hit the problem when using ssh from a 12.2 client to a 12.1 server, but it was OK with a 12.2 server. Now my 12.1 systems are patched and I am a happy customer. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=782101 https://bugzilla.novell.com/show_bug.cgi?id=782101#c20 Stefan Dirsch <sndirsch@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED --- Comment #20 from Stefan Dirsch <sndirsch@suse.com> 2012-12-11 11:07:48 UTC --- Ok. So let's close it as fixed for openSUSE 12.2. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com