-
-
Notifications
You must be signed in to change notification settings - Fork 56
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Workspace switcher #17
Comments
Hi, Workspace Manager in the middle of Front Panel is FvwmScript application. Maybe the problem is in FvwmScript interpreter. This was the case on FreeBSD when FVWM was compiled with clang, but not with gcc. Please see ~/.xsession-errors after starting NsCDE and also "dmesg | grep -i segfault" on affected platforms, so we can get closer to the cause of this issue. |
The xsession-errors shows on i686 such errors: dmesg shows nothing |
Lot of some warnings, but none of this looks like something about wha WSM is not started and swallowed in the Front Panel. Maybe some stack protector (there was such issue on FreeBSD in the past when FVWM was compiled with clang), but we must yet to confirm this. Can you please edit temporary line 126 of /opt/NsCDE/bin/nscde and replace this: Do it please on i686 and armhf. Maybe it is the same cause, maybe not. |
Enclosed zipped debug from i686 and armhf machines (doesn't support plain text files). |
Ok, now I'm pretty much sure this is about FvwmScript beeing compiled with -fstack-protector or some variation of this option like This: *** stack smashing detected *** happens when WSM needs to be started. You can try to recompile fvwm without any stack protector options (FvwmScript doesn't do networking anyway!) and if WSM works after that, you can ask on https://github.com/fvwmorg for FVWM authors to see if this is their bug to fix, or too much agressive gcc options for a valid non-networked code. Compile with CFLAGS="-O0 -g" so when this happens you can attache gdb on fvwm and send valuable output to developers of FVWM. EDIT: if you report bug on fvwmorg, mention that you use NsCDE, and that failure occurs with WSM script, this way it can be reproducible. I'm on vacation currently and not having much time for github or anything on the laptop, but if this isn't solved in the near future, I will take a look at this, but please try this on your own if you have a time ... |
Will try to recompile fvwm. |
Hi, do you have some findings about compiler flags impact on FVWM? This may be interesting since this was not the first time WSM FvwmScript failed to work with it's engine under such strict stack hardening. This is also interesting to report to my "upstream" that is, FVWM. |
Sorry, no time to compile fvwm. |
Closing this for now. |
Just hit this on Fedora 33 on aarch64 (64-bit ARM), with rev 8127348. Built and installed fine, center spot of the panel (where we expect the "One", "Two", "Three", and "Four" buttons) is blank.
|
Hi,
|
FYI, you probably noticed it sometimes appears, sometimes not when you restart FVWM or Front Panel. FvwmScript is core dumping when swallowed by FvwmButtons on Fedora 33 and possibly some other systems. As a workaround, you can change "ModuleSynchronous" to "Module" in /opt/NsCDE/config/NsCDE-FrontPanel.conf at line ~317. It will segfault and blink a few times and eventually stay in the Front Panel. I will see with upstream what to do here. |
Closed by using "While" instead of "For" in Workspace Manager button pressed state changing routine. Original bug belongs to FvwmScript and has been introduced to FVWM upstream. |
Hi
I have build and installed the latest rc21 on Debian stable & testing i686, amd64 and armhf.
The workspace switcher shows up on amd64 desktops only, but doesn't do that on i686 and armhf.
Any clue, please?
Regards
pavroo
The text was updated successfully, but these errors were encountered: