Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fatal error: newosproc #42

Open
Urist-McUristurister opened this issue Apr 25, 2023 · 0 comments
Open

fatal error: newosproc #42

Urist-McUristurister opened this issue Apr 25, 2023 · 0 comments

Comments

@Urist-McUristurister
Copy link

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/[email protected]/1.8.3/libexec/src/runtime/panic.go:596 +0x95
runtime.newosproc(0xc420030000, 0xc420040000)
	/usr/local/Cellar/[email protected]/1.8.3/libexec/src/runtime/os_linux.go:163 +0x18c
runtime.newm(0x4c3f40, 0x0)
	/usr/local/Cellar/[email protected]/1.8.3/libexec/src/runtime/proc.go:1628 +0x137
runtime.main.func1()
	/usr/local/Cellar/[email protected]/1.8.3/libexec/src/runtime/proc.go:126 +0x36
runtime.systemstack(0x529500)
	/usr/local/Cellar/[email protected]/1.8.3/libexec/src/runtime/asm_amd64.s:327 +0x79
runtime.mstart()
	/usr/local/Cellar/[email protected]/1.8.3/libexec/src/runtime/proc.go:1132

goroutine 1 [running]:
runtime.systemstack_switch()
	/usr/local/Cellar/[email protected]/1.8.3/libexec/src/runtime/asm_amd64.s:281 fp=0xc42002c788 sp=0xc42002c780
runtime.main()
	/usr/local/Cellar/[email protected]/1.8.3/libexec/src/runtime/proc.go:127 +0x6c fp=0xc42002c7e0 sp=0xc42002c788
runtime.goexit()
	/usr/local/Cellar/[email protected]/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:

  • Rails 7.0.4
  • Ruby 3.2.2
  • MySQL 8.0.33
  • OS: "Debian GNU/Linux 11 (bullseye)", running in Docker on MacBook M1 (silicon) with 4 CPUs allocated in config
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant