Skip to content
This repository has been archived by the owner on Nov 16, 2023. It is now read-only.

Panic while running tests #84

Closed
kevinburkesegment opened this issue Feb 25, 2022 · 1 comment
Closed

Panic while running tests #84

kevinburkesegment opened this issue Feb 25, 2022 · 1 comment
Assignees
Labels
bug Something isn't working testing Related to testing

Comments

@kevinburkesegment
Copy link
Contributor

I submitted a non-code change and got the following panic in the test suite. I am up to date with the latest changes in main.

SIGILL: illegal instruction
PC=0x4edc1e m=2 sigcode=2
instruction bytes: 0x62 0xe2 0xfd 0x48 0x7c 0xdf 0x62 0x61 0xfe 0x48 0x6f 0x3d 0xf2 0xf1 0x6 0x0

goroutine 63 [running]:
github.com/segmentio/parquet-go/internal/bits.maxBE[128](https://github.com/segmentio/parquet-go/runs/5337241346?check_suite_focus=true#step:6:128)({0xc0004e5800, 0x100, 0x100})
	/home/runner/work/parquet-go/parquet-go/internal/bits/max_amd64.s:467 +0x3e fp=0xc00008d3c0 sp=0xc00008d3b8 pc=0x4edc1e
github.com/segmentio/parquet-go/internal/bits.MaxFixedLenByteArray(0x0, {0xc0004e5800, 0x0, 0x18})
	/home/runner/work/parquet-go/parquet-go/internal/bits/max.go:21 +0x32 fp=0xc00008d400 sp=0xc00008d3c0 pc=0x4eb7d2
github.com/segmentio/parquet-go/internal/bits_test.TestMaxFixedLenByteArray16.func1({0xc0004e5800, 0x10, 0x1})
	/home/runner/work/parquet-go/parquet-go/internal/bits/max_test.go:176 +0xce fp=0xc00008d498 sp=0xc00008d400 pc=0x4faaae
runtime.call32(0xc00006a720, 0x538288, 0x0, 0x0, 0x0, 0x18, 0xc00008d9d8)
	/opt/hostedtoolcache/go/1.17.7/x64/src/runtime/asm_amd64.s:626 +0x49 fp=0xc00008d4c8 sp=0xc00008d498 pc=0x461dc9
runtime.reflectcall(0x50a7e0, 0xc00036b968, 0x4, 0x52fdad, 0x0, 0x12, 0x50a7e0)
	<autogenerated>:1 +0x3c fp=0xc00008d508 sp=0xc00008d4c8 pc=0x465f3c
reflect.Value.call({0x50ec20, 0x538288, 0x4f183b}, {0x52cc57, 0x4}, {0xc00008dea8, 0x1, 0x10})
	/opt/hostedtoolcache/go/1.17.7/x64/src/reflect/value.go:556 +0x845 fp=0xc00008daf8 sp=0xc00008d508 pc=0x493385
reflect.Value.Call({0x50ec20, 0x538288, 0xc0002e4a00}, {0xc00008dea8, 0x1, 0x1})
	/opt/hostedtoolcache/go/1.17.7/x64/src/reflect/value.go:339 +0xc5 fp=0xc00008db70 sp=0xc00008daf8 pc=0x492a85
github.com/segmentio/parquet-go/internal/bits_test.quickCheck({0x50ec20, 0x538288})
	/home/runner/work/parquet-go/parquet-go/internal/bits/bits_test.go:223 +0x5c8 fp=0xc00008df30 sp=0xc00008db70 pc=0x4f1628
github.com/segmentio/parquet-go/internal/bits_test.TestMaxFixedLenByteArray16(0xc000082d00)
	/home/runner/work/parquet-go/parquet-go/internal/bits/max_test.go:166 +0x2c fp=0xc00008df70 sp=0xc00008df30 pc=0x4f346c
testing.tRunner(0xc000082d00, 0x538290)
	/opt/hostedtoolcache/go/1.17.7/x64/src/testing/testing.go:1259 +0x102 fp=0xc00008dfc0 sp=0xc00008df70 pc=0x4b59a2
testing.(*T).Run·dwrap·21()
	/opt/hostedtoolcache/go/1.17.7/x64/src/testing/testing.go:[130](https://github.com/segmentio/parquet-go/runs/5337241346?check_suite_focus=true#step:6:130)6 +0x2a fp=0xc00008dfe0 sp=0xc00008dfc0 pc=0x4b66aa
runtime.goexit()
	/opt/hostedtoolcache/go/1.17.7/x64/src/runtime/asm_amd64.s:1581 +0x1 fp=0xc00008dfe8 sp=0xc00008dfe0 pc=0x4638c1
created by testing.(*T).Run
	/opt/hostedtoolcache/go/1.17.7/x64/src/testing/testing.go:1306 +0x35a

goroutine 1 [chan receive]:
testing.(*T).Run(0xc00010e1a0, {0x531d6b, 0x465fd3}, 0x538290)
	/opt/hostedtoolcache/go/1.17.7/x64/src/testing/testing.go:1307 +0x375
testing.runTests.func1(0xc00010e1a0)
	/opt/hostedtoolcache/go/1.17.7/x64/src/testing/testing.go:1598 +0x6e
testing.tRunner(0xc00010e1a0, 0xc000045d18)
	/opt/hostedtoolcache/go/1.17.7/x64/src/testing/testing.go:1259 +0x102
testing.runTests(0xc000110000, {0x628da0, 0x35, 0x35}, {0x4726cd, 0x52edb3, 0x62c340})
	/opt/hostedtoolcache/go/1.17.7/x64/src/testing/testing.go:1596 +0x43f
testing.(*M).Run(0xc000110000)
	/opt/hostedtoolcache/go/1.17.7/x64/src/testing/testing.go:[150](https://github.com/segmentio/parquet-go/runs/5337241346?check_suite_focus=true#step:6:150)4 +0x51d
main.main()
	_testmain.go:229 +0x14b

rax    0xc0004e5800
rbx    0xc0004e5800
rcx    0xc0004e5900
rdx    0x100
rdi    0x10
rsi    0xc00008d448
rbp    0xc00008d3f0
rsp    0xc00008d3b8
r8     0x10
r9     0xf
r10    0xc0004e58f0
r11    0x0
r12    0xc00008d480
r13    0x3
r14    0xc00010e4e0
r15    0xc00036b968
rip    0x4edc1e
rflags 0x10246
cs     0x33
fs     0x0
gs     0x0
@achille-roussel
Copy link
Contributor

This should be fixed by #72, feel free to reopen if you're still noticing the issue on the latest versions.

@achille-roussel achille-roussel self-assigned this Jun 21, 2022
@achille-roussel achille-roussel added bug Something isn't working testing Related to testing labels Jun 21, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working testing Related to testing
Projects
None yet
Development

No branches or pull requests

2 participants