From: SourceForge.net <no...@so...> - 2008-12-01 21:27:38
|
Bugs item #2371600, was opened at 2008-12-01 10:02 Message generated for change (Comment added) made by dgp You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=110894&aid=2371600&group_id=10894 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: 25. Channel System Group: current: 8.4.19 Status: Open Resolution: None Priority: 9 Private: No Submitted By: Don Porter (dgp) Assigned to: Andreas Kupries (andreas_kupries) Summary: IO test failures Initial Comment: 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: ---------------------------------------------------------------------- >Comment By: Don Porter (dgp) Date: 2008-12-01 16:27 Message: In my testing, Tcl 8.5.5+ and Tcl 8.6a4 are not broken. Only 8.4.19+ has crashes in the test suite. ---------------------------------------------------------------------- Comment By: Alexandre Ferrieux (ferrieux) Date: 2008-12-01 12:33 Message: 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 ;-) ---------------------------------------------------------------------- Comment By: Andreas Kupries (andreas_kupries) Date: 2008-12-01 12:15 Message: 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 ? ---------------------------------------------------------------------- Comment By: Alexandre Ferrieux (ferrieux) Date: 2008-12-01 12:10 Message: 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 ;-) ---------------------------------------------------------------------- Comment By: Alexandre Ferrieux (ferrieux) Date: 2008-12-01 11:21 Message: 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 ---------------------------------------------------------------------- Comment By: Don Porter (dgp) Date: 2008-12-01 10:05 Message: 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. ---------------------------------------------------------------------- Comment By: Don Porter (dgp) Date: 2008-12-01 10:03 Message: 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. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=110894&aid=2371600&group_id=10894 |