You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by "joellubi (via GitHub)" <gi...@apache.org> on 2024/07/09 11:53:33 UTC

Re: [I] [Go] parquet/pqarrow: panic: unaligned 64-bit atomic operation [arrow]

joellubi commented on issue #43186:
URL: https://github.com/apache/arrow/issues/43186#issuecomment-2217445702

   I was able to reproduce this issue with our existing test suite by specifying `GOARCH=386` and `noasm` build tag:
   ```shell
   GOARCH=386 go test -tags noasm ./parquet/file/...
   --- FAIL: TestDictionaryReslice (0.00s)
       --- FAIL: TestDictionaryReslice/int8 (0.00s)
   panic: unaligned 64-bit atomic operation [recovered]
           panic: unaligned 64-bit atomic operation
   
   goroutine 22 [running]:
   testing.tRunner.func1.2({0x9118ba0, 0x941ccd8})
           /nix/store/vz8d6wmfcf38l3h3vymwqr6c5zxp5jmp-go-1.22.3/share/go/src/testing/testing.go:1631 +0x2a3
   testing.tRunner.func1()
           /nix/store/vz8d6wmfcf38l3h3vymwqr6c5zxp5jmp-go-1.22.3/share/go/src/testing/testing.go:1634 +0x434
   panic({0x9118ba0, 0x941ccd8})
           /nix/store/vz8d6wmfcf38l3h3vymwqr6c5zxp5jmp-go-1.22.3/share/go/src/runtime/panic.go:770 +0x103
   runtime/internal/atomic.panicUnaligned()
           /nix/store/vz8d6wmfcf38l3h3vymwqr6c5zxp5jmp-go-1.22.3/share/go/src/runtime/internal/atomic/unaligned.go:8 +0x2d
   runtime/internal/atomic.Xadd64(0xbae76cc, 0xffffffffffffffff)
           /nix/store/vz8d6wmfcf38l3h3vymwqr6c5zxp5jmp-go-1.22.3/share/go/src/runtime/internal/atomic/atomic_386.s:125 +0x11
   github.com/apache/arrow/go/v17/parquet/pqarrow.(*multipathLevelBuilder).Release(0xbae7680)
           /home/joel/gitrepos/joellubi/arrow/go/parquet/pqarrow/path_builder.go:509 +0x3a
   github.com/apache/arrow/go/v17/parquet/pqarrow.(*arrowColumnWriter).Write(0xba4dda0, {0x9427b8c, 0xba8b830})
           /home/joel/gitrepos/joellubi/arrow/go/parquet/pqarrow/encode_arrow.go:198 +0x1b9
   github.com/apache/arrow/go/v17/parquet/pqarrow.(*FileWriter).WriteColumnChunked(0xbb001c0, 0xba95bc0, 0x0, 0x7d0)
           /home/joel/gitrepos/joellubi/arrow/go/parquet/pqarrow/file_writer.go:330 +0xf7
   github.com/apache/arrow/go/v17/parquet/pqarrow.(*FileWriter).WriteColumnData(0xbb001c0, {0x94313b8, 0xba95740})
           /home/joel/gitrepos/joellubi/arrow/go/parquet/pqarrow/file_writer.go:339 +0x109
   github.com/apache/arrow/go/v17/parquet/pqarrow.(*FileWriter).WriteBuffered(0xbb001c0, {0x9430c64, 0xbaf8160})
           /home/joel/gitrepos/joellubi/arrow/go/parquet/pqarrow/file_writer.go:203 +0x413
   github.com/apache/arrow/go/v17/parquet/file_test.TestDictionaryReslice.func1(0xba9f208)
           /home/joel/gitrepos/joellubi/arrow/go/parquet/file/column_writer_test.go:777 +0x2b0
   testing.tRunner(0xba9f208, 0xbaa72a8)
           /nix/store/vz8d6wmfcf38l3h3vymwqr6c5zxp5jmp-go-1.22.3/share/go/src/testing/testing.go:1689 +0x125
   created by testing.(*T).Run in goroutine 21
           /nix/store/vz8d6wmfcf38l3h3vymwqr6c5zxp5jmp-go-1.22.3/share/go/src/testing/testing.go:1742 +0x3b9
   FAIL    github.com/apache/arrow/go/v17/parquet/file     0.006s
   FAIL
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org