-
-
Notifications
You must be signed in to change notification settings - Fork 78
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
Crashes with StartsOnPage #1100
Comments
Hi @rasatpc It doesn't crash for me. Is there a corefile created? Anything in .fvwm/fvwm3-output.log ? |
You should also use the option |
Edit, the above option needs to be |
I did a test with default config and added this at the bottom. All app crashes except Evolution, Gimp, and Telegram. The crash is immediate and doesn't get recorded.
|
I have tracked down where the crash is happening, but unsure of a fix. For a temporary workaround use |
It is possible that the FvwmWindow monitor is NULL, that can cause a crash when broadcasting the window's configuration to packet modules by referencing a NULL pointer to send the monitor's ID. This now happens with StartsOnPage due to #1076 setting the monitor to NULL initially. This fix ensures that the monitor is always defined after processing any StartsOnScreen settings, by setting it to the current monitor if it is still NULL. Also ensuring the monitor is defined here simplifies some future checks that were doing the same thing by falling back to the current monitor if it was undefined. This fixes the crash reported in #1100.
Thanks, PR #1101 works fine. |
It is possible that the FvwmWindow monitor is NULL, that can cause a crash when broadcasting the window's configuration to packet modules by referencing a NULL pointer to send the monitor's ID. This now happens with StartsOnPage due to #1076 setting the monitor to NULL initially. This fix ensures that the monitor is always defined after processing any StartsOnScreen settings, by setting it to the current monitor if it is still NULL. Also ensuring the monitor is defined here simplifies some future checks that were doing the same thing by falling back to the current monitor if it was undefined. This fixes the crash reported in #1100.
It is possible that the FvwmWindow monitor is NULL, that can cause a crash when broadcasting the window's configuration to packet modules by referencing a NULL pointer to send the monitor's ID. This now happens with StartsOnPage due to #1076 setting the monitor to NULL initially. This fix ensures that the monitor is always defined after processing any StartsOnScreen settings, by setting it to the current monitor if it is still NULL. Also ensuring the monitor is defined here simplifies some future checks that were doing the same thing by falling back to the current monitor if it was undefined. This fixes the crash reported in #1100.
version 1.1.1 (1.1.0-118-g5c9b0ae2), works fine without crashing. |
Please do not close issues; there's automation in place to do this for me. |
Fixes #1100 |
fvwm3 --version
)version 1.1.1 (1.1.0-112-gf789db30)
Expected Behaviour
To move apps at the start to an assigned page.
Style *Firefox StartsOnPage 0 1 0
Style Telegram StartsOnPage 1 0 0
Style Evolution StartsOnPage 1 1 0
Behaviour
StartsOnPage 0 0 0 is ok but on any other page, it crashes and logs out of system.
The text was updated successfully, but these errors were encountered: