Skip to content

Archery integration test SIGSEGV #405

@mbrobbel

Description

@mbrobbel

Describe the bug, including details regarding any error messages, version, and platform.

I got a SIGSEGV in CI running Archery integration testing for typo fix PR in arrow-rs (https://github.com/apache/arrow-rs/actions/runs/15701338273/job/44236628683#step:14:5064):

runtime: bad pointer in frame github.com/apache/arrow-go/v18/arrow/cdata.(*cimporter).importBuffer at 0xc0000390a8: 0x80
fatal error: invalid pointer found on stack

runtime stack:
runtime.throw({0x7ff108b725c4?, 0x7ff108e71d40?})
	/opt/go/src/runtime/panic.go:1094 +0x4a fp=0x7ff0abffe910 sp=0x7ff0abffe8e0 pc=0x7ff10890d64a
runtime.adjustpointers(0x7ff0abffea20?, 0x7ff0abffe9b8, 0x7ff108e71d40?, {0x7ff1089125c8?, 0x0?})
	/opt/go/src/runtime/stack.go:681 +0x1ad fp=0x7ff0abffe970 sp=0x7ff0abffe910 pc=0x7ff1088f2eed
runtime.adjustframe(0x7ff0abffea20, 0x7ff0abffea80)
	/opt/go/src/runtime/stack.go:738 +0xc5 fp=0x7ff0abffe9e8 sp=0x7ff0abffe970 pc=0x7ff1088f3005
runtime.copystack(0xc0000048c0, 0xc0003fa000?)
	/opt/go/src/runtime/stack.go:976 +0x2e5 fp=0x7ff0abffeae0 sp=0x7ff0abffe9e8 pc=0x7ff1088f3665
runtime.shrinkstack(0xc0000048c0)
	/opt/go/src/runtime/stack.go:1286 +0x15f fp=0x7ff0abffeb00 sp=0x7ff0abffeae0 pc=0x7ff1088f45bf
runtime.scanstack(0xc0000048c0, 0xc000043250)
	/opt/go/src/runtime/mgcmark.go:898 +0x132 fp=0x7ff0abffec18 sp=0x7ff0abffeb00 pc=0x7ff1088bf7b2
runtime.markroot.func1()
	/opt/go/src/runtime/mgcmark.go:248 +0xb1 fp=0x7ff0abffec68 sp=0x7ff0abffec18 pc=0x7ff1088be271
runtime.markroot(0xc000043250, 0x16, 0x1)
	/opt/go/src/runtime/mgcmark.go:222 +0x1a5 fp=0x7ff0abffed18 sp=0x7ff0abffec68 pc=0x7ff1088bdec5
runtime.gcDrain(0xc000043250, 0x3)
	/opt/go/src/runtime/mgcmark.go:1206 +0x3d3 fp=0x7ff0abffed80 sp=0x7ff0abffed18 pc=0x7ff1088c03b3
runtime.gcDrainMarkWorkerDedicated(...)
	/opt/go/src/runtime/mgcmark.go:1130
runtime.gcBgMarkWorker.func2()
	/opt/go/src/runtime/mgc.go:1540 +0x9a fp=0x7ff0abffedd0 sp=0x7ff0abffed80 pc=0x7ff1088bc53a
runtime.systemstack(0x1000000)
	/opt/go/src/runtime/asm_amd64.s:513 +0x47 fp=0x7ff0abffede0 sp=0x7ff0abffedd0 pc=0x7ff108912627

goroutine 36 gp=0xc00041ec40 m=3 mp=0xc000059008 [GC worker (active)]:
runtime.systemstack_switch()
	/opt/go/src/runtime/asm_amd64.s:478 +0x8 fp=0xc000055738 sp=0xc000055728 pc=0x7ff1089125c8
runtime.gcBgMarkWorker(0xc00041d0a0)
	/opt/go/src/runtime/mgc.go:1523 +0x1fa fp=0xc0000557c8 sp=0xc000055738 pc=0x7ff1088bc1da
runtime.gcBgMarkStartWorkers.gowrap1()
	/opt/go/src/runtime/mgc.go:1373 +0x25 fp=0xc0000557e0 sp=0xc0000557c8 pc=0x7ff1088bbfa5
runtime.goexit({})
	/opt/go/src/runtime/asm_amd64.s:1693 +0x1 fp=0xc0000557e8 sp=0xc0000557e0 pc=0x7ff1089145e1
created by runtime.gcBgMarkStartWorkers in goroutine 17
	/opt/go/src/runtime/mgc.go:1373 +0x105

goroutine 19 gp=0xc000004380 m=nil [GC worker (idle)]:
runtime.gopark(0x129e1f3a0cd?, 0x0?, 0x0?, 0x0?, 0x0?)
	/opt/go/src/runtime/proc.go:460 +0xce fp=0xc0002b8738 sp=0xc0002b8718 pc=0x7ff10890d76e
runtime.gcBgMarkWorker(0xc00041d0a0)
	/opt/go/src/runtime/mgc.go:1463 +0xeb fp=0xc0002b87c8 sp=0xc0002b8738 pc=0x7ff1088bc0cb
runtime.gcBgMarkStartWorkers.gowrap1()
	/opt/go/src/runtime/mgc.go:1373 +0x25 fp=0xc0002b87e0 sp=0xc0002b87c8 pc=0x7ff1088bbfa5
runtime.goexit({})
	/opt/go/src/runtime/asm_amd64.s:1693 +0x1 fp=0xc0002b87e8 sp=0xc0002b87e0 pc=0x7ff1089145e1
created by runtime.gcBgMarkStartWorkers in goroutine 17
	/opt/go/src/runtime/mgc.go:1373 +0x105

goroutine 17 gp=0xc0000048c0 m=1 mp=0xc000058008 [GC assist marking (scan), locked to thread]:
runtime.systemstack_switch()
	/opt/go/src/runtime/asm_amd64.s:478 +0x8 fp=0xc000038f80 sp=0xc000038f70 pc=0x7ff1089125c8
runtime.gcAssistAlloc(0xc0000048c0)
	/opt/go/src/runtime/mgcmark.go:580 +0x2a5 fp=0xc000039010 sp=0xc000038f80 pc=0x7ff1088bebc5
runtime.deductAssistCredit(0x7ff108907813?)
	/opt/go/src/runtime/malloc.go:1712 +0x46 fp=0xc000039030 sp=0xc000039010 pc=0x7ff1088b11e6
runtime.mallocgc(0x48, 0x7ff108c46440, 0x1)
	/opt/go/src/runtime/malloc.go:1048 +0x67 fp=0xc000039060 sp=0xc000039030 pc=0x7ff10890bd07
runtime.newobject(0x7ff108c065c0?)
	/opt/go/src/runtime/malloc.go:1747 +0x25 fp=0xc000039088 sp=0xc000039060 pc=0x7ff1088b12c5
github.com/apache/arrow-go/v18/arrow/memory.NewBufferWithAllocator(...)
	/__w/arrow-rs/arrow-rs/go/arrow/memory/buffer.go:45
github.com/apache/arrow-go/v18/arrow/cdata.(*cimporter).importBuffer(0xc000340d58, 0x0?, 0x0)
	/__w/arrow-rs/arrow-rs/go/arrow/cdata/cdata.go:876 +0xce fp=0xc0000390c0 sp=0xc000039088 pc=0x7ff108b3a12e
github.com/apache/arrow-go/v18/arrow/cdata.(*cimporter).importFixedSizeBuffer(0x7ff108e66550?, 0x7ff108c3abc0?, 0x7ff10890c35f?)
	/__w/arrow-rs/arrow-rs/go/arrow/cdata/cdata.go:898 +0x25 fp=0xc0000390e8 sp=0xc0000390c0 pc=0x7ff108b3a365
github.com/apache/arrow-go/v18/arrow/cdata.(*cimporter).importFixedSizePrimitive(0xc000340d58)
	/__w/arrow-rs/arrow-rs/go/arrow/cdata/cdata.go:808 +0x265 fp=0xc0000392b0 sp=0xc0000390e8 pc=0x7ff108b39a05
github.com/apache/arrow-go/v18/arrow/cdata.(*cimporter).doImport(0xc000340d58)
	/__w/arrow-rs/arrow-rs/go/arrow/cdata/cdata.go:513 +0x1805 fp=0xc0000396c0 sp=0xc0000392b0 pc=0x7ff108b375c5
github.com/apache/arrow-go/v18/arrow/cdata.(*cimporter).importChild(...)
	/__w/arrow-rs/arrow-rs/go/arrow/cdata/cdata.go:367
github.com/apache/arrow-go/v18/arrow/cdata.(*cimporter).doImportChildren(0xc00037dea0)
	/__w/arrow-rs/arrow-rs/go/arrow/cdata/cdata.go:409 +0xd1e fp=0xc0000397b0 sp=0xc0000396c0 pc=0x7ff108b359be
github.com/apache/arrow-go/v18/arrow/cdata.(*cimporter).doImport(0xc00037dea0)
	/__w/arrow-rs/arrow-rs/go/arrow/cdata/cdata.go:489 +0x9a fp=0xc000039bc0 sp=0xc0000397b0 pc=0x7ff108b35e5a
github.com/apache/arrow-go/v18/arrow/cdata.(*cimporter).doImportArr(0xc00037dea0, 0x563907266530)
	/__w/arrow-rs/arrow-rs/go/arrow/cdata/cdata.go:470 +0x12f fp=0xc000039c28 sp=0xc000039bc0 pc=0x7ff108b35c8f
github.com/apache/arrow-go/v18/arrow/cdata.importCArrayAsType(...)
	/__w/arrow-rs/arrow-rs/go/arrow/cdata/cdata.go:913
github.com/apache/arrow-go/v18/arrow/cdata.ImportCRecordBatchWithSchema(0x563907266530, 0xc000451740)
	/__w/arrow-rs/arrow-rs/go/arrow/cdata/interface.go:116 +0xe7 fp=0xc000039d48 sp=0xc000039c28 pc=0x7ff108b314a7
main.importBatchAndCompareToJson(0x7ff10890b2eb?, 0x0, 0x563907266530)
	/__w/arrow-rs/arrow-rs/go/arrow/internal/cdata_integration/entrypoints.go:144 +0xe5 fp=0xc000039e10 sp=0xc000039d48 pc=0x7ff108b56f25
main.ArrowGo_ImportBatchAndCompareToJson(0x7ff2662c2d60, 0x0, 0x1?)
	/__w/arrow-rs/arrow-rs/go/arrow/internal/cdata_integration/entrypoints.go:186 +0x59 fp=0xc000039e48 sp=0xc000039e10 pc=0x7ff108b57459
_cgoexp_f847acd1eaee_ArrowGo_ImportBatchAndCompareToJson(0x7ffed1181230)
	_cgo_gotypes.go:158 +0x26 fp=0xc000039e70 sp=0xc000039e48 pc=0x7ff108b57706
runtime.cgocallbackg1(0x7ff108b576e0, 0x7ffed1181230, 0x0)
	/opt/go/src/runtime/cgocall.go:446 +0x289 fp=0xc000039f28 sp=0xc000039e70 pc=0x7ff1088a6d09
runtime.cgocallbackg(0x7ff108b576e0, 0x7ffed1181230, 0x0)
	/opt/go/src/runtime/cgocall.go:350 +0x132 fp=0xc000039f90 sp=0xc000039f28 pc=0x7ff1088a6992
runtime.cgocallbackg(0x7ff108b576e0, 0x7ffed1181230, 0x0)
	<autogenerated>:1 +0x2b fp=0xc000039fb8 sp=0xc000039f90 pc=0x7ff108916a8b
runtime.cgocallback(0x0, 0x0, 0x0)
	/opt/go/src/runtime/asm_amd64.s:1082 +0xcd fp=0xc000039fe0 sp=0xc000039fb8 pc=0x7ff1089143ad
runtime.goexit({})
	/opt/go/src/runtime/asm_amd64.s:1693 +0x1 fp=0xc000039fe8 sp=0xc000039fe0 pc=0x7ff1089145e1

goroutine 2 gp=0xc000004e00 m=nil [force gc (idle)]:
runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?)
	/opt/go/src/runtime/proc.go:460 +0xce fp=0xc000052fa8 sp=0xc000052f88 pc=0x7ff10890d76e
runtime.goparkunlock(...)
	/opt/go/src/runtime/proc.go:466
runtime.forcegchelper()
	/opt/go/src/runtime/proc.go:373 +0xb8 fp=0xc000052fe0 sp=0xc000052fa8 pc=0x7ff1088dae18
runtime.goexit({})
	/opt/go/src/runtime/asm_amd64.s:1693 +0x1 fp=0xc000052fe8 sp=0xc000052fe0 pc=0x7ff1089145e1
created by runtime.init.7 in goroutine 1
	/opt/go/src/runtime/proc.go:361 +0x1a

goroutine 3 gp=0xc000005340 m=nil [GC sweep wait]:
runtime.gopark(0x1?, 0x0?, 0x0?, 0x0?, 0x0?)
	/opt/go/src/runtime/proc.go:460 +0xce fp=0xc000053780 sp=0xc000053760 pc=0x7ff10890d76e
runtime.goparkunlock(...)
	/opt/go/src/runtime/proc.go:466
runtime.bgsweep(0xc00007c000)
	/opt/go/src/runtime/mgcsweep.go:323 +0xdf fp=0xc0000537c8 sp=0xc000053780 pc=0x7ff1088c5a1f
runtime.gcenable.gowrap1()
	/opt/go/src/runtime/mgc.go:212 +0x25 fp=0xc0000537e0 sp=0xc0000537c8 pc=0x7ff1088b99a5
runtime.goexit({})
	/opt/go/src/runtime/asm_amd64.s:1693 +0x1 fp=0xc0000537e8 sp=0xc0000537e0 pc=0x7ff1089145e1
created by runtime.gcenable in goroutine 1
	/opt/go/src/runtime/mgc.go:212 +0x66

goroutine 4 gp=0xc000005500 m=nil [GC scavenge wait]:
runtime.gopark(0x10000?, 0x7ff108be1438?, 0x0?, 0x0?, 0x0?)
	/opt/go/src/runtime/proc.go:460 +0xce fp=0xc000053f78 sp=0xc000053f58 pc=0x7ff10890d76e
runtime.goparkunlock(...)
	/opt/go/src/runtime/proc.go:466
runtime.(*scavengerState).park(0x7ff108e7df00)
	/opt/go/src/runtime/mgcscavenge.go:425 +0x49 fp=0xc000053fa8 sp=0xc000053f78 pc=0x7ff1088c34a9
runtime.bgscavenge(0xc00007c000)
	/opt/go/src/runtime/mgcscavenge.go:658 +0x59 fp=0xc000053fc8 sp=0xc000053fa8 pc=0x7ff1088c3a59
runtime.gcenable.gowrap2()
	/opt/go/src/runtime/mgc.go:213 +0x25 fp=0xc000053fe0 sp=0xc000053fc8 pc=0x7ff1088b9945
runtime.goexit({})
	/opt/go/src/runtime/asm_amd64.s:1693 +0x1 fp=0xc000053fe8 sp=0xc000053fe0 pc=0x7ff1089145e1
created by runtime.gcenable in goroutine 1
	/opt/go/src/runtime/mgc.go:213 +0xa5

goroutine 18 gp=0xc000102700 m=nil [cleanup wait]:
runtime.gopark(0x0?, 0x101000000000000?, 0x3b?, 0x0?, 0x2?)
	/opt/go/src/runtime/proc.go:460 +0xce fp=0xc000052768 sp=0xc000052748 pc=0x7ff10890d76e
runtime.goparkunlock(...)
	/opt/go/src/runtime/proc.go:466
runtime.(*cleanupQueue).dequeue(0x7ff108e7e040)
	/opt/go/src/runtime/mcleanup.go:439 +0xc5 fp=0xc0000527a0 sp=0xc000052768 pc=0x7ff1088b5a85
runtime.runCleanups()
	/opt/go/src/runtime/mcleanup.go:635 +0x45 fp=0xc0000527e0 sp=0xc0000527a0 pc=0x7ff1088b6145
runtime.goexit({})
	/opt/go/src/runtime/asm_amd64.s:1693 +0x1 fp=0xc0000527e8 sp=0xc0000527e0 pc=0x7ff1089145e1
created by runtime.(*cleanupQueue).createGs in goroutine 1
	/opt/go/src/runtime/mcleanup.go:589 +0xa5

goroutine 35 gp=0xc00041ea80 m=nil [GC worker (idle)]:
runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?)
	/opt/go/src/runtime/proc.go:460 +0xce fp=0xc00004e738 sp=0xc00004e718 pc=0x7ff10890d76e
runtime.gcBgMarkWorker(0xc00041d0a0)
	/opt/go/src/runtime/mgc.go:1463 +0xeb fp=0xc00004e7c8 sp=0xc00004e738 pc=0x7ff1088bc0cb
runtime.gcBgMarkStartWorkers.gowrap1()
	/opt/go/src/runtime/mgc.go:1373 +0x25 fp=0xc00004e7e0 sp=0xc00004e7c8 pc=0x7ff1088bbfa5
runtime.goexit({})
	/opt/go/src/runtime/asm_amd64.s:1693 +0x1 fp=0xc00004e7e8 sp=0xc00004e7e0 pc=0x7ff1089145e1
created by runtime.gcBgMarkStartWorkers in goroutine 17
	/opt/go/src/runtime/mgc.go:1373 +0x105

goroutine 5 gp=0xc000005a40 m=nil [GC worker (idle)]:
runtime.gopark(0x129e06e7868?, 0x0?, 0x0?, 0x0?, 0x0?)
	/opt/go/src/runtime/proc.go:460 +0xce fp=0xc000054738 sp=0xc000054718 pc=0x7ff10890d76e
runtime.gcBgMarkWorker(0xc00041d0a0)
	/opt/go/src/runtime/mgc.go:1463 +0xeb fp=0xc0000547c8 sp=0xc000054738 pc=0x7ff1088bc0cb
runtime.gcBgMarkStartWorkers.gowrap1()
	/opt/go/src/runtime/mgc.go:1373 +0x25 fp=0xc0000547e0 sp=0xc0000547c8 pc=0x7ff1088bbfa5
runtime.goexit({})
	/opt/go/src/runtime/asm_amd64.s:1693 +0x1 fp=0xc0000547e8 sp=0xc0000547e0 pc=0x7ff1089145e1
created by runtime.gcBgMarkStartWorkers in goroutine 17
	/opt/go/src/runtime/mgc.go:1373 +0x105
Fatal Python error: Aborted

Thread 0x00007ff28fb22440 (most recent call first):
  File "/__w/arrow-rs/arrow-rs/dev/archery/archery/integration/tester_go.py", line 233 in import_batch_and_compare_to_json
  File "/__w/arrow-rs/arrow-rs/dev/archery/archery/integration/runner.py", line 551 in do_run
  File "/__w/arrow-rs/arrow-rs/dev/archery/archery/integration/runner.py", line 571 in _run_c_array_test_cases
  File "/__w/arrow-rs/arrow-rs/dev/archery/archery/integration/runner.py", line 241 in case_wrapper
  File "/__w/arrow-rs/arrow-rs/dev/archery/archery/integration/runner.py", line 252 in _run_test_cases
  File "/__w/arrow-rs/arrow-rs/dev/archery/archery/integration/runner.py", line 484 in _compare_c_data_implementations
  File "/__w/arrow-rs/arrow-rs/dev/archery/archery/integration/runner.py", line 165 in run_c_data
  File "/__w/arrow-rs/arrow-rs/dev/archery/archery/integration/runner.py", line 734 in run_all_tests
  File "/__w/arrow-rs/arrow-rs/dev/archery/archery/cli.py", line 814 in integration
  File "/opt/conda/envs/arrow/lib/python3.11/site-packages/click/core.py", line 794 in invoke
  File "/opt/conda/envs/arrow/lib/python3.11/site-packages/click/core.py", line 1226 in invoke
  File "/opt/conda/envs/arrow/lib/python3.11/site-packages/click/core.py", line 1830 in invoke
  File "/opt/conda/envs/arrow/lib/python3.11/site-packages/click/core.py", line 1363 in main
  File "/opt/conda/envs/arrow/lib/python3.11/site-packages/click/core.py", line 1442 in __call__
  File "/opt/conda/envs/arrow/bin/archery", line 8 in <module>

Extension modules: work._ruamel_yaml, _ruamel_yaml, _cffi_backend, _brotli, zstandard.backend_c, markupsafe._speedups, pygit2._pygit2, numpy._core._multiarray_umath, numpy.linalg._umath_linalg, numpy.random._common, numpy.random.bit_generator, numpy.random._bounded_integers, numpy.random._pcg64, numpy.random._mt19937, numpy.random._generator, numpy.random._philox, numpy.random._sfc64, numpy.random.mtrand, _jpype (total: 19)
panic during panic
SIGSEGV: segmentation violation
PC=0x7ff1d5edab3b m=3 sigcode=1 addr=0x8

goroutine 0 gp=0xc000005180 m=3 mp=0xc000059008 [idle]:
runtime: g 0 gp=0xc000005180: unknown pc 0x7ff1d5edab3b
stack: frame={sp:0xc000079a70, fp:0x0} stack=[0x7ff0aafff1e0,0x7ff0abffede0)

runtime: g 0 gp=0xc000005180: unknown pc 0x7ff1d5edab3b
stack: frame={sp:0xc000079a70, fp:0x0} stack=[0x7ff0aafff1e0,0x7ff0abffede0)


goroutine 36 gp=0xc00041ec40 m=3 mp=0xc000059008 [GC worker (active)]:
runtime.systemstack_switch()
	/opt/go/src/runtime/asm_amd64.s:478 +0x8 fp=0xc000055738 sp=0xc000055728 pc=0x7ff1089125c8
runtime.gcBgMarkWorker(0xc00041d0a0)
	/opt/go/src/runtime/mgc.go:1523 +0x1fa fp=0xc0000557c8 sp=0xc000055738 pc=0x7ff1088bc1da
runtime.gcBgMarkStartWorkers.gowrap1()
	/opt/go/src/runtime/mgc.go:1373 +0x25 fp=0xc0000557e0 sp=0xc0000557c8 pc=0x7ff1088bbfa5
runtime.goexit({})
	/opt/go/src/runtime/asm_amd64.s:1693 +0x1 fp=0xc0000557e8 sp=0xc0000557e0 pc=0x7ff1089145e1
created by runtime.gcBgMarkStartWorkers in goroutine 17
	/opt/go/src/runtime/mgc.go:1373 +0x105

goroutine 19 gp=0xc000004380 m=nil [GC worker (idle)]:
runtime.gopark(0x129e1f3a0cd?, 0x0?, 0x0?, 0x0?, 0x0?)
	/opt/go/src/runtime/proc.go:460 +0xce fp=0xc0002b8738 sp=0xc0002b8718 pc=0x7ff10890d76e
runtime.gcBgMarkWorker(0xc00041d0a0)
	/opt/go/src/runtime/mgc.go:1463 +0xeb fp=0xc0002b87c8 sp=0xc0002b8738 pc=0x7ff1088bc0cb
runtime.gcBgMarkStartWorkers.gowrap1()
	/opt/go/src/runtime/mgc.go:1373 +0x25 fp=0xc0002b87e0 sp=0xc0002b87c8 pc=0x7ff1088bbfa5
runtime.goexit({})
	/opt/go/src/runtime/asm_amd64.s:1693 +0x1 fp=0xc0002b87e8 sp=0xc0002b87e0 pc=0x7ff1089145e1
created by runtime.gcBgMarkStartWorkers in goroutine 17
	/opt/go/src/runtime/mgc.go:1373 +0x105

goroutine 17 gp=0xc0000048c0 m=1 mp=0xc000058008 [GC assist marking (scan), locked to thread]:
runtime.systemstack_switch()
	/opt/go/src/runtime/asm_amd64.s:478 +0x8 fp=0xc000038f80 sp=0xc000038f70 pc=0x7ff1089125c8
runtime.gcAssistAlloc(0xc0000048c0)
	/opt/go/src/runtime/mgcmark.go:580 +0x2a5 fp=0xc000039010 sp=0xc000038f80 pc=0x7ff1088bebc5
runtime.deductAssistCredit(0x7ff108907813?)
	/opt/go/src/runtime/malloc.go:1712 +0x46 fp=0xc000039030 sp=0xc000039010 pc=0x7ff1088b11e6
runtime.mallocgc(0x48, 0x7ff108c46440, 0x1)
	/opt/go/src/runtime/malloc.go:1048 +0x67 fp=0xc000039060 sp=0xc000039030 pc=0x7ff10890bd07
runtime.newobject(0x7ff108c065c0?)
	/opt/go/src/runtime/malloc.go:1747 +0x25 fp=0xc000039088 sp=0xc000039060 pc=0x7ff1088b12c5
github.com/apache/arrow-go/v18/arrow/memory.NewBufferWithAllocator(...)
	/__w/arrow-rs/arrow-rs/go/arrow/memory/buffer.go:45
github.com/apache/arrow-go/v18/arrow/cdata.(*cimporter).importBuffer(0xc000340d58, 0x0?, 0x0)
	/__w/arrow-rs/arrow-rs/go/arrow/cdata/cdata.go:876 +0xce fp=0xc0000390c0 sp=0xc000039088 pc=0x7ff108b3a12e
github.com/apache/arrow-go/v18/arrow/cdata.(*cimporter).importFixedSizeBuffer(0x7ff108e66550?, 0x7ff108c3abc0?, 0x7ff10890c35f?)
	/__w/arrow-rs/arrow-rs/go/arrow/cdata/cdata.go:898 +0x25 fp=0xc0000390e8 sp=0xc0000390c0 pc=0x7ff108b3a365
github.com/apache/arrow-go/v18/arrow/cdata.(*cimporter).importFixedSizePrimitive(0xc000340d58)
	/__w/arrow-rs/arrow-rs/go/arrow/cdata/cdata.go:808 +0x265 fp=0xc0000392b0 sp=0xc0000390e8 pc=0x7ff108b39a05
github.com/apache/arrow-go/v18/arrow/cdata.(*cimporter).doImport(0xc000340d58)
	/__w/arrow-rs/arrow-rs/go/arrow/cdata/cdata.go:513 +0x1805 fp=0xc0000396c0 sp=0xc0000392b0 pc=0x7ff108b375c5
github.com/apache/arrow-go/v18/arrow/cdata.(*cimporter).importChild(...)
	/__w/arrow-rs/arrow-rs/go/arrow/cdata/cdata.go:367
github.com/apache/arrow-go/v18/arrow/cdata.(*cimporter).doImportChildren(0xc00037dea0)
	/__w/arrow-rs/arrow-rs/go/arrow/cdata/cdata.go:409 +0xd1e fp=0xc0000397b0 sp=0xc0000396c0 pc=0x7ff108b359be
github.com/apache/arrow-go/v18/arrow/cdata.(*cimporter).doImport(0xc00037dea0)
	/__w/arrow-rs/arrow-rs/go/arrow/cdata/cdata.go:489 +0x9a fp=0xc000039bc0 sp=0xc0000397b0 pc=0x7ff108b35e5a
github.com/apache/arrow-go/v18/arrow/cdata.(*cimporter).doImportArr(0xc00037dea0, 0x563907266530)
	/__w/arrow-rs/arrow-rs/go/arrow/cdata/cdata.go:470 +0x12f fp=0xc000039c28 sp=0xc000039bc0 pc=0x7ff108b35c8f
github.com/apache/arrow-go/v18/arrow/cdata.importCArrayAsType(...)
	/__w/arrow-rs/arrow-rs/go/arrow/cdata/cdata.go:913
github.com/apache/arrow-go/v18/arrow/cdata.ImportCRecordBatchWithSchema(0x563907266530, 0xc000451740)
	/__w/arrow-rs/arrow-rs/go/arrow/cdata/interface.go:116 +0xe7 fp=0xc000039d48 sp=0xc000039c28 pc=0x7ff108b314a7
main.importBatchAndCompareToJson(0x7ff10890b2eb?, 0x0, 0x563907266530)
	/__w/arrow-rs/arrow-rs/go/arrow/internal/cdata_integration/entrypoints.go:144 +0xe5 fp=0xc000039e10 sp=0xc000039d48 pc=0x7ff108b56f25
main.ArrowGo_ImportBatchAndCompareToJson(0x7ff2662c2d60, 0x0, 0x1?)
	/__w/arrow-rs/arrow-rs/go/arrow/internal/cdata_integration/entrypoints.go:186 +0x59 fp=0xc000039e48 sp=0xc000039e10 pc=0x7ff108b57459
_cgoexp_f847acd1eaee_ArrowGo_ImportBatchAndCompareToJson(0x7ffed1181230)
	_cgo_gotypes.go:158 +0x26 fp=0xc000039e70 sp=0xc000039e48 pc=0x7ff108b57706
runtime.cgocallbackg1(0x7ff108b576e0, 0x7ffed1181230, 0x0)
	/opt/go/src/runtime/cgocall.go:446 +0x289 fp=0xc000039f28 sp=0xc000039e70 pc=0x7ff1088a6d09
runtime.cgocallbackg(0x7ff108b576e0, 0x7ffed1181230, 0x0)
	/opt/go/src/runtime/cgocall.go:350 +0x132 fp=0xc000039f90 sp=0xc000039f28 pc=0x7ff1088a6992
runtime.cgocallbackg(0x7ff108b576e0, 0x7ffed1181230, 0x0)
	<autogenerated>:1 +0x2b fp=0xc000039fb8 sp=0xc000039f90 pc=0x7ff108916a8b
runtime.cgocallback(0x0, 0x0, 0x0)
	/opt/go/src/runtime/asm_amd64.s:1082 +0xcd fp=0xc000039fe0 sp=0xc000039fb8 pc=0x7ff1089143ad
runtime.goexit({})
	/opt/go/src/runtime/asm_amd64.s:1693 +0x1 fp=0xc000039fe8 sp=0xc000039fe0 pc=0x7ff1089145e1

goroutine 2 gp=0xc000004e00 m=nil [force gc (idle)]:
runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?)
	/opt/go/src/runtime/proc.go:460 +0xce fp=0xc000052fa8 sp=0xc000052f88 pc=0x7ff10890d76e
runtime.goparkunlock(...)
	/opt/go/src/runtime/proc.go:466
runtime.forcegchelper()
	/opt/go/src/runtime/proc.go:373 +0xb8 fp=0xc000052fe0 sp=0xc000052fa8 pc=0x7ff1088dae18
runtime.goexit({})
	/opt/go/src/runtime/asm_amd64.s:1693 +0x1 fp=0xc000052fe8 sp=0xc000052fe0 pc=0x7ff1089145e1
created by runtime.init.7 in goroutine 1
	/opt/go/src/runtime/proc.go:361 +0x1a

goroutine 3 gp=0xc000005340 m=nil [GC sweep wait]:
runtime.gopark(0x1?, 0x0?, 0x0?, 0x0?, 0x0?)
	/opt/go/src/runtime/proc.go:460 +0xce fp=0xc000053780 sp=0xc000053760 pc=0x7ff10890d76e
runtime.goparkunlock(...)
	/opt/go/src/runtime/proc.go:466
runtime.bgsweep(0xc00007c000)
	/opt/go/src/runtime/mgcsweep.go:323 +0xdf fp=0xc0000537c8 sp=0xc000053780 pc=0x7ff1088c5a1f
runtime.gcenable.gowrap1()
	/opt/go/src/runtime/mgc.go:212 +0x25 fp=0xc0000537e0 sp=0xc0000537c8 pc=0x7ff1088b99a5
runtime.goexit({})
	/opt/go/src/runtime/asm_amd64.s:1693 +0x1 fp=0xc0000537e8 sp=0xc0000537e0 pc=0x7ff1089145e1
created by runtime.gcenable in goroutine 1
	/opt/go/src/runtime/mgc.go:212 +0x66

goroutine 4 gp=0xc000005500 m=nil [GC scavenge wait]:
runtime.gopark(0x10000?, 0x7ff108be1438?, 0x0?, 0x0?, 0x0?)
	/opt/go/src/runtime/proc.go:460 +0xce fp=0xc000053f78 sp=0xc000053f58 pc=0x7ff10890d76e
runtime.goparkunlock(...)
	/opt/go/src/runtime/proc.go:466
runtime.(*scavengerState).park(0x7ff108e7df00)
	/opt/go/src/runtime/mgcscavenge.go:425 +0x49 fp=0xc000053fa8 sp=0xc000053f78 pc=0x7ff1088c34a9
runtime.bgscavenge(0xc00007c000)
	/opt/go/src/runtime/mgcscavenge.go:658 +0x59 fp=0xc000053fc8 sp=0xc000053fa8 pc=0x7ff1088c3a59
runtime.gcenable.gowrap2()
	/opt/go/src/runtime/mgc.go:213 +0x25 fp=0xc000053fe0 sp=0xc000053fc8 pc=0x7ff1088b9945
runtime.goexit({})
	/opt/go/src/runtime/asm_amd64.s:1693 +0x1 fp=0xc000053fe8 sp=0xc000053fe0 pc=0x7ff1089145e1
created by runtime.gcenable in goroutine 1
	/opt/go/src/runtime/mgc.go:213 +0xa5

goroutine 18 gp=0xc000102700 m=nil [cleanup wait]:
runtime.gopark(0x0?, 0x101000000000000?, 0x3b?, 0x0?, 0x2?)
	/opt/go/src/runtime/proc.go:460 +0xce fp=0xc000052768 sp=0xc000052748 pc=0x7ff10890d76e
runtime.goparkunlock(...)
	/opt/go/src/runtime/proc.go:466
runtime.(*cleanupQueue).dequeue(0x7ff108e7e040)
	/opt/go/src/runtime/mcleanup.go:439 +0xc5 fp=0xc0000527a0 sp=0xc000052768 pc=0x7ff1088b5a85
runtime.runCleanups()
	/opt/go/src/runtime/mcleanup.go:635 +0x45 fp=0xc0000527e0 sp=0xc0000527a0 pc=0x7ff1088b6145
runtime.goexit({})
	/opt/go/src/runtime/asm_amd64.s:1693 +0x1 fp=0xc0000527e8 sp=0xc0000527e0 pc=0x7ff1089145e1
created by runtime.(*cleanupQueue).createGs in goroutine 1
	/opt/go/src/runtime/mcleanup.go:589 +0xa5

goroutine 35 gp=0xc00041ea80 m=nil [GC worker (idle)]:
runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?)
	/opt/go/src/runtime/proc.go:460 +0xce fp=0xc00004e738 sp=0xc00004e718 pc=0x7ff10890d76e
runtime.gcBgMarkWorker(0xc00041d0a0)
	/opt/go/src/runtime/mgc.go:1463 +0xeb fp=0xc00004e7c8 sp=0xc00004e738 pc=0x7ff1088bc0cb
runtime.gcBgMarkStartWorkers.gowrap1()
	/opt/go/src/runtime/mgc.go:1373 +0x25 fp=0xc00004e7e0 sp=0xc00004e7c8 pc=0x7ff1088bbfa5
runtime.goexit({})
	/opt/go/src/runtime/asm_amd64.s:1693 +0x1 fp=0xc00004e7e8 sp=0xc00004e7e0 pc=0x7ff1089145e1
created by runtime.gcBgMarkStartWorkers in goroutine 17
	/opt/go/src/runtime/mgc.go:1373 +0x105

goroutine 5 gp=0xc000005a40 m=nil [GC worker (idle)]:
runtime.gopark(0x129e06e7868?, 0x0?, 0x0?, 0x0?, 0x0?)
	/opt/go/src/runtime/proc.go:460 +0xce fp=0xc000054738 sp=0xc000054718 pc=0x7ff10890d76e
runtime.gcBgMarkWorker(0xc00041d0a0)
	/opt/go/src/runtime/mgc.go:1463 +0xeb fp=0xc0000547c8 sp=0xc000054738 pc=0x7ff1088bc0cb
runtime.gcBgMarkStartWorkers.gowrap1()
	/opt/go/src/runtime/mgc.go:1373 +0x25 fp=0xc0000547e0 sp=0xc0000547c8 pc=0x7ff1088bbfa5
runtime.goexit({})
	/opt/go/src/runtime/asm_amd64.s:1693 +0x1 fp=0xc0000547e8 sp=0xc0000547e0 pc=0x7ff1089145e1
created by runtime.gcBgMarkStartWorkers in goroutine 17
	/opt/go/src/runtime/mgc.go:1373 +0x105

rax    0x0
rbx    0x6
rcx    0x64
rdx    0x7ff0a4001160
rdi    0x7ff0a400113c
rsi    0x0
rbp    0xc000079a70
rsp    0xc000079a70
r8     0x0
r9     0x7ff0a4001030
r10    0x551
r11    0x7ff0a4000090
r12    0x7ff1d5fec320
r13    0xc000059438
r14    0xc000079bf0
r15    0xc000079ac0
rip    0x7ff1d5edab3b
rflags 0x10206
cs     0x33
fs     0x0
gs     0x0

-----

ci/scripts/integration_arrow.sh: line 73: 17078 Quit                    (core dumped) archery integration --run-c-data --run-ipc --run-flight --with-cpp=$([ "$ARROW_INTEGRATION_CPP" == "ON" ] && echo "1" || echo "0") --with-csharp=$([ "$ARROW_INTEGRATION_CSHARP" == "ON" ] && echo "1" || echo "0") --gold-dirs=$gold_dir/0.14.1 --gold-dirs=$gold_dir/0.17.1 --gold-dirs=$gold_dir/1.0.0-bigendian --gold-dirs=$gold_dir/1.0.0-littleendian --gold-dirs=$gold_dir/2.0.0-compression --gold-dirs=$gold_dir/4.0.0-shareddict

real	2m17.889s
user	7m11.195s
sys	1m8.195s
ERROR conda.cli.main_run:execute(125): `conda run ci/scripts/integration_arrow.sh /__w/arrow-rs/arrow-rs /build` failed. (See above for error)

Component(s)

Other

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type: bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions