"undefined behaviour" in Nim's default GC is "by design" too - 
[https://github.com/nim-lang/Nim/blob/devel/lib/system/gc_common.nim#L383](https://github.com/nim-lang/Nim/blob/devel/lib/system/gc_common.nim#L383)
    
    
    /home/dian/.nim/lib/system/gc_common.nim:387:50: runtime error: load of 
misaligned address 0x7ffc26aede64 for type 'void *', which requires 8 byte 
alignment
    0x7ffc26aede64: note: pointer points here
      00 00 00 00 00 00 00 00  37 90 03 99 9d e6 2d 7b  c0 44 40 00 00 00 00 00 
 d0 eb ae 26 fc 7f 00 00
                  ^
    SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior 
/home/dian/.nim/lib/system/gc_common.nim:387:50
    
    
    Run

Reply via email to