#165 xmaxima can call "kill -1"

closed
nobody
5
2012-12-04
2002-10-18
James Amundson
No

Ugh. There is a bug in xmaxima that causes it to appear
to crash X11 under the right circumstances. I say
"appear to crash X11" because that isn't what happens
at all. (I, too, had assumed it was crashing X11 until
I found the bug.) What it really does is (semi-)
intentionally call "kill -1". Here is what "man kill"
says about the option "-1":

-1 All processes with pid larger than
1 will be
signaled.

I.e., xmaxima tries to stop just about every process on
your computer. I found this bug once and fixed it so
that xmaxima would never call "kill -1". Unfortunately,
my fix was incompatible with windows, so it was backed out.

hint: xmaxima uses "pid = -1" as an internal flag
meaning that
the maxima process has not been started. -1 is a **VERY
BAD** default value for pid.

Discussion

  • James Amundson
    James Amundson
    2002-10-28

    Logged In: YES
    user_id=28457

    The bug has been fixed. The default value for pid is now "none".

     
  • James Amundson
    James Amundson
    2002-10-28

    • status: open --> closed
    • summary: xmaxima can call "kill -1" --> xmaxima can call "kill -1"