Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 646540 - x11-wm/icewm-1.4.2 crashes when selecting submenus from menu/launch bar
Summary: x11-wm/icewm-1.4.2 crashes when selecting submenus from menu/launch bar
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: No maintainer - Look at if you want to take care of it
Depends on:
Reported: 2018-02-04 02:52 UTC by Walter Dnes
Modified: 2023-07-26 19:42 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---

Bottom statusbar showing truncated workspace labels (statusbar.png,27.98 KB, image/png)
2019-04-30 00:02 UTC, Walter Dnes

Note You need to log in before you can comment on or make changes to this bug.
Description Walter Dnes 2018-02-04 02:52:37 UTC
ICEWM has a menu/launch bar available at the bottom of the screen. Everything works OK in icewm-1.3.12-r1. But in 1.4.2 (and 1.4.0)
* clicking on icon to change workarea works OK
* clicking on icon to launch an application from the main launchbar works OK
* clicking on icon to open a sub-menu crashes immediately

This happens on both 32-bit and 64-bit Intel Gentoo installs. When done as root, the system locks up solid. Cannot ssh in, and no response to "Magic SysRq". When done as regular user, ICEWM crashes back to the text console from which "startx" was executed. Xorg.log shows nothing interesting

[    73.084] (II) UnloadModule: "kbd"
[    73.084] (II) UnloadModule: "mouse"
[    73.785] (II) Server terminated successfully (0). Closing log file.

  Here is a fragment from ~/.icewm/menu (which is a symlink to ~/.icewm/toolbar)

prog GQVIEW gqview_64x64.png /usr/bin/gqview /home/waltdnes/wxmap/
prog Restart\ ICEWM restart_128x128.png killall -HUP /usr/bin/icewm
menu NETAIR gnumeric.png {
  prog Book\ 3 gnumeric.png /usr/bin/gnumeric /home/waltdnes/worldtemps/netair/B
  prog Day\ Anomalies\ 1000 gnumeric.png /usr/bin/gnumeric worldtemps/netair/dan
  prog Mon\ Anomalies\ 1000 gnumeric.png /usr/bin/gnumeric worldtemps/netair/man
  prog Mon\ Anomalies\ RSS3 gnumeric.png /usr/bin/gnumeric worldtemps/netair/mon
  prog Mon\ Anomalies\ RSS4 gnumeric.png /usr/bin/gnumeric worldtemps/netair/mon
  prog Mon\ Anomalies\ UAH gnumeric.png /usr/bin/gnumeric worldtemps/netair/monu

Clicking on the icon correponding to "GQVIEW" or "Restart ICEWM" works OK. Clicking on the icon corresponding to "NETAIR" causes an immediate crash.

Reproducible: Always

Steps to Reproduce:
1. Launch ICEWM via startx
2. Click on any launchbar icon that brings up a sub menu

Actual Results:  
ICEWM crashes immediately

Expected Results:  
A submenu should open up, allowing a further choice of applications to launch.

x11-wm/icewm-1.3.12-r1 works OK, so I'm staying with it for now.

Portage 2.3.13 (python 3.4.5-final-0, default/linux/amd64/17.0/no-multilib, gcc-6.4.0, glibc-2.25-r9, 4.12.12-gentoo x86_64)
System uname: Linux-4.12.12-gentoo-x86_64-Intel-R-_Pentium-R-_CPU_N3700_@_1.60GHz-with-gentoo-2.4.1
KiB Mem:     8091712 total,   7874284 free
KiB Swap:   12071616 total,  12071616 free
Timestamp of repository gentoo: Sun, 04 Feb 2018 00:30:01 +0000
Head commit of repository gentoo: de7c664c0084935b751094ce9df7d055ed6a9ffd
sh bash 4.4_p12
ld GNU ld (Gentoo 2.29.1 p3) 2.29.1
app-shells/bash:          4.4_p12::gentoo
dev-lang/perl:            5.24.3::gentoo
dev-lang/python:          2.7.14-r1::gentoo, 3.4.5-r1::gentoo, 3.6.3-r1::gentoo
dev-util/cmake:           3.9.6::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.4.1-r2::gentoo
sys-apps/openrc:          0.34.11::gentoo
sys-apps/sandbox:         2.10-r4::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r4::gentoo
sys-devel/automake:       1.9.6-r4::gentoo, 1.11.6-r2::gentoo, 1.15.1-r1::gentoo
sys-devel/binutils:       2.29.1-r1::gentoo
sys-devel/gcc:            6.4.0-r1::gentoo
sys-devel/gcc-config:     1.8-r1::gentoo
sys-devel/libtool:        2.4.6-r3::gentoo
sys-devel/make:           4.2.1::gentoo
sys-kernel/linux-headers: 4.13::gentoo (virtual/os-headers)
sys-libs/glibc:           2.25-r9::gentoo

    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://
    priority: -1000
    sync-rsync-extra-opts: --exclude-from=/etc/portage/rsync_excludes

    location: /usr/local/portage
    masters: gentoo

Installed sets: @palemoon_build
CFLAGS="-O2 -march=native -mfpmath=sse -fomit-frame-pointer -pipe -fno-unwind-tables -fno-asynchronous-unwind-tables"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -march=native -mfpmath=sse -fomit-frame-pointer -pipe -fno-unwind-tables -fno-asynchronous-unwind-tables"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles merge-sync multilib-strict news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfe
tch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
INSTALL_MASK="/lib/systemd/system /usr/lib/systemd/system"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en en_US"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclud
e=/packages --exclude=/.git"
USE="X amd64 apng bzip2 cli cxx dri fmpeg fortran jpeg modules ncurses nptl opengl openmp pcre png readline seccomp ssl szip threads truetype x264 x265 xattr xorg zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 at
iixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core soca
che_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav
_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_
alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes mmx mmxext popcnt sse sse2
sse3 sse4_1 sse4_2 ssse3" CURL_SSL="openssl" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104
v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="keyboard mouse" KERNEL="linux" L10N="en en-US" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses
 text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6 php7-0" POSTGRES_TARGETS="postgres9_5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS
="python2_7 python3_4" QEMU_SOFTMMU_TARGETS="i386 x86_64" QEMU_USER_TARGETS="i386 x86_64" RUBY_TARGETS="ruby22 ruby23" USERLAND="GNU" VIDEO_CARDS="intel i965" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4o
ptions ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Comment 1 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2019-04-29 15:32:53 UTC
Still an issue with latest 1.5.x release?
Comment 2 Walter Dnes 2019-04-30 00:02:45 UTC
Created attachment 574770 [details]
Bottom statusbar showing truncated workspace labels
Comment 3 Walter Dnes 2019-04-30 00:04:36 UTC
I apologize for the delay responding. The newer desktop (amd64 Gentoo) updated quickly. My 32-bit desktop (11-year-old Dell Core2 with 3 gigs ram) took a while grinding away updating @world. 1.5.3 and 1.5.4 (both ~amd64 and ~x86) appear to have solved the crash on amd64 and x86.

Before stabilizing 1.5.3 or 1.5.4... I seem to have found a separate problem with both 1.5.3 and 1.5.4 on ~amd64 and ~x86. For the workspace labels, either the bottom status/menu bar font is too large or the labels are too small. This did not happen on previous versions. See attached image of menubar. Note the truncated labels at the bottom left. Before filing a new bug, I'll first RTFM, and see if anything has changed in how ICEWM is supposed to be configured/setup. Clicking the workspace labels does work (i.e. changing to the appropriate workspace) so this is a cosmetic issue, as long as you know which label is which.

BTW, am I missing something obvious? I can't seem to attach an image with a text post like this.