felipecrv opened a new issue, #2802:
URL: https://github.com/apache/arrow-adbc/issues/2802

   ### What happened?
   
   Unix signals are the worst idea ever, but how can we make Rust threads able 
to make FFI calls to Go code successfully?
   
   I'm seeing these crashes. More often with signal 23.
   
   Rust disables `sigaltstack` and the Go runtime doesn't like it.
   
   ### Stack Trace
   
   ```
   signal 16 received on thread with no signal stack
   fatal error: non-Go code disabled sigaltstack
   
   runtime stack:
   runtime.throw({0x12367002d?, 0x14000180008?})
           
/Users/runner/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.darwin-arm64/src/runtime/panic.go:1067
 +0x38 fp=0x14000122ef0 sp=0x14000122ec0 pc=0x1225961b8
   runtime.noSignalStack(0x10)
           
/Users/runner/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.darwin-arm64/src/runtime/signal_unix.go:1081
 +0x5c fp=0x14000122f10 sp=0x14000122ef0 pc=0x122577fdc
   runtime.adjustSignalStack(0x10, 0x14000088008, 0x14000122fb8)
           
/Users/runner/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.darwin-arm64/src/runtime/signal_unix.go:590
 +0x248 fp=0x14000122f80 sp=0x14000122f10 pc=0x122577358
   runtime.sigtrampgo(0x10, 0x14000123120, 0x14000123188)
           
/Users/runner/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.darwin-arm64/src/runtime/signal_unix.go:480
 +0x88 fp=0x14000123000 sp=0x14000122f80 pc=0x122576ea8
   runtime.sigtrampgo(0x10, 0x14000123120, 0x14000123188)
           <autogenerated>:1 +0x1c fp=0x14000123030 sp=0x14000123000 
pc=0x1225a0e2c
   runtime.sigtramp()
           
/Users/runner/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.darwin-arm64/src/runtime/sys_darwin_arm64.s:227
 +0x4c fp=0x140001230f0 sp=0x14000123030 pc=0x12259faac
   
   goroutine 18 gp=0x14000182380 m=7 mp=0x14000180008 [syscall, locked to 
thread]:
   runtime.goexit({})
           
/Users/runner/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.darwin-arm64/src/runtime/asm_arm64.s:1223
 +0x4 fp=0x14000092fe0 sp=0x14000092fe0 pc=0x12259ea24
   
   goroutine 17 gp=0x14000002700 m=1 mp=0x14000088008 [running, locked to 
thread]:
           goroutine running on other thread; stack unavailable
   
   goroutine 2 gp=0x14000002c40 m=nil [force gc (idle)]:
   runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?)
           
/Users/runner/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.darwin-arm64/src/runtime/proc.go:424
 +0xc8 fp=0x14000084f90 sp=0x14000084f70 pc=0x1225962d8
   runtime.goparkunlock(...)
           
/Users/runner/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.darwin-arm64/src/runtime/proc.go:430
   runtime.forcegchelper()
           
/Users/runner/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.darwin-arm64/src/runtime/proc.go:337
 +0xb8 fp=0x14000084fd0 sp=0x14000084f90 pc=0x1225613d8
   runtime.goexit({})
           
/Users/runner/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.darwin-arm64/src/runtime/asm_arm64.s:1223
 +0x4 fp=0x14000084fd0 sp=0x14000084fd0 pc=0x12259ea24
   created by runtime.init.7 in goroutine 1
           
/Users/runner/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.darwin-arm64/src/runtime/proc.go:325
 +0x24
   
   goroutine 3 gp=0x14000003180 m=nil [GC sweep wait]:
   runtime.gopark(0x1?, 0x0?, 0x0?, 0x0?, 0x0?)
           
/Users/runner/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.darwin-arm64/src/runtime/proc.go:424
 +0xc8 fp=0x14000085760 sp=0x14000085740 pc=0x1225962d8
   runtime.goparkunlock(...)
           
/Users/runner/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.darwin-arm64/src/runtime/proc.go:430
   runtime.bgsweep(0x140000ae000)
           
/Users/runner/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.darwin-arm64/src/runtime/mgcsweep.go:317
 +0x108 fp=0x140000857b0 sp=0x14000085760 pc=0x12254c018
   runtime.gcenable.gowrap1()
           
/Users/runner/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.darwin-arm64/src/runtime/mgc.go:203
 +0x28 fp=0x140000857d0 sp=0x140000857b0 pc=0x12253ff38
   runtime.goexit({})
           
/Users/runner/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.darwin-arm64/src/runtime/asm_arm64.s:1223
 +0x4 fp=0x140000857d0 sp=0x140000857d0 pc=0x12259ea24
   created by runtime.gcenable in goroutine 1
           
/Users/runner/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.darwin-arm64/src/runtime/mgc.go:203
 +0x6c
   
   goroutine 4 gp=0x14000003340 m=nil [GC scavenge wait]:
   runtime.gopark(0x95f8e8?, 0x91f5e2?, 0x0?, 0x0?, 0x0?)
           
/Users/runner/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.darwin-arm64/src/runtime/proc.go:424
 +0xc8 fp=0x14000085f60 sp=0x14000085f40 pc=0x1225962d8
   runtime.goparkunlock(...)
           
/Users/runner/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.darwin-arm64/src/runtime/proc.go:430
   runtime.(*scavengerState).park(0x1249de200)
           
/Users/runner/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.darwin-arm64/src/runtime/mgcscavenge.go:425
 +0x5c fp=0x14000085f90 sp=0x14000085f60 pc=0x12254999c
   runtime.bgscavenge(0x140000ae000)
           
/Users/runner/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.darwin-arm64/src/runtime/mgcscavenge.go:658
 +0xac fp=0x14000085fb0 sp=0x14000085f90 pc=0x122549f4c
   runtime.gcenable.gowrap2()
           
/Users/runner/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.darwin-arm64/src/runtime/mgc.go:204
 +0x28 fp=0x14000085fd0 sp=0x14000085fb0 pc=0x12253fed8
   runtime.goexit({})
           
/Users/runner/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.darwin-arm64/src/runtime/asm_arm64.s:1223
 +0x4 fp=0x14000085fd0 sp=0x14000085fd0 pc=0x12259ea24
   created by runtime.gcenable in goroutine 1
           
/Users/runner/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.darwin-arm64/src/runtime/mgc.go:204
 +0xac
   
   goroutine 5 gp=0x14000003c00 m=nil [finalizer wait]:
   runtime.gopark(0x0?, 0x14000368138?, 0x0?, 0x20?, 0x1000000010?)
           
/Users/runner/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.darwin-arm64/src/runtime/proc.go:424
 +0xc8 fp=0x14000084580 sp=0x14000084560 pc=0x1225962d8
   runtime.runfinq()
           
/Users/runner/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.darwin-arm64/src/runtime/mfinal.go:193
 +0x108 fp=0x140000847d0 sp=0x14000084580 pc=0x12253f038
   runtime.goexit({})
           
/Users/runner/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.darwin-arm64/src/runtime/asm_arm64.s:1223
 +0x4 fp=0x140000847d0 sp=0x140000847d0 pc=0x12259ea24
   created by runtime.createfing in goroutine 1
           
/Users/runner/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.darwin-arm64/src/runtime/mfinal.go:163
 +0x80
   
   goroutine 6 gp=0x140002d1dc0 m=nil [chan receive]:
   runtime.gopark(0x14000086748?, 0x12297b92c?, 0x30?, 0xde?, 0x123cb2600?)
           
/Users/runner/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.darwin-arm64/src/runtime/proc.go:424
 +0xc8 fp=0x140000866f0 sp=0x140000866d0 pc=0x1225962d8
   runtime.chanrecv(0x14000052230, 0x0, 0x1)
           
/Users/runner/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.darwin-arm64/src/runtime/chan.go:639
 +0x414 fp=0x14000086770 sp=0x140000866f0 pc=0x12252f684
   runtime.chanrecv1(0x0?, 0x0?)
           
/Users/runner/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.darwin-arm64/src/runtime/chan.go:489
 +0x14 fp=0x140000867a0 sp=0x14000086770 pc=0x12252f234
   runtime.unique_runtime_registerUniqueMapCleanup.func1(...)
           
/Users/runner/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.darwin-arm64/src/runtime/mgc.go:1732
   runtime.unique_runtime_registerUniqueMapCleanup.gowrap1()
           
/Users/runner/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.darwin-arm64/src/runtime/mgc.go:1735
 +0x3c fp=0x140000867d0 sp=0x140000867a0 pc=0x12254301c
   runtime.goexit({})
           
/Users/runner/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.darwin-arm64/src/runtime/asm_arm64.s:1223
 +0x4 fp=0x140000867d0 sp=0x140000867d0 pc=0x12259ea24
   created by unique.runtime_registerUniqueMapCleanup in goroutine 1
           
/Users/runner/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.darwin-arm64/src/runtime/mgc.go:1730
 +0xa0
   
   goroutine 7 gp=0x140003896c0 m=nil [GC worker (idle)]:
   runtime.gopark(0xa8bbbd11ec35?, 0x3?, 0xe2?, 0x4?, 0x0?)
           
/Users/runner/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.darwin-arm64/src/runtime/proc.go:424
 +0xc8 fp=0x14000086f10 sp=0x14000086ef0 pc=0x1225962d8
   runtime.gcBgMarkWorker(0x140004e44d0)
           
/Users/runner/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.darwin-arm64/src/runtime/mgc.go:1363
 +0xdc fp=0x14000086fb0 sp=0x14000086f10 pc=0x12254228c
   runtime.gcBgMarkStartWorkers.gowrap1()
           
/Users/runner/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.darwin-arm64/src/runtime/mgc.go:1279
 +0x28 fp=0x14000086fd0 sp=0x14000086fb0 pc=0x122542178
   runtime.goexit({})
           
/Users/runner/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.darwin-arm64/src/runtime/asm_arm64.s:1223
 +0x4 fp=0x14000086fd0 sp=0x14000086fd0 pc=0x12259ea24
   created by runtime.gcBgMarkStartWorkers in goroutine 1
           
/Users/runner/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.darwin-arm64/src/runtime/mgc.go:1279
 +0x140
   
   goroutine 8 gp=0x14000389880 m=nil [GC worker (idle)]:
   runtime.gopark(0xa8bbbd11ea6a?, 0x3?, 0x2d?, 0x3e?, 0x0?)
           
/Users/runner/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.darwin-arm64/src/runtime/proc.go:424
 +0xc8 fp=0x14000710f10 sp=0x14000710ef0 pc=0x1225962d8
   runtime.gcBgMarkWorker(0x140004e44d0)
           
/Users/runner/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.darwin-arm64/src/runtime/mgc.go:1363
 +0xdc fp=0x14000710fb0 sp=0x14000710f10 pc=0x12254228c
   runtime.gcBgMarkStartWorkers.gowrap1()
           
/Users/runner/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.darwin-arm64/src/runtime/mgc.go:1279
 +0x28 fp=0x14000710fd0 sp=0x14000710fb0 pc=0x122542178
   runtime.goexit({})
           
/Users/runner/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.darwin-arm64/src/runtime/asm_arm64.s:1223
 +0x4 fp=0x14000710fd0 sp=0x14000710fd0 pc=0x12259ea24
   created by runtime.gcBgMarkStartWorkers in goroutine 1
           
/Users/runner/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.darwin-arm64/src/runtime/mgc.go:1279
 +0x140
   
   goroutine 19 gp=0x14000306000 m=nil [GC worker (idle)]:
   runtime.gopark(0xa8bbbd11eea6?, 0x3?, 0xc6?, 0x45?, 0x0?)
           
/Users/runner/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.darwin-arm64/src/runtime/proc.go:424
 +0xc8 fp=0x14000080710 sp=0x140000806f0 pc=0x1225962d8
   runtime.gcBgMarkWorker(0x140004e44d0)
           
/Users/runner/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.darwin-arm64/src/runtime/mgc.go:1363
 +0xdc fp=0x140000807b0 sp=0x14000080710 pc=0x12254228c
   runtime.gcBgMarkStartWorkers.gowrap1()
           
/Users/runner/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.darwin-arm64/src/runtime/mgc.go:1279
 +0x28 fp=0x140000807d0 sp=0x140000807b0 pc=0x122542178
   runtime.goexit({})
           
/Users/runner/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.darwin-arm64/src/runtime/asm_arm64.s:1223
 +0x4 fp=0x140000807d0 sp=0x140000807d0 pc=0x12259ea24
   created by runtime.gcBgMarkStartWorkers in goroutine 1
           
/Users/runner/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.darwin-arm64/src/runtime/mgc.go:1279
 +0x140
   
   goroutine 35 gp=0x14000102380 m=nil [GC worker (idle)]:
   runtime.gopark(0xa8bbbd11edff?, 0x3?, 0xac?, 0x7d?, 0x0?)
           
/Users/runner/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.darwin-arm64/src/runtime/proc.go:424
 +0xc8 fp=0x1400011a710 sp=0x1400011a6f0 pc=0x1225962d8
   runtime.gcBgMarkWorker(0x140004e44d0)
           
/Users/runner/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.darwin-arm64/src/runtime/mgc.go:1363
 +0xdc fp=0x1400011a7b0 sp=0x1400011a710 pc=0x12254228c
   runtime.gcBgMarkStartWorkers.gowrap1()
           
/Users/runner/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.darwin-arm64/src/runtime/mgc.go:1279
 +0x28 fp=0x1400011a7d0 sp=0x1400011a7b0 pc=0x122542178
   runtime.goexit({})
           
/Users/runner/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.darwin-arm64/src/runtime/asm_arm64.s:1223
 +0x4 fp=0x1400011a7d0 sp=0x1400011a7d0 pc=0x12259ea24
   created by runtime.gcBgMarkStartWorkers in goroutine 1
           
/Users/runner/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.darwin-arm64/src/runtime/mgc.go:1279
 +0x140
   
   goroutine 9 gp=0x14000389a40 m=nil [GC worker (idle)]:
   runtime.gopark(0xa8bb45f6a6e8?, 0x3?, 0x61?, 0x5f?, 0x0?)
           
/Users/runner/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.darwin-arm64/src/runtime/proc.go:424
 +0xc8 fp=0x14000715f10 sp=0x14000715ef0 pc=0x1225962d8
   runtime.gcBgMarkWorker(0x140004e44d0)
           
/Users/runner/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.darwin-arm64/src/runtime/mgc.go:1363
 +0xdc fp=0x14000715fb0 sp=0x14000715f10 pc=0x12254228c
   runtime.gcBgMarkStartWorkers.gowrap1()
           
/Users/runner/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.darwin-arm64/src/runtime/mgc.go:1279
 +0x28 fp=0x14000715fd0 sp=0x14000715fb0 pc=0x122542178
   runtime.goexit({})
           
/Users/runner/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.darwin-arm64/src/runtime/asm_arm64.s:1223
 +0x4 fp=0x14000715fd0 sp=0x14000715fd0 pc=0x12259ea24
   created by runtime.gcBgMarkStartWorkers in goroutine 1
           
/Users/runner/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.darwin-arm64/src/runtime/mgc.go:1279
 +0x140
   
   goroutine 10 gp=0x14000389c00 m=nil [GC worker (idle)]:
   runtime.gopark(0xa8bb45f62cac?, 0x3?, 0x47?, 0x87?, 0x0?)
           
/Users/runner/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.darwin-arm64/src/runtime/proc.go:424
 +0xc8 fp=0x14000717f10 sp=0x14000717ef0 pc=0x1225962d8
   runtime.gcBgMarkWorker(0x140004e44d0)
           
/Users/runner/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.darwin-arm64/src/runtime/mgc.go:1363
 +0xdc fp=0x14000717fb0 sp=0x14000717f10 pc=0x12254228c
   runtime.gcBgMarkStartWorkers.gowrap1()
           
/Users/runner/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.darwin-arm64/src/runtime/mgc.go:1279
 +0x28 fp=0x14000717fd0 sp=0x14000717fb0 pc=0x122542178
   runtime.goexit({})
           
/Users/runner/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.darwin-arm64/src/runtime/asm_arm64.s:1223
 +0x4 fp=0x14000717fd0 sp=0x14000717fd0 pc=0x12259ea24
   created by runtime.gcBgMarkStartWorkers in goroutine 1
           
/Users/runner/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.darwin-arm64/src/runtime/mgc.go:1279
 +0x140
   
   goroutine 20 gp=0x140003061c0 m=nil [GC worker (idle)]:
   runtime.gopark(0xa8bb45f62c59?, 0x3?, 0x96?, 0x5d?, 0x0?)
           
/Users/runner/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.darwin-arm64/src/runtime/proc.go:424
 +0xc8 fp=0x14000714f10 sp=0x14000714ef0 pc=0x1225962d8
   runtime.gcBgMarkWorker(0x140004e44d0)
           
/Users/runner/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.darwin-arm64/src/runtime/mgc.go:1363
 +0xdc fp=0x14000714fb0 sp=0x14000714f10 pc=0x12254228c
   runtime.gcBgMarkStartWorkers.gowrap1()
           
/Users/runner/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.darwin-arm64/src/runtime/mgc.go:1279
 +0x28 fp=0x14000714fd0 sp=0x14000714fb0 pc=0x122542178
   runtime.goexit({})
           
/Users/runner/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.darwin-arm64/src/runtime/asm_arm64.s:1223
 +0x4 fp=0x14000714fd0 sp=0x14000714fd0 pc=0x12259ea24
   created by runtime.gcBgMarkStartWorkers in goroutine 1
           
/Users/runner/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.darwin-arm64/src/runtime/mgc.go:1279
 +0x140
   
   goroutine 21 gp=0x14000306380 m=nil [GC worker (idle)]:
   runtime.gopark(0xa8bb45f5c93a?, 0x3?, 0xac?, 0x78?, 0x0?)
           
/Users/runner/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.darwin-arm64/src/runtime/proc.go:424
 +0xc8 fp=0x14000081710 sp=0x140000816f0 pc=0x1225962d8
   runtime.gcBgMarkWorker(0x140004e44d0)
           
/Users/runner/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.darwin-arm64/src/runtime/mgc.go:1363
 +0xdc fp=0x140000817b0 sp=0x14000081710 pc=0x12254228c
   runtime.gcBgMarkStartWorkers.gowrap1()
           
/Users/runner/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.darwin-arm64/src/runtime/mgc.go:1279
 +0x28 fp=0x140000817d0 sp=0x140000817b0 pc=0x122542178
   runtime.goexit({})
           
/Users/runner/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.darwin-arm64/src/runtime/asm_arm64.s:1223
 +0x4 fp=0x140000817d0 sp=0x140000817d0 pc=0x12259ea24
   created by runtime.gcBgMarkStartWorkers in goroutine 1
           
/Users/runner/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.darwin-arm64/src/runtime/mgc.go:1279
 +0x140
   
   goroutine 22 gp=0x14000306540 m=nil [GC worker (idle)]:
   runtime.gopark(0xa8bb45f6a4a1?, 0x3?, 0x80?, 0xc2?, 0x0?)
           
/Users/runner/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.darwin-arm64/src/runtime/proc.go:424
 +0xc8 fp=0x14000713f10 sp=0x14000713ef0 pc=0x1225962d8
   runtime.gcBgMarkWorker(0x140004e44d0)
           
/Users/runner/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.darwin-arm64/src/runtime/mgc.go:1363
 +0xdc fp=0x14000713fb0 sp=0x14000713f10 pc=0x12254228c
   runtime.gcBgMarkStartWorkers.gowrap1()
           
/Users/runner/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.darwin-arm64/src/runtime/mgc.go:1279
 +0x28 fp=0x14000713fd0 sp=0x14000713fb0 pc=0x122542178
   runtime.goexit({})
           
/Users/runner/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.darwin-arm64/src/runtime/asm_arm64.s:1223
 +0x4 fp=0x14000713fd0 sp=0x14000713fd0 pc=0x12259ea24
   created by runtime.gcBgMarkStartWorkers in goroutine 1
           
/Users/runner/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.darwin-arm64/src/runtime/mgc.go:1279
 +0x140
   
   goroutine 36 gp=0x14000102540 m=nil [GC worker (idle)]:
   runtime.gopark(0xa8bbbd195ae0?, 0x3?, 0x5?, 0x62?, 0x0?)
           
/Users/runner/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.darwin-arm64/src/runtime/proc.go:424
 +0xc8 fp=0x14000099f10 sp=0x14000099ef0 pc=0x1225962d8
   runtime.gcBgMarkWorker(0x140004e44d0)
           
/Users/runner/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.darwin-arm64/src/runtime/mgc.go:1363
 +0xdc fp=0x14000099fb0 sp=0x14000099f10 pc=0x12254228c
   runtime.gcBgMarkStartWorkers.gowrap1()
           
/Users/runner/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.darwin-arm64/src/runtime/mgc.go:1279
 +0x28 fp=0x14000099fd0 sp=0x14000099fb0 pc=0x122542178
   runtime.goexit({})
           
/Users/runner/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.darwin-arm64/src/runtime/asm_arm64.s:1223
 +0x4 fp=0x14000099fd0 sp=0x14000099fd0 pc=0x12259ea24
   created by runtime.gcBgMarkStartWorkers in goroutine 1
           
/Users/runner/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.darwin-arm64/src/runtime/mgc.go:1279
 +0x140
   
   goroutine 11 gp=0x14000389dc0 m=nil [GC worker (idle)]:
   runtime.gopark(0xa8bbbd120739?, 0x1?, 0xd?, 0x54?, 0x0?)
           
/Users/runner/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.darwin-arm64/src/runtime/proc.go:424
 +0xc8 fp=0x14000094f10 sp=0x14000094ef0 pc=0x1225962d8
   runtime.gcBgMarkWorker(0x140004e44d0)
           
/Users/runner/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.darwin-arm64/src/runtime/mgc.go:1363
 +0xdc fp=0x14000094fb0 sp=0x14000094f10 pc=0x12254228c
   runtime.gcBgMarkStartWorkers.gowrap1()
           
/Users/runner/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.darwin-arm64/src/runtime/mgc.go:1279
 +0x28 fp=0x14000094fd0 sp=0x14000094fb0 pc=0x122542178
   runtime.goexit({})
           
/Users/runner/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.darwin-arm64/src/runtime/asm_arm64.s:1223
 +0x4 fp=0x14000094fd0 sp=0x14000094fd0 pc=0x12259ea24
   created by runtime.gcBgMarkStartWorkers in goroutine 1
           
/Users/runner/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.darwin-arm64/src/runtime/mgc.go:1279
 +0x140
   
   goroutine 23 gp=0x14000306700 m=nil [GC worker (idle)]:
   runtime.gopark(0xa8bb45f86050?, 0x3?, 0x88?, 0x70?, 0x0?)
           
/Users/runner/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.darwin-arm64/src/runtime/proc.go:424
 +0xc8 fp=0x14000711f10 sp=0x14000711ef0 pc=0x1225962d8
   runtime.gcBgMarkWorker(0x140004e44d0)
           
/Users/runner/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.darwin-arm64/src/runtime/mgc.go:1363
 +0xdc fp=0x14000711fb0 sp=0x14000711f10 pc=0x12254228c
   runtime.gcBgMarkStartWorkers.gowrap1()
           
/Users/runner/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.darwin-arm64/src/runtime/mgc.go:1279
 +0x28 fp=0x14000711fd0 sp=0x14000711fb0 pc=0x122542178
   runtime.goexit({})
           
/Users/runner/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.darwin-arm64/src/runtime/asm_arm64.s:1223
 +0x4 fp=0x14000711fd0 sp=0x14000711fd0 pc=0x12259ea24
   created by runtime.gcBgMarkStartWorkers in goroutine 1
           
/Users/runner/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.darwin-arm64/src/runtime/mgc.go:1279
 +0x140
   
   goroutine 44 gp=0x14000682540 m=nil [select]:
   runtime.gopark(0x14000097f38?, 0x2?, 0xa8?, 0x7d?, 0x14000097ee4?)
           
/Users/runner/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.darwin-arm64/src/runtime/proc.go:424
 +0xc8 fp=0x14000097d70 sp=0x14000097d50 pc=0x1225962d8
   runtime.selectgo(0x14000097f38, 0x14000097ee0, 0x140005909c0?, 0x0, 
0x140005e8450?, 0x1)
           
/Users/runner/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.darwin-arm64/src/runtime/select.go:335
 +0x67c fp=0x14000097ea0 sp=0x14000097d70 pc=0x12257419c
   net/http.(*persistConn).writeLoop(0x1400037c000)
           
/Users/runner/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.darwin-arm64/src/net/http/transport.go:2519
 +0x9c fp=0x14000097fb0 sp=0x14000097ea0 pc=0x122a9e83c
   net/http.(*Transport).dialConn.gowrap3()
           
/Users/runner/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.darwin-arm64/src/net/http/transport.go:1875
 +0x28 fp=0x14000097fd0 sp=0x14000097fb0 pc=0x122a9b878
   runtime.goexit({})
           
/Users/runner/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.darwin-arm64/src/runtime/asm_arm64.s:1223
 +0x4 fp=0x14000097fd0 sp=0x14000097fd0 pc=0x12259ea24
   created by net/http.(*Transport).dialConn in goroutine 15
           
/Users/runner/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.darwin-arm64/src/net/http/transport.go:1875
 +0x1098
   
   goroutine 43 gp=0x14000702fc0 m=nil [IO wait]:
   runtime.gopark(0xffffffffffffffff?, 0xffffffffffffffff?, 0x23?, 0x0?, 
0x1225b6a20?)
           
/Users/runner/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.darwin-arm64/src/runtime/proc.go:424
 +0xc8 fp=0x140001eb6b0 sp=0x140001eb690 pc=0x1225962d8
   runtime.netpollblock(0x0?, 0x0?, 0x0?)
           
/Users/runner/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.darwin-arm64/src/runtime/netpoll.go:575
 +0x158 fp=0x140001eb6f0 sp=0x140001eb6b0 pc=0x12255a1c8
   internal/poll.runtime_pollWait(0x1150deb68, 0x72)
           
/Users/runner/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.darwin-arm64/src/runtime/netpoll.go:351
 +0xa0 fp=0x140001eb720 sp=0x140001eb6f0 pc=0x122595580
   internal/poll.(*pollDesc).wait(0x1400026a300?, 0x140005c3a80?, 0x0)
           
/Users/runner/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.darwin-arm64/src/internal/poll/fd_poll_runtime.go:84
 +0x28 fp=0x140001eb750 sp=0x140001eb720 pc=0x122614878
   internal/poll.(*pollDesc).waitRead(...)
           
/Users/runner/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.darwin-arm64/src/internal/poll/fd_poll_runtime.go:89
   internal/poll.(*FD).Read(0x1400026a300, {0x140005c3a80, 0x1a80, 0x1a80})
           
/Users/runner/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.darwin-arm64/src/internal/poll/fd_unix.go:165
 +0x1fc fp=0x140001eb7f0 sp=0x140001eb750 pc=0x122615b9c
   net.(*netFD).Read(0x1400026a300, {0x140005c3a80?, 0x11512b528?, 0x60?})
           
/Users/runner/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.darwin-arm64/src/net/fd_posix.go:55
 +0x28 fp=0x140001eb840 sp=0x140001eb7f0 pc=0x1229a8ee8
   net.(*conn).Read(0x1400058c058, {0x140005c3a80?, 0x10c324108?, 0x12253c506?})
           
/Users/runner/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.darwin-arm64/src/net/net.go:189
 +0x34 fp=0x140001eb890 sp=0x140001eb840 pc=0x1229b7a34
   net.(*TCPConn).Read(0x140001eb908?, {0x140005c3a80?, 0x11512b528?, 0x18?})
           <autogenerated>:1 +0x2c fp=0x140001eb8c0 sp=0x140001eb890 
pc=0x1229cbf0c
   crypto/tls.(*atLeastReader).Read(0x14000418030, {0x140005c3a80?, 0x0?, 
0x14000418030?})
           
/Users/runner/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.darwin-arm64/src/crypto/tls/conn.go:809
 +0x40 fp=0x140001eb910 sp=0x140001eb8c0 pc=0x122a06fa0
   bytes.(*Buffer).ReadFrom(0x140003b3eb8, {0x123c62a40, 0x14000418030})
           
/Users/runner/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.darwin-arm64/src/bytes/buffer.go:211
 +0x90 fp=0x140001eb970 sp=0x140001eb910 pc=0x122638250
   crypto/tls.(*Conn).readFromUntil(0x140003b3c08, {0x10c619f98, 
0x1400058c058}, 0x0?)
           
/Users/runner/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.darwin-arm64/src/crypto/tls/conn.go:831
 +0xd0 fp=0x140001eb9b0 sp=0x140001eb970 pc=0x122a07180
   crypto/tls.(*Conn).readRecordOrCCS(0x140003b3c08, 0x0)
           
/Users/runner/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.darwin-arm64/src/crypto/tls/conn.go:629
 +0x35c fp=0x140001ebc30 sp=0x140001eb9b0 pc=0x122a0491c
   crypto/tls.(*Conn).readRecord(...)
           
/Users/runner/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.darwin-arm64/src/crypto/tls/conn.go:591
   crypto/tls.(*Conn).Read(0x140003b3c08, {0x14000286000, 0x1000, 0x122a95bc4?})
           
/Users/runner/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.darwin-arm64/src/crypto/tls/conn.go:1385
 +0x164 fp=0x140001ebca0 sp=0x140001ebc30 pc=0x122a0a8b4
   net/http.(*persistConn).Read(0x1400037c000, {0x14000286000?, 0x123a1a260?, 
0x14000480180?})
           
/Users/runner/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.darwin-arm64/src/net/http/transport.go:2052
 +0x50 fp=0x140001ebd00 sp=0x140001ebca0 pc=0x122a9c340
   bufio.(*Reader).fill(0x14000881500)
           
/Users/runner/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.darwin-arm64/src/bufio/bufio.go:110
 +0xf8 fp=0x140001ebd40 sp=0x140001ebd00 pc=0x122786338
   bufio.(*Reader).Peek(0x14000881500, 0x1)
           
/Users/runner/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.darwin-arm64/src/bufio/bufio.go:148
 +0x60 fp=0x140001ebd60 sp=0x140001ebd40 pc=0x1227864a0
   net/http.(*persistConn).readLoop(0x1400037c000)
           
/Users/runner/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.darwin-arm64/src/net/http/transport.go:2205
 +0x138 fp=0x140001ebfb0 sp=0x140001ebd60 pc=0x122a9d028
   net/http.(*Transport).dialConn.gowrap2()
           
/Users/runner/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.darwin-arm64/src/net/http/transport.go:1874
 +0x28 fp=0x140001ebfd0 sp=0x140001ebfb0 pc=0x122a9b8d8
   runtime.goexit({})
           
/Users/runner/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.darwin-arm64/src/runtime/asm_arm64.s:1223
 +0x4 fp=0x140001ebfd0 sp=0x140001ebfd0 pc=0x12259ea24
   created by net/http.(*Transport).dialConn in goroutine 15
           
/Users/runner/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.darwin-arm64/src/net/http/transport.go:1874
 +0x1050
   zsh: abort      /Users/joel/.local/bin/dbt build --profile target_2
   ```
   
   ### How can we reproduce the bug?
   
   Hard to say. Lots of threads. Lots of queries.
   
   (Don't stress so much about reproducing, let's debate possible approaches 
and I can try the ideas on my workload.)
   
   ### Environment/Setup
   
   Rust calling Go drivers.


-- 
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: issues-unsubscr...@arrow.apache.org.apache.org

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

Reply via email to