Overview
| Artifact ID: | 52ccf2396621be807329c6cb48b2f686fcb6b62a |
|---|---|
| Ticket: | 217878ffffffffffffffffffffffffffffffffff
Problem with exec and Object Store |
| User & Date: | nobody on 2000-10-26 00:45:17 |
Changes
- assignee changed to: "nobody"
- cmimetype changed to: "text/plain"
- comment changed 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 changed to: "final: 8.0.5"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "nobody"
- subsystem changed to: "69. Other"
- title changed to: "Problem with exec and Object Store"
- type changed to: "Bug"