Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: ec3311c5ba73601456558640c51df3aa745f7d9e
Ticket: 2815500fffffffffffffffffffffffffffffffff
enabling dtrace breaks error handling
User & Date: ollystephens on 2009-07-01 23:34:03
Changes

  1. assignee changed to: "hobbs"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    On Solaris 10, compiling 8.5.7 using gcc 3.4.6, it produces a version of TCL which passes all tests.  Good so far.  But if I add --enable-dtrace to the configure line, it produces a version of TCL which fails virtually all tests.  Reason is that it is somehow stopping it from handling error codes properly.  This is a trivial example of the problem:
    
    -bash-3.00$ tclsh
    % info patchlevel
    8.5.7
    % proc bad {} { error bad }
    % catch bad
    0
    % exit
    
    As you can see, it thinks that the bad procedure completed successfully.  Other than this rather fatal flaw, the interpreter works well and the dtrace functionality works too.  But it's not usable for anything serious because of this problem, which is a shame.
    
  4. foundin changed to: "obsolete: 8.5.7"
  5. is_private changed to: "0"
  6. priority changed to: "5 Medium"
  7. resolution changed to: "None"
  8. status changed to: "Open"
  9. submitter changed to: "ollystephens"
  10. subsystem changed to: "55. Other Tools"
  11. title changed to: "enabling dtrace breaks error handling"
  12. type changed to: "Bug"