#1040643 wmaker crashes on trying to set Attributes on steam-window

Package:
wmaker
Source:
wmaker
Description:
NeXTSTEP-like window manager for X
Submitter:
Peter Keel
Date:
2023-07-08 12:36:04 UTC
Severity:
normal
#1040643#5
Date:
2023-07-08 12:27:03 UTC
From:
To:
Hi

When trying to set "Attributes" from the menu on a steam-window, wmaker
crashes.

| /usr/libexec/WindowMaker/wmaker(MonitorLoop(monitor.c:133)): warning:
| Window Maker exited due to a crash (signal 11) and will be restarted.

In order to set attributes, you either need to have IgnoreGtkHints = YES;
set or open the menu with ctrl-esc while a steam (Valve) window has
focus.

I tried to debug it, but it either blocks my gdb or doesn't return
anything useful:

$ gdb /usr/libexec/WindowMaker/wmaker

[...]

Reading symbols from /usr/libexec/WindowMaker/wmaker...
Reading symbols from /usr/lib/debug/.build-id/30/d1882708ca14128e56d12939b2c66edff5cbfb.debug...
(gdb) set  follow-fork-mode child
(gdb) run
Starting program: /usr/libexec/WindowMaker/wmaker
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Attaching after Thread 0x7ffff640e940 (LWP 570717) fork to child process 570718]
[New inferior 2 (process 570718)]
[Detaching after fork from parent process 570717]
[Inferior 1 (process 570717) detached]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
process 570718 is executing new program: /usr/libexec/WindowMaker/wmaker
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7ffff34356c0 (LWP 570720)]
[Thread 0x7ffff34356c0 (LWP 570720) exited]
[Attaching after Thread 0x7ffff640e940 (LWP 570718) fork to child process 570721]
[New inferior 3 (process 570721)]
[Detaching after fork from parent process 570718]
[Inferior 2 (process 570718)
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7ffff34356c0 (LWP 567265)]
[Thread 0x7ffff34356c0 (LWP 567265) exited]
[Attaching after Thread 0x7ffff640e940 (LWP 567264) fork to child process 567266]
[New inferior 3 (process 567266)]
[Detaching after fork from parent process 567264]
[Inferior 2 (process 567264) detached]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
process 567266 is executing new program: /usr/bin/dash
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Attaching after Thread 0x7ffff7da6740 (LWP 567266) fork to child process 567278]
[New inferior 4 (process 567278)]
[Detaching after fork from parent process 567266]
[Inferior 3 (process 567266) detached]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
process 567278 is executing new program: /usr/bin/wmsetbg
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Inferior 4 (process 567278) exited normally]
(gdb) /usr/libexec/WindowMaker/wmaker(MonitorLoop(monitor.c:133)): warning: Window Maker exited due to a crash (signal 11) and will be restarted.

quit
(gdb) bt

No stack.


With "follow-fork-mode parent", it blocks gdb.