Skip to content
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 randomly after update to 3.7.7 version on windows 10 #1686

Closed
2 tasks done
headzzzz opened this issue Jan 3, 2024 · 40 comments
Closed
2 tasks done

The app crashes randomly after update to 3.7.7 version on windows 10 #1686

headzzzz opened this issue Jan 3, 2024 · 40 comments
Labels

Comments

@headzzzz
Copy link

headzzzz commented Jan 3, 2024

Checklist

  • I have used the search function to see if someone else has already submitted the same bug report.
  • I will describe the problem with as much detail as possible.

App version

3.7.7

Windows version

Windows 10 22H2 (build 19045.3803)

Steps to reproduce

Randomly crashing application
simplewall-1704305452.dmp

sw

Means: "The instruction at address 0x%p referenced memory address 0x%p. Unable to perform memory operation: %s. (0xC0000005)"

Expected behavior

After crash, application is ended

Actual behavior

Crashed

Logs

No response

@headzzzz headzzzz added the bug label Jan 3, 2024
@privacyguy123
Copy link

Same

image

simplewall-1704306556.dmp

@henrypp henrypp closed this as completed in 7b0b898 Jan 3, 2024
@henrypp
Copy link
Owner

henrypp commented Jan 3, 2024

now it fixed, sorry, download here

@xp80

This comment was marked as off-topic.

@xp80

This comment was marked as off-topic.

@henrypp henrypp mentioned this issue Jan 6, 2024
2 tasks
@privacyguy123

This comment was marked as outdated.

@henrypp
Copy link
Owner

henrypp commented Jan 6, 2024

@privacyguy123 i cant understand where it crashed if u dont get crash dump

@henrypp henrypp reopened this Jan 6, 2024
@henrypp
Copy link
Owner

henrypp commented Jan 6, 2024

@Alcazer it cant help, ONLY DUMP, SHIT

@hushkamala

This comment was marked as off-topic.

@henrypp
Copy link
Owner

henrypp commented Jan 8, 2024

@hushkamala u not using fix.

@hushkamala

This comment was marked as off-topic.

@henrypp
Copy link
Owner

henrypp commented Jan 8, 2024

@hushkamala
sshot-001

orly? in ur dumps ptr_app was nullptr it CANT be happened, because it was checked for NPE in 97 line in fix. so, there is problem not in me

@henrypp
Copy link
Owner

henrypp commented Jan 8, 2024

@hushkamala i can only re-upload fix:
simplewall.zip

there is nothing changed in SW except project sdk

@hushkamala
Copy link

@henrypp I'm sorry but the first fix posted was really the same as 3.7.7 version. Or something is very wrong on my side. Downloaded it 3 times and checked not only crc32 hash. I apologize if the problem is my doing.

WinRAR_MAqW1Y0ap5

On this last fix it is not crashing for me. Thank you and sorry if the mistake is mine.

@Alcazer
Copy link
Contributor

Alcazer commented Jan 8, 2024

@hushkamala i can only re-upload fix: simplewall.zip

there is nothing changed in SW except project sdk

@henrypp I'm sorry but the first fix posted was really the same as 3.7.7 version. Or something is very wrong on my side. Downloaded it 3 times and checked not only crc32 hash. I apologize if the problem is my doing.

On this last fix it is not crashing for me. Thank you and sorry if the mistake is mine.

+1, i also checked it and not crashing

@nullptr-deref

This comment was marked as off-topic.

@henrypp

This comment was marked as resolved.

@nullptr-deref

This comment was marked as off-topic.

@henrypp

This comment was marked as resolved.

@nullptr-deref
Copy link

@henrypp since you are the owner and the leading maintainer of this very repository, I believe that it's most certainly your concern of delivering hot fixes & patches somehow properly, or at least provide somewhat like a quickfix instruction about what toolset one should use when posting fixes in such a manner.
There's loads of archivers on the market, and nobody (not even you) previously mentioned 7zip is a "must-have" in the discussion in question.

Nevertheless, I appreciate your effort you've put into developing simplewall.

Will inform if the issue is resolved for me.

@nullptr-deref
Copy link

After half an hour long observation seems like crash is now completely gone.

For the sake of complete clarity about unarchiving and installing the patch I'll mention once more that one shouldn't use default Windows zip utility but something like WinRAR or 7zip instead because Windows archiver can possibly treat archive as corrupt.

@henrypp
Copy link
Owner

henrypp commented Jan 10, 2024

@nullptr-deref it bcs github did not allow 7z or rar files (did not understand) to attach but this is 7z archive renamed to zip

and w11 23h2 has added support to open & create support for anything u want, 7z rar etc normally supported

@Cthululz

This comment has been minimized.

@ghost

This comment has been minimized.

@Cthululz
Copy link

@hushkamala i can only re-upload fix: simplewall.zip

there is nothing changed in SW except project sdk

sorry for dogpiling on just wanted to let you know that I'm running this now and it's not crashing anymore when i go to the connection tab

thank you

@privacyguy123

This comment was marked as off-topic.

@henrypp

This comment was marked as resolved.

@privacyguy123

This comment was marked as off-topic.

@henrypp

This comment was marked as resolved.

@privacyguy123

This comment was marked as off-topic.

@xp80
Copy link

xp80 commented Jan 12, 2024

@hushkamala i can only re-upload fix: simplewall.zip
there is nothing changed in SW except project sdk

@henrypp I'm sorry but the first fix posted was really the same as 3.7.7 version. Or something is very wrong on my side. Downloaded it 3 times and checked not only crc32 hash. I apologize if the problem is my doing.
On this last fix it is not crashing for me. Thank you and sorry if the mistake is mine.

+1, i also checked it and not crashing

this fix worked for me

@privacyguy123
Copy link

Can't reproduce with "sha-256" option turned off

@Rubber-Duckie
Copy link

Sounds like you fixed it, well done. Do you have an estimation on an official release?

@henrypp
Copy link
Owner

henrypp commented Jan 17, 2024

@Rubber-Duckie no

@TheArkive
Copy link

TheArkive commented Jan 18, 2024

The Fix worked for me. Thanks. I love this program.

@crash5
Copy link

crash5 commented Jan 21, 2024

Will there be a release from this fix?

@henrypp
Copy link
Owner

henrypp commented Jan 21, 2024

@crash5 soon, i hope

@fernyjbh

This comment was marked as off-topic.

@henrypp

This comment was marked as resolved.

@fernyjbh

This comment was marked as off-topic.

@Rubber-Duckie
Copy link

We all need to follow some basic best practices which will avoid these situations.
Firstly, this could have been compensated for had there been unit text code coverage during unit testing. Mock out possible 3rd party libraries. If you have any code that interacts with third-party libraries, you must validate and check all the parameters in and out. Most 4GL languages do basic type checking, but you need to use strong typing for any custom structs or else parse them explicitly. This can prevent many exploits and exception cases. And don't forget, third-party libraries are not reliable, so you need to have good exception management around any call to them. If your application crashes because of poor exception handling, that's on you, not the third-party library. All you need here is a graceful way of handling exceptions from third-party dependent API calls. For example, the grid should omit data that was expected from the API call, not crash completely like a drama queen. Also, a sensible message to the user to suggest they look at the exception log since something went wrong while doing XYZ. Use an exception logging framework. I have to say, you do act like a bit of a diva :D with your use of language. I guess your code reflects that. https://gkovan.medium.com/build-to-manage-proper-exception-handling-makes-your-applications-easier-to-build-and-manage-9105dbaf2862

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests