Summary
s11n doesn't work with srfi-69 hash-tables
Metadata
- Id: c398272b4b22a284de47f27af40ab5a583277952
- Trac id: 1692
- Type: defect
- Reporter: megane
- Owner:
- Cc:
- Status: closed
- Component: extensions
- Estimated difficulty:
- Resolution: fixed
- Priority: major
- Milestone: someday
- Version:
- Changetime: 2020-08-20 20:12:42 UTC
- Created: 2020-04-02 16:25:01 UTC
- Keywords: s11n hash-table srfi-69
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