Bug 1004093
Summary: | Xorg hangs on logout when using xdm & the VNC module | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 6 | Reporter: | Michael Kolbas <mkolbas> | ||||
Component: | tigervnc | Assignee: | Tim Waugh <twaugh> | ||||
Status: | CLOSED ERRATA | QA Contact: | qe-baseos-daemons | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | 6.4 | CC: | psklenar | ||||
Target Milestone: | rc | Keywords: | Patch | ||||
Target Release: | --- | ||||||
Hardware: | All | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | tigervnc-1.1.0-9.el6 | Doc Type: | Bug Fix | ||||
Doc Text: |
The vnc Xorg extension could be initialized twice, leading to a busy loop on exit. This has been fixed by backporting a patch to only allow initialization once.
|
Story Points: | --- | ||||
Clone Of: | Environment: | ||||||
Last Closed: | 2014-10-14 04:39:17 UTC | Type: | Bug | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
Description
Michael Kolbas
2013-09-03 22:47:20 UTC
The rfb::Configuration linked list has an element whose next element is itself. Not entirely sure how this happens yet. (gdb) p *rfb::Configuration::global() $54 = {name = {buf = 0x1ba58c0 "Global"}, head = 0x7f61c4e9d660, _next = 0x1ba1080, static global_ = 0x1ba58a0, static server_ = 0x1ba1080, ^^^^^^^^^ static viewer_ = 0x1ba5820} (gdb) p *rfb::Configuration::global()->_next $55 = {name = {buf = 0x1ba5210 "Server"}, head = 0x7f61c4e9f3e0, _next = 0x1ba1080, static global_ = 0x1ba58a0, static server_ = 0x1ba1080, ^^^^^^^^^ static viewer_ = 0x1ba5820} This is the point at which the list gets looped: Old value = (rfb::Configuration *) 0x0 New value = (rfb::Configuration *) 0x291c080 0x00007f2700a011e0 in appendConfiguration () at ../../../../common/rfb/Configuration.h:152 152 conf->_next = _next; _next = conf; (gdb) bt #0 0x00007f2700a011e0 in appendConfiguration () at ../../../../common/rfb/Configuration.h:152 #1 enableServerParams () at ../../../../common/rfb/Configuration.h:104 #2 vncExtensionInitWithParams () at xf86vncModule.cc:86 #3 0x00000000004c1e79 in InitExtensions (argc=<value optimized out>, argv=<value optimized out>) at ../../../mi/miinitext.c:334 #4 0x000000000047c9db in main (argc=4, argv=<value optimized out>, envp=<value optimized out>) at main.c:208 Created attachment 833286 [details]
tigervnc-extension-init-twice.patch
This seems to stop the problem from happening.
I saw this on x86_64, so removing "32-bit" from the description. Better to use the upstream fix (r5065). *** Bug 983089 has been marked as a duplicate of this bug. *** Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHBA-2014-1412.html |