well-typed / cborg

Binary serialisation in the CBOR format
https://hackage.haskell.org/package/cborg
191 stars 86 forks source link

Testsuite fails due to bus errors on armhf #248

Open iliastsi opened 4 years ago

iliastsi commented 4 years ago

Testsuite fails on armhf with the following error:

Test suite tests: RUNNING...
CBOR
  Reference implementation
    internal properties
      Integer to/from bytes:                                                    OK
        +++ OK, passed 100 tests.
      Word16 to/from network byte order:                                        OK
        +++ OK, passed 100 tests.
      Word32 to/from network byte order:                                        OK
        +++ OK, passed 100 tests.
      Word64 to/from network byte order:                                        OK
        +++ OK, passed 100 tests.
      Numeric.Half to/from Float:                                               OK
        +++ OK, passed 1 test.
    properties
      encoding/decoding initial byte:                                           OK
        +++ OK, passed 1 test.
      encoding/decoding additional info:                                        OK
        +++ OK, passed 100 tests.
      encoding/decoding token header:                                           OK
        +++ OK, passed 100 tests.
      encoding/decoding token header 2:                                         OK
        +++ OK, passed 1 test.
      encoding/decoding tokens:                                                 OK
        +++ OK, passed 100 tests.
      encoding/decoding terms:                                                  OK (0.04s)
        +++ OK, passed 100 tests.
    RFC7049 test vector: decode:                                                OK
    RFC7049 test vector: roundtrip:                                             OK
    external test vector:                                                       OK
  unit tests
    RFC7049 test vector: decode:                                                OK
    RFC7049 test vector: roundtrip:                                             tests: SignalException 7
Test suite tests: FAIL

The full build log can be found here.

bgamari commented 4 years ago

Hmm, this sounds to me like a mis-aligned access.