Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 52ccf2396621be807329c6cb48b2f686fcb6b62a
Ticket: 217878ffffffffffffffffffffffffffffffffff
Problem with exec and Object Store
User & Date: nobody on 2000-10-26 00:45:17
Changes

  1. assignee changed to: "nobody"
  2. cmimetype changed to: "text/plain"
  3. 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
    
    
    
    
    
  4. foundin changed to: "final: 8.0.5"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "nobody"
  9. subsystem changed to: "69. Other"
  10. title changed to: "Problem with exec and Object Store"
  11. type changed to: "Bug"