From: SourceForge.net <no...@so...> - 2005-08-31 20:58:40
|
Bugs item #1276259, was opened at 2005-08-29 20:17 Message generated for change (Comment added) made by nobody You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=104933&aid=1276259&group_id=4933 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Xmaxima Group: None Status: Pending Resolution: None Priority: 5 Submitted By: Nobody/Anonymous (nobody) Assigned to: Nobody/Anonymous (nobody) Summary: Closing xmaxima issues "kill -TERM -1" Initial Comment: At least for my particular setup, xmaxima has a very unfortunate behaviour at shutdown. I'm running a Linux x86 box, KDE 3.4, Tcl 8.4, maxima 5.9.1. Somehow, it seems that "pid" is set to -1 in line 13603 of xmaxima. This sends a kill -TERM to every process it can, wiping out my login session and any associated jobs running. If run as root, it wipes out every logged in session and every running daemon. A sanity check on that parameter might be in order before issuing the kill on Linux. ---------------------------------------------------------------------- Comment By: Nobody/Anonymous (nobody) Date: 2005-08-31 13:58 Message: Logged In: NO No, I'm afraid my version of xmaxima is up-to-date, I installed from maxima-5.9.1, and have never installed any version previously. I'm still getting "kill -TERM -1". My RunMaxima.tcl file is version 1.18, and the version string embedded in the concatenated xmaxima file in my path matches that value. If you see the loop at line 295, it will only continue to the "xmaxima is running" state when pid becomes something other than "none". Apparently, it's coming back set to -1. ---------------------------------------------------------------------- Comment By: Robert Dodier (robert_dodier) Date: 2005-08-31 07:37 Message: Logged In: YES user_id=501686 It would appear that you're running an old version of xmaxima; at present the default value for pid is "none". The "kill -1" bug appears to have been fixed in -r1.15 interfaces/xmaxima/Tkmaxima/RunMaxima.tcl (see http://cvs.sf.net/viewcvs.py/maxima/maxima/ and drill down from there). If your xmaxima says ``set pid -1'' instead of ``set pid "none"'' then your version is out of date. Is there more than one xmaxima on your system? ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=104933&aid=1276259&group_id=4933 |