Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2010-03-18
22:08 • Closed ticket [2972600fff]: pkgtest::runIndex broken plus 7 other changes artifact: 1ffd87106f user: dkf
21:02 • Ticket [2972600fff]: 4 changes artifact: db2f8a61b7 user: cyan
13:57 • New ticket [2972600fff]. artifact: d62419a95e user: cyan

pkgtest::runIndex broken

Closed / Fixed2972600fffffffffffffffffffffffffffffffffCreated 17 years agoUpdated 17 years ago
Descriptionplain2010-03-18 13:57:28
Tcl from CVS head on 2010-03-18 13:00 GMT on Linux, Ubuntu 9.10 x86_64

Apologies in advance if this is the wrong place to raise this.

The recent fix for the compiled try .. finally issue (thanks for fixing this so quickly Donal!) looks like it caused some breakage in other areas.  On my system most of the pkgMkIndex-* tests fail.  Although the tm-* tests pass, the interpreter that is created can't seem to load tms:

Expected behaviour:

% package require platform
1.0.5

Problem behaviour:

% package require platform
can't find package platform

"tcl::tm::path list" looks correct, and if I source the package-1.0.5.tm file directly (from the tcl8/8.4 directory, which is in the tm pathlist) it works, and subsequent "package require platform" commands work.

I filed this in the "Commands M-Z" category because the bug appeared in the CVS commit "[Bug 2971921]: Corrected jump so that it doesn't skip into the middle of an instruction! Tightened the instruction issuing. Moved endCatch calls closer to their point that they guard." by dkf on 2010-03-18 12:59:45, which is the fix for the try command compilation.
cyanplain2010-03-18 21:02:34
I tried to narrow this further by reverting

STORE(optionsVar);

back to

OP4(STORE_SCALAR4, optionsVar);

and similar, but it didn't affect the behaviour.  I'm not familiar with the bytecode compilation system of Tcl , so I couldn't chase it further.
dkfplain2010-03-18 22:08:54
allow_comments - 1

Yeah; I'd made an error which didn't show up in the [try]-specific tests. Goes to show just how hard it is to write bytecode and how poor the test suite was. I fixed it about 30 minutes ago. :-)
Log in (anonymous is fine) to add a comment.