unicorn Ruby/Rack server user+dev discussion/patches/pulls/bugs/help
 help / color / mirror / code / Atom feed
* Unicorn failed to handle signals
@ 2011-10-07  0:34 Andrey Cherkashin
  0 siblings, 0 replies; 4+ messages in thread
From: Andrey Cherkashin @ 2011-10-07  0:34 UTC (permalink / raw)
  To: mongrel-unicorn

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

_______________________________________________
Unicorn mailing list - mongrel-unicorn@rubyforge.org
http://rubyforge.org/mailman/listinfo/mongrel-unicorn
Do not quote signatures (like this one) or top post when replying

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Unicorn failed to handle signals
@ 2011-10-07  0:46 Andrey Cherkashin
  0 siblings, 0 replies; 4+ messages in thread
From: Andrey Cherkashin @ 2011-10-07  0:46 UTC (permalink / raw)
  To: mongrel-unicorn

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

_______________________________________________
Unicorn mailing list - mongrel-unicorn@rubyforge.org
http://rubyforge.org/mailman/listinfo/mongrel-unicorn
Do not quote signatures (like this one) or top post when replying

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Unicorn failed to handle signals
@ 2011-10-07  4:44 Andrey Cherkashin
  2011-10-07  6:35 ` Eric Wong
  0 siblings, 1 reply; 4+ messages in thread
From: Andrey Cherkashin @ 2011-10-07  4:44 UTC (permalink / raw)
  To: mongrel-unicorn

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

_______________________________________________
Unicorn mailing list - mongrel-unicorn@rubyforge.org
http://rubyforge.org/mailman/listinfo/mongrel-unicorn
Do not quote signatures (like this one) or top post when replying

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Unicorn failed to handle signals
  2011-10-07  4:44 Andrey Cherkashin
@ 2011-10-07  6:35 ` Eric Wong
  0 siblings, 0 replies; 4+ messages in thread
From: Eric Wong @ 2011-10-07  6:35 UTC (permalink / raw)
  To: unicorn list

(please don't send the same message twice in a short time period)

Andrey Cherkashin <andoriyu@gmail.com> 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 - mongrel-unicorn@rubyforge.org
http://rubyforge.org/mailman/listinfo/mongrel-unicorn
Do not quote signatures (like this one) or top post when replying

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2011-10-07  6:44 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-10-07  0:34 Unicorn failed to handle signals Andrey Cherkashin
  -- strict thread matches above, loose matches on Subject: below --
2011-10-07  0:46 Andrey Cherkashin
2011-10-07  4:44 Andrey Cherkashin
2011-10-07  6:35 ` Eric Wong

Code repositories for project(s) associated with this public inbox

	https://yhbt.net/unicorn.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).