Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 54081

Summary: gkrellm2 crashes with the transparent theme after upgading icewm
Product: Gentoo Linux Reporter: m0sia <m0sia>
Component: Current packagesAssignee: Martin Holzer (RETIRED) <mholzer>
Status: RESOLVED INVALID    
Severity: critical    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description m0sia 2004-06-16 05:56:56 UTC
I upgraded icewm_1.2.14_pre9 to icewm_1.2.14. now gkrellm2.2.1 crashes with one of my own transparent theme. 
The error:

The program 'gkrellm2' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadDrawable (invalid Pixmap or Window parameter)'.
  (Details: serial 2339 error_code 9 request_code 14 minor_code 0)
  (Note to programmers: normally, X errors are reported asynchronously;
   that is, you will receive the error a while after causing it.
   To debug your program, run it with the --sync command line
   option to change this behavior. You can then get a meaningful
   backtrace from your debugger if you break on the gdk_x_error() function.)

$cat gkrellmrc
author = "m0sia"

chart_in_color       = #0f41b3
chart_in_color_grid  = #BDD6B4
chart_out_color      = #0f41b3
chart_out_color_grid = #BDD6B4
bg_grid_mode = 1

large_font = -adobe-helvetica-medium-r-normal-*-*-80-*-*-p-*-koi8-r
normal_font = -adobe-helvetica-medium-r-normal-*-*-80-*-*-p-*-koi8-r
small_font   = -adobe-helvetica-medium-r-normal-*-*-80-*-*-p-*-koi8-r

rx_led_x = 3
rx_led_y = 10
tx_led_x = 80
tx_led_y = 10

StyleMeter  *.transparency = 2
StylePanel  *.transparency = 2
StyleChart  *.transparency = 2

krell_slider_x_hot = 0
krell_slider_depth = 1

images need by theme are transparent png.

Reproducible: Always
Steps to Reproduce:
1.run gkrellm2 with this theme

Actual Results:  
it crashes with this theme

Expected Results:  
run without crashes

emerge info
Portage 2.0.50-r8 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r9, 2.6.6-love2)
=================================================================
System uname: 2.6.6-love2 i686 Pentium III (Coppermine)
Gentoo Base System version 1.4.3.13
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.58-r1
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-mcpu=pentium3 -march=pentium3 -O3 -pipe -funroll-loops"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1 
/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-mcpu=pentium3 -march=pentium3 -O3 -pipe -funroll-loops"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache digest distcc sandbox"
GENTOO_MIRRORS="http://mirror.gentoo.ru/pub/mirror/gentoo ftp://mirror.gentoo.ru 
/pub/mirror/gentoo/ http://www.ibiblio.org/pub/Linux/distributions/gentoo "
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://www.akustiks.ru/gentoo-portage"
USE="X aalib alsa apm arts avi berkdb cdr crypt cups dvd encode esd foomaticdb f 
reetype gdbm gif gnome gphoto2 gpm gtk gtk2 guile imlib java joystick jpeg kde l 
ibg++ libwww lirc mad mikmod mmx motif mpeg ncurses nls oggvorbis opengl oss pam 
 pdflib perl png python qt quicktime readline sdl slang spell sse ssl tcltk tcpd 
 tetex truetype x86 xft xml2 xmms xv zlib"
Comment 1 m0sia 2004-06-16 13:44:28 UTC
it is not gkrellm2 problem. it is problem in new icewmbg code(i don't no where). gkrellm2 in transparent mode tries to get image from root window and it fails. the same error has Eterm in transparent mode.
to solve the problem now i use Esetroot(from Eterm) instead of icewmbg. everything works ok.
Comment 2 N Addy 2004-06-18 18:47:43 UTC
Are you sure about that?  This is the same misbehavior as bug# 52877.

I'm running metacity-2.8.1 but I get the same error.  This did not happen with gkrellm versions prior to 2.2.0.
Comment 3 m0sia 2004-06-19 03:01:04 UTC
1)of cource im'm not sure, because i'm not a developer. but i solved my problem with Esetroot(instead of icewmbg). 
2)By the way the main diffrence between gkrellm 2.1.x & 2.2.x is pango library. maybe it is pango problem. try to upgrade pango. 
Comment 4 Disenchanted (RETIRED) gentoo-dev 2004-07-11 17:00:04 UTC
could you do me a favor and try this on icewm-1.2.15_pre1 that is in portage?
i can not reproduce this here, with either 1.2.14 or 1.2.15_pre1 and i would like to know if this still an issue for you in the latest pre release of 1.2.15

thank you in advance for your time
Comment 5 Disenchanted (RETIRED) gentoo-dev 2004-07-30 12:01:26 UTC
did changing gkrellm versions (comment #2) and or icewm version (up to 1.2.15_pre2 now) change anything on this behaviour?
Comment 6 Disenchanted (RETIRED) gentoo-dev 2004-08-05 21:23:47 UTC
Problem appears to be with gkrellm not icewm + no reply from OP