-
Notifications
You must be signed in to change notification settings - Fork 11
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
SIGSEGV after ~254 times calling "callFrontendJs" / "callJs" when threads enabled and using "--gc:refc" #29
Comments
Only happens on linux and on windows with Edit: |
|
Only happens when threads are enabled and default gc is used. Workaround: use |
Found some issue when using single-thread and httpserver mode. Fixed for current main branch. |
This is probably not fixable in any easy way. Closing this as there probably won't be any fix in future. |
Nimview applications consistently crash when using the desktop mode on linux after calling about 243 times "callFrontendJs". This only happens in Nimview 0.3.2, as the function previously had issues. This doesn't happen on windows.
There is a SIGSEGV: Illegal stroage access. (Attempt to read from nil?)
This happens in Nim 1.4 and Nim 1.6, on linux and on windows in release mode.
Workaround:
Either not using "callFrontendJs" or using
--gc:orc --deepCopy:on
as compile option.Both seems to successfully fix the crashes.
The text was updated successfully, but these errors were encountered: