Skip to content
Tcl Source Code History Of Ticket 2371600
Login

History Of Ticket 2371600

Artifacts Associated With Ticket 2371600

  1. Ticket change [5663b582c9] (rid 94310) by dgp on 2008-12-01 15:02:20:

    1. assignee initialized to: "andreas_kupries"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      
      Really testing the tip of
      the core-8-4-branch, where the
      recent IO Finalization commits
      have apparently broken a few
      tests very seriously.  Here's the
      first:
      
      
      
    4. foundin initialized to: "obsolete: 8.4.19"
    5. is_private initialized to: "0"
    6. priority initialized to: "9 Immediate"
    7. resolution initialized to: "None"
    8. status initialized to: "Open"
    9. submitter initialized to: "dgp"
    10. subsystem initialized to: "25. Channel System"
    11. title initialized to: "IO test failures"
    12. type initialized to: "Bug"
  2. Ticket change [e4b2111ee3] (rid 88000) by dgp on 2008-12-01 22:03:46:

    1. icomment:
      
      Stupid SF interface.
      
      as I was saying...
      
      io.test
      *** glibc detected *** /home/dgp/cvs/tcl8.4/unix/tcltest: corrupted double-linked list: 0x095bb1e8 ***
      ======= Backtrace: =========
      /lib/libc.so.6[0xbf5999]
      /lib/libc.so.6(cfree+0x90)[0xbf9070]
      /home/dgp/cvs/tcl8.4/unix/tcltest(TclpFree+0x1d)[0x80e1b7d]
      /home/dgp/cvs/tcl8.4/unix/tcltest(Tcl_Free+0x1d)[0x80695fd]
      /home/dgp/cvs/tcl8.4/unix/tcltest[0x809cfc9]
      /home/dgp/cvs/tcl8.4/unix/tcltest[0x809f9ad]
      /home/dgp/cvs/tcl8.4/unix/tcltest(Tcl_Close+0xed)[0x809f6ed]
      /home/dgp/cvs/tcl8.4/unix/tcltest(TclFinalizeIOSubsystem+0xf5)[0x80a3c05]
      /home/dgp/cvs/tcl8.4/unix/tcltest(Tcl_FinalizeThread+0x70)[0x8089670]
      /home/dgp/cvs/tcl8.4/unix/tcltest(Tcl_Finalize+0x94)[0x80897b4]
      /home/dgp/cvs/tcl8.4/unix/tcltest(Tcl_Exit+0x17)[0x8089b37]
      /home/dgp/cvs/tcl8.4/unix/tcltest(Tcl_ExitObjCmd+0x86)[0x806c0d6]
      /home/dgp/cvs/tcl8.4/unix/tcltest(TclEvalObjvInternal+0x333)[0x8064613]
      /home/dgp/cvs/tcl8.4/unix/tcltest(Tcl_EvalEx+0x437)[0x8064bd7]
      /home/dgp/cvs/tcl8.4/unix/tcltest(Tcl_Eval+0x3c)[0x8064edc]
      /home/dgp/cvs/tcl8.4/unix/tcltest(Tcl_Main+0x3bf)[0x80afa6f]
      /home/dgp/cvs/tcl8.4/unix/tcltest(main+0x3f)[0x805467f]
      /lib/libc.so.6(__libc_start_main+0xdc)[0xba2dec]
      /home/dgp/cvs/tcl8.4/unix/tcltest[0x80544a1]
      ======= Memory map: ========
      00ab3000-00acd000 r-xp 00000000 fd:00 4423718    /lib/ld-2.5.so
      00acd000-00ace000 r-xp 00019000 fd:00 4423718    /lib/ld-2.5.so
      00ace000-00acf000 rwxp 0001a000 fd:00 4423718    /lib/ld-2.5.so
      00ad5000-00afa000 r-xp 00000000 fd:00 4423900    /lib/libm-2.5.so
      00afa000-00afb000 r-xp 00024000 fd:00 4423900    /lib/libm-2.5.so
      00afb000-00afc000 rwxp 00025000 fd:00 4423900    /lib/libm-2.5.so
      00afe000-00b00000 r-xp 00000000 fd:00 4423898    /lib/libdl-2.5.so
      00b00000-00b01000 r-xp 00001000 fd:00 4423898    /lib/libdl-2.5.so
      00b01000-00b02000 rwxp 00002000 fd:00 4423898    /lib/libdl-2.5.so
      00b74000-00b7f000 r-xp 00000000 fd:00 4423909    /lib/libgcc_s-4.1.2-20080102.so.1
      00b7f000-00b80000 rwxp 0000a000 fd:00 4423909    /lib/libgcc_s-4.1.2-20080102.so.1
      00b8d000-00cca000 r-xp 00000000 fd:00 4423720    /lib/libc-2.5.so
      00cca000-00ccc000 r-xp 0013c000 fd:00 4423720    /lib/libc-2.5.so
      00ccc000-00ccd000 rwxp 0013e000 fd:00 4423720    /lib/libc-2.5.so
      00ccd000-00cd0000 rwxp 00ccd000 00:00 0
      08048000-080f7000 r-xp 00000000 00:1b 4219608438  /home/dgp/cvs/tcl8.4/unix/tcltest
      080f7000-080fc000 rwxp 000af000 00:1b 4219608438  /home/dgp/cvs/tcl8.4/unix/tcltest
      080fc000-080fd000 rwxp 080fc000 00:00 0
      095ad000-095ce000 rwxp 095ad000 00:00 0
      40000000-40001000 r-xp 40000000 00:00 0          [vdso]
      40001000-40002000 rw-p 40001000 00:00 0
      40030000-40031000 rw-p 40030000 00:00 0
      40031000-40231000 r--p 00000000 fd:00 3123235    /usr/lib/locale/locale-archive
      40300000-40321000 rw-p 40300000 00:00 0
      40321000-40400000 ---p 40321000 00:00 0
      bfd6b000-bfd81000 rw-p bfd6b000 00:00 0          [stack]
      
      ==== io-34.8 Tcl_Seek on pipes: not supported FAILED
      ==== Contents of test case:
      
          set f1 [open "|[list [interpreter]]" r+]
          set x [list [catch {seek $f1 0 current} msg] $msg]
          close $f1
          regsub {".*":} $x {"":} x
          string tolower $x
      
      ---- Test generated error; Return code was: 1
      ---- Return code should have been one of: 0 2
      ---- errorInfo: child killed: SIGABRT
          while executing
      "close $f1"
          ("uplevel" body line 4)
          invoked from within
      "uplevel 1 $script"
      ---- errorCode: CHILDKILLED 20964 SIGABRT SIGABRT
      ==== io-34.8 FAILED
      
      *** glibc detected *** /home/dgp/cvs/tcl8.4/unix/tcltest: corrupted double-linked list: 0x0868b1e8 ***
      ======= Backtrace: =========
      /lib/libc.so.6[0xbf5999]
      /lib/libc.so.6(cfree+0x90)[0xbf9070]
      /home/dgp/cvs/tcl8.4/unix/tcltest(TclpFree+0x1d)[0x80e1b7d]
      /home/dgp/cvs/tcl8.4/unix/tcltest(Tcl_Free+0x1d)[0x80695fd]
      /home/dgp/cvs/tcl8.4/unix/tcltest[0x809cfc9]
      /home/dgp/cvs/tcl8.4/unix/tcltest[0x809f9ad]
      /home/dgp/cvs/tcl8.4/unix/tcltest(Tcl_Close+0xed)[0x809f6ed]
      /home/dgp/cvs/tcl8.4/unix/tcltest(TclFinalizeIOSubsystem+0xf5)[0x80a3c05]
      /home/dgp/cvs/tcl8.4/unix/tcltest(Tcl_FinalizeThread+0x70)[0x8089670]
      /home/dgp/cvs/tcl8.4/unix/tcltest(Tcl_Finalize+0x94)[0x80897b4]
      /home/dgp/cvs/tcl8.4/unix/tcltest(Tcl_Exit+0x17)[0x8089b37]
      /home/dgp/cvs/tcl8.4/unix/tcltest(Tcl_ExitObjCmd+0x86)[0x806c0d6]
      /home/dgp/cvs/tcl8.4/unix/tcltest(TclEvalObjvInternal+0x333)[0x8064613]
      /home/dgp/cvs/tcl8.4/unix/tcltest(Tcl_EvalEx+0x437)[0x8064bd7]
      /home/dgp/cvs/tcl8.4/unix/tcltest(Tcl_Eval+0x3c)[0x8064edc]
      /home/dgp/cvs/tcl8.4/unix/tcltest(Tcl_Main+0x3bf)[0x80afa6f]
      /home/dgp/cvs/tcl8.4/unix/tcltest(main+0x3f)[0x805467f]
      /lib/libc.so.6(__libc_start_main+0xdc)[0xba2dec]
      /home/dgp/cvs/tcl8.4/unix/tcltest[0x80544a1]
      ======= Memory map: ========
      00ab3000-00acd000 r-xp 00000000 fd:00 4423718    /lib/ld-2.5.so
      00acd000-00ace000 r-xp 00019000 fd:00 4423718    /lib/ld-2.5.so
      00ace000-00acf000 rwxp 0001a000 fd:00 4423718    /lib/ld-2.5.so
      00ad5000-00afa000 r-xp 00000000 fd:00 4423900    /lib/libm-2.5.so
      00afa000-00afb000 r-xp 00024000 fd:00 4423900    /lib/libm-2.5.so
      00afb000-00afc000 rwxp 00025000 fd:00 4423900    /lib/libm-2.5.so
      00afe000-00b00000 r-xp 00000000 fd:00 4423898    /lib/libdl-2.5.so
      00b00000-00b01000 r-xp 00001000 fd:00 4423898    /lib/libdl-2.5.so
      00b01000-00b02000 rwxp 00002000 fd:00 4423898    /lib/libdl-2.5.so
      00b74000-00b7f000 r-xp 00000000 fd:00 4423909    /lib/libgcc_s-4.1.2-20080102.so.1
      00b7f000-00b80000 rwxp 0000a000 fd:00 4423909    /lib/libgcc_s-4.1.2-20080102.so.1
      00b8d000-00cca000 r-xp 00000000 fd:00 4423720    /lib/libc-2.5.so
      00cca000-00ccc000 r-xp 0013c000 fd:00 4423720    /lib/libc-2.5.so
      00ccc000-00ccd000 rwxp 0013e000 fd:00 4423720    /lib/libc-2.5.so
      00ccd000-00cd0000 rwxp 00ccd000 00:00 0
      08048000-080f7000 r-xp 00000000 00:1b 4219608438  /home/dgp/cvs/tcl8.4/unix/tcltest
      080f7000-080fc000 rwxp 000af000 00:1b 4219608438  /home/dgp/cvs/tcl8.4/unix/tcltest
      080fc000-080fd000 rwxp 080fc000 00:00 0
      0867d000-0869e000 rwxp 0867d000 00:00 0
      40000000-40001000 r-xp 40000000 00:00 0          [vdso]
      40001000-40002000 rw-p 40001000 00:00 0
      40030000-40031000 rw-p 40030000 00:00 0
      40031000-40231000 r--p 00000000 fd:00 3123235    /usr/lib/locale/locale-archive
      40300000-40321000 rw-p 40300000 00:00 0
      40321000-40400000 ---p 40321000 00:00 0
      bf9bb000-bf9d1000 rw-p bf9bb000 00:00 0          [stack]
      
      ==== io-34.16 Tcl_tell on pipe: always -1 FAILED
      ==== Contents of test case:
      
          set f1 [open "|[list [interpreter]]" r+]
          set c [tell $f1]
          close $f1
          set c
      
      ---- Test generated error; Return code was: 1
      ---- Return code should have been one of: 0 2
      ---- errorInfo: child killed: SIGABRT
          while executing
      "close $f1"
          ("uplevel" body line 4)
          invoked from within
      "uplevel 1 $script"
      ---- errorCode: CHILDKILLED 20965 SIGABRT SIGABRT
      ==== io-34.16 FAILED
      
      
      similar problems in main.test as well.
      
      
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  3. Ticket change [c997d40a97] (rid 122312) by dgp on 2008-12-01 22:05:05:

    1. icomment:
      
      FWIW, if this isn't very quick
      and simple to resolve, I recommend
      we simply revert, and let Tcl 8.4.20
      live with whatever bug this patch
      was meant to fix.
      
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  4. Ticket change [6842085b8d] (rid 103036) by ferrieux on 2008-12-01 23:21:47:

    1. icomment:
      Indeed it is far from trivial.
      I reopened 2270477 to account for this fact.
      Please Don or Andreas, do the revert on 8.[456].
      
      Now to wash my shame :-P
      
      
    2. login: "ferrieux"
    3. mimetype: "text/plain"
    4. username: "ferrieux"
  5. Ticket change [bc4177c714] (rid 101718) by ferrieux on 2008-12-02 00:10:50:

    1. icomment:
      OK, see 2270477 for a better patch.
      I have not yet got a chance to test it under Windows, but I'm rather confident.
      It might be an interesting alternative to pure reversion ;-)
      
      
    2. login: "ferrieux"
    3. mimetype: "text/plain"
    4. username: "ferrieux"
  6. Ticket change [83063f3113] (rid 117331) by andreas_kupries on 2008-12-02 00:15:17:

    1. icomment:
      I can certainly revert ... Ah, I see a new patch was done. 
      
      The interesting thing is that I ran the test suite here (linux) after applying the patch and had no errors at all. For all branches. I am guessing that you (Don) are either on a different platform, or copiled the core with different settings than I did.
      
      Which also means that right I am not a good place to check the new patch. I will not know if my error-less state is because the new patch fixed anything or because whatever else.
      
      Don, can you please try Alexandre's new patch and report if that fixes the issue for you ?
      
      
      
    2. login: "andreas_kupries"
    3. mimetype: "text/plain"
    4. username: "andreas_kupries"
  7. Ticket change [f270b5a9d5] (rid 109536) by ferrieux on 2008-12-02 00:33:40:

    1. icomment:
      FWIW, on my x86 CentOS4.6 it did crash reliably exactly as Don reported, so the lates patch does improve things. But please test too ;-)
      
      
      
    2. login: "ferrieux"
    3. mimetype: "text/plain"
    4. username: "ferrieux"
  8. Ticket change [2324e98f5d] (rid 130869) by dgp on 2008-12-02 04:27:34:

    1. icomment:
      
      In my testing, Tcl 8.5.5+ and Tcl 8.6a4 
      are not broken.
      
      Only 8.4.19+ has crashes in the test suite.
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  9. Ticket change [6713a70742] (rid 102840) by dgp on 2008-12-02 04:48:15:

    1. closedate changed to: "2008-12-01T21:48:15"
    2. closer changed to: "dgp"
    3. icomment:
      
      Committed fix for 8.4.20.
      
      Left other branches untouched,
      since they Work For Me.
      
      Maintainers are free to do what
      they like there.
      
      
      
    4. login: "dgp"
    5. mimetype: "text/plain"
    6. resolution changed to: "Fixed"
    7. status changed to: "Closed"
    8. username: "dgp"
  10. Ticket change [f59e55ccd1] (rid 130143) by andreas_kupries on 2008-12-03 01:26:05:

    1. icomment:
      Applied the new patch to the other branches as well.
      
      
    2. login: "andreas_kupries"
    3. mimetype: "text/plain"
    4. username: "andreas_kupries"