linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* crash after receiving SIGCHLD during system call
@ 2017-05-17 16:04 David Mosberger
  2017-05-17 17:09 ` Russell King - ARM Linux
  0 siblings, 1 reply; 10+ messages in thread
From: David Mosberger @ 2017-05-17 16:04 UTC (permalink / raw)
  To: linux-arm-kernel

I have been seeing occasional random crashes of lighttpd for a few
months now.  I was hoping it was
just a temporary glitch, but the problem has persisted across many
different kernel versions
(currently at 4.9.28) and BUILDROOT versions (currently at 2017.02.2).
The issue sounds a lot like this bug report:

 http://lists.infradead.org/pipermail/linux-arm-kernel/2014-March/241421.html

We use BUILDROOT with glibc v2.24 on a Cortex A5 processor (with hard-float).

At this point, I'm mostly wondering whether we're the only ones seeing
this problem.

strace indicates that lighttpd always crashes after receiving SIGCHLD
(i.e., no further system calls until the
SIGSEGV or SIGILL hits).

I added some instrumentation code to the SIGCHLD handler of lighttpd
v1.4.45 and I have seen crashes after the SIGCHLD handler
interrupted __libc_fork() and close().  The one constant so far is
that the pc register in the signal handler machine-context
(mcontext_t)
points to the instruction after the "svc 0" instruction.

Anyone have seen anything similar?

  --david

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

end of thread, other threads:[~2017-05-19 19:42 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-05-17 16:04 crash after receiving SIGCHLD during system call David Mosberger
2017-05-17 17:09 ` Russell King - ARM Linux
2017-05-17 22:28   ` David Mosberger
2017-05-17 22:46     ` David Mosberger
2017-05-17 23:02     ` Russell King - ARM Linux
2017-05-17 23:27       ` David Mosberger
2017-05-18  5:34         ` David Mosberger
2017-05-18 15:28           ` David Mosberger
2017-05-18 16:11             ` Russell King - ARM Linux
2017-05-19 19:42       ` David Mosberger

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 NNTP newsgroup(s).