conformal / spectrwm

A small dynamic tiling window manager for X11.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Crash on compiled 3.5.1 version.

ZaxonXP opened this issue · comments

I got last release as zip, unpacked and recompiled with make (no errors) on Debian 12 bookworm. When I installed and restarted x11 I got this error:

spectrwm: Welcome to spectrwm V3.5.1 Build: 3.5.1
malloc(): corrupted top size
xinit: connection to X server lost

Is this issue known?

Kind regards,
Piotr

Similar outcome on Slackware15, builds as expected but fatal runtime error:

spectrwm: Welcome to spectrwm V3.5.1 Build: 3.5.1
malloc(): invalid size (unsorted)
xinit: connection to X server lost

Was unable to reproduce the issue with defaults, so it may be conf dependent. Just pushed a possible fix on the release3.6 branch (f2ff20d) please test.

@LordReg: I compiled the new branch and managed to run it, but only on the clean config.
On my config it crashing. How can I find out what causing the crash? Is there any way to validate the config without disabling line by line and trying?

On my config the crash generates such log:

spectrwm: Welcome to spectrwm V3.6.0 Build: f2ff20d5ea10bfe6bafd5d7792175c0bcdaaed23
spectrwm: sighdlr: child exit status: 1
malloc(): corrupted top size

Should I attach my config to this bug?

Should I attach my config to this bug?

Please do

@ZaxonXP your config was helpful. Fixed on the release3.6 branch.

Indeed. Now it compiles and works correctly. Many thanks!