Summary: | any X11 client can crash Xvfb | ||||||
---|---|---|---|---|---|---|---|
Product: | xorg | Reporter: | Olaf Freyer <aaron> | ||||
Component: | Server/DDX/Xvfb | Assignee: | Peter Hutterer <peter.hutterer> | ||||
Status: | RESOLVED FIXED | QA Contact: | Xorg Project Team <xorg-team> | ||||
Severity: | normal | ||||||
Priority: | medium | CC: | airlied, astrand, orion, peter.hutterer, remi, rjones | ||||
Version: | unspecified | ||||||
Hardware: | Other | ||||||
OS: | All | ||||||
Whiteboard: | |||||||
i915 platform: | i915 features: | ||||||
Bug Depends on: | |||||||
Bug Blocks: | 23613 | ||||||
Attachments: |
|
Description
Olaf Freyer
2009-01-08 12:41:06 UTC
Actually, pretty much any client can crash Xvfb. I can reproduce with xdpyinfo and gcalctool... Verified on Fedora 9: https://bugzilla.redhat.com/show_bug.cgi?id=458219. *** Bug 23815 has been marked as a duplicate of this bug. *** The Fedora bug was closed because it could not be reproduced on F11. Perhaps it is back. I first experienced this issue on gentoo with xorg-server-1.5.3, the current version I'm using (xorg-server-1.6.3.901) seems to have the issue fixed. As I haven't tried it along the upgrade path I have no clue when it has been fixed. Posting the duplicate bug info here: Trying to run Xvfb in a Fedora package build to provide a local X server for testing. Running with: xvfb-run -f /tmp/tmp.SO97KN1qiR -e /dev/stderr ctest -V -E compare Get: 19/ 26 Testing examples_bmpqt Test command: /bin/bash -c EXAMPLES_DIR=/builddir/build/BUILD/plplot-5.9.5/fedora/examples\ SRC_EXAMPLES_DIR=/builddir/build/BUILD/plplot-5.9.5/examples\ ./plplot-test.sh\ --verbose\ --front-end=c\ --device=bmpqt Test timeout computed to be: 1500 Testing front-end c x01c x02c record: RECORD extension enabled at configure time. record: This extension is known to be broken, disabling extension now.. record: http://bugs.freedesktop.org/show_bug.cgi?id=20500 SELinux: Invalid object class mapping, disabling SELinux support. Backtrace: 0: Xvfb (xorg_backtrace+0x28) [0x5519e8] 1: Xvfb (0x400000+0x155369) [0x555369] 2: /lib64/libpthread.so.0 (0x2b6924d60000+0xf320) [0x2b6924d6f320] 3: Xvfb (FreeColormap+0xb5) [0x4f4dc5] 4: Xvfb (FreeClientResources+0xd3) [0x51d653] 5: Xvfb (FreeAllResources+0x47) [0x51d717] 6: Xvfb (0x400000+0xf0572) [0x4f0572] 7: /lib64/libc.so.6 (__libc_start_main+0xfd) [0x2b692646bb4d] 8: Xvfb (0x400000+0x1ae79) [0x41ae79] Segmentation fault at address 0x2 Fatal server error: Caught signal 11 (Segmentation fault). Server aborting qt_driver: cannot connect to X server :99 Packages: xorg-x11-server-Xvfb.x86_64 0:1.6.99.900-1.fc12 xorg-x11-xauth.x86_64 1:1.0.2-7.fc12 xorg-x11-font-utils.x86_64 1:7.2-9.fc12 xorg-x11-proto-devel.noarch 0:7.4-31.fc12 xorg-x11-server-common.x86_64 0:1.6.99.900-1.fc12 xorg-x11-xkb-utils.x86_64 0:7.4-5.fc12 Orion, please attach a way reproduce this crash I just tried a git build from Xvfb and ran the X test suite against it without it crashing. Here is a link to the src.rpm I am trying to build: http://www.cora.nwra.com/~orion/fedora/plplot-5.9.5-1.fc12.src.rpm Hmm. rawhide is broken enough that I can't install the build requires for this package. Works for me today: http://koji.fedoraproject.org/koji/getfile?taskID=1680846&name=build.log (In reply to comment #10) > Works for me today: > http://koji.fedoraproject.org/koji/getfile?taskID=1680846&name=build.log is it possible to extract the test that is failing from that RPM and attach it to here so it can be run as a single program. Building this rpm on the machines I have for testing right now is just full of fail today. Created attachment 29675 [details]
plplot.spec
I've attached an updated plplot.spec that pretty much just builds the basic stuff plus the Qt driver so has most of the BuildRequires removed. Hopefully that will work better.
I've not had any trouble building with mock for rawhide though.
used the spec with rpmbuild -bb, build failed with: sip: Unable to find file "QtCore/QtCoremod.sip" built the examples only, running :: whot@dingo:~/rpmbuild/BUILD/plplot-5.9.5/fedora/examples> EXAMPLES_DIR=$PWD SRC_EXAMPLES_DIR=$PWD ../plplot_test/plplot-test.sh --verbose --front-end=c --device=bmpqt Testing front-end c x01c Unable to load driver: qt. *** PLPLOT ERROR, IMMEDIATE EXIT *** Unable to load driver Program aborted what do I do now? considering the number of open bugs, I'd rather not have to dive into the plplot source to figure out what's going on there. You'll need to add "-DENABLE_python:BOOL=OFF" to the cmake options to disable python/pyqt4 building. Verified (finally!) Patch proposed at: http://lists.freedesktop.org/archives/xorg-devel/2009-September/002253.html commit 6ffda5aae75272fabdc27d6f693ae827be119e95 Author: Dave Airlie <airlied@redhat.com> Date: Tue Sep 29 11:49:09 2009 +1000 dix/glx/composite: consolidate visual resize in one place. |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.