github2-x
2018-11-27 14:39:55

github2-x
2018-11-27 14:55:53

github2-x
2018-11-27 14:59:21

samth
2018-11-27 15:19:43

@cadr this reproduces the segfault for me: pk --verbose 4 -t compile-file-pycket.rkt -- -l syntax/location


samth
2018-11-27 15:20:20

or just pk -l syntax/location


cadr
2018-11-27 15:26:14

I found the reason for the segfault, in the bundle we see (name . (srcloc configure-runtime)) which our deserializer doesn’t like (because it assumes the srcloc to have 5 parameters)


cadr
2018-11-27 15:26:51

I fixed it, but didn’t push it yet because I’m sort of confused to have a srcloc in the name in the bundle, we normally have just a symbol there


samth
2018-11-27 15:28:34

ah, i also just found it in the interpreter


samth
2018-11-27 15:28:46

that’s a module name


samth
2018-11-27 15:28:54

and configure-runtime is a submodule


samth
2018-11-27 15:47:10

I think the issue is that deserialize_loop flattens everything into one big conditional


github2-x
2018-11-27 16:45:55

github2-x
2018-11-27 16:48:38

github2-x
2018-11-27 16:51:11

github2-x
2018-11-27 16:52:59

github2-x
2018-11-27 16:54:34

github2-x
2018-11-27 16:55:06

github2-x
2018-11-27 16:57:44

github2-x
2018-11-27 17:01:52

github2-x
2018-11-27 17:02:02

github2-x
2018-11-27 17:09:18

github2-x
2018-11-27 17:12:26

github2-x
2018-11-27 17:14:37

github2-x
2018-11-27 17:18:35

github2-x
2018-11-27 17:19:19

github2-x
2018-11-27 17:21:12

github2-x
2018-11-27 17:21:31

github2-x
2018-11-27 17:22:07

github2-x
2018-11-27 17:39:15

github2-x
2018-11-27 17:40:19

github2-x
2018-11-27 19:22:13

github2-x
2018-11-27 19:36:16

github2-x
2018-11-27 19:44:32

github2-x
2018-11-27 19:51:25

github2-x
2018-11-27 19:55:24

github2-x
2018-11-27 19:57:07

github2-x
2018-11-27 20:02:38

github2-x
2018-11-27 20:08:41

github2-x
2018-11-27 20:16:58

github2-x
2018-11-27 20:21:05

github2-x
2018-11-27 20:22:04

github2-x
2018-11-27 20:23:39

github2-x
2018-11-27 20:50:53

github2-x
2018-11-27 20:50:53

github2-x
2018-11-27 20:57:20

github2-x
2018-11-27 20:59:04

samth
2018-11-27 21:26:05

@cadr here’s the log at verbose 8: https://filebin.net/bqhzgr6foqfdp78r


samth
2018-11-27 21:26:18

I haven’t found anything wrong yet, though


github2-x
2018-11-27 21:27:43

cadr
2018-11-27 21:31:48

@samth yeah I have a similar file myself, although I see your latest push is very helpful to keep it under 200MBs


cadr
2018-11-27 21:32:18

@samth Note that the definitiion of call-with-input-file*61.1 is in a correlated too


samth
2018-11-27 21:32:33

yes but that isn’t (obviously) the bug


samth
2018-11-27 21:32:36

I tried this:


samth
2018-11-27 21:32:48
(module t '#%kernel
  (#%require '#%linklet)
  (define-values (datum->correlated) (hash-ref (primitive-table '#%kernel) 'datum->syntax #f))
  (define-values (s) 'the-symbol)
  (define-values (sexp)
    (list
     'linklet
     '()
     '()
     (datum->correlated
      #f
      (list
      'define-values
      (list (datum->correlated '#f s))
      (list 'lambda '(x) s)))
     (list 'display (list s 1))
     '(newline)))
  (instantiate-linklet (compile-linklet sexp) null))

samth
2018-11-27 21:32:50

and it worked


cadr
2018-11-27 21:33:30

Yeah this works after my fix yesterday


github2-x
2018-11-27 21:57:11

github2-x
2018-11-27 22:08:02

github2-x
2018-11-27 22:08:04

github2-x
2018-11-27 22:58:20