burrito-brothers / shiba

Catch bad SQL queries before they cause problems in production
https://shiba-sql.com
Other
292 stars 14 forks source link

fatal error: newosproc #42

Open Urist-McUristurister opened 1 year ago

Urist-McUristurister commented 1 year ago

Hi.

Getting this when trying to run tests with shiba in gemfile:

runtime: failed to create new OS thread (have 2 already; errno=22)
fatal error: newosproc

runtime stack:
runtime.throw(0x4bd3b1, 0x9)
    /usr/local/Cellar/go@1.8/1.8.3/libexec/src/runtime/panic.go:596 +0x95
runtime.newosproc(0xc420030000, 0xc420040000)
    /usr/local/Cellar/go@1.8/1.8.3/libexec/src/runtime/os_linux.go:163 +0x18c
runtime.newm(0x4c3f40, 0x0)
    /usr/local/Cellar/go@1.8/1.8.3/libexec/src/runtime/proc.go:1628 +0x137
runtime.main.func1()
    /usr/local/Cellar/go@1.8/1.8.3/libexec/src/runtime/proc.go:126 +0x36
runtime.systemstack(0x529500)
    /usr/local/Cellar/go@1.8/1.8.3/libexec/src/runtime/asm_amd64.s:327 +0x79
runtime.mstart()
    /usr/local/Cellar/go@1.8/1.8.3/libexec/src/runtime/proc.go:1132

goroutine 1 [running]:
runtime.systemstack_switch()
    /usr/local/Cellar/go@1.8/1.8.3/libexec/src/runtime/asm_amd64.s:281 fp=0xc42002c788 sp=0xc42002c780
runtime.main()
    /usr/local/Cellar/go@1.8/1.8.3/libexec/src/runtime/proc.go:127 +0x6c fp=0xc42002c7e0 sp=0xc42002c788
runtime.goexit()
    /usr/local/Cellar/go@1.8/1.8.3/libexec/src/runtime/asm_amd64.s:2197 +0x1 fp=0xc42002c7e8 sp=0xc42002c7e0
shiba: timed out waiting for fingerprinter on SELECT table_name FROM (SELECT table_name, table_type FROM information_schema.tables  WHERE table_schema = database()) _subquery...
E

Error:
SpotsPaymentTest#test_insufficient_credit_error:
Errno::EPIPE: Broken pipe
    test/unit/user_test.rb:31:in `block in <class:UserTest>'

Environment: