Bug 2255 - segmentation fault on 8-bit truecolor visual
Status: CLOSED FIXED
Alias: None
Product: Openbox
Classification: Unclassified
Component: general
Version: 3.2
Hardware: All Linux
: P2 major
Assignee: Dana Jansens
QA Contact:
URL: http://bugs.debian.org/306466
Depends on:
Blocks:
 
Reported: 2005-05-01 07:05 EDT by Tore Anderson
Modified: 2007-03-18 11:35:00 EDT
0 users

See Also:



Description Tore Anderson 2005-05-01 07:05:18 EDT
Forwarded from Jim Paris:
-------------------------

Openbox segfaults when drawing to an 8-bit TrueColor visual:

  Xvnc -depth 8 -pixelformat RGB332 -cc 4 :1 &
  DISPLAY=:1 xeyes &
  DISPLAY=:1 openbox &

gives:

  Fuck yah. Core dump. (Signal=11)

If it doesn't support this visual (which would be unfortunate), it
should give an error like it does for DirectColor:

  Xvnc -depth 8 -pixelformat RGB332 -cc 5 :1 &
  DISPLAY=:1 xeyes &
  DISPLAY=:1 openbox &
  (openbox:20259): ObRender-CRITICAL **: Unsupported visual class
  (openbox:20259): Openbox-CRITICAL **: Failed to initialize the render library.
Comment 1 Dana Jansens 2007-03-13 23:11:52 EDT
8bit truecolor is working now. At least in the vnc server I tried. Please let me know if otherwise. It wasn't core dumping when I tried it though, it was asserting. So.. I'm not so sure about that. But let me know if it persists in latest SVN openbox please. Marking this fixed until then.