Tcl Source Code

View Ticket
Login
Ticket UUID: 1639652
Title: thread.test failed sparc solaris 9
Type: Bug Created on: 2007-01-19 15:46:31
Submitter: lvirden Assigned to: dgp
Subsystem: 49. Threading Severity:
Priority: 5 Medium Last modified: 2007-01-29 23:45:08
Status: Closed Closed by: dgp
Resolution: Duplicate Closed on: 2007-01-29 16:45:08
Version: obsolete: 8.4.14
Description:
built on sparc solaris 9 using sun c compiler.
compiled with 
./configure  --prefix=/tmp/tcl8414 --enable-shared --enable-symbols --enable-stubs --enable-64bit --enable-threads

thread.test
Test file error: child killed: bus error

The strange thing is that the core dump stack trace doesn't show the symbols
$ /opt/SUNWspro/bin/dbx ./tcltest core
Reading tcltest
core file header read successfully
Reading ld.so.1
Reading libtcl8.4g.so
Reading libdl.so.1
Reading libsocket.so.1
Reading libpthread.so.1
Reading libm.so.1
Reading libc.so.1
Reading libnsl.so.1
Reading libmp.so.2
Reading libc_psr.so.1
Reading libthread.so.1
detected a multithreaded program
t@1 (l@1) terminated by signal BUS (invalid address alignment)
0xffffffff7de0b83c: _thrp_join+0x01ac:  stx     %l2, [%i2]
(dbx 1) where
current thread: t@1
=>[1] _thrp_join(0x0, 0x0, 0xffffffff7fff85c4, 0x1, 0x100020b10, 0x0), at 0xffffffff7de0b83c
  [2] Tcl_JoinThread(0x12, 0xffffffff7fff85c4, 0xffffffff7fff85c8, 0x100020b10, 0x0, 0xffffffff7fff85d4), at 0xffffffff7f2173e4
  [3] Tcl_ThreadObjCmd(0x0, 0x10014a010, 0x3, 0xffffffff7fff8810, 0x65, 0xffffffff7fff86b0), at 0x10001ad50
  [4] TclEvalObjvInternal(0x10014a010, 0x3, 0xffffffff7fff8810, 0x100130d88, 0x1d, 0x0), at 0xffffffff7f146798
  [5] Tcl_EvalEx(0x10014a010, 0x100130d88, 0x1d, 0x0, 0x1, 0xffffffff7fff8c00), at 0xffffffff7f14789c
  [6] Tcl_EvalTokensStandard(0x10014a010, 0xffffffff7fff8ed8, 0x1, 0x0, 0xffffffff7fff8e00, 0x0), at 0xffffffff7f147098
  [7] Tcl_EvalEx(0x10014a010, 0x100130cf0, 0xd2, 0x40000, 0x727900ef, 0x100210110), at 0xffffffff7f14779c
  [8] Tcl_EvalObjEx(0x10014a010, 0x100210110, 0x40000, 0x100155f58, 0x0, 0xffffffff7fff930c), at 0xffffffff7f148474
  [9] Tcl_UplevelObjCmd(0x0, 0x10014a010, 0x3, 0x100155f58, 0x1001f1480, 0x100128850), at 0xffffffff7f1ea224
  [10] TclEvalObjvInternal(0x10014a010, 0x3, 0x100155f58, 0x0, 0x0, 0x0), at 0xffffffff7f146798
  [11] TclExecuteByteCode(0x10014a010, 0x1001f5840, 0x0, 0x0, 0x0, 0xffffffff7fffc228), at 0xffffffff7f192240
  [12] TclCompEvalObj(0x10014a010, 0x100209f30, 0x1001bdbd0, 0x1, 0xffffffff7f2261e0, 0x100338080), at 0xffffffff7f191180
  [13] TclObjInterpProc(0x1001feed0, 0x10014a010, 0x3, 0xffffffff7fffa340, 0xa, 0x0), at 0xffffffff7f1eadb0
  [14] TclEvalObjvInternal(0x10014a010, 0x3, 0xffffffff7fffa340, 0xffffffff7f21bae0, 0x0, 0x40000), at 0xffffffff7f146798
  [15] Tcl_EvalObjv(0x10014a010, 0x3, 0xffffffff7fffa340, 0x40000, 0x100337b70, 0x1001f0020), at 0xffffffff7f146b20
  [16] Tcl_EvalObjEx(0x10014a010, 0x1002100e0, 0x40000, 0x1, 0xffffffff7f2261e0, 0x100128850), at 0xffffffff7f148258
  [17] Tcl_UplevelObjCmd(0x0, 0x10014a010, 0x3, 0x100155f40, 0x1001f1480, 0x100128850), at 0xffffffff7f1ea224
  [18] TclEvalObjvInternal(0x10014a010, 0x3, 0x100155f40, 0x0, 0x0, 0x0), at 0xffffffff7f146798
  [19] TclExecuteByteCode(0x10014a010, 0x10019a2a0, 0x0, 0x0, 0x0, 0xffffffff7fffc228), at 0xffffffff7f192240
  [20] TclCompEvalObj(0x10014a010, 0x10020ad70, 0x1001bdbd0, 0x1, 0xffffffff7f2261e0, 0x100338200), at 0xffffffff7f191180
  [21] TclObjInterpProc(0x1001c7330, 0x10014a010, 0x3, 0xffffffff7fffb540, 0xa, 0x0), at 0xffffffff7f1eadb0
  [22] TclEvalObjvInternal(0x10014a010, 0x3, 0xffffffff7fffb540, 0xffffffff7f21bae0, 0x0, 0x40000), at 0xffffffff7f146798
  [23] Tcl_EvalObjv(0x10014a010, 0x3, 0xffffffff7fffb540, 0x40000, 0x0, 0x1001f1360), at 0xffffffff7f146b20
  [24] Tcl_EvalObjEx(0x10014a010, 0x1001437e0, 0x40000, 0x100155f38, 0x0, 0xffffffff7fffb70c), at 0xffffffff7f148258
  [25] Tcl_UplevelObjCmd(0x0, 0x10014a010, 0x3, 0x100155f28, 0x1001f1480, 0x100128850), at 0xffffffff7f1ea224
  [26] TclEvalObjvInternal(0x10014a010, 0x3, 0x100155f28, 0x0, 0x0, 0x0), at 0xffffffff7f146798
  [27] TclExecuteByteCode(0x10014a010, 0x1001f93f0, 0x0, 0x0, 0x0, 0xffffffff7fffc228), at 0xffffffff7f192240
  [28] TclCompEvalObj(0x10014a010, 0x100209fc0, 0x1001bdbd0, 0x0, 0x732074, 0x0), at 0xffffffff7f191180
  [29] TclObjInterpProc(0x1001fea50, 0x10014a010, 0x6, 0xffffffff7fffc660, 0x30, 0x52b46), at 0xffffffff7f1eadb0
  [30] InvokeImportedCmd(0x10023dfd0, 0x10014a010, 0x6, 0xffffffff7fffc660, 0x1, 0xffffffff7fffc530), at 0xffffffff7f1d2978
  [31] TclEvalObjvInternal(0x10014a010, 0x6, 0xffffffff7fffc660, 0x1001875e5, 0x108, 0x0), at 0xffffffff7f146798
  [32] Tcl_EvalEx(0x10014a010, 0x100185c30, 0x1d33, 0x0, 0x1, 0x100142940), at 0xffffffff7f14789c
  [33] Tcl_FSEvalFile(0x10014a010, 0x1001428e0, 0xffffffff7f223338, 0x1, 0x1, 0x0), at 0xffffffff7f1c2e54
  [34] Tcl_Main(0x24, 0xffffffff7fffd078, 0x1000059d0, 0x1000057c4, 0xffffffff7fffd078, 0xffffffff7f72ff08), at 0xffffffff7f1cf998
  [35] main(0x24, 0xffffffff7fffd078, 0xffffffff7fffd1a0, 0x100126b90, 0x100000000, 0x0), at 0x1000059b8
(dbx 2)
User Comments:
dgp added on 2007-01-29 23:45:08:
Logged In: YES 
user_id=80530
Originator: NO


Dup of 1637703