|
2003-02-12
| ||
| 03:15 | • Ticket [684806ffff] segfault in stringObj-14.1 status still Closed with 8 ot... artifact: f41bcf94d8 user: dgp | |
| 03:15 | • Closed ticket [684806ffff]. artifact: 35320a620e user: dgp | |
|
2003-02-11
| ||
| 18:34 | • New ticket [684806ffff]. artifact: aae40a38d4 user: dgp | |
segfault in stringObj-14.1
Closed / Invalid684806ffffffffffffffffffffffffffffffffffCreated 24 years agoUpdated 24 years ago
Descriptionplain2003-02-11 18:34:09
$ gdb ./tcltest
...(gdb) run
Starting program: /local/src/tcl/mem/./tcltest
% set argv "-file stringObj.test -match stringObj-14*
-singleproc 1"
-file stringObj.test -match stringObj-14* -singleproc 1
% source ./../tests/all.tcl
Tests running in interp: /local/src/tcl/mem/./tcltest
Tests located in: /local/src/tcl/tests
Tests running in: /local/src/tcl/mem
Temporary files stored in /local/src/tcl/mem
Test files sourced into current interpreter
Running tests that match: stringObj-14*
Skipping test files that match: l.*.test
Only running test files that match: stringObj.test
Tests began at Tue Feb 11 02:18:27 PM EST 2003
stringObj.test
Program received signal SIGSEGV, Segmentation fault.
0x200003d84f8 in memcpy (dstpp=0x0, srcpp=0x120368f18,
len=3)
at ../sysdeps/generic/memcpy.c:61
61 ../sysdeps/generic/memcpy.c: No such file or
directory.
(gdb) bt
#0 0x200003d84f8 in memcpy (dstpp=0x0,
srcpp=0x120368f18, len=3)
at ../sysdeps/generic/memcpy.c:61
#1 0x1200d8c14 in AppendUtfToUtfRep (objPtr=0x120368fd8,
bytes=0x120368f18 "bar", numBytes=3)
at ../unix/../generic/tclStringObj.c:1364
#2 0x1200d832c in Tcl_AppendToObj (objPtr=0x120368fd8,
bytes=0x120368f18 "bar", length=3) at
../unix/../generic/tclStringObj.c:995
#3 0x12002195c in TeststringobjCmd (clientData=0x0,
interp=0x12023fb68,
objc=5, objv=0x11fffb540) at
../unix/../generic/tclTestObj.c:954
#4 0x1200289e8 in TclEvalObjvInternal
(interp=0x12023fb68, objc=5,
objv=0x11fffb540,
command=0x120364927 " teststringobj append 1 bar
-1\n teststringobj get 1\n", length=34, flags=0) at
../unix/../generic/tclBasic.c:3076
#5 0x120029ac8 in Tcl_EvalEx (interp=0x12023fb68,
script=0x120364868 "\n teststringobj set 1 foo\n
teststringobj getunicode 1\n teststringobj append
1 bar -1\n teststringobj getunicode 1\n
teststringobj append 1 bar -1\n teststringobj
setlength 1 0\n tests"...,
numBytes=249, flags=262144) at
../unix/../generic/tclBasic.c:3674
#6 0x12002a274 in Tcl_EvalObjEx (interp=0x12023fb68,
objPtr=0x120362848,
flags=262144) at ../unix/../generic/tclBasic.c:3960
dgp Closed ticket [684806ffff].
[History diff]2003-02-12 03:15:51
dgpplain2003-02-12 03:15:52
Logged In: YES user_id=80530 After straightening out issues with Bug 684699, I can no longer produce this segfault. Strongly suspect pilot error.
Log in (anonymous is fine) to add a comment.