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

--Debugger:native is broken by nil strings comparison commit #7746

Closed
mratsim opened this issue May 1, 2018 · 2 comments
Closed

--Debugger:native is broken by nil strings comparison commit #7746

mratsim opened this issue May 1, 2018 · 2 comments

Comments

@mratsim
Copy link
Collaborator

mratsim commented May 1, 2018

Test case

echo 1

Compile with --debugger:native: SIGSEGV: Illegal storage access. (Attempt to read from nil?)

Bisect points to this commit: f64f9e5

@mratsim mratsim changed the title Debugger native is broken --Debugger:native is broken May 1, 2018
@mratsim mratsim changed the title --Debugger:native is broken --Debugger:native is broken by nil strings comparison commit May 1, 2018
@cheatfate
Copy link
Member

cheatfate commented May 1, 2018

Compiler crash log

nim.nim(113)             nim
nim.nim(77)              handleCmdLine
main.nim(172)            mainCommand
main.nim(78)             commandCompileToC
cgen.nim(1499)           cgenWriteModules
cgen.nim(1429)           writeModule
cgen.nim(1390)           shouldRecompile
ropes.nim(347)           equalsFile
ropes.nim(194)           equalsFile
system.nim(3788)         failedAssertImpl
system.nim(3781)         raiseAssert
system.nim(2843)         sysFatal
Error: unhandled exception:
not (it == nil)  [AssertionError]
FAILURE

@mratsim
Copy link
Collaborator Author

mratsim commented May 1, 2018

Probably duplicate of #7730

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