>>>> "P" == P E Jareth Hein
<jareth(a)camelot.co.jp> writes:
>>>> "CW" == Christoph Wedler
<wedler(a)fmi.uni-passau.de> writes:
CW> Building was fine. Having the
toolbar on the left side is still a
CW> problem (frame resizing, workaround in XEmacs-20.4 doesn't work
CW> with XEmacs-21.0). The placement should be probably be able to
CW> set with ~/.Xresources.
CW> Sometimes (well, I guess if all 256 colors are used), I get some
CW> strange lines in my shell where I've invoked XEmacs from:
CW> allocate_nearest_color returned 0!!!
CW> Warning: Cannot allocate colormap entry for "Maroon"
CW> allocate_nearest_color returned 0!!! Warning: Cannot allocate
CW> colormap entry for "ForestGreen" allocate_nearest_color
CW> returned 0!!!
CW> Is this intended? I remember having seen this once in b47, too.
P> This is indicative of something that isn't supposed to be able to
P> happen. I'll look again at the code in question, but I thought I was
P> pretty thourough last time... :-( Could you perhaps send me the
P> output of 'xdpyinfo' so I can get a little info on your X server?
Jareth,
I got this too in emacs-version "21.0 \"Finnish Landrace\" XEmacs
Lucid".
It may have well occured while I was viewing some JPEG images, but I
can't be sure now.
allocate_nearest_color returned 0!!!
allocate_nearest_color returned 0!!!
allocate_nearest_color returned 0!!!
allocate_nearest_color returned 0!!!
allocate_nearest_color returned 0!!!
allocate_nearest_color returned 0!!!
allocate_nearest_color returned 0!!!
allocate_nearest_color returned 0!!!
allocate_nearest_color returned 0!!!
allocate_nearest_color returned 0!!!
allocate_nearest_color returned 0!!!
allocate_nearest_color returned 0!!!
allocate_nearest_color returned 0!!!
allocate_nearest_color returned 0!!!
allocate_nearest_color returned 0!!!
allocate_nearest_color returned 0!!!
allocate_nearest_color returned 0!!!
allocate_nearest_color returned 0!!!
allocate_nearest_color returned 0!!!
allocate_nearest_color returned 0!!!
allocate_nearest_color returned 0!!!
allocate_nearest_color returned 0!!!
allocate_nearest_color returned 0!!!
allocate_nearest_color returned 0!!!
allocate_nearest_color returned 0!!!
allocate_nearest_color returned 0!!!
allocate_nearest_color returned 0!!!
And here is output from
C-u M-! xdpyinfo
name of display: :0.0
version number: 11.0
vendor string: Sun Microsystems, Inc.
vendor release number: 3510
maximum request size: 262140 bytes
motion buffer size: 256
bitmap unit, bit order, padding: 32, MSBFirst, 32
image byte order: MSBFirst
number of supported pixmap formats: 3
supported pixmap formats:
depth 1, bits_per_pixel 1, scanline_pad 32
depth 8, bits_per_pixel 8, scanline_pad 32
depth 24, bits_per_pixel 32, scanline_pad 32
keycode range: minimum 8, maximum 132
focus: window 0x1800736, revert to Parent
number of extensions: 16
SUN_ALLPLANES
Adobe-DPS-Extension
DPSExtension
SHAPE
MIT-SHM
Multi-Buffering
XInputExtension
XInputDeviceEvents
XTEST
MIT-SUNDRY-NONSTANDARD
SUN_DGA
SolarisIA
SUN_OVL
AccessX
SUN_SME
X3D-PEX
default screen number: 0
number of screens: 1
screen #0:
dimensions: 1280x1024 pixels (361x288 millimeters)
resolution: 90x90 dots per inch
depths (3): 1, 8, 24
root window id: 0x31
depth of root window: 8 planes
number of colormaps: minimum 1, maximum 1
default colormap: 0x2f
default number of colormap cells: 256
preallocated pixels: black 1, white 0
options: backing-store YES, save-unders YES
current input event mask: 0x78003c
ButtonPressMask ButtonReleaseMask EnterWindowMask
LeaveWindowMask SubstructureNotifyMask SubstructureRedirectMask
FocusChangeMask PropertyChangeMask
number of visuals: 11
default visual id: 0x20
visual:
visual id: 0x20
class: PseudoColor
depth: 8 planes
size of colormap: 256 entries
red, green, blue masks: 0x0, 0x0, 0x0
significant bits in color specification: 8 bits
visual:
visual id: 0x21
class: StaticColor
depth: 8 planes
size of colormap: 256 entries
red, green, blue masks: 0x7, 0x38, 0xc0
significant bits in color specification: 8 bits
visual:
visual id: 0x22
class: StaticGray
depth: 8 planes
size of colormap: 256 entries
red, green, blue masks: 0x0, 0x0, 0x0
significant bits in color specification: 8 bits
visual:
visual id: 0x23
class: GrayScale
depth: 8 planes
size of colormap: 256 entries
red, green, blue masks: 0x0, 0x0, 0x0
significant bits in color specification: 8 bits
visual:
visual id: 0x24
class: TrueColor
depth: 8 planes
size of colormap: 8 entries
red, green, blue masks: 0x7, 0x38, 0xc0
significant bits in color specification: 8 bits
visual:
visual id: 0x25
class: DirectColor
depth: 8 planes
size of colormap: 8 entries
red, green, blue masks: 0x7, 0x38, 0xc0
significant bits in color specification: 8 bits
visual:
visual id: 0x28
class: StaticGray
depth: 8 planes
size of colormap: 256 entries
red, green, blue masks: 0x0, 0x0, 0x0
significant bits in color specification: 8 bits
visual:
visual id: 0x2a
class: PseudoColor
depth: 8 planes
size of colormap: 224 entries
red, green, blue masks: 0x0, 0x0, 0x0
significant bits in color specification: 8 bits
visual:
visual id: 0x26
class: TrueColor
depth: 24 planes
size of colormap: 256 entries
red, green, blue masks: 0xff, 0xff00, 0xff0000
significant bits in color specification: 8 bits
visual:
visual id: 0x27
class: DirectColor
depth: 24 planes
size of colormap: 256 entries
red, green, blue masks: 0xff, 0xff00, 0xff0000
significant bits in color specification: 8 bits
visual:
visual id: 0x29
class: TrueColor
depth: 24 planes
size of colormap: 256 entries
red, green, blue masks: 0xff, 0xff00, 0xff0000
significant bits in color specification: 8 bits
number of mono multibuffer types: 11
visual id, max buffers, depth: 0x20, 0, 8
visual id, max buffers, depth: 0x21, 0, 8
visual id, max buffers, depth: 0x22, 0, 8
visual id, max buffers, depth: 0x23, 0, 8
visual id, max buffers, depth: 0x24, 0, 8
visual id, max buffers, depth: 0x25, 0, 8
visual id, max buffers, depth: 0x28, 0, 8
visual id, max buffers, depth: 0x2a, 0, 8
visual id, max buffers, depth: 0x26, 0, 24
visual id, max buffers, depth: 0x27, 0, 24
visual id, max buffers, depth: 0x29, 0, 24
number of stereo multibuffer types: 0
Best,
Adrian
P> Thanx.
P> --
P> Jareth Hein | jareth(a)camelot.co.jp | ハイン ジェラス
P> Toolsmith & Program lead |
http://www.camelot.co.jp | 開発部チーフ
P> Camelot Software, Ltd. | |(株)キャメロット
P> "It's a sad sign of the times when 'political machine' is
redefined to
P> include 'main-line battle tank'" - Ambassador Grossblunder
--
Adrian Aichner
Applications Engineer
Teradyne GmbH
Semiconductor Test Group Telephone +49/89/41861(0)-208
Dingolfinger Strasse 2 Fax +49/89/41861-217
D-81673 MUENCHEN E-mail aichner(a)ecf.teradyne.com