vnc4: vnc4server: libvnc.so crashes Xorg 1.4 on remote keypress or mouseclick
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
vnc4 (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
Bug Description
Binary package hint: vnc4server
Using the libvnc.so module in Xorg 1.4.
On first keypress or mouseclick by vnc client, Xorg log on vnc server
side shows:
Backtrace:
0: /usr/bin/
1: /lib/libc.so.6 [0x2aeb4a768100]
2: /usr/lib/
3: /usr/lib/
4: /usr/lib/
5: /usr/lib/
6: /usr/lib/
7: /usr/bin/
8: /usr/bin/
9: /usr/bin/
10: /usr/bin/
11: /lib/libc.
12: /usr/bin/
Fatal server error:
Caught signal 11. Server aborting
From the Debian bug 444697, there apparently is an ABI change in Xorg 1.4 that breaks this. The xorg-xerver bits in this package are too old (1.0.2) to work with 1.4.1 that is in the xserver-xorg-core package now.
Be advised that Debian bug 444697 "fixes" this bug by REMOVING libvnc.so. Quote:
"Removed libvnc.so that do not work with recent xorg. This is a workaround but solves the grave fault, closes: #444697."
This tacitly suggests that Xorg does not support libvnc.so at this time. In any case bug 444697 does not solve the problem. Debian merely removed the feature that fails and closed the bug. From a project management standpoint, the non-working libvnc.so is now orphaned and completely untracked (there is no bug I can find that tracks non-working libvnc.so). The closing of Debian bug 444697 implies it was fixed when it was not.
Changed in vnc4: | |
status: | New → Confirmed |
Changed in vnc4: | |
status: | Unknown → Fix Committed |
Changed in vnc4: | |
status: | Fix Committed → Fix Released |
Changed in vnc4 (Fedora): | |
importance: | Unknown → High |
no longer affects: | vnc4 (Ubuntu) |
affects: | vnc4 (Fedora) → vnc4 (Ubuntu) |
Changed in vnc4 (Ubuntu): | |
importance: | High → Undecided |
status: | Fix Released → New |
status: | New → Invalid |
Description of problem:
I have the vnc module enabled in my xorg.conf. If I use VNC from the beginning
of an X session, everything works fine. If I use X on the console for a while
and then connect to that same session via VNC, the session crashes...
Version-Release number of selected component (if applicable):
vnc-server- 4.1.2-9. el5 server- Xorg-1. 1.1-48. 13.0.1. el5
xorg-x11-
How reproducible:
Close to 100%. I have been doing this on 3 machines - a work machine with RHEL5
and two home machines with CentOS 5 and see this on all 3 (even though xorg.conf
are all somewhat different).
Steps to Reproduce:
1. Include the vnc module in xorg.conf
2. Restart X and use in on the console for a while
3. Make sure the right VNC parameters are enabled to allow VNC logins (use
vncconfig, if necessary)
4. Open a VNC connection to the X session.
Actual results:
X.org crashes. Here is the crash report in Xorg.0.log on the RHEL5 machine with
all updates:
Backtrace: Xorg(xf86SigHan dler+0x81) [0x80bc1b1] so.6(memcpy+ 0x1c) [0x4af9ca6c] xorg/modules/ libfb.so( fbBlt+0x90e) [0x3fb39e] xorg/modules/ libfb.so( fbBltStip+ 0x73) [0x3fb8c3] xorg/modules/ libfb.so( fbGetImage+ 0x23a) [0x40b11a] xorg/modules/ libxaa. so [0x1be2a2] xorg/modules/ extensions/ libvnc. so(_ZN14Xserver Desktop10grabRe gionERKN3rfb6Re gionE+0x12a) xorg/modules/ extensions/ libvnc. so(_ZN3rfb11VNC ServerST11check UpdateEv+ 0x1b7) xorg/modules/ extensions/ libvnc. so(_ZN3rfb16VNC SConnectionST22 writeFramebuffe rUpdateEv+ 0x5c) xorg/modules/ extensions/ libvnc. so(_ZN3rfb16VNC SConnectionST24 framebufferUpda teRequestERKNS_ 4RectEb+ 0xbf) xorg/modules/ extensions/ libvnc. so(_ZN3rfb10SMs gReader28readFr amebufferUpdate RequestEv+ 0x14f) xorg/modules/ extensions/ libvnc. so(_ZN3rfb12SMs gReaderV37readM sgEv+0x14a) xorg/modules/ extensions/ libvnc. so(_ZN3rfb11SCo nnection10proce ssMsgEv+ 0x14f) xorg/modules/ extensions/ libvnc. so(_ZN3rfb16VNC SConnectionST15 processMessages Ev+0x48) xorg/modules/ extensions/ libvnc. so(_ZN3rfb11VNC ServerST18proce ssSocketEventEP N7network6Socke tE+0x3f) xorg/modules/ extensions/ libvnc. so(_ZN14Xserver Desktop13wakeup HandlerEP6fd_ seti+0xd4) xorg/modules/ extensions/ libvnc. so [0x2893ec] Xorg(WakeupHand ler+0x59) [0x808c169] Xorg(WaitForSom ething+ 0x1b9) [0x81a0849] Xorg(Dispatch+ 0x8d) [0x8087f9d] Xorg(main+ 0x485) [0x806fa35] so.6(__ libc_start_ main+0xdc) [0x4af44dec] Xorg(FontFileCo mpleteXLFD+ 0x1e9) [0x806ed71]
0: /usr/bin/
1: [0x302420]
2: /lib/libc.
3: /usr/lib/
4: /usr/lib/
5: /usr/lib/
6: /usr/lib/
7: /usr/bin/Xorg [0x81088e8]
8: /usr/bin/Xorg [0x815b2a3]
9: /usr/bin/Xorg [0x811d4fd]
10:
/usr/lib/
[0x291c9a]
11:
/usr/lib/
[0x29d457]
12:
/usr/lib/
[0x2ac8ec]
13:
/usr/lib/
[0x2ad1ef]
14:
/usr/lib/
[0x2b3bcf]
15:
/usr/lib/
[0x2a83da]
16:
/usr/lib/
[0x2a7d7f]
17:
/usr/lib/
[0x2abf18]
18:
/usr/lib/
[0x29d20f]
19:
/usr/lib/
[0x291154]
20: /usr/lib/
21: /usr/bin/
22: /usr/bin/
23: /usr/bin/
24: /usr/bin/
25: /lib/libc.
26: /usr/bin/
Fatal server error:
Caught signal 11. Server aborting
Expected results:
VNC session starts
Additional info:
My xorg.conf:
Section "ServerLayout"
Identifier "Default Layout"
Screen 0 "Screen0" 0 0
InputDevice "Keyboard0" "CoreKeyboard"
EndSection
Section "InputDevice"
Identifier "Keyboard0"
Driver...