-
-
Notifications
You must be signed in to change notification settings - Fork 462
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
The app crashes when i try to open the folder of an app (SimpleWall 3.6.2) #1224
Comments
crashdump? |
Try to open manually |
I can't find it anywhere |
Look for files with the file extension Opening Event Viewer (open Start menu, then enter It is advised that you sort all Event Viewer entries by date and time, and then by severity. |
I couldn't find any .dmp file related to simplewall in my pc, the Henry++ folder doesn't even exist. |
That is likely because he registers his own exception handler, but please be advised that without a If you have any experience with debugging Windows applications, you could try to attach a free debugger like x64dbg to simplewall, then trigger the crash and see where the exception is thrown - a screenshot (including the call-stack) would already help us. |
Thanks. I took a short look using IDA, and it seems like ultimately a function responsible for freeing heap allocated memory crashes while dereferencing a pointer / argument passed through parameters, the function that ended up calling this function opens Windows Explorer and selects file (caller of crashing function is screenshot #1, crashing function is #2): Highlighted parts of IDA pseudo-code are execution-flow / location of crash in second screenshot. This makes sense, because you mentioned in your first post that simplewall crashes while you try to open the folder containing the binary of a user rule, and this feature would highlight the binary, which you can do if you pass /select argument to Explorer:
By the way, I just tried to use this option, and it causes the same crash on my system (Windows Server 2019 LTSC), crash dump also does not get created properly (because you try to write file to non-existent folder hierarchy, you have to create Henry++ folder in "AppData\Roaming" first, then "crashdumps" folder, and then you can write your crash dump file). I hope my analysis helps to fix the problem, I could not find the two functions above in your public code-base but it is only 06:00 AM where I live and I did not have a coffee yet :-) |
@gettysburg what steps did you took to crash the app? opening the folder of an app from app menu does not crash the app for me. Also I do have And we both run windows 10 enterprise ltsc with the same Kernel version. Edit: clarifying my comment a bit |
I didn't crash it, the screenshot number 2 from nuno-source provided enough information for me to reverse-engineer it.
Weird, I'm guessing that it's some isolated bug here as well.
I don't have an Seems like the folder hierarchy / crash dumps don't get created sometimes, this is also the reason I asked about the folder hierarchy because the Windows API will not create it for you if it doesn't exists, look at the |
Maybe because it save |
The app crashes when i try to open the folder(CTRL+ E) of an app in the apps menu
Then I get this message about the memory reference
If i close this window or click close simplewall shuts down.
Sry for send this prints in portuguese.
The text was updated successfully, but these errors were encountered: