-
Notifications
You must be signed in to change notification settings - Fork 84
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
jwm -p option segfaults #563
Comments
Unfortunately, I don't think there's enough information in that for me to do anything with. |
Hi @joewing and thank you for the response. There definitely is things wrong with my configuration as I just upgraded from 2.3.7 to 2.4.1. However I don't think there is too much to cause a segfault. The whole point of me running
Of course. When I get time I'll do a debug build and a backtrace with gdb. I actually just learnt how to do this remotely debugging a segfault in labwc (issue 194) |
Thanks for looking into it. It's almost certainly a JWM bug as it shouldn't be possible to cause a crash. What I meant to say is that being configuration related, it might be possible to provide me with a self-contained configuration so that I can reproduce the problem locally. |
So this is really interesting (interesting = strange) I'll use dotpoints
I'm typing this from the "bad" install right now, a pristine puppy, like I have been building for years on bare metal. (ryzen, amd graphics lots of RAM - usb install). ALL the menus work as expected! Most (if not all) of these are dynamic. I noticed some trouble in previous jwm issues in this repo with dynamic menus. As I can't cause a crash I can't give a backtrace. Been running near an hour now. 😕 Thanks for taking a look Joe. |
I think what's happening is that JWM is killing subprocesses which the kernel is reporting as a segfault in JWM. As of 2.4, JWM gives subprocesses used for menu/config generation a timeout so they don't stall forever (it looks like JWM is just going through and killing a bunch of different menu generation programs). |
Each program completes in a matter milliseconds, all with start and end Only one shows a bad config (which can be easy fixed). You can see the scripts here.
|
Thanks for helping me narrow it down! I think I'm able to reproduce what you're seeing. I just pushed a commit that appears to fix it for me. |
Hopefully that last commit fixes it. |
Great! I'll do a build and test. Thanks! EDIT: had to disable nls because of syntax errors in pt_BR translation and my build system flat refused to ignore! |
Well, thanks Joe! All fixed and as it happens, my configs are perfect 😄 |
release 2.4.1.
I can't see anything in the commit log that would fix it since February release.
Every time I run
jwm -p
it hangs. I have toctrl-C
to bail and I see a newdmesg
error each time as noted above. Do you need a debug build test?Thanks for looking.
The text was updated successfully, but these errors were encountered: