bus error during gmake test
Closed / Works For Me1634129fffffffffffffffffffffffffffffffffCreated 20 years agoUpdated 20 years ago
Descriptionplain2007-01-12 15:29:41
tcl and thread configured with
../configure --prefix=/projects/sprs_lwv/tcl85 \--enable-shared --enable-symbols --enable-threads \
--enable-64bit
on sparc solaris 9 using sun c compiler.
Here's the result of the gmake test:
Tcl 8.5a6 tests running in interp: /vol/tclsrcsol/tcl85/tcl/unix/tclsh
Tests running in working dir: /vol/tclsrcsol/tcl85/thread/tests
Only running tests that match: *
Skipping test files that match: l.*.test
Only sourcing test files that match: *.test
Tests began at Fri Jan 12 10:22:43 EST 2007
Thread 2.6.5
Mainthread id is tid1
thread.test
gmake: *** [test] Bus Error (core dumped)
and here's the dbx output:
Reading tclsh8.5
core file header read successfully
Reading ld.so.1
Reading libtcl8.5.so
Reading libdl.so.1
Reading libsocket.so.1
Reading libnsl.so.1
Reading libpthread.so.1
Reading libm.so.1
Reading libc.so.1
Reading libmp.so.2
Reading libc_psr.so.1
Reading libthread.so.1
Reading libthread2.6.5.so
detected a multithreaded program
t@1 (l@1) terminated by signal BUS (invalid address alignment)
0xffffffff7dd0b83c: _thrp_join+0x01ac: stx %l2, [%i2]
Current function is Tcl_JoinThread
166 result = pthread_join((pthread_t) threadId, (void**) state);
(dbx 1) where
current thread: t@1
[1] _thrp_join(0x0, 0x0, 0xffffffff7fff0e54, 0x1, 0xffffffff7fff0cb8, 0xffffffff7fff0cc0), at 0xffffffff7dd0b83c
=>[2] Tcl_JoinThread(threadId = 0x7, state = 0xffffffff7fff0e54), line 166 in "tclUnixThrd.c"
[3] ThreadJoin(interp = 0x1000428b0, thrId = 0x7), line 2062 in "threadCmd.c"
[4] ThreadJoinObjCmd(dummy = (nil), interp = 0x1000428b0, objc = 2, objv = 0xffffffff7fff13f8), line 1172 in "threadCmd.c"
[5] TclEvalObjvInternal(interp = 0x1000428b0, objc = 2, objv = 0xffffffff7fff13f8, command = 0x1003f800c "thread::join $tid]\n ThreadReap\n set c\n", length = 17, flags = 0), line 3659 in "tclBasic.c"
[6] TclEvalEx(interp = 0x1000428b0, script = 0x1003f800c "thread::join $tid]\n ThreadReap\n set c\n", numBytes = 17, flags = 0, line = 4), line 4263 in "tclBasic.c"
[7] TclSubstTokens(interp = 0x1000428b0, tokenPtr = 0xffffffff7fff1cd0, count = 1, tokensLeftPtr = (nil), line = 4), line 2098 in "tclParse.c"
[8] TclEvalEx(interp = 0x1000428b0, script = 0x1003f7fc0 "\n ThreadReap\n set tid [thread::create -joinable {set x 5}]\n set c [thread::join $tid]\n ThreadReap\n set c\n", numBytes = 120, flags = 262144, line = 4), line 4128 in "tclBasic.c"
[9] Tcl_EvalEx(interp = 0x1000428b0, script = 0x1003f7fc0 "\n ThreadReap\n set tid [thread::create -joinable {set x 5}]\n set c [thread::join $tid]\n ThreadReap\n set c\n", numBytes = 120, flags = 262144), line 3934 in "tclBasic.c"
[10] TclEvalObjEx(interp = 0x1000428b0, objPtr = 0x1003cb5f0, flags = 262144, invoker = (nil), word = 0), line 4652 in "tclBasic.c"
[11] Tcl_EvalObjEx(interp = 0x1000428b0, objPtr = 0x1003cb5f0, flags = 262144), line 4516 in "tclBasic.c"
[12] Tcl_UplevelObjCmd(dummy = (nil), interp = 0x1000428b0, objc = 1, objv = 0x100046ed8), line 889 in "tclProc.c"
[13] TclEvalObjvInternal(interp = 0x1000428b0, objc = 3, objv = 0x100046ec8, command = (nil), length = 0, flags = 0), line 3659 in "tclBasic.c"
[14] TclExecuteByteCode(interp = 0x1000428b0, codePtr = 0x1004046d0), line 1832 in "tclExecute.c"
[15] TclCompEvalObj(interp = 0x1000428b0, objPtr = 0x1000c8d50, invoker = (nil), word = 0), line 1014 in "tclExecute.c"
[16] TclObjInterpProcCore(interp = 0x1000428b0, framePtr = 0x100046d48, procNameObj = 0x1003ce860, isLambda = 0, skip = 1, errorProc = 0xffffffff7f17d0a8 = &`libtcl8.5.so`tclProc.c`MakeProcError(Tcl_Interp *interp, Tcl_Obj *procNameObj)), line 1501 in "tclProc.c"
[17] ObjInterpProcEx(clientData = 0x100178790, interp = 0x1000428b0, objc = 3, objv = 0x1003f9d90, isLambda = 0, errorProc = 0xffffffff7f17d0a8 = &`libtcl8.5.so`tclProc.c`MakeProcError(Tcl_Interp *interp, Tcl_Obj *procNameObj)), line 1254 in "tclProc.c"
[18] TclObjInterpProc(clientData = 0x100178790, interp = 0x1000428b0, objc = 3, objv = 0x1003f9d90), line 1196 in "tclProc.c"
[19] TclEvalObjvInternal(interp = 0x1000428b0, objc = 3, objv = 0x1003f9d90, command = 0xffffffff7f2fd7a0 "", length = 0, flags = 262144), line 3659 in "tclBasic.c"
[20] Tcl_EvalObjv(interp = 0x1000428b0, objc = 3, objv = 0x1003f9d90, flags = 262144), line 3779 in "tclBasic.c"
[21] TclEvalObjEx(interp = 0x1000428b0, objPtr = 0x1003cebc0, flags = 262144, invoker = (nil), word = 0), line 4609 in "tclBasic.c"
[22] Tcl_EvalObjEx(interp = 0x1000428b0, objPtr = 0x1003cebc0, flags = 262144), line 4516 in "tclBasic.c"
[23] Tcl_UplevelObjCmd(dummy = (nil), interp = 0x1000428b0, objc = 1, objv = 0x100046d40), line 889 in "tclProc.c"
[24] TclEvalObjvInternal(interp = 0x1000428b0, objc = 3, objv = 0x100046d30, command = (nil), length = 0, flags = 0), line 3659 in "tclBasic.c"
[25] TclExecuteByteCode(interp = 0x1000428b0, codePtr = 0x1002b7bf0), line 1832 in "tclExecute.c"
[26] TclCompEvalObj(interp = 0x1000428b0, objPtr = 0x1000ca940, invoker = (nil), word = 0), line 1014 in "tclExecute.c"
[27] TclObjInterpProcCore(interp = 0x1000428b0, framePtr = 0x100046b78, procNameObj = 0x1003cee00, isLambda = 0, skip = 1, errorProc = 0xffffffff7f17d0a8 = &`libtcl8.5.so`tclProc.c`MakeProcError(Tcl_Interp *interp, Tcl_Obj *procNameObj)), line 1501 in "tclProc.c"
[28] ObjInterpProcEx(clientData = 0x10016c900, interp = 0x1000428b0, objc = 3, objv = 0x1003f9690, isLambda = 0, errorProc = 0xffffffff7f17d0a8 = &`libtcl8.5.so`tclProc.c`MakeProcError(Tcl_Interp *interp, Tcl_Obj *procNameObj)), line 1254 in "tclProc.c"
[29] TclObjInterpProc(clientData = 0x10016c900, interp = 0x1000428b0, objc = 3, objv = 0x1003f9690), line 1196 in "tclProc.c"
[30] TclEvalObjvInternal(interp = 0x1000428b0, objc = 3, objv = 0x1003f9690, command = 0xffffffff7f2fd7a0 "", length = 0, flags = 262144), line 3659 in "tclBasic.c"
[31] Tcl_EvalObjv(interp = 0x1000428b0, objc = 3, objv = 0x1003f9690, flags = 262144), line 3779 in "tclBasic.c"
[32] TclEvalObjEx(interp = 0x1000428b0, objPtr = 0x1003ce470, flags = 262144, invoker = (nil), word = 0), line 4609 in "tclBasic.c"
[33] Tcl_EvalObjEx(interp = 0x1000428b0, objPtr = 0x1003ce470, flags = 262144), line 4516 in "tclBasic.c"
[34] Tcl_UplevelObjCmd(dummy = (nil), interp = 0x1000428b0, objc = 1, objv = 0x100046b70), line 889 in "tclProc.c"
[35] TclEvalObjvInternal(interp = 0x1000428b0, objc = 3, objv = 0x100046b60, command = (nil), length = 0, flags = 0), line 3659 in "tclBasic.c"
[36] TclExecuteByteCode(interp = 0x1000428b0, codePtr = 0x1003ffd20), line 1832 in "tclExecute.c"
[37] TclCompEvalObj(interp = 0x1000428b0, objPtr = 0x1000ca880, invoker = (nil), word = 0), line 1014 in "tclExecute.c"
[38] TclObjInterpProcCore(interp = 0x1000428b0, framePtr = 0x100045920, procNameObj = 0x1003cba10, isLambda = 0, skip = 1, errorProc = 0xffffffff7f17d0a8 = &`libtcl8.5.so`tclProc.c`MakeProcError(Tcl_Interp *interp, Tcl_Obj *procNameObj)), line 1501 in "tclProc.c"
[39] ObjInterpProcEx(clientData = 0x100178210, interp = 0x1000428b0, objc = 5, objv = 0xffffffff7fff8588, isLambda = 0, errorProc = 0xffffffff7f17d0a8 = &`libtcl8.5.so`tclProc.c`MakeProcError(Tcl_Interp *interp, Tcl_Obj *procNameObj)), line 1254 in "tclProc.c"
[40] TclObjInterpProc(clientData = 0x100178210, interp = 0x1000428b0, objc = 5, objv = 0xffffffff7fff8588), line 1196 in "tclProc.c"
[41] InvokeImportedCmd(clientData = 0x1001aac80, interp = 0x1000428b0, objc = 5, objv = 0xffffffff7fff8588), line 1892 in "tclNamesp.c"
[42] TclEvalObjvInternal(interp = 0x1000428b0, objc = 5, objv = 0xffffffff7fff8588, command = 0x1003e88d3 "test thread-4.4 {thread::create - create joinable thread} {\n ThreadReap\n set tid [thread::create -joinable {set x 5}]\n set c [thread::join $tid]\n ThreadReap\n set c\n} {0}\n\ntest thread-4.5 {thread::create - join detached thread} {\n ThreadReap\n set tid [thread::create]\n thread::send -async $tid {after 1000 ; thread::release}\n catch {set res [thread::join $tid]} msg\n ThreadReap\n lrange $msg 0 2\n} {cannot join thread}\n\ntest thread-5.0 {thread::release} {\n ThreadReap\n set ti" ..., length = 185, flags = 0), line 3659 in "tclBasic.c"
[43] TclEvalEx(interp = 0x1000428b0, script = 0x1003e7d90 "# Commands covered: thread\n#\n# This file contains a collection of tests for one or more of the Tcl\n# built-in commands. Sourcing this file into Tcl runs the tests and\n# generates output for errors. No output means no errors were found.\n#\n# Copyright (c) 1996 Sun Microsystems, Inc.\n# Copyright (c) 1998-2000 Scriptics Corporation.\n# Copyright (c) 2002 ActiveState Corporation.\n#\n# See the file "license.terms" for information on usage and redistribution\n# of this file, and for a DISCLAIMER OF ALL WARRANTIES." ..., numBytes = 33216, flags = 0, line = 97), line 4263 in "tclBasic.c"
[44] Tcl_EvalEx(interp = 0x1000428b0, script = 0x1003e7d90 "# Commands covered: thread\n#\n# This file contains a collection of tests for one or more of the Tcl\n# built-in commands. Sourcing this file into Tcl runs the tests and\n# generates output for errors. No output means no errors were found.\n#\n# Copyright (c) 1996 Sun Microsystems, Inc.\n# Copyright (c) 1998-2000 Scriptics Corporation.\n# Copyright (c) 2002 ActiveState Corporation.\n#\n# See the file "license.terms" for information on usage and redistribution\n# of this file, and for a DISCLAIMER OF ALL WARRANTIES." ..., numBytes = 33216, flags = 0), line 3934 in "tclBasic.c"
[45] Tcl_FSEvalFileEx(interp = 0x1000428b0, pathPtr = 0x1003caed0, encodingName = (nil)), line 1812 in "tclIOUtil.c"
[46] Tcl_SourceObjCmd(dummy = (nil), interp = 0x1000428b0, objc = 2, objv = 0x100045910), line 959 in "tclCmdMZ.c"
[47] TclEvalObjvInternal(interp = 0x1000428b0, objc = 2, objv = 0x100045910, command = (nil), length = 0, flags = 0), line 3659 in "tclBasic.c"
[48] TclExecuteByteCode(interp = 0x1000428b0, codePtr = 0x1003a7e20), line 1832 in "tclExecute.c"
[49] TclCompEvalObj(interp = 0x1000428b0, objPtr = 0x1003cb3b0, invoker = 0xffffffff7fffba40, word = 1), line 1014 in "tclExecute.c"
[50] TclEvalObjEx(interp = 0x1000428b0, objPtr = 0x1003cb3b0, flags = 0, invoker = 0xffffffff7fffba40, word = 1), line 4737 in "tclBasic.c"
[51] Tcl_CatchObjCmd(dummy = (nil), interp = 0x1000428b0, objc = 3, objv = 0x1000458f8), line 249 in "tclCmdAH.c"
[52] TclEvalObjvInternal(interp = 0x1000428b0, objc = 3, objv = 0x1000458f8, command = (nil), length = 0, flags = 0), line 3659 in "tclBasic.c"
[53] TclExecuteByteCode(interp = 0x1000428b0, codePtr = 0x1003dce80), line 1832 in "tclExecute.c"
[54] TclCompEvalObj(interp = 0x1000428b0, objPtr = 0x1003cb500, invoker = 0xffffffff7fffc370, word = 3), line 1014 in "tclExecute.c"
[55] TclEvalObjEx(interp = 0x1000428b0, objPtr = 0x1003cb500, flags = 0, invoker = 0xffffffff7fffc370, word = 3), line 4737 in "tclBasic.c"
[56] Tcl_ForeachObjCmd(dummy = (nil), interp = 0x1000428b0, objc = 4, objv = 0xffffffff7fffc4b8), line 1828 in "tclCmdAH.c"
[57] TclEvalObjvInternal(interp = 0x1000428b0, objc = 4, objv = 0xffffffff7fffc4b8, command = 0x100063d43 "foreach file [lsort [::tcltest::getMatchingFiles]] {\n set tail [file tail $file]\n puts stdout $tail\n if {[catch {source $file} msg]} {\n puts stdout $msg\n }\n}\n\n# Cleanup\nputs stdout "\nTests ended at [eval $timeCmd]"\n::tcltest::cleanupTests 1\n\nreturn\n\n", length = 177, flags = 0), line 3659 in "tclBasic.c"
[58] TclEvalEx(interp = 0x1000428b0, script = 0x1000636c0 "# all.tcl --\n#\n# This file contains a top-level script to run all of the Tcl\n# tests. Execute it by invoking "source all.test" when running tcltest\n# in this directory.\n#\n# Copyright (c) 1998-1999 by Scriptics Corporation.\n# All rights reserved.\n# \n# RCS: @(#) $Id: all.tcl,v 1.5 2004/12/18 13:26:03 vasiljevic Exp $\n\npackage require tcltest\nnamespace import -force ::tcltest::*\n\nset ::tcltest::testSingleFile false\nset ::tcltest::testsDirectory [file dir [info script]]\n\n# We need to ensure that the testsDirec" ..., numBytes = 1937, flags = 0, line = 53), line 4263 in "tclBasic.c"
[59] Tcl_EvalEx(interp = 0x1000428b0, script = 0x1000636c0 "# all.tcl --\n#\n# This file contains a top-level script to run all of the Tcl\n# tests. Execute it by invoking "source all.test" when running tcltest\n# in this directory.\n#\n# Copyright (c) 1998-1999 by Scriptics Corporation.\n# All rights reserved.\n# \n# RCS: @(#) $Id: all.tcl,v 1.5 2004/12/18 13:26:03 vasiljevic Exp $\n\npackage require tcltest\nnamespace import -force ::tcltest::*\n\nset ::tcltest::testSingleFile false\nset ::tcltest::testsDirectory [file dir [info script]]\n\n# We need to ensure that the testsDirec" ..., numBytes = 1937, flags = 0), line 3934 in "tclBasic.c"
[60] Tcl_FSEvalFileEx(interp = 0x1000428b0, pathPtr = 0x1000332d0, encodingName = (nil)), line 1812 in "tclIOUtil.c"
[61] Tcl_Main(argc = -1, argv = 0xffffffff7fffcf78, appInitProc = 0x100001e50 = &Tcl_AppInit(Tcl_Interp *interp)), line 441 in "tclMain.c"
[62] main(argc = 2, argv = 0xffffffff7fffcf68), line 87 in "tclAppInit.c"
(dbx 2)
lvirdenplain2007-01-17 20:09:49
Logged In: YES user_id=15949 Originator: YES Interesting note. I just noticed, within the Tcl only test suite, the following: thread.test Test file error: child killed: bus error Notice the tcl test suite doesn't recognize this as a Failed test.
dgpplain2007-01-29 23:47:06
Logged In: YES user_id=80530 Originator: NO hmmmm... bus error in "thread.test" is this another Dup. of 1637703?
hobbsplain2007-02-09 07:56:14
Logged In: YES user_id=72656 Originator: NO latest builds and works fine for me on Solaris Sparc 9 with the same config options.
sf-robotplain2007-02-23 10:20:09
Logged In: YES user_id=1312539 Originator: NO This Tracker item was closed automatically by the system. It was previously set to a Pending status, and the original submitter did not respond within 14 days (the time period specified by the administrator of this Tracker).
Log in (anonymous is fine) to add a comment.