Summary

s11n doesn't work with srfi-69 hash-tables

Metadata

Description

Trying to use the deserialized hash-table causes a segfault:

 (import srfi-69)
 (import s11n)
 
 (define (store-and-load o file)
   (with-output-to-file file (lambda [] (serialize o)))
   (with-input-from-file file (lambda [] (deserialize))))
 
 (let ([ht (store-and-load (make-hash-table) "out.ser")])
   (print "ht: " ht)
   (hash-table-set! ht 1 1)) ;; -> segfault

Changes and comments

[2020-04-02 16:28:11 UTC] megane changed status from new to closed

[2020-04-02 16:28:11 UTC] megane set resolution to invalid

[2020-04-02 16:28:11 UTC] megane wrote:

Duplicate of #768

[2020-04-02 16:29:49 UTC] megane wrote:

(nothing to see here)

[2020-04-02 16:29:49 UTC] megane wrote:

1585838260657084

[2020-08-20 19:10:51 UTC] Idiomdrottning changed status from closed to reopened

[2020-08-20 19:10:51 UTC] Idiomdrottning removed resolution invalid

[2020-08-20 19:10:51 UTC] Idiomdrottning wrote:

The duplicate bug was fixed by me but this bug still persists. Will investigate.

[2020-08-20 20:12:42 UTC] Idiomdrottning wrote:

Now fixed with the fix in #768

[2020-08-20 20:12:42 UTC] Idiomdrottning changed status from reopened to closed

[2020-08-20 20:12:42 UTC] Idiomdrottning set resolution to fixed