Artifacts Associated With Ticket 217878
Ticket change [52ccf23966] (rid 126380) by nobody on 2000-10-26 00:45:17:
- assignee initialized to: "nobody"
- cmimetype initialized to: "text/plain"
- comment initialized to:
OriginalBugID: 2228 Bug Version: 8.0.5 SubmitDate: '1999-06-15' LastModified: '1999-09-20' Severity: CRIT Status: Closed Submitter: techsupp ChangedBy: hobbs RelatedBugIDs: 1312 942 OS: SunOS Machine: Sparc FixedDate: '2000-10-25' ClosedDate: '1999-09-20' Name: Patricia Davey ReproducibleScript: We are using Object Store with TCL (UNIX/SUN). After returning from the exec function it appears the the signal handlers aren't restored properly. ObjectStore traps SEGV for handling their database access, and after the exec these are not trapped by ObjectStore any longer, so the entire program crashes with a SEGV violation. Changing the vfork to fork in tclPipe.c solved the problem, so I know the fix, but I was told to report the problem to you. Is there a reason for using vfork instead of fork I noticed that vfork is still used in 8.1 and it is supposed to be thread-safe, but my documentation for vfork claims it is not thread safe. ObservedBehavior: All calls to ObjectStore functions are fine after initialization of the ObjectStore database until any exec command is executed. However after any exec, all ObjectStore function calls will fail. DesiredBehavior: The ObjectStore should trap the SEGV faults, but will not after the exec command. Patch: Change vfork to fork in tclPipe.c PatchFiles: unix/tclPipe.c - foundin initialized to: "final: 8.0.5"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "nobody"
- subsystem initialized to: "69. Other"
- title initialized to: "Problem with exec and Object Store"
- type initialized to: "Bug"
Ticket change [8daf08cf95] (rid 127977) by welch on 2000-10-26 08:09:10:
- closedate changed to: "2000-10-26T01:09:10"
- closer changed to: "welch"
- priority changed to: "3 Low"
- resolution changed to: "Fixed"
- status changed to: "Closed"
Ticket change [5649d052e1] (rid 94291) by dgp on 2001-04-13 23:41:59:
- closedate changed to: "2001-04-13T16:41:59"
- closer changed to: "dgp"
- subsystem changed to: "26. Channel Transforms"