



@cadr I get a crash when running linklet pycket

[samth@huor:~/sw/pycket (master) plt] pycket-c-linklet --verbose 2
[1537910950.910811] Options :
loads : []
set-run-file :
set-collects-dir :
set-config-dir :
set-addon-dir :
init_library : racket/kernel/init
is_repl : 1
no_lib : 0
just-#%kernel : 0
just-init : 0
use-compiled : 1
[1537910950.910836] Loading the expander linklet...
[1537910950.910853] Loading linklet from /home/samth/sw/pycket/pypy/../expander.rktl.linklet
[1537910951.206727] Finished reading JSON from /home/samth/sw/pycket/pypy/../expander.rktl.linklet
[1537910951.206793] Converting linklet forms to AST ...
[1537910951.572376] Finished converting linklet forms to AST ...
[1537910951.572393] Instantiating /home/samth/sw/pycket/pypy/../expander.rktl.linklet ....
exn:fail : can't find primitive unsafe-make-place-local
[1537910951.572779] DONE.
Segmentation fault (core dumped)

do i need to update something?

@samth Oh is that with the latest expander? I think we’re still on 7.0.0.20

I didn’t update the expander

I didn’t change anything


I mean, that works fine on travis but I don’t understand what’s wrong in my system

aha

pycket-c-linklet
was old

pycket-c-linklets
is new



that looks fishy to me

my suspicion is still that it’s about make-reader-graph

@samthmake-reader-graph
was the first thing i checked, so I put some prints and breakpoints in it and ran it but its never called

@cadr maybe evaluation of quoted data does the wrong thing? or sexp->ast?

The sexp comes into the compile-linklet (sexp->ast) contains the wrong literal so it’s definitely somewhere in read
, I suspect right after the read-hash
, I’ll try zeroing in on that when I’m on a computer