Skip to content
Tcl Source Code Artifact [52ccf23966]
Login

Artifact [52ccf23966]

Artifact 52ccf2396621be807329c6cb48b2f686fcb6b62a:

Ticket change [52ccf23966] - New ticket [217878ffffffffff|217878ffff] <i>Problem with exec and Object Store</i>. by nobody on 2000-10-26 00:45:17.
D 2000-10-26T00:45:17
J assignee nobody
J cmimetype text/plain
J comment OriginalBugID:\s2228\sBug\nVersion:\s8.0.5\nSubmitDate:\s'1999-06-15'\nLastModified:\s'1999-09-20'\nSeverity:\sCRIT\nStatus:\sClosed\nSubmitter:\stechsupp\nChangedBy:\shobbs\nRelatedBugIDs:\s1312\s942\nOS:\sSunOS\nMachine:\sSparc\nFixedDate:\s'2000-10-25'\nClosedDate:\s'1999-09-20'\n\n\nName:\nPatricia\sDavey\n\nReproducibleScript:\nWe\sare\susing\sObject\sStore\swith\sTCL\s(UNIX/SUN).\sAfter\sreturning\sfrom\sthe\n\s\s\s\sexec\sfunction\sit\sappears\sthe\sthe\ssignal\shandlers\saren't\srestored\n\s\s\s\sproperly.\sObjectStore\straps\sSEGV\sfor\shandling\stheir\sdatabase\saccess,\sand\n\s\s\s\safter\sthe\sexec\sthese\sare\snot\strapped\sby\sObjectStore\sany\slonger,\sso\sthe\n\s\s\s\sentire\sprogram\scrashes\swith\sa\sSEGV\sviolation.\s\sChanging\sthe\svfork\sto\n\s\s\s\sfork\sin\stclPipe.c\ssolved\sthe\sproblem,\sso\sI\sknow\sthe\sfix,\sbut\sI\swas\stold\n\s\s\s\sto\sreport\sthe\sproblem\sto\syou.\sIs\sthere\sa\sreason\sfor\susing\svfork\sinstead\n\s\s\s\sof\sfork\sI\snoticed\sthat\svfork\sis\sstill\sused\sin\s8.1\sand\sit\sis\ssupposed\sto\n\s\s\s\sbe\sthread-safe,\sbut\smy\sdocumentation\sfor\svfork\sclaims\sit\sis\snot\sthread\n\s\s\s\ssafe.\n\nObservedBehavior:\nAll\scalls\sto\sObjectStore\sfunctions\sare\sfine\safter\sinitialization\sof\sthe\n\s\s\s\sObjectStore\sdatabase\suntil\sany\sexec\scommand\sis\sexecuted.\sHowever\safter\n\s\s\s\sany\sexec,\sall\sObjectStore\sfunction\scalls\swill\sfail.\n\nDesiredBehavior:\nThe\sObjectStore\sshould\strap\sthe\sSEGV\sfaults,\sbut\s\swill\snot\safter\sthe\n\s\s\s\sexec\scommand.\n\nPatch:\nChange\svfork\sto\sfork\sin\stclPipe.c\n\nPatchFiles:\nunix/tclPipe.c\n\n\n\n
J foundin final:\s8.0.5
J priority 5\sMedium
J resolution None
J status Open
J submitter nobody
J subsystem 69.\sOther
J title Problem\swith\sexec\sand\sObject\sStore
J type Bug
K 217878ffffffffffffffffffffffffffffffffff
U nobody
Z 1a2d8d19946c132034eda323a8fdd7ce