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

Bug 752138

Summary: x11-wm/icewm crashes when pressing Alt+Tab
Product: Gentoo Linux Reporter: gentoolinux
Component: Current packagesAssignee: Lars Wendler (Polynomial-C) <polynomial-c>
Status: UNCONFIRMED ---    
Severity: normal CC: jstein
Priority: Normal    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: gdb output
emerge --info

Description gentoolinux 2020-11-01 16:25:43 UTC
IceWM crashes with segfault every time I press Alt+Tab, see the following output of dmesg:

[70822.419011] icewm[27280]: segfault at 0 ip 0000564f78726ae3 sp 00007ffd00fe31d8 error 4 in icewm[564f78671000+ce000]
[70822.419027] Code: 1f 84 00 00 00 00 00 48 8b 04 25 00 00 00 00 0f 0b 31 ed e9 90 fe ff ff e8 8a b2 f4 ff 66 2e 0f 1f 84 00 00 00 00 00 48 8b 07 <48> 8b 00 c3 90 0f 1f 84 00 00 00 00 00 41 54 49 89 fc 48 83 ec 10

This affects all available versions from 1.7.0 up to 1.9.0. Also I am seeing the problem on two Gentoo boxes.

I tried to track down the root cause using gdb and will attach the output. I am not sure if this is helpful. If not, please let me know what else I can try to fix this.

Reproducible: Always

Steps to Reproduce:
1. Press Alt+Tab
Actual Results:  
Crash (segfault)

Expected Results:  
No crash
Comment 1 gentoolinux 2020-11-01 16:27:12 UTC
Created attachment 669617 [details]
gdb output
Comment 2 gentoolinux 2020-11-01 16:28:55 UTC
Created attachment 669620 [details]
emerge --info
Comment 3 gentoolinux 2020-11-01 17:44:54 UTC
I forgot to add: The backtrace is from icewm-1.9.0.

This is the function from ycolor.cc that causes the crash:

   384  unsigned long YColor::pixel() {
   385      return fPixel->pixel();
   386  }