[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-hackers] Chicken 5.1.0 on Debian/armel architecture
From: |
felix . winkelmann |
Subject: |
Re: [Chicken-hackers] Chicken 5.1.0 on Debian/armel architecture |
Date: |
Thu, 01 Aug 2019 14:44:30 +0200 |
Hi, there!
There definitely is something wrong on arm, but it turrns out to be hard
to reproduce, and seems like a memory-related heisenbug to me.
Can you try this test program for me?
---
(import chicken.locative chicken.gc srfi-4)
(define old (u32vector 0 1 2 4294967294 4294967295))
(define new (make-u32vector 5))
(do ((i 0 (add1 i)))
((= i 5))
(let ((loc-src (make-locative old i))
(loc-dst (make-locative new (- 5 i 1))))
(locative-set! loc-dst (locative-ref loc-src))))
(assert (eqv? (u32vector-ref old 4) (u32vector-ref new 0)))
(gc #t)
---
Also, if the bug is somehow reproducible with a chicken
built with "DEBUGBUILD=1" and surfaces when run under gdb
(add -k when compiling the test), we could try to proceed from there.
felix
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: [Chicken-hackers] Chicken 5.1.0 on Debian/armel architecture,
felix . winkelmann <=