Tcl Source Code

Artifact [53efc46075]
Login

Artifact 53efc460750c26657c12f8a7446f662b3e4ff2cb:

Attachment "crash.txt" to ticket [e2f4128adb] added by emiliano 2014-04-06 17:13:35. (unpublished)
Tcl built with "--enable-symbols --disable-threads".
The default build shows the same errors.

===================================================================================
Failure in iogt.test, test iogt-2.4
===================================================================================
emiliano@merlot:~/src/fossil/tcl/unix$ bmake test TESTFLAGS="-file iogt.test -match iogt-2.4"
Warning: tclOOStubInit.c may be out of date.
Developers may want to run "make genstubs" to regenerate.
This warning can be safely ignored, do not report as a bug!
LD_LIBRARY_PATH=`pwd`:  TCLLIBPATH="/home/emiliano/src/fossil/tcl/unix/pkgs"  TCL_LIBRARY="/home/emiliano/src/fossil/tcl/library" ./tcltest /home/emiliano/src/fossil/tcl/tests/all.tcl -file iogt.test -match iogt-2.4
Tests running in interp:  /storage/progs/src/fossil/tcl/unix/tcltest
Tests located in:  /storage/progs/src/fossil/tcl/tests
Tests running in:  /storage/progs/src/fossil/tcl/unix
Temporary files stored in /storage/progs/src/fossil/tcl/unix
Test files run in separate interpreters
Running tests that match:  iogt-2.4
Skipping test files that match:  l.*.test
Only running test files that match:  iogt.test
Tests began at Sun Apr 06 13:54:39 ART 2014
iogt.test
Test file error: child killed: segmentation violation

Tests ended at Sun Apr 06 13:54:39 ART 2014
all.tcl:        Total   0       Passed  0       Skipped 0       Failed  0
Sourced 1 Test Files.

Test files exiting with errors:

  iogt.test

emiliano@merlot:~/src/fossil/tcl/unix$ TESTFLAGS="-match iogt-2.4" gdb ./tcltest
GNU gdb 6.8
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "i486-slackware-linux"...
(gdb) run ../tests/iogt.test
Starting program: /storage/progs/src/fossil/tcl/unix/tcltest ../tests/iogt.test

Program received signal SIGSEGV, Segmentation fault.
0xb7f6a28c in WillRead (chanPtr=0x80e7748)
    at /home/emiliano/src/fossil/tcl/generic/tclIO.c:3980
3980        if ((chanPtr->typePtr->seekProc != NULL)
(gdb) bt
#0  0xb7f6a28c in WillRead (chanPtr=0x80e7748)
    at /home/emiliano/src/fossil/tcl/generic/tclIO.c:3980
#1  0xb7f6bc71 in ChanRead (chanPtr=0x80e7748,
    dst=0x80ee420 "nored*\nquery/max8", dstSize=2, errnoPtr=0xbff345c0)
    at /home/emiliano/src/fossil/tcl/generic/tclIO.c:389
#2  0xb7f6cd71 in GetInput (chanPtr=0x80e7748)
    at /home/emiliano/src/fossil/tcl/generic/tclIO.c:6528
#3  0xb7f6bed9 in DoReadChars (chanPtr=0x80e7748, objPtr=0x80e9700, toRead=-1,
    appendFlag=0) at /home/emiliano/src/fossil/tcl/generic/tclIO.c:5582
#4  0xb7f6bd00 in Tcl_ReadChars (chan=0x80ecf58, objPtr=0x80e9700, toRead=-1,
    appendFlag=0) at /home/emiliano/src/fossil/tcl/generic/tclIO.c:5471
#5  0xb7f72e13 in Tcl_ReadObjCmd (dummy=0x0, interp=0x807e1c0, objc=2,
    objv=0x807fab8) at /home/emiliano/src/fossil/tcl/generic/tclIOCmd.c:456
#6  0xb7e95b0f in Dispatch (data=0x80e5a1c, interp=0x807e1c0, result=0)
    at /home/emiliano/src/fossil/tcl/generic/tclBasic.c:4357
#7  0xb7e95b86 in TclNRRunCallbacks (interp=0x807e1c0, result=0, rootPtr=0x0)
    at /home/emiliano/src/fossil/tcl/generic/tclBasic.c:4390
#8  0xb7e95516 in Tcl_EvalObjv (interp=0x807e1c0, objc=4, objv=0x807f460,
    flags=2097168) at /home/emiliano/src/fossil/tcl/generic/tclBasic.c:4121
#9  0xb7e974ea in TclEvalEx (interp=0x807e1c0,
    script=0x80a4f70 "# -*- tcl -*-\n# Commands covered:  transform, and stacking in general\n#\n# This file contains a collection of tests for Giot\n#\n# See the file \"license.terms\" for information on usage and redistribution"...,
    numBytes=21861, flags=0, line=21, clNextOuter=0x0,
    outerScript=0x80a4f70 "# -*- tcl -*-\n# Commands covered:  transform, and stacking in general\n#\n# This file contains a collection of tests for Giot\n#\n# See the file \"license.terms\" for information on usage and redistribution"...)
    at /home/emiliano/src/fossil/tcl/generic/tclBasic.c:5259
#10 0xb7f7ca47 in Tcl_FSEvalFileEx (interp=0x807e1c0, pathPtr=0x809f480,
    encodingName=0x0) at /home/emiliano/src/fossil/tcl/generic/tclIOUtil.c:1809
#11 0xb7f85d07 in Tcl_MainEx (argc=-1, argv=0xbff34acc,
    appInitProc=0x8048c2f <Tcl_AppInit>, interp=0x807e1c0)
    at /home/emiliano/src/fossil/tcl/generic/tclMain.c:417
#12 0x08048c1c in main (argc=2, argv=0xbff34ac4)
    at /home/emiliano/src/fossil/tcl/unix/tclAppInit.c:84
(gdb)

===================================================================================
Failure in ioTrans.test, test iortrans-4.8.1
===================================================================================
emiliano@merlot:~/src/fossil/tcl/unix$ bmake test TESTFLAGS="-file ioTrans.test -match iortrans-4.8.1"
Warning: tclOOStubInit.c may be out of date.
Developers may want to run "make genstubs" to regenerate.
This warning can be safely ignored, do not report as a bug!
LD_LIBRARY_PATH=`pwd`:  TCLLIBPATH="/home/emiliano/src/fossil/tcl/unix/pkgs"  TCL_LIBRARY="/home/emiliano/src/fossil/tcl/library" ./tcltest /home/emiliano/src/fossil/tcl/tests/all.tcl -file ioTrans.test -match iortrans-4.8.1
Tests running in interp:  /storage/progs/src/fossil/tcl/unix/tcltest
Tests located in:  /storage/progs/src/fossil/tcl/tests
Tests running in:  /storage/progs/src/fossil/tcl/unix
Temporary files stored in /storage/progs/src/fossil/tcl/unix
Test files run in separate interpreters
Running tests that match:  iortrans-4.8.1
Skipping test files that match:  l.*.test
Only running test files that match:  ioTrans.test
Tests began at Sun Apr 06 13:57:30 ART 2014
ioTrans.test
Test file error: child killed: segmentation violation

Tests ended at Sun Apr 06 13:57:31 ART 2014
all.tcl:        Total   0       Passed  0       Skipped 0       Failed  0
Sourced 1 Test Files.

Test files exiting with errors:

  ioTrans.test

emiliano@merlot:~/src/fossil/tcl/unix$ TESTFLAGS="-match iortrans-4.8.1" gdb ./tcltest
GNU gdb 6.8
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "i486-slackware-linux"...
(gdb) run ../tests/ioTrans.test
Starting program: /storage/progs/src/fossil/tcl/unix/tcltest ../tests/ioTrans.test

Program received signal SIGSEGV, Segmentation fault.
0xb7f1228c in WillRead (chanPtr=0x80cbfc8)
    at /home/emiliano/src/fossil/tcl/generic/tclIO.c:3980
3980        if ((chanPtr->typePtr->seekProc != NULL)
(gdb) bt
#0  0xb7f1228c in WillRead (chanPtr=0x80cbfc8)
    at /home/emiliano/src/fossil/tcl/generic/tclIO.c:3980
#1  0xb7f13c71 in ChanRead (chanPtr=0x80cbfc8, dst=0x8118ac8 "G���",
    dstSize=2, errnoPtr=0xbfede560)
    at /home/emiliano/src/fossil/tcl/generic/tclIO.c:389
#2  0xb7f14d71 in GetInput (chanPtr=0x80cbfc8)
    at /home/emiliano/src/fossil/tcl/generic/tclIO.c:6528
#3  0xb7f13ed9 in DoReadChars (chanPtr=0x80cbfc8, objPtr=0x80e7b08, toRead=-1,
    appendFlag=0) at /home/emiliano/src/fossil/tcl/generic/tclIO.c:5582
#4  0xb7f13d00 in Tcl_ReadChars (chan=0x80e85a0, objPtr=0x80e7b08, toRead=-1,
    appendFlag=0) at /home/emiliano/src/fossil/tcl/generic/tclIO.c:5471
#5  0xb7f1ae13 in Tcl_ReadObjCmd (dummy=0x0, interp=0x807e1c0, objc=2,
    objv=0x807fa24) at /home/emiliano/src/fossil/tcl/generic/tclIOCmd.c:456
#6  0xb7e3db0f in Dispatch (data=0x80e203c, interp=0x807e1c0, result=0)
    at /home/emiliano/src/fossil/tcl/generic/tclBasic.c:4357
#7  0xb7e3db86 in TclNRRunCallbacks (interp=0x807e1c0, result=0, rootPtr=0x0)
    at /home/emiliano/src/fossil/tcl/generic/tclBasic.c:4390
#8  0xb7e3d516 in Tcl_EvalObjv (interp=0x807e1c0, objc=13, objv=0x807f460,
    flags=2097168) at /home/emiliano/src/fossil/tcl/generic/tclBasic.c:4121
#9  0xb7e3f4ea in TclEvalEx (interp=0x807e1c0,
    script=0x80b6bd8 "# -*- tcl -*-\n# Functionality covered: operation of the reflected transformation\n#\n# This file contains a collection of tests for one or more of the Tcl\n# built-in commands.  Sourcing this file into T"...,
    numBytes=53614, flags=0, line=543, clNextOuter=0x0,
    outerScript=0x80b6bd8 "# -*- tcl -*-\n# Functionality covered: operation of the reflected transformation\n#\n# This file contains a collection of tests for one or more of the Tcl\n# built-in commands.  Sourcing this file into T"...)
    at /home/emiliano/src/fossil/tcl/generic/tclBasic.c:5259
#10 0xb7f24a47 in Tcl_FSEvalFileEx (interp=0x807e1c0, pathPtr=0x809f488,
    encodingName=0x0) at /home/emiliano/src/fossil/tcl/generic/tclIOUtil.c:1809
#11 0xb7f2dd07 in Tcl_MainEx (argc=-1, argv=0xbfedea6c,
    appInitProc=0x8048c2f <Tcl_AppInit>, interp=0x807e1c0)
    at /home/emiliano/src/fossil/tcl/generic/tclMain.c:417
#12 0x08048c1c in main (argc=2, argv=0xbfedea64)
    at /home/emiliano/src/fossil/tcl/unix/tclAppInit.c:84
(gdb)

===========================================================================
Environment
===========================================================================
emiliano@merlot:~/src/fossil/tcl/unix$ make shell
Warning: tclOOStubInit.c may be out of date.
Developers may want to run "make genstubs" to regenerate.
This warning can be safely ignored, do not report as a bug!
LD_LIBRARY_PATH=`pwd`: TCLLIBPATH="/home/emiliano/src/fossil/tcl/unix/pkgs" TCL_LIBRARY="/home/emiliano/src/fossil/tcl/library" ./tclsh
% parray tcl_platform
tcl_platform(byteOrder)     = littleEndian
tcl_platform(machine)       = i686
tcl_platform(os)            = Linux
tcl_platform(osVersion)     = 2.6.27.7
tcl_platform(pathSeparator) = :
tcl_platform(platform)      = unix
tcl_platform(pointerSize)   = 4
tcl_platform(threaded)      = 1
tcl_platform(user)          = emiliano
tcl_platform(wordSize)      = 4
%