-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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 check
gives SIGSEGV: Illegal storage access
; maybe because of sizeof
#9610
Labels
Comments
likewise with Nim/lib/pure/ioselects/ioselectors_select.nim
|
/cc @krux02 it looks related to sizeof: minimized to remove all dependencies: const platformHeaders = """#include <sys/select.h>
#include <sys/time.h>
#include <sys/types.h>
#include <unistd.h>"""
type
Fdset {.importc: "fd_set", header: platformHeaders, pure, final.} = object
when hasThreadSupport:
type
SelectorImpl[T] = object
else:
type
SelectorImpl[T] = object
type
SelectEventImpl = object
rsock: distinct int
proc newSelectEvent*() =
let temp0=sizeof(SelectEventImpl)
[EDIT] indeed, seems like a regression, |
nim check Nim/lib/system/gc.nim
gives SIGSEGV: Illegal storage access
nim check
gives SIGSEGV: Illegal storage access
; maybe because of sizeof
@Araq thanks! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
nim check Nim/lib/system/gc.nim
givesSIGSEGV: Illegal storage access
among other things, this causes NimLime to crash (and forces one to restart sublimetext)
The text was updated successfully, but these errors were encountered: