Skip to content

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

@prasad83

Description

@prasad83

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions