Skip to content

idetools c crashes #1163

@reactormonk

Description

@reactormonk

To reproduce:

cd tests/caas
nimrod serve --server.type:stdin idetools_api.nim

Copy/paste the following line:

c --verbosity:0 --hints:on

Result:

nimrod.nim(91)           nimrod
nimrod.nim(55)           handleCmdLine
main.nim(438)            mainCommand
service.nim(69)          serve
main.nim(309)            mainCommand
main.nim(74)             commandCompileToC
modules.nim(193)         compileProject
modules.nim(186)         compileSystemModule
modules.nim(152)         compileModule
passes.nim(193)          processModule
passes.nim(137)          processTopLevelStmt
sem.nim(410)             myProcess
sem.nim(379)             semStmtAndGenerateGenerics
semstmts.nim(1370)       semStmt
semexprs.nim(861)        semExprNoType
semexprs.nim(2087)       semExpr
semstmts.nim(1195)       semProc
semstmts.nim(1062)       semProcAux
semstmts.nim(831)        semParamList
semtypes.nim(876)        semProcTypeNode
semtypes.nim(843)        semParamType
semtypes.nim(1214)       semTypeNode
semtypes.nim(1055)       semProcTypeWithScope
semtypes.nim(896)        semProcTypeNode
semtypes.nim(763)        liftParamType
semtypes.nim(829)        liftParamType
suggest.nim(330)         markUsed
suggest.nim(323)         suggestSym
SIGSEGV: Illegal storage access. (Attempt to read from nil?)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions