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

Fix for SIGSEGV: Illegal storage access from lib/system/orc.nim nimIncRefCyclic #325

Open
prasad83 opened this issue Oct 16, 2023 · 1 comment

Comments

@prasad83
Copy link

With nim version 2.0

nim c -r example.nim

fails with

$HOME/.nimble/pkgs2/httpbeast-0.4.1-b23e57a401057dcb9b7fae1fb8279a6a2ce1d0b8/httpbeast.nim(83) eventLoop
$HOME/.choosenim/toolchains/nim-2.0.0/lib/system/orc.nim(46) nimIncRefCyclic
SIGSEGV: Illegal storage access. (Attempt to read from nil?)
Segmentation fault (core dumped)

Using:

nim -d:useMalloc c -r example.nim

Similar:
nim-lang/Nim#22546
nim-lang/Nim#22255 (comment)

@ThomasTJdev
Copy link
Contributor

See dom96/httpbeast#91

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

No branches or pull requests

2 participants