The latest version of icewm, 1.3.8-3.el6 was recently made available on the EPEL repo. Once installed, if there is an background image within a user's $HOME/.icewm directory enabled in the preferences file, the icewmbg program will seg fault.
OS: CentOS 6.5
Kernel: 2.6.32-431.29.2.el6.x86_64
Reproducable: Yes, always
Steps:
Workaround 1:
With 1.3.8 RPM installed, make copy of icewmbg
cp -p /usr/bin/icewmbg /usr/bin/icewmbg.1.3.8
Copy icewmbg from a CentOS6 with the 1.3.7 RPM into /usr/bin/icewmbg
scp -p $RHOST:/usr/bin/icewmbg
Restart ICEWM
Background image is displayed via icewmbg without seg fault and ICEWM appears to behave normally.
Workaround #2:
Comment out (disable) all entries at the bottom of the preferences file making reference to an image
Section starts with
"icewmbg preferences"
Core File Backtrace:
(gdb) bt
#0 0x0000003584e08126 in gdk_pixbuf_new_from_data () from /usr/lib64/libgdk_pixbuf-2.0.so.0 #1 0x0000003584e05b99 in gdk_pixbuf_new () from /usr/lib64/libgdk_pixbuf-2.0.so.0 #2 0x00007f3e3e75711f in ?? () from /usr/lib64/gtk-2.0/2.10.0/loaders/libpixbufloader-jpeg.so #3 0x0000003584e0b1f3 in ?? () from /usr/lib64/libgdk_pixbuf-2.0.so.0 #4 0x0000003584e0b4ec in gdk_pixbuf_new_from_file () from /usr/lib64/libgdk_pixbuf-2.0.so.0 #5 0x000000000041d171 in YImage::load (filename=<value optimized out>) at yimage_gdk.cc:44 #6 0x000000000041c113 in YPixmap::load (filename=<value optimized out>) at ypixmap.cc:140 #7 0x000000000040516d in renderBackground (paths=..., filename=<value optimized out>, color=0x1e15850) at icewmbg.cc:167 #8 0x0000000000405476 in DesktopBackgroundManager::changeBackground (this=0x1df6430) at icewmbg.cc:268 #9 0x0000000000405a71 in main (argc=1, argv=0x7fff8b8ece98) at icewmbg.cc:499