linux-c-programming.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* what causes SIGTERMs?
@ 2003-07-08 13:17 Matthew Studley
  2003-07-08 13:26 ` Francis Lau
  2003-07-08 14:27 ` Glynn Clements
  0 siblings, 2 replies; 12+ messages in thread
From: Matthew Studley @ 2003-07-08 13:17 UTC (permalink / raw)
  To: linux-c-programming

Hi All

I wonder whether you could help me?  I have a problem; I'm running an
application I've written in C under Slackware 7.1  Occasionally it receives
a SIGTERM.

* In what circumstances do processes get sent a SIGTERM?

* Am I correct that this is unlikely to be issued in response to a bug in my
code?

* How can I find which process is issuing the SIGTERM against my code?

* Are there any changes I can make to the execution environment / logging /
gcc compilation options to help me find out why this is happening?

If anybody can give me some ideas, or suggest directions to investigate, I'd
be hugely thankful!

Just as a bit of background; the platform is a robot on which I have
recently fitted some new hardware.  The SIGTERM problem started at roughly
the same time.  If I catch the SIGTERM, and do nothing apart from continue
my application... I then catch more SIGTERMs, followed by a SIGKILL!

regards

Matt

==============================================
Matthew Studley

The Intelligent Computer Systems Centre
Faculty of Computing, Engineering and Mathematical Sciences
Coldharbour Lane, Frenchay
BS16 1QY
United Kingdom




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

end of thread, other threads:[~2003-07-22 20:47 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-07-08 13:17 what causes SIGTERMs? Matthew Studley
2003-07-08 13:26 ` Francis Lau
2003-07-08 14:27 ` Glynn Clements
2003-07-09 15:36   ` Matthew Studley
2003-07-10  2:12     ` Glynn Clements
2003-07-10  9:50       ` linking at run time John T. Williams
2003-07-10  7:18         ` nanakos
2003-07-10  8:34         ` Mohan Rao A. J.
2003-07-11  9:51         ` Progga
2003-07-22 14:54     ` what causes SIGTERMs? Matthew Studley
2003-07-22 15:11       ` Jan-Benedict Glaw
2003-07-22 20:47         ` Glynn Clements

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).