all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Why Is Emacs 21.4.1 sending SIGINT Signal
@ 2008-07-23 18:29 gtr289
  0 siblings, 0 replies; only message in thread
From: gtr289 @ 2008-07-23 18:29 UTC (permalink / raw)
  To: help-gnu-emacs

Hello All,

I'm a developer on a collection of C++ applications on Redhat Linux
that use semaphores and the "semop" function call. I've noticed that
I'm getting the 'interrupted function call' ( errno = 4 ) due to
receiving a signal while in the blocking 'semop' call.  In one of my
processes I've installed a signal trapping thread which uses
'sigwaitinfo' so I can find out who is the sender of the signal.

My signal catching thread printed out:

   SIG_CATCHER: waiting for signal..
   SIG_CATCHER: got signal 02 from pid 12614..

pid 12614 is my running emacs!

/nss/rtns> ps -ef | grep emacs | egrep -v grep

rtns  12614  1  0 Jul21 ?  00:01:01 emacs -fn 8x13bold

My emacs is parented by the init process because I start it from root
via the 'su' command. I launch my application from under my "Emacs
Shell" which is 'ksh'.

MY QUESTION IS WHY IS EMACS SENDING AN OCCASIONAL SIGINT TO MY
PROCESSES ?
AND, HOW CAN I STOP THIS FROM HAPPENING ?

I am not issuing a Ctrl-C from my emacs shell at any time.. Also, if I
start my application from a ssh shell running in a xterm window, I do
not get any stray signals. This started happening under Red Hat
Enterprise Linux Server release 5.2 (Tikanga) with emacs version
21.4.1.  Under Red Hat Enterprise Linux ES release 4 (Nahant Update 6)
with emacs 21.3.1, I did not have this problem.

I greatly appreciate any advice from you on this problem as I’ve been
searching the internet rigorously to find an explanation and
solution.

Thanks in advance
Joe


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-07-23 18:29 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-23 18:29 Why Is Emacs 21.4.1 sending SIGINT Signal gtr289

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.