(please don't send the same message twice in a short time period) Andrey Cherkashin <[email protected]> wrote: > I have a problem with unicorn and signals. > FreeBSD freebsd 9.0-BETA3 FreeBSD 9.0-BETA3 #0 r225816+a1b6562: Thu Sep 29 > 06:46:06 PDT 2011 root@freebsd:/sys/i386/compile/XEN i386 > ruby 1.9.2p290 (2011-07-09 revision 32553) [i386-freebsd9.0] > unicorn (4.1.1)
> Every time when I trying to send a signal (HUP, TERM, etc) I get this: > Illegal instruction: 4 (core dumped) I have no idea how to deal with > core dump, so here it is: http://www.misprint.org.ru/ruby.core You can run gdb on it: $ gdb /path/to/ruby /path/to/core Then type "bt" to get a backtrace and you can learn other commands. I suspect this is a bug somewhere in FreeBSD 9.0 BETA3 itself, and not Unicorn or Ruby. Can you test some simple scripts using trap? Something along the lines of: ---------------------- 8< --------------------- trap(:HUP) do puts "HUP received" end puts "#$$ ready to receive SIGHUP" sleep ------------------------------------------------ Thanks. _______________________________________________ Unicorn mailing list - [email protected] http://rubyforge.org/mailman/listinfo/mongrel-unicorn Do not quote signatures (like this one) or top post when replying
