Skip to content

any way to track "SIGSEGV: Illegal storage access"? #103

Open
@retsyo

Description

@retsyo

One of my old project use wnim for gui, winim for using .NET DLLS. And the compiled command-line is

nim c -d:release --opt:size -d:quick --opt:size --passL:-s --passc:-flto   -r myapp.nim
  • when I close the myapp20220922.exe file, which is compiled on September 22nd, 2022, everything seems ok
  • but now, I updated to latest nim(Nim Compiler Version 2.1.1 [Windows: amd64], Compiled at 2023-11-12), winim(winim-3.9.2-154c271e1d766fca5aea32beecec5645e6d2e114) and wnim(wnim-0.13.3-eba76f28624eb4c74bdda19830fae74d4dbc1ee2), when I close new built myapp20231112.exe, I get
SIGSEGV: Illegal storage access. (Attempt to read from nil?)
Error: execution of an external program failed: 'D:\tmp\compareexcel\myapp20231112.exe'

Any way to track which line of the code produces this? Thanks

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