You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Kyle Brandt (Jira)" <ji...@apache.org> on 2020/06/18 15:24:00 UTC

[jira] [Created] (ARROW-9174) [Go] Tests panic with 386 (x86) builds

Kyle Brandt created ARROW-9174:
----------------------------------

             Summary: [Go] Tests panic with 386 (x86) builds
                 Key: ARROW-9174
                 URL: https://issues.apache.org/jira/browse/ARROW-9174
             Project: Apache Arrow
          Issue Type: Bug
          Components: Go
    Affects Versions: 0.17.0
            Reporter: Kyle Brandt


The ExampleTable test panics:

{code:bash}
$ GOOS=linux GOARCH=386 go test ./...      
--- FAIL: Example_table (0.00s)
panic: runtime error: invalid memory address or nil pointer dereference
        panic: runtime error: invalid memory address or nil pointer dereference [recovered]
        panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x82a559d]

goroutine 1 [running]:
testing.(*InternalExample).processRunResult(0x9447eb0, 0x0, 0x0, 0x9168, 0x0, 0x8300800, 0x85b13f8, 0x1)
        /usr/local/go/src/testing/example.go:89 +0x51f
testing.runExample.func2(0xe4ba5208, 0xbfb2ff3b, 0x2d8995, 0x0, 0x85b7bc0, 0x940fca0, 0x940e0d8, 0x94d73c0, 0x948aeb0, 0x9447ec8)
        /usr/local/go/src/testing/run_example.go:58 +0xd9
panic(0x8300800, 0x85b13f8)
        /usr/local/go/src/runtime/panic.go:969 +0x122
github.com/apache/arrow/go/arrow/array.(*Chunked).Release(0x0)
        /home/kbrandt/go/github.com/apache/arrow/go/arrow/array/table.go:141 +0x1d
github.com/apache/arrow/go/arrow/array.(*Column).Release(...)
        /home/kbrandt/go/github.com/apache/arrow/go/arrow/array/table.go:76
github.com/apache/arrow/go/arrow/array.NewTableFromRecords.func1(0x9495740, 0x2, 0x2)
        /home/kbrandt/go/github.com/apache/arrow/go/arrow/array/table.go:258 +0x37
panic(0x8300800, 0x85b13f8)
        /usr/local/go/src/runtime/panic.go:969 +0x122
runtime/internal/atomic.Xadd64(0x94d389c, 0x1, 0x0, 0x1, 0x0)
        /usr/local/go/src/runtime/internal/atomic/asm_386.s:105 +0xc
github.com/apache/arrow/go/arrow/array.(*Chunked).Retain(...)
        /home/kbrandt/go/github.com/apache/arrow/go/arrow/array/table.go:134
github.com/apache/arrow/go/arrow/array.NewColumn(0x8342542, 0x6, 0x83b8ff0, 0x85c8840, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
        /home/kbrandt/go/github.com/apache/arrow/go/arrow/array/table.go:56 +0x91
github.com/apache/arrow/go/arrow/array.NewTableFromRecords(0x94d35c0, 0x9447d74, 0x2, 0x2, 0x0)
        /home/kbrandt/go/github.com/apache/arrow/go/arrow/array/table.go:268 +0x1a0
github.com/apache/arrow/go/arrow_test.Example_table()
        /home/kbrandt/go/github.com/apache/arrow/go/arrow/example_test.go:571 +0x671
testing.runExample(0x834458d, 0xd, 0x835b738, 0x8355f30, 0x10b, 0x0, 0x0)
        /usr/local/go/src/testing/run_example.go:62 +0x18c
testing.runExamples(0x9447f80, 0x85b5080, 0xb, 0xb, 0x101)
        /usr/local/go/src/testing/example.go:44 +0xf8
testing.(*M).Run(0x9454600, 0x0)
        /usr/local/go/src/testing/testing.go:1200 +0x17c
main.main()
        _testmain.go:130 +0x104
FAIL    github.com/apache/arrow/go/arrow        0.018s
--- FAIL: TestChunked (0.00s)
panic: runtime error: invalid memory address or nil pointer dereference [recovered]
        panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x804a0ac]

goroutine 468 [running]:
testing.tRunner.func1.1(0x835f680, 0x86554c0)
        /usr/local/go/src/testing/testing.go:940 +0x27c
testing.tRunner.func1(0x8d548c0)
        /usr/local/go/src/testing/testing.go:943 +0x349
panic(0x835f680, 0x86554c0)
        /usr/local/go/src/runtime/panic.go:969 +0x122
runtime/internal/atomic.Xadd64(0x8c6c18c, 0x1, 0x0, 0x0, 0x0)
        /usr/local/go/src/runtime/internal/atomic/asm_386.s:105 +0xc
github.com/apache/arrow/go/arrow/array.(*Chunked).Retain(...)
        /home/kbrandt/go/github.com/apache/arrow/go/arrow/array/table.go:134
github.com/apache/arrow/go/arrow/array_test.TestChunked(0x8d548c0)
        /home/kbrandt/go/github.com/apache/arrow/go/arrow/array/table_test.go:34 +0xfa
testing.tRunner(0x8d548c0, 0x83bfbd8)
        /usr/local/go/src/testing/testing.go:991 +0xb4
created by testing.(*T).Run
        /usr/local/go/src/testing/testing.go:1042 +0x2ad
FAIL    github.com/apache/arrow/go/arrow/array  0.046s
ok      github.com/apache/arrow/go/arrow/arrio  1.408s
ok      github.com/apache/arrow/go/arrow/bitutil        0.004s
ok      github.com/apache/arrow/go/arrow/csv    0.003s
ok      github.com/apache/arrow/go/arrow/decimal128     0.001s
ok      github.com/apache/arrow/go/arrow/float16        0.009s
?       github.com/apache/arrow/go/arrow/internal/arrdata       [no test files]
ok      github.com/apache/arrow/go/arrow/internal/arrjson       0.151s
ok      github.com/apache/arrow/go/arrow/internal/cpu   0.012s
?       github.com/apache/arrow/go/arrow/internal/debug [no test files]
?       github.com/apache/arrow/go/arrow/internal/flatbuf       [no test files]
ok      github.com/apache/arrow/go/arrow/internal/testing/tools 0.006s
ok      github.com/apache/arrow/go/arrow/ipc    0.434s
ok      github.com/apache/arrow/go/arrow/ipc/cmd/arrow-cat      0.016s
ok      github.com/apache/arrow/go/arrow/ipc/cmd/arrow-file-to-stream   0.373s
ok      github.com/apache/arrow/go/arrow/ipc/cmd/arrow-json-integration-test    0.163s
ok      github.com/apache/arrow/go/arrow/ipc/cmd/arrow-ls       0.012s
ok      github.com/apache/arrow/go/arrow/ipc/cmd/arrow-stream-to-file   0.344s
--- FAIL: TestFloat64Funcs_Sum (0.00s)
panic: runtime error: invalid memory address or nil pointer dereference [recovered]
        panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x8291511]

goroutine 6 [running]:
testing.tRunner.func1.1(0x82d2b80, 0x85513b8)
        /usr/local/go/src/testing/testing.go:940 +0x27c
testing.tRunner.func1(0x9c9e140)
        /usr/local/go/src/testing/testing.go:943 +0x349
panic(0x82d2b80, 0x85513b8)
        /usr/local/go/src/runtime/panic.go:969 +0x122
github.com/apache/arrow/go/arrow/math.Float64Funcs.Sum(...)
        /home/kbrandt/go/github.com/apache/arrow/go/arrow/math/float64.go:38
github.com/apache/arrow/go/arrow/math_test.TestFloat64Funcs_Sum(0x9c9e140)
        /home/kbrandt/go/github.com/apache/arrow/go/arrow/math/float64_test.go:35 +0x161
testing.tRunner(0x9c9e140, 0x8327d9c)
        /usr/local/go/src/testing/testing.go:991 +0xb4
created by testing.(*T).Run
        /usr/local/go/src/testing/testing.go:1042 +0x2ad
FAIL    github.com/apache/arrow/go/arrow/math   0.003s
ok      github.com/apache/arrow/go/arrow/memory 0.002s
ok      github.com/apache/arrow/go/arrow/tensor 0.003s
{code}

This causes the following issue for Grafana https://github.com/grafana/grafana/issues/25287 , and tests in Grafana's SDK https://github.com/grafana/grafana-plugin-sdk-go/blob/master/data/arrow_test.go to fail.




--
This message was sent by Atlassian Jira
(v8.3.4#803005)