| Summary: | Xvfb crashes in miInitVisuals () when started with depth=2 | ||||||
|---|---|---|---|---|---|---|---|
| Product: | xorg | Reporter: | Christopher Yeleighton <giecrilj> | ||||
| Component: | Server/DDX/Xvfb | Assignee: | Alan Coopersmith <alan.coopersmith> | ||||
| Status: | RESOLVED FIXED | QA Contact: | Xorg Project Team <xorg-team> | ||||
| Severity: | critical | ||||||
| Priority: | medium | Keywords: | patch | ||||
| Version: | 7.6 (2010.12) | ||||||
| Hardware: | x86-64 (AMD64) | ||||||
| OS: | Linux (All) | ||||||
| URL: | https://bugzilla.novell.com/show_bug.cgi?id=698125 | ||||||
| Whiteboard: | 2011BRB_Reviewed | ||||||
| i915 platform: | i915 features: | ||||||
| Attachments: |
|
||||||
Created attachment 48114 [details] [review] do not crash, fail! Whereas I would very much like to have real support for bit depth 2, this patch at least prevents the server from crashing. Thanks for fix - submitted to xorg-devel for review for Xorg 1.12 merge window. It slipped through the cracks on xorg-devel, but I just resurrected it with a review. Fix applied to git master, thanks: http://cgit.freedesktop.org/xorg/xserver/commit/?id=7d50211ab57a35910d79fc3f67ae89aff91fa995 As for someday supporting other bit depths, going forward it seems like Xorg with the xf86-video-dummy driver is going to get more attention than Xvfb, so seeing how well that works would be the next step I'd suggest. |
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.
{ Xvfb :1 -screen 0 10x10x2; } Program received signal SIGSEGV, Segmentation fault. 0x0000000000543830 in miInitVisuals (visualp=0x7fffffffe478, depthp=0x7fffffffe470, nvisualp=0x7fffffff0001, ndepthp=<value optimized out>, rootDepthp=0x7fffffffe484, defaultVisp=0x7fffffffe480, sizes=128, bitsPerRGB=8, preferredVis=-1) at micmap.c:664 664 *defaultVisp = depth[i].vids[j]; openSuSE Bug 698125 The offending code in vfbSceenInit is not patched, so reporting upstream.