cocoa-xu commented on issue #1841:
URL: https://github.com/apache/arrow-adbc/issues/1841#issuecomment-2102881122

   > @cocoa-xu this will also affect BigQuery...it seems both C++ and Go have 
packaging issues here...
   
   So I tried the following code on my x86_64 macOS and it will have the same 
crash:
   
   
   ## Minimal Reproduction:
   ```python3
   import adbc_driver_snowflake.dbapi
   import adbc_driver_bigquery.dbapi
   
   adbc_driver_snowflake.dbapi.connect()
   adbc_driver_bigquery.dbapi.connect()
   ```
   
   ## Result
   
   <details>
   <summary>Full logs</summary>
   
   ```
   fatal error: unexpected signal during runtime execution
   [signal SIGSEGV: segmentation violation code=0x1 addr=0x11 pc=0x1807d413d]
   
   goroutine 1 [running, locked to thread]:
   runtime.throw({0x18223ac23?, 0x1c0000061a0?})
        /Users/runner/hostedtoolcache/go/1.21.8/x64/src/runtime/panic.go:1077 
+0x5c fp=0x1c00069be88 sp=0x1c00069be58 pc=0x18080387c
   runtime.sigpanic()
        
/Users/runner/hostedtoolcache/go/1.21.8/x64/src/runtime/signal_unix.go:845 
+0x3e9 fp=0x1c00069bee8 sp=0x1c00069be88 pc=0x180819c09
   runtime.(*waitq).dequeue(...)
        /Users/runner/hostedtoolcache/go/1.21.8/x64/src/runtime/chan.go:781
   runtime.closechan(0x1c00010e000)
        /Users/runner/hostedtoolcache/go/1.21.8/x64/src/runtime/chan.go:380 
+0x15d fp=0x1c00069bf40 sp=0x1c00069bee8 pc=0x1807d413d
   runtime.main()
        /Users/runner/hostedtoolcache/go/1.21.8/x64/src/runtime/proc.go:256 
+0x28f fp=0x1c00069bfe0 sp=0x1c00069bf40 pc=0x18080626f
   runtime.goexit()
        
/Users/runner/hostedtoolcache/go/1.21.8/x64/src/runtime/asm_amd64.s:1650 +0x1 
fp=0x1c00069bfe8 sp=0x1c00069bfe0 pc=0x180836481
   
   goroutine 2 [force gc (idle)]:
   runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?)
        /Users/runner/hostedtoolcache/go/1.21.8/x64/src/runtime/proc.go:398 
+0xce fp=0x1c000084fa8 sp=0x1c000084f88 pc=0x1808066ee
   runtime.goparkunlock(...)
        /Users/runner/hostedtoolcache/go/1.21.8/x64/src/runtime/proc.go:404
   runtime.forcegchelper()
        /Users/runner/hostedtoolcache/go/1.21.8/x64/src/runtime/proc.go:322 
+0xb3 fp=0x1c000084fe0 sp=0x1c000084fa8 pc=0x180806573
   runtime.goexit()
        
/Users/runner/hostedtoolcache/go/1.21.8/x64/src/runtime/asm_amd64.s:1650 +0x1 
fp=0x1c000084fe8 sp=0x1c000084fe0 pc=0x180836481
   created by runtime.init.6 in goroutine 1
        /Users/runner/hostedtoolcache/go/1.21.8/x64/src/runtime/proc.go:310 
+0x1a
   
   goroutine 3 [GC sweep wait]:
   runtime.gopark(0x1?, 0x0?, 0x0?, 0x0?, 0x0?)
        /Users/runner/hostedtoolcache/go/1.21.8/x64/src/runtime/proc.go:398 
+0xce fp=0x1c000085778 sp=0x1c000085758 pc=0x1808066ee
   runtime.goparkunlock(...)
        /Users/runner/hostedtoolcache/go/1.21.8/x64/src/runtime/proc.go:404
   runtime.bgsweep(0x0?)
        /Users/runner/hostedtoolcache/go/1.21.8/x64/src/runtime/mgcsweep.go:321 
+0xdf fp=0x1c0000857c8 sp=0x1c000085778 pc=0x1807f2b1f
   runtime.gcenable.func1()
        /Users/runner/hostedtoolcache/go/1.21.8/x64/src/runtime/mgc.go:200 
+0x25 fp=0x1c0000857e0 sp=0x1c0000857c8 pc=0x1807e7c45
   runtime.goexit()
        
/Users/runner/hostedtoolcache/go/1.21.8/x64/src/runtime/asm_amd64.s:1650 +0x1 
fp=0x1c0000857e8 sp=0x1c0000857e0 pc=0x180836481
   created by runtime.gcenable in goroutine 1
        /Users/runner/hostedtoolcache/go/1.21.8/x64/src/runtime/mgc.go:200 +0x66
   
   goroutine 4 [GC scavenge wait]:
   runtime.gopark(0x1c0000a8000?, 0x18248b280?, 0x0?, 0x0?, 0x0?)
        /Users/runner/hostedtoolcache/go/1.21.8/x64/src/runtime/proc.go:398 
+0xce fp=0x1c000085f70 sp=0x1c000085f50 pc=0x1808066ee
   runtime.goparkunlock(...)
        /Users/runner/hostedtoolcache/go/1.21.8/x64/src/runtime/proc.go:404
   runtime.(*scavengerState).park(0x183a704c0)
        
/Users/runner/hostedtoolcache/go/1.21.8/x64/src/runtime/mgcscavenge.go:425 
+0x49 fp=0x1c000085fa0 sp=0x1c000085f70 pc=0x1807f0369
   runtime.bgscavenge(0x0?)
        
/Users/runner/hostedtoolcache/go/1.21.8/x64/src/runtime/mgcscavenge.go:658 
+0x59 fp=0x1c000085fc8 sp=0x1c000085fa0 pc=0x1807f0919
   runtime.gcenable.func2()
        /Users/runner/hostedtoolcache/go/1.21.8/x64/src/runtime/mgc.go:201 
+0x25 fp=0x1c000085fe0 sp=0x1c000085fc8 pc=0x1807e7be5
   runtime.goexit()
        
/Users/runner/hostedtoolcache/go/1.21.8/x64/src/runtime/asm_amd64.s:1650 +0x1 
fp=0x1c000085fe8 sp=0x1c000085fe0 pc=0x180836481
   created by runtime.gcenable in goroutine 1
        /Users/runner/hostedtoolcache/go/1.21.8/x64/src/runtime/mgc.go:201 +0xa5
   
   goroutine 18 [finalizer wait]:
   runtime.gopark(0x198?, 0x182894fe0?, 0x1?, 0x78?, 0x0?)
        /Users/runner/hostedtoolcache/go/1.21.8/x64/src/runtime/proc.go:398 
+0xce fp=0x1c000084620 sp=0x1c000084600 pc=0x1808066ee
   runtime.runfinq()
        /Users/runner/hostedtoolcache/go/1.21.8/x64/src/runtime/mfinal.go:193 
+0x107 fp=0x1c0000847e0 sp=0x1c000084620 pc=0x1807e6c67
   runtime.goexit()
        
/Users/runner/hostedtoolcache/go/1.21.8/x64/src/runtime/asm_amd64.s:1650 +0x1 
fp=0x1c0000847e8 sp=0x1c0000847e0 pc=0x180836481
   created by runtime.createfing in goroutine 1
        /Users/runner/hostedtoolcache/go/1.21.8/x64/src/runtime/mfinal.go:163 
+0x3d
   
   goroutine 19 [GC worker (idle)]:
   runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?)
        /Users/runner/hostedtoolcache/go/1.21.8/x64/src/runtime/proc.go:398 
+0xce fp=0x1c000080750 sp=0x1c000080730 pc=0x1808066ee
   runtime.gcBgMarkWorker()
        /Users/runner/hostedtoolcache/go/1.21.8/x64/src/runtime/mgc.go:1295 
+0xe5 fp=0x1c0000807e0 sp=0x1c000080750 pc=0x1807e97c5
   runtime.goexit()
        
/Users/runner/hostedtoolcache/go/1.21.8/x64/src/runtime/asm_amd64.s:1650 +0x1 
fp=0x1c0000807e8 sp=0x1c0000807e0 pc=0x180836481
   created by runtime.gcBgMarkStartWorkers in goroutine 1
        /Users/runner/hostedtoolcache/go/1.21.8/x64/src/runtime/mgc.go:1219 
+0x1c
   
   goroutine 34 [GC worker (idle)]:
   runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?)
        /Users/runner/hostedtoolcache/go/1.21.8/x64/src/runtime/proc.go:398 
+0xce fp=0x1c000488750 sp=0x1c000488730 pc=0x1808066ee
   runtime.gcBgMarkWorker()
        /Users/runner/hostedtoolcache/go/1.21.8/x64/src/runtime/mgc.go:1295 
+0xe5 fp=0x1c0004887e0 sp=0x1c000488750 pc=0x1807e97c5
   runtime.goexit()
        
/Users/runner/hostedtoolcache/go/1.21.8/x64/src/runtime/asm_amd64.s:1650 +0x1 
fp=0x1c0004887e8 sp=0x1c0004887e0 pc=0x180836481
   created by runtime.gcBgMarkStartWorkers in goroutine 1
        /Users/runner/hostedtoolcache/go/1.21.8/x64/src/runtime/mgc.go:1219 
+0x1c
   
   goroutine 20 [GC worker (idle)]:
   runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?)
        /Users/runner/hostedtoolcache/go/1.21.8/x64/src/runtime/proc.go:398 
+0xce fp=0x1c000080f50 sp=0x1c000080f30 pc=0x1808066ee
   runtime.gcBgMarkWorker()
        /Users/runner/hostedtoolcache/go/1.21.8/x64/src/runtime/mgc.go:1295 
+0xe5 fp=0x1c000080fe0 sp=0x1c000080f50 pc=0x1807e97c5
   runtime.goexit()
        
/Users/runner/hostedtoolcache/go/1.21.8/x64/src/runtime/asm_amd64.s:1650 +0x1 
fp=0x1c000080fe8 sp=0x1c000080fe0 pc=0x180836481
   created by runtime.gcBgMarkStartWorkers in goroutine 1
        /Users/runner/hostedtoolcache/go/1.21.8/x64/src/runtime/mgc.go:1219 
+0x1c
   
   goroutine 5 [GC worker (idle)]:
   runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?)
        /Users/runner/hostedtoolcache/go/1.21.8/x64/src/runtime/proc.go:398 
+0xce fp=0x1c000086750 sp=0x1c000086730 pc=0x1808066ee
   runtime.gcBgMarkWorker()
        /Users/runner/hostedtoolcache/go/1.21.8/x64/src/runtime/mgc.go:1295 
+0xe5 fp=0x1c0000867e0 sp=0x1c000086750 pc=0x1807e97c5
   runtime.goexit()
        
/Users/runner/hostedtoolcache/go/1.21.8/x64/src/runtime/asm_amd64.s:1650 +0x1 
fp=0x1c0000867e8 sp=0x1c0000867e0 pc=0x180836481
   created by runtime.gcBgMarkStartWorkers in goroutine 1
        /Users/runner/hostedtoolcache/go/1.21.8/x64/src/runtime/mgc.go:1219 
+0x1c
   
   goroutine 21 [GC worker (idle)]:
   runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?)
        /Users/runner/hostedtoolcache/go/1.21.8/x64/src/runtime/proc.go:398 
+0xce fp=0x1c000081750 sp=0x1c000081730 pc=0x1808066ee
   runtime.gcBgMarkWorker()
        /Users/runner/hostedtoolcache/go/1.21.8/x64/src/runtime/mgc.go:1295 
+0xe5 fp=0x1c0000817e0 sp=0x1c000081750 pc=0x1807e97c5
   runtime.goexit()
        
/Users/runner/hostedtoolcache/go/1.21.8/x64/src/runtime/asm_amd64.s:1650 +0x1 
fp=0x1c0000817e8 sp=0x1c0000817e0 pc=0x180836481
   created by runtime.gcBgMarkStartWorkers in goroutine 1
        /Users/runner/hostedtoolcache/go/1.21.8/x64/src/runtime/mgc.go:1219 
+0x1c
   
   goroutine 35 [GC worker (idle)]:
   runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?)
        /Users/runner/hostedtoolcache/go/1.21.8/x64/src/runtime/proc.go:398 
+0xce fp=0x1c000488f50 sp=0x1c000488f30 pc=0x1808066ee
   runtime.gcBgMarkWorker()
        /Users/runner/hostedtoolcache/go/1.21.8/x64/src/runtime/mgc.go:1295 
+0xe5 fp=0x1c000488fe0 sp=0x1c000488f50 pc=0x1807e97c5
   runtime.goexit()
        
/Users/runner/hostedtoolcache/go/1.21.8/x64/src/runtime/asm_amd64.s:1650 +0x1 
fp=0x1c000488fe8 sp=0x1c000488fe0 pc=0x180836481
   created by runtime.gcBgMarkStartWorkers in goroutine 1
        /Users/runner/hostedtoolcache/go/1.21.8/x64/src/runtime/mgc.go:1219 
+0x1c
   
   goroutine 22 [GC worker (idle)]:
   runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?)
        /Users/runner/hostedtoolcache/go/1.21.8/x64/src/runtime/proc.go:398 
+0xce fp=0x1c000081f50 sp=0x1c000081f30 pc=0x1808066ee
   runtime.gcBgMarkWorker()
        /Users/runner/hostedtoolcache/go/1.21.8/x64/src/runtime/mgc.go:1295 
+0xe5 fp=0x1c000081fe0 sp=0x1c000081f50 pc=0x1807e97c5
   runtime.goexit()
        
/Users/runner/hostedtoolcache/go/1.21.8/x64/src/runtime/asm_amd64.s:1650 +0x1 
fp=0x1c000081fe8 sp=0x1c000081fe0 pc=0x180836481
   created by runtime.gcBgMarkStartWorkers in goroutine 1
        /Users/runner/hostedtoolcache/go/1.21.8/x64/src/runtime/mgc.go:1219 
+0x1c
   
   goroutine 36 [GC worker (idle)]:
   runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?)
        /Users/runner/hostedtoolcache/go/1.21.8/x64/src/runtime/proc.go:398 
+0xce fp=0x1c000489750 sp=0x1c000489730 pc=0x1808066ee
   runtime.gcBgMarkWorker()
        /Users/runner/hostedtoolcache/go/1.21.8/x64/src/runtime/mgc.go:1295 
+0xe5 fp=0x1c0004897e0 sp=0x1c000489750 pc=0x1807e97c5
   runtime.goexit()
        
/Users/runner/hostedtoolcache/go/1.21.8/x64/src/runtime/asm_amd64.s:1650 +0x1 
fp=0x1c0004897e8 sp=0x1c0004897e0 pc=0x180836481
   created by runtime.gcBgMarkStartWorkers in goroutine 1
        /Users/runner/hostedtoolcache/go/1.21.8/x64/src/runtime/mgc.go:1219 
+0x1c
   
   goroutine 23 [GC worker (idle)]:
   runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?)
        /Users/runner/hostedtoolcache/go/1.21.8/x64/src/runtime/proc.go:398 
+0xce fp=0x1c000082750 sp=0x1c000082730 pc=0x1808066ee
   runtime.gcBgMarkWorker()
        /Users/runner/hostedtoolcache/go/1.21.8/x64/src/runtime/mgc.go:1295 
+0xe5 fp=0x1c0000827e0 sp=0x1c000082750 pc=0x1807e97c5
   runtime.goexit()
        
/Users/runner/hostedtoolcache/go/1.21.8/x64/src/runtime/asm_amd64.s:1650 +0x1 
fp=0x1c0000827e8 sp=0x1c0000827e0 pc=0x180836481
   created by runtime.gcBgMarkStartWorkers in goroutine 1
        /Users/runner/hostedtoolcache/go/1.21.8/x64/src/runtime/mgc.go:1219 
+0x1c
   
   goroutine 6 [GC worker (idle)]:
   runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?)
        /Users/runner/hostedtoolcache/go/1.21.8/x64/src/runtime/proc.go:398 
+0xce fp=0x1c000086f50 sp=0x1c000086f30 pc=0x1808066ee
   runtime.gcBgMarkWorker()
        /Users/runner/hostedtoolcache/go/1.21.8/x64/src/runtime/mgc.go:1295 
+0xe5 fp=0x1c000086fe0 sp=0x1c000086f50 pc=0x1807e97c5
   runtime.goexit()
        
/Users/runner/hostedtoolcache/go/1.21.8/x64/src/runtime/asm_amd64.s:1650 +0x1 
fp=0x1c000086fe8 sp=0x1c000086fe0 pc=0x180836481
   created by runtime.gcBgMarkStartWorkers in goroutine 1
        /Users/runner/hostedtoolcache/go/1.21.8/x64/src/runtime/mgc.go:1219 
+0x1c
   
   goroutine 24 [GC worker (idle)]:
   runtime.gopark(0x1bf65bd919377c?, 0x0?, 0x0?, 0x0?, 0x0?)
        /Users/runner/hostedtoolcache/go/1.21.8/x64/src/runtime/proc.go:398 
+0xce fp=0x1c000082f50 sp=0x1c000082f30 pc=0x1808066ee
   runtime.gcBgMarkWorker()
        /Users/runner/hostedtoolcache/go/1.21.8/x64/src/runtime/mgc.go:1295 
+0xe5 fp=0x1c000082fe0 sp=0x1c000082f50 pc=0x1807e97c5
   runtime.goexit()
        
/Users/runner/hostedtoolcache/go/1.21.8/x64/src/runtime/asm_amd64.s:1650 +0x1 
fp=0x1c000082fe8 sp=0x1c000082fe0 pc=0x180836481
   created by runtime.gcBgMarkStartWorkers in goroutine 1
        /Users/runner/hostedtoolcache/go/1.21.8/x64/src/runtime/mgc.go:1219 
+0x1c
   
   goroutine 7 [GC worker (idle)]:
   runtime.gopark(0x1bf65bd9172ab9?, 0x0?, 0x0?, 0x0?, 0x0?)
        /Users/runner/hostedtoolcache/go/1.21.8/x64/src/runtime/proc.go:398 
+0xce fp=0x1c000087750 sp=0x1c000087730 pc=0x1808066ee
   runtime.gcBgMarkWorker()
        /Users/runner/hostedtoolcache/go/1.21.8/x64/src/runtime/mgc.go:1295 
+0xe5 fp=0x1c0000877e0 sp=0x1c000087750 pc=0x1807e97c5
   runtime.goexit()
        
/Users/runner/hostedtoolcache/go/1.21.8/x64/src/runtime/asm_amd64.s:1650 +0x1 
fp=0x1c0000877e8 sp=0x1c0000877e0 pc=0x180836481
   created by runtime.gcBgMarkStartWorkers in goroutine 1
        /Users/runner/hostedtoolcache/go/1.21.8/x64/src/runtime/mgc.go:1219 
+0x1c
   
   goroutine 50 [GC worker (idle)]:
   runtime.gopark(0x1bf65bd91727e7?, 0x0?, 0x0?, 0x0?, 0x0?)
        /Users/runner/hostedtoolcache/go/1.21.8/x64/src/runtime/proc.go:398 
+0xce fp=0x1c000484750 sp=0x1c000484730 pc=0x1808066ee
   runtime.gcBgMarkWorker()
        /Users/runner/hostedtoolcache/go/1.21.8/x64/src/runtime/mgc.go:1295 
+0xe5 fp=0x1c0004847e0 sp=0x1c000484750 pc=0x1807e97c5
   runtime.goexit()
        
/Users/runner/hostedtoolcache/go/1.21.8/x64/src/runtime/asm_amd64.s:1650 +0x1 
fp=0x1c0004847e8 sp=0x1c0004847e0 pc=0x180836481
   created by runtime.gcBgMarkStartWorkers in goroutine 1
        /Users/runner/hostedtoolcache/go/1.21.8/x64/src/runtime/mgc.go:1219 
+0x1c
   
   goroutine 51 [GC worker (idle)]:
   runtime.gopark(0x1bf65bd9172ca8?, 0x0?, 0x0?, 0x0?, 0x0?)
        /Users/runner/hostedtoolcache/go/1.21.8/x64/src/runtime/proc.go:398 
+0xce fp=0x1c000484f50 sp=0x1c000484f30 pc=0x1808066ee
   runtime.gcBgMarkWorker()
        /Users/runner/hostedtoolcache/go/1.21.8/x64/src/runtime/mgc.go:1295 
+0xe5 fp=0x1c000484fe0 sp=0x1c000484f50 pc=0x1807e97c5
   runtime.goexit()
        
/Users/runner/hostedtoolcache/go/1.21.8/x64/src/runtime/asm_amd64.s:1650 +0x1 
fp=0x1c000484fe8 sp=0x1c000484fe0 pc=0x180836481
   created by runtime.gcBgMarkStartWorkers in goroutine 1
        /Users/runner/hostedtoolcache/go/1.21.8/x64/src/runtime/mgc.go:1219 
+0x1c
   
   goroutine 37 [GC worker (idle)]:
   runtime.gopark(0x183aa3220?, 0x1?, 0x5a?, 0x31?, 0x0?)
        /Users/runner/hostedtoolcache/go/1.21.8/x64/src/runtime/proc.go:398 
+0xce fp=0x1c000489f50 sp=0x1c000489f30 pc=0x1808066ee
   runtime.gcBgMarkWorker()
        /Users/runner/hostedtoolcache/go/1.21.8/x64/src/runtime/mgc.go:1295 
+0xe5 fp=0x1c000489fe0 sp=0x1c000489f50 pc=0x1807e97c5
   runtime.goexit()
        
/Users/runner/hostedtoolcache/go/1.21.8/x64/src/runtime/asm_amd64.s:1650 +0x1 
fp=0x1c000489fe8 sp=0x1c000489fe0 pc=0x180836481
   created by runtime.gcBgMarkStartWorkers in goroutine 1
        /Users/runner/hostedtoolcache/go/1.21.8/x64/src/runtime/mgc.go:1219 
+0x1c
   
   goroutine 38 [GC worker (idle)]:
   runtime.gopark(0x1bf65bd919248e?, 0x1?, 0xf8?, 0x7d?, 0x0?)
        /Users/runner/hostedtoolcache/go/1.21.8/x64/src/runtime/proc.go:398 
+0xce fp=0x1c00048a750 sp=0x1c00048a730 pc=0x1808066ee
   runtime.gcBgMarkWorker()
        /Users/runner/hostedtoolcache/go/1.21.8/x64/src/runtime/mgc.go:1295 
+0xe5 fp=0x1c00048a7e0 sp=0x1c00048a750 pc=0x1807e97c5
   runtime.goexit()
        
/Users/runner/hostedtoolcache/go/1.21.8/x64/src/runtime/asm_amd64.s:1650 +0x1 
fp=0x1c00048a7e8 sp=0x1c00048a7e0 pc=0x180836481
   created by runtime.gcBgMarkStartWorkers in goroutine 1
        /Users/runner/hostedtoolcache/go/1.21.8/x64/src/runtime/mgc.go:1219 
+0x1c
   ```
   
   </details>


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to