Skip to content
Tcl Source Code Artifact [fcfcd5fa1b]
Login

Artifact [fcfcd5fa1b]

Artifact fcfcd5fa1bed65dd683dc63df54951b1b8e5099d:

Ticket change [fcfcd5fa1b] - New ticket [218847ffffffffff|218847ffff] <i>Fatal floating point exception</i>. by nobody on 2000-10-26 01:06:34.
D 2000-10-26T01:06:34
J assignee nobody
J cmimetype text/plain
J comment OriginalBugID:\s2376\sBug\nVersion:\s8.2b1\nSubmitDate:\s'1999-07-16'\nLastModified:\s'1999-07-16'\nSeverity:\sCRIT\nStatus:\sReleased\nSubmitter:\stechsupp\nChangedBy:\sredman\nOS:\sOther\nOSVersion:\sLinux\s(RedHat\s5.1)\son\sAlpha\sXL-300\nMachine:\sNA\nFixedDate:\s'1999-07-16'\nClosedDate:\s'2000-10-25'\n\n\nName:\n\nDon\sPorter\n\n\n\nComments:\n\nWhen\s'configure'\sfinds\s-lieee\sand\scauses\stclsh\sto\sbe\slinked\swith\sit,\n\n\s\s\s\sit\salso\sneeds\sto\scompile\swith\sthe\s-mieee\soption\sto\sgcc\son\sDEC\sAlpha\n\n\s\s\s\splatforms.\s\sOtherwise\sFPEs\sare\sfatal.\n\n\s\s\s\s\n\n\s\s\s\sApply\sthe\spatch\sto\saclocal.m4\sand\srerun\sautoconf\sto\sgenerate\sa\n\n\s\s\s\s'configure'\swhich\ssets\sup\sthe\srequired\s-mieee\soption\sin\sthe\n\n\s\s\s\sMakefile.\n\n\s\s\s\s\n\n\s\s\s\sIt's\snot\sclear\sto\sme\swhat\srole\sthe\sfile\sunix/tcl.m4\splays,\sso\sI\n\n\s\s\s\sleft\sit\salone.\n\n\s\s\s\s\n\n\s\s\s\sThis\smay\snot\sbe\sthe\sbest\sfix.\s\sgcc\sdocumentation\ssays\s-mieee\swill\n\n\s\s\s\sslow\sdown\sfloating\spoint\soperations.\s\sBut\sit\sstops\sthe\scrash\n\n\s\s\s\sdiagnosed\sabove.\n\n\s\s\s\s\n\n\s\s\s\sThis\sproblem\sonly\sappeared\swith\sthe\s8.2b1\srelease\sof\sTcl\sbecause\n\n\s\s\s\sit\scoincides\swith\san\supgrade\sat\sScriptics\sfrom\sautoconf-2.9\sto\n\n\s\s\s\sautoconf-2.13\sto\sgenerate\sthe\s'configure'\sfiles\sdistributed\swith\n\n\s\s\s\sTcl.\s\sautoconf-2.9\swas\sbuggy,\sso\sit\snever\sfound\s-lieee\sand\sthis\n\n\s\s\s\sproblem\sdidn't\soccur.\s\stclsh\sruns\sfine\sif\sthe\s-lieee\slibrary\sis\n\n\s\s\s\somitted.\s\sThat\swould\sprobably\sbe\sa\sbetter\sfix,\sbut\ssomewhat\strickier\n\n\s\s\s\sto\sdevelop\sas\sa\spatch\swithout\simplications\sfor\sother\splatforms\n\n\s\s\s\sthat\sI\scan't\stest.\n\n\n\nObservedBehavior:\n\n$\s./configure\s--enable-symbols\s--disable-shared\n\n\s\s\s\s...\n\n\s\s\s\schecking\sfor\smain\sin\s-lieee...\syes\n\n\s\s\s\s...\n\n\s\s\s\s$\smake\n\n\s\s\s\s$\sgdb\s./tclsh\n\n\s\s\s\s...\n\n\s\s\s\s(gdb)\srun\n\n\s\s\s\s...\n\n\s\s\s\s%\sexpr\sacos(-2.0)\n\n\s\s\s\s\n\n\s\s\s\sProgram\sreceived\ssignal\sSIGFPE,\sArithmetic\sexception.\n\n\s\s\s\s0x12006b60c\sin\sExprUnaryFunc\s(interp=0x1201e4060,\seePtr=0x1201e44e0,\s\n\n\s\s\s\s\s\s\s\sclientData=0x15555784260)\sat\s./../generic/tclExecute.c:3451\n\n\s\s\s\s3451\s\s\s\s\s\s\s\sif\s((errno\s!=\s0)\s||\sIS_NAN(dResult)\s||\sIS_INF(dResult))\s{\n\n\s\s\s\s(gdb)\sinfo\sstack\n\n\s\s\s\s#0\s\s0x12006b60c\sin\sExprUnaryFunc\s(interp=0x1201e4060,\seePtr=0x1201e44e0,\n\n\s\s\s\s\n\n\s\s\s\s\s\s\s\sclientData=0x15555784260)\sat\s./../generic/tclExecute.c:3451\n\n\s\s\s\s#1\s\s0x1200697d0\sin\sTclExecuteByteCode\s(interp=0x1201e4060,\n\n\s\s\s\scodePtr=0x12020a670)\n\n\s\s\s\s\s\s\s\sat\s./../generic/tclExecute.c:2439\n\n\s\s\s\s#2\s\s0x12002e294\sin\sTcl_EvalObjEx\s(interp=0x1201e4060,\n\n\s\s\s\sobjPtr=0x1201f2b70,\s\n\n\s\s\s\s\s\s\s\sflags=0)\sat\s./../generic/tclBasic.c:2698\n\n\s\s\s\s#3\s\s0x120075a10\sin\sTcl_RecordAndEvalObj\s(interp=0x1201e4060,\s\n\n\s\s\s\s\s\s\s\scmdPtr=0x1201f2b70,\sflags=0)\sat\s./../generic/tclHistory.c:142\n\n\s\s\s\s#4\s\s0x12000d648\sin\sTcl_Main\s(argc=1,\sargv=0x11ffff850,\s\n\n\s\s\s\s\s\s\s\sappInitProc=0x12000ce80\s<Tcl_AppInit>)\sat\n\n\s\s\s\s./../generic/tclMain.c:236\n\n\s\s\s\s#5\s\s0x12000ce58\sin\smain\s(argc=1,\sargv=0x11ffff850)\sat\n\n\s\s\s\s./../unix/tclAppInit.c:83\n\n\n\nDesiredBehavior:\n\nNo\scrashes\sevaluating\sTcl\sscripts.\n\n\n\nPatch:\n\nIndex:\saclocal.m4\n\n===================================================================\n\nRCS\sfile:\s/cvsroot/tcl/unix/aclocal.m4,v\n\nretrieving\srevision\s1.6\n\ndiff\s-c\s-r1.6\saclocal.m4\n\n***\saclocal.m4\s\s1999/06/19\s00:18:42\s\s\s\s\s1.6\n\n---\saclocal.m4\s\s1999/07/15\s23:26:06\n\n***************\n\n***\s713,718\s****\n\n---\s713,721\s----\n\n\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\sLDFLAGS=""\n\n\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\sLD_SEARCH_FLAGS=""])\n\n\s\s\s\s\s\s\s\s\s\s\s\sfi\n\n+\s\s\s\s\s\s\s\s\s\s\sif\stest\s"`uname\s-m`"\s=\s"alpha"\s;\sthen\n\n+\s\s\s\s\s\s\s\s\s\s\s\s\s\s\sEXTRA_CFLAGS="-mieee"\n\n+\s\s\s\s\s\s\s\s\s\s\sfi\n\n\s\s\s\s\s\s\s\s\s\s\s\s;;\n\n\s\s\s\s\s\s\s\sMP-RAS-02*)\n\n\s\s\s\s\s\s\s\s\s\s\s\sSHLIB_CFLAGS="-K\sPIC"\n\n\n\nPatchFiles:\n\nunix/aclocal.m4\n\n\n\n\n\nFixed\sin\s8.2b2\s\n--\s07/16/1999\sredman
J foundin obsolete:\s8.2b1
J priority 5\sMedium
J resolution None
J status Open
J submitter nobody
J subsystem 69.\sOther
J title Fatal\sfloating\spoint\sexception
J type Bug
K 218847ffffffffffffffffffffffffffffffffff
U nobody
Z a1debf0cfcf0386b3d5e01f04b5c2c59