[ruby-core:68341] Re: [Ruby trunk - Bug #10914] [Open] Always reproducible crash on FreeBSD with unicorn and 2.2.0p0 (2.1.5p273 too)

From: Eric Wong <normalperson@...>
Date: 2015-02-27 17:56:43 UTC
List: ruby-core #68341
[email protected] wrote:
> /usr/local/lib/libruby22.so.22(rb_print_backtrace+0x19) [0x8009fe5d7] vm_dump.c:693
> /usr/local/lib/libruby22.so.22(rb_vm_bugreport+0x9b) [0x8009feb49] vm_dump.c:971
> /usr/local/lib/libruby22.so.22(rb_bug_context+0x113) [0x80088c80b] error.c:389
> /usr/local/lib/libruby22.so.22(sigsegv+0x5b) [0x80096b7cb] signal.c:878
> /lib/libthr.so.3 [0x8017bf3f6]
> /lib/libthr.so.3 [0x8017beff3]

unicorn maintainer here, I'm not very familiar with FreeBSD.
Can you get debug symbols installed for libthr?

Maybe threads + fork are not compatible on your platform and your
Rails stack is using threads internally somewhere.

Can you reduce this to a simple Rack app without Rails deps and
see if you can reproduce the problem?

	----------------- config.ru -----------------
	require 'rack/lobster'
	run Rack::Lobster.new
	---------------------------------------------

$ unicorn -E none config.ru

Thanks.

In This Thread

Prev Next