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

nim doc SIGSEGV: Illegal storage access. #9140

Closed
juancarlospaco opened this Issue Oct 1, 2018 · 0 comments

Comments

Projects
None yet
1 participant
@juancarlospaco
Copy link
Contributor

juancarlospaco commented Oct 1, 2018

$ cat proba.nim
import math
export math

$ nim doc proba.nim
Hint: used config file '/home/juan/.choosenim/toolchains/nim-0.19.0/config/nim.cfg' [Conf]
Hint: used config file '/home/juan/.choosenim/toolchains/nim-0.19.0/config/nimdoc.cfg' [Conf]
Hint: system [Processing]
Hint: proba [Processing]
Hint: math [Processing]
Hint: bitops [Processing]
SIGSEGV: Illegal storage access. (Attempt to read from nil?)

$ nim c proba.nim
Hint: used config file '/home/juan/.choosenim/toolchains/nim-0.19.0/config/nim.cfg' [Conf]
Hint: system [Processing]
Hint: proba [Processing]
Hint: math [Processing]
Hint: bitops [Processing]
Hint:  [Link]
Hint: operation successful (13445 lines compiled; 0.234 sec total; 16.367MiB peakmem; Debug Build) [SuccessX]

$ nim --version
Nim Compiler Version 0.19.0 [Linux: amd64]
Compiled at 2018-09-26
Copyright (c) 2006-2018 by Andreas Rumpf

git hash: f6c5c636bb1a1f4e1301ae0ba5a8afecef439132
active boot switches: -d:release

$ choosenim show
   Channel: stable
   Version: 0.19.0
      Path: /home/juan/.choosenim/toolchains/nim-0.19.0

$ cat proba2.nim
import math

$ nim doc proba2.nim
Hint: used config file '/home/juan/.choosenim/toolchains/nim-0.19.0/config/nim.cfg' [Conf]
Hint: used config file '/home/juan/.choosenim/toolchains/nim-0.19.0/config/nimdoc.cfg' [Conf]
Hint: system [Processing]
Hint: proba2 [Processing]
Hint: math [Processing]
Hint: bitops [Processing]
Hint: operation successful (14857 lines compiled; 0.154 sec total; 13.223MiB peakmem; Debug Build) [SuccessX]

$ uname -a
Linux x 4.18.10-arch1-1-ARCH #1 SMP PREEMPT Wed Sep 26 09:48:22 UTC 2018 x86_64 GNU/Linux

Happens with any module, even if it compiles and runs Ok, the export makes nim doc explode.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment