[Bug 631994] New: Xvnc crash
https://bugzilla.novell.com/show_bug.cgi?id=631994 https://bugzilla.novell.com/show_bug.cgi?id=631994#c0 Summary: Xvnc crash Classification: openSUSE Product: openSUSE 11.3 Version: Final Platform: x86-64 OS/Version: Other Status: NEW Severity: Major Priority: P5 - None Component: X.Org AssignedTo: bnc-team-xorg-bugs@forge.provo.novell.com ReportedBy: koenig@linux.de QAContact: xorg-maintainer-bugs@forge.provo.novell.com Found By: --- Blocker: --- rpm -qf /usr/bin/Xvnc xorg-x11-Xvnc-7.5_1.8.0-9.4.x86_64 we found two "ways" to crash Xvnc with very different call traces and situations: 1) the easy (and nasty) one: gnome-session kills Xvnc in strlen(): try: xinit /usr/bin/gnome-session -- /usr/bin/Xvnc :3 gdb backtrace: Program received signal SIGSEGV, Segmentation fault. 0x00007ffff63c96a2 in strlen () from /lib64/libc.so.6 (gdb) where #0 0x00007ffff63c96a2 in strlen () from /lib64/libc.so.6 #1 0x000000000051eecd in ?? () #2 0x000000000051f5d0 in ?? () #3 0x000000000046c74c in ?? () #4 0x000000000045baca in ?? () #5 0x00007ffff636bb7d in __libc_start_main () from /lib64/libc.so.6 #6 0x000000000041ad29 in _start () Backtrace: 0: /usr/bin/Xvnc (xorg_backtrace+0x28) [0x5552a8] 1: /usr/bin/Xvnc (0x400000+0x158a49) [0x558a49] 2: /lib64/libc.so.6 (0x7ffff634d000+0x32a60) [0x7ffff637fa60] 3: /lib64/libc.so.6 (strlen+0x12) [0x7ffff63c96a2] 4: /usr/bin/Xvnc (0x400000+0x11eecd) [0x51eecd] 5: /usr/bin/Xvnc (0x400000+0x11f5d0) [0x51f5d0] 6: /usr/bin/Xvnc (0x400000+0x6c74c) [0x46c74c] 7: /usr/bin/Xvnc (0x400000+0x5baca) [0x45baca] 8: /lib64/libc.so.6 (__libc_start_main+0xfd) [0x7ffff636bb7d] 9: /usr/bin/Xvnc (0x400000+0x1ad29) [0x41ad29] Segmentation fault at address (nil) Fatal server error: Caught signal 11 (Segmentation fault). Server aborting =============================================================================== 2) a bit more weird: vncviewer-reconnect after server re-initialisation Xvnc crashes with the following sequence: Xvnc :3 & DISPLAY=:3 xterm & vncviewer :3 & exit in xterm vncviewer :3 & the reconnect of the 2nd vncviewer kills Xvnc. backtrace in gdb: Program received signal SIGSEGV, Segmentation fault. 0x000000000050f2c0 in ?? () (gdb) where #0 0x000000000050f2c0 in ?? () #1 0x0000000000473e43 in ?? () #2 0x00000000004b6eba in mieqProcessDeviceEvent () #3 0x00000000004b6feb in mieqProcessInputEvents () #4 0x000000000046c583 in ?? () #5 0x000000000045baca in ?? () #6 0x00007ffff636bb7d in __libc_start_main () from /lib64/libc.so.6 #7 0x000000000041ad29 in _start () backtrace output from Xvnc itself (not running in gdb): 17/08/2010 20:04:03 17/08/2010 20:04:03 Got VNC connection from client 127.0.0.1 Backtrace: 0: Xvnc (xorg_backtrace+0x28) [0x5552a8] 1: Xvnc (0x400000+0x158a49) [0x558a49] 2: /lib64/libc.so.6 (0x7f0b1d727000+0x32a60) [0x7f0b1d759a60] 3: Xvnc (0x400000+0x10f2c0) [0x50f2c0] 4: Xvnc (0x400000+0x73e43) [0x473e43] 5: Xvnc (mieqProcessDeviceEvent+0x19a) [0x4b6eba] 6: Xvnc (mieqProcessInputEvents+0xcb) [0x4b6feb] 7: Xvnc (0x400000+0x6c583) [0x46c583] 8: Xvnc (0x400000+0x5baca) [0x45baca] 9: /lib64/libc.so.6 (__libc_start_main+0xfd) [0x7f0b1d745b7d] 10: Xvnc (0x400000+0x1ad29) [0x41ad29] Segmentation fault at address (nil) Fatal server error: Caught signal 11 (Segmentation fault). Server aborting -- 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=631994
https://bugzilla.novell.com/show_bug.cgi?id=631994#c
Stefan Dirsch
https://bugzilla.novell.com/show_bug.cgi?id=631994
https://bugzilla.novell.com/show_bug.cgi?id=631994#c1
Stefan Dirsch
https://bugzilla.novell.com/show_bug.cgi?id=631994
https://bugzilla.novell.com/show_bug.cgi?id=631994#c2
Stefan Dirsch
https://bugzilla.novell.com/show_bug.cgi?id=631994
https://bugzilla.novell.com/show_bug.cgi?id=631994#c3
--- Comment #3 from Harald Koenig
https://bugzilla.novell.com/show_bug.cgi?id=631994
https://bugzilla.novell.com/show_bug.cgi?id=631994#c4
--- Comment #4 from Stefan Dirsch
https://bugzilla.novell.com/show_bug.cgi?id=631994
https://bugzilla.novell.com/show_bug.cgi?id=631994#c5
--- Comment #5 from Harald Koenig
Same xorg-x11-Xvnc version here. And I tried it with a freshly created user. No issues. I don't see these "Virtual core XTEST pointer/keyboard" entries in the ltrace output at all. Only "Virtual core XTEST".
what are the next few libc calls after those strlen() calls ? any hint what might go wrong in my case ? I completely cleaned up my $HOME (no files/dirs left) but still Xvnc crashes when I start a gnome session:( I tried to first start a single xterm on Xvnc before running gnome-session : same crash... -- 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=631994
https://bugzilla.novell.com/show_bug.cgi?id=631994#c6
--- Comment #6 from Harald Koenig
https://bugzilla.novell.com/show_bug.cgi?id=631994
https://bugzilla.novell.com/show_bug.cgi?id=631994#c7
Stefan Dirsch
https://bugzilla.novell.com/show_bug.cgi?id=631994
https://bugzilla.novell.com/show_bug.cgi?id=631994#c8
Harald Koenig
For openSUSE 11.4 we plan to switch to a wrapper script using Xvfb/x11vnc, which shouldn't suffer from these issue. For openSUSE 11.3 this is becoming a WONTFIX.
it's *very* disappointing that you don't even release a fixed rpm for other opensuse 11.3 users now that I all the debugging myself and sent a working patch :-(( what lessen shell we learn from such "WONTFIX" status ? very pitty..... -- 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=631994
https://bugzilla.novell.com/show_bug.cgi?id=631994#c9
--- Comment #9 from Stefan Dirsch
https://bugzilla.novell.com/show_bug.cgi?id=631994
https://bugzilla.novell.com/show_bug.cgi?id=631994#c10
Karl Zucker
https://bugzilla.novell.com/show_bug.cgi?id=631994
https://bugzilla.novell.com/show_bug.cgi?id=631994#c
Stefan Dirsch
https://bugzilla.novell.com/show_bug.cgi?id=631994
https://bugzilla.novell.com/show_bug.cgi?id=631994#c11
Stefan Dirsch
https://bugzilla.novell.com/show_bug.cgi?id=631994
https://bugzilla.novell.com/show_bug.cgi?id=631994#c12
Stefan Dirsch
https://bugzilla.novell.com/show_bug.cgi?id=631994
https://bugzilla.novell.com/show_bug.cgi?id=631994#c
Stefan Dirsch
https://bugzilla.novell.com/show_bug.cgi?id=631994
https://bugzilla.novell.com/show_bug.cgi?id=631994#c13
Stefan Dirsch
https://bugzilla.novell.com/show_bug.cgi?id=631994
https://bugzilla.novell.com/show_bug.cgi?id=631994#c14
Stefan Dirsch
For openSUSE 11.4 we plan to switch to a wrapper script using Xvfb/x11vnc, which shouldn't suffer from these issue. For openSUSE 11.3 this is becoming a WONTFIX.
This didn't happen. Instead we switched from xf4vnc VNC codebase to tigervnc codebase for Xvnc. -- 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=631994
https://bugzilla.novell.com/show_bug.cgi?id=631994#c15
--- Comment #15 from Ulf Lange
https://bugzilla.novell.com/show_bug.cgi?id=631994
https://bugzilla.novell.com/show_bug.cgi?id=631994#c16
--- Comment #16 from Ulf Lange
https://bugzilla.novell.com/show_bug.cgi?id=631994
https://bugzilla.novell.com/show_bug.cgi?id=631994#c17
Stefan Dirsch
participants (1)
-
bugzilla_noreply@novell.com