Skip to content
Tcl Source Code History Of Ticket 707174ffffffffffffffffffffffffffffffffff
Login

History Of Ticket 707174ffffffffffffffffffffffffffffffffff

Artifacts Associated With Ticket 707174ffffffffffffffffffffffffffffffffff

  1. Ticket change [719278a65e] (rid 100704) by dgp on 2003-03-20 22:23:44:

    1. assignee initialized to: "kennykb"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      
      On RedHat Linux 6.2 on Alpha, using the compiler:
      
      $ ccc -V
      Compaq C V6.2-504 on Linux 2.2.18 alpha
      Compiler Driver V6.2-504 (Linux) cc Driver
      
      And using the default configuration options
      (--enable-shared in particular), I see:
      
      $ make test
      ...
      TCL_LIBRARY="/home/dgp/itl/tcl/library"; export
      TCL_LIBRARY; \
      ./tcltest ./../tests/all.tcl  
      make: *** [test] Error 139
      
      Just trying to run the tcltest executable:
      $ ./tcltest
      Segmentation fault
      
      The problem is an infinite loop in Tcl_DeleteFileHandler.
      Lines 489-492:
      
          if (tclStubs.tcl_DeleteFileHandler !=
      Tcl_DeleteFileHandler) {
              tclStubs.tcl_DeleteFileHandler(fd);
              return;
          }
      
      With this platform/compiler/linker, the two addresses
      compared
      are in fact not the same, yet calling each of them lead
      (eventually)
      to the same routine, Tcl_DeleteFileHandler executing. 
      Perhaps
      these are some unwise shenanigans by this linker, but
      it would
      be best if Tcl were not broken out of the box.
      
      Strangely, the tclsh executable works fine, and everything
      is fine if built with --disable-shared.
      
      
      
      
      
    4. foundin initialized to: "obsolete: 8.4.2"
    5. priority initialized to: "5 Medium"
    6. resolution initialized to: "None"
    7. status initialized to: "Open"
    8. submitter initialized to: "dgp"
    9. subsystem initialized to: "01. Notifier"
    10. title initialized to: "stub entry != function --> infinite loop"
    11. type initialized to: "Bug"
  2. Ticket change [e38dba57af] (rid 87818) by dgp on 2003-03-21 06:17:50:

    1. icomment:
      
      
      File Added - 45577: 707174.patch
      
      Logged In: YES 
      user_id=80530
      
      here's a patch to test
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  3. Add attachment "707174.patch" [58a81b1655] (rid 117839) by dgp on 2003-03-21 06:32:59.

  4. Ticket change [90383ac56f] (rid 120413) by dgp on 2003-03-21 06:32:59:

    1. icomment:
      
      
      File Deleted - 45577: 
      
      
      
      File Added - 45578: 707174.patch
      
      Logged In: YES 
      user_id=80530
      
      corrected patch to work
      on alternative platforms.
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  5. Add attachment "707174bis.patch" [77f005155d] (rid 89863) by kennykb on 2003-03-21 09:51:04.

  6. Ticket change [1fb0c0b59e] (rid 91193) by kennykb on 2003-03-21 09:51:04:

    1. assignee changed to: "dgp"
    2. icomment:
      
      
      File Added - 45585: 707174bis.patch
      
      Logged In: YES 
      user_id=99768
      
      Original patch fails to compile on Windows, because tclStubLib.c refers to 
      the Unix-only functions Tcl_CreateFileHandler and Tcl_DeleteFileHandler.
      Revised patch (attached) compiled and tests correctly; please verify that
      it hasn't broken the Unix build.
      
      
    3. login: "kennykb"
    4. mimetype: "text/plain"
    5. username: "kennykb"
  7. Ticket change [38ec64327c] (rid 112296) by dgp on 2003-03-21 10:36:52:

    1. closedate changed to: "2003-03-21T03:36:52"
    2. closer changed to: "dgp"
    3. icomment:
      Logged In: YES 
      user_id=80530
      
      patch fixes problem on original
      platform, and tests well on
      four different OS/Compiler combinations
      in the Unix world.
      
      Commtting to core-8-4-branch and HEAD.
      
      
    4. login: "dgp"
    5. mimetype: "text/plain"
    6. resolution changed to: "Fixed"
    7. status changed to: "Closed"
    8. username: "dgp"
  8. Ticket change [8f67cf262f] (rid 120270) by dkf on 2003-03-21 16:35:38:

    1. closedate changed to: "2003-03-21T09:35:38"
    2. closer changed to: "dkf"
    3. icomment:
      Logged In: YES 
      user_id=79902
      
      Just a follow-up note to say that (IIRC) this strange piece
      of code is there to deal with the requirements of making Tk
      a loadable package on MacOS (or is it OSX?)  I thought it
      was odd code then, and I was right...
      
      
    4. login: "dkf"
    5. mimetype: "text/plain"
    6. username: "dkf"
  9. Ticket change [4464d06965] (rid 116703) by nobody on 2003-03-21 23:36:41:

    1. icomment:
      Logged In: NO 
      
      well the code is used in
      Tcl_SetNotifier, and that's
      apparently to allow the
      XtNotifier to go in, which
      I think supported some version
      of the Netscape plugin.
      
      
      
    2. login: "nobody"
    3. mimetype: "text/plain"
    4. username: "nobody"