I have an application built in "C" which includes LabWindows' GUIs. Though this application has been running under Solaris 2.5.7 successfully for over 2 years, occasionally at startup the application tries to display a window and the CDE window manager crashes (logging the user out of Solaris altogether!).
I have a suspicion that the colormap for my app may be involved because of another failure mode (also crashing the window manager) that occurs when an imaging application (heavy user of greyscale colors) is running at the same time as my app. When the imaging app dynamically requests more colors, my application's GUIs turn almost entirely 'black' (as though some of the colormap e
ntries they were using have been corrupted by the other app's many greyscale colors).
The default visual of the display is 24-bit TrueColor. I queried the Labwindows GUIs via 'xwininfo' and they are always 8-bit pseudo-color. All other apps (including the imaging app use 24-bit Truecolor. Can I somehow tell Labwindows to use 24-bit TrueColor.? Is there a subtlety in the way 8-bit pseudo-color is handled that I need to program around?
The windows display 99% of the time properly. Of course, when the default visual was previously 8-bit pseudocolor, there was alot of colormap flashing, but I don't recall any window manager crashes. Now, the colormap flashing no longer occurs, but I have occasional crashes. As a last resort, are there any log files from the CDE window manager available?
The GUIs I built are not color intensive at all - they use only two or three colors beyond the standard palette used by Labwindows itself.