--- Begin Message ---
Package: eterm
Version: 0.9.6-1
Severity: normal
Tags: patch
File: /usr/bin/Esetroot
If the default visual on a screen is PseudoColor then Esetroot gets an
error. This can be seen with the Xvfb test server,
xvfb-run -a -s '-cc 33' Esetroot /usr/share/Eterm/pix/tile/circuit.jpg
=>
X Error of failed request: BadColor (invalid Colormap parameter)
Major opcode of failed request: 84 (X_AllocColor)
Resource id in failed request: 0x0
Serial number of failed request: 10
Current serial number in output stream: 10
gdb "break exit" shows
#0 __GI_exit (status=status@entry=1) at exit.c:98
#1 0xb7e5be6e in _XDefaultError (dpy=0x804d008, event=0xbfffeecc) at ../../src/XlibInt.c:1414
#2 0xb7e5bfa6 in _XError (dpy=dpy@entry=0x804d008, rep=rep@entry=0x805c6b8) at ../../src/XlibInt.c:1463
#3 0xb7e58ca6 in handle_error (dpy=dpy@entry=0x804d008, err=0x805c6b8, in_XReply=in_XReply@entry=1)
at ../../src/xcb_io.c:213
#4 0xb7e59ea3 in _XReply (dpy=dpy@entry=0x804d008, rep=rep@entry=0xbffff000, extra=extra@entry=0,
discard=discard@entry=1) at ../../src/xcb_io.c:699
#5 0xb7e3e490 in XAllocColor (dpy=0x804d008, cmap=0, def=0xbffff084) at ../../src/GetHColor.c:48
#6 0xb7f6e27a in ?? () from /usr/lib/i386-linux-gnu/libImlib2.so.1
#7 0xb7f6f310 in ?? () from /usr/lib/i386-linux-gnu/libImlib2.so.1
#8 0xb7f70bdb in ?? () from /usr/lib/i386-linux-gnu/libImlib2.so.1
#9 0xb7f70c88 in ?? () from /usr/lib/i386-linux-gnu/libImlib2.so.1
#10 0xb7f85ec2 in ?? () from /usr/lib/i386-linux-gnu/libImlib2.so.1
#11 0xb7f70f61 in ?? () from /usr/lib/i386-linux-gnu/libImlib2.so.1
#12 0xb7f6022b in imlib_render_pixmaps_for_whole_image_at_size () from /usr/lib/i386-linux-gnu/libImlib2.so.1
#13 0x08049648 in ?? ()
#14 0xb7c8a8c5 in __libc_start_main (main=0x8048ef0, argc=2, ubp_av=0xbffff924, init=0x8049fe0, fini=0x8049fd0,
rtld_fini=0xb7fee0c0 <_dl_fini>, stack_end=0xbffff91c) at libc-start.c:260
#15 0x08049b11 in ?? ()
I think cmap=0 means imlib_context_set_colormap() has not been called.
You'd probably like imlib to give some better message there than to call
XAllocColor() with cmap=0, but in any case I expect Esetroot should pass
the root colormap. I get some joy from the line below.
--- Esetroot.c.orig 2011-03-16 16:16:59.000000000 +1100
+++ Esetroot.c 2013-11-06 06:05:10.000000000 +1100
@@ -180,6 +180,7 @@
}
imlib_context_set_display(Xdisplay);
imlib_context_set_visual(DefaultVisual(Xdisplay, DefaultScreen(Xdisplay)));
+ imlib_context_set_colormap(DefaultColormap(Xdisplay, DefaultScreen(Xdisplay)));
im = imlib_load_image_immediately(fname);
if (!im) {
fprintf(stderr, "%s: Unable to load image file \"%s\".\n", *argv, fname);
-- System Information:
Debian Release: jessie/sid
APT prefers unstable
APT policy: (990, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.32-5-686 (SMP w/1 CPU core)
Locale: LANG=en_AU.utf8, LC_CTYPE=en_AU.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages eterm depends on:
ii libast2 0.7-6+b1
ii libc6 2.17-93
ii libfreetype6 2.4.9-1.1
ii libice6 2:1.0.8-2
ii libimlib2 1.4.5-3
ii libsm6 2:1.2.1-2
ii libx11-6 2:1.6.2-1
ii libxext6 2:1.3.2-1
ii multiarch-support 2.17-93
ii zlib1g 1:1.2.8.dfsg-1
eterm recommends no packages.
eterm suggests no packages.
-- no debconf information
--- End Message ---
--- Begin Message ---
Source: eterm
Source-Version: 0.9.6-5
We believe that the bug you reported is fixed in the latest version of
eterm, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 728813@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Santiago Vila <sanvila@debian.org> (supplier of updated eterm package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Sun, 29 Jan 2017 19:02:04 +0100
Source: eterm
Binary: eterm
Architecture: source
Version: 0.9.6-5
Distribution: unstable
Urgency: medium
Maintainer: Debian QA Group <packages@qa.debian.org>
Changed-By: Santiago Vila <sanvila@debian.org>
Description:
eterm - Enlightened Terminal Emulator
Closes: 728813
Changes:
eterm (0.9.6-5) unstable; urgency=medium
.
* QA upload.
* Rename all patches to have .patch ending.
* Fix Esetroot on PseudoColor visual. Closes: #728813.
Thanks to Kevin Ryde for the patch.
Checksums-Sha1:
6bde450f8715f9e6bac658edbcbe163f7abf0114 1514 eterm_0.9.6-5.dsc
428f18ca6f203bb802935f4f0533c66ad872493f 12688 eterm_0.9.6-5.debian.tar.xz
fdc3798f535122661dd655c0fa398a43f8d6461f 7375 eterm_0.9.6-5_source.buildinfo
Checksums-Sha256:
41dead9a0c7af7aa2a19105408755f2dc8db2758aa1c7042f5f0a1176aee9030 1514 eterm_0.9.6-5.dsc
9815b7fd021ca4eb24e58d1896d8aa17d4f2cdbc2b040c5852e2992a943a3fed 12688 eterm_0.9.6-5.debian.tar.xz
ad5a4c006d98ead12693708707e29749c5e8f96e13719538ea76bfa49458ec75 7375 eterm_0.9.6-5_source.buildinfo
Files:
08a4f6741b91644a286539ac08b8fbf0 1514 x11 optional eterm_0.9.6-5.dsc
b8030b7e2bee6007d73433d191fcc5cd 12688 x11 optional eterm_0.9.6-5.debian.tar.xz
9612c21dad347fb45bf629181278425e 7375 x11 optional eterm_0.9.6-5_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQEzBAEBCAAdFiEE1Uw7+v+wQt44LaXXQc5/C58bizIFAliOLlcACgkQQc5/C58b
izLfQQf9HWvtrIoCUz7+otMBs+D2CjcwdXJgmYC+z1L2jEngO3Tuuibrd+a/+mAv
Y813y47b1Ygyt0FYsSx/M5gSWxnnM4PrPmw3VpEQmWHJreDvd8fzswmMZg8RlRs/
mL4EwvCSbXBh5n+/70Om1CRdqdLiPnwmUP5FwyZdDfaJkVX6py01WWM2qXs2sw4V
KYW6mhOWqWzQIITv296U7VbhDol8sCtVQ6q1FCB5RjbxrhtMPcISQUmRudt7wWLo
KvTF2Ec817MbVD2DDL78DeWYBcw2PHgCezVWJiondmxdCTAPEaGMPQ8UhkPT5xBa
pWmYR7zJ2KvxajarYJMiq60OWOzqcw==
=xHf0
-----END PGP SIGNATURE-----
--- End Message ---