Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2014-08-01
16:02 • Closed ticket [e75fabac06]: ensemble compile revision segfaults in 280 support</... artifact: 1614c3d991 user: dgp
16:01
[e75fabac06] Teardown line information after failed ensemble subcommand compile attempts. Copy/past... check-in: 42ab495d54 user: dgp tags: trunk
15:44 • Ticket [e75fabac06] ensemble compile revision segfaults in 280 support statu... artifact: f1bc053008 user: dgp
15:06 • Ticket [e75fabac06]: 3 changes artifact: 035cadd06b user: dgp
02:31 • New ticket [e75fabac06]. artifact: 07a7695143 user: dgp

ensemble compile revision segfaults in 280 support

Closed / Fixede75fabac06ad895bf9b31af12fde4f95b0640523Created 12 years agoUpdated 12 years ago
Descriptionplain2014-08-01 02:31:28
Pooryorick and evilotto coughed up this on the chat:

tcl::unsupported::disassemble lambda {{} {namespace upvar a b [x]}}

segfaults
Referenced by1
  • 42ab495d54[e75fabac06] Teardown line information after failed ensemble subcommand compile attempts. Copy/paste from CompileCmdCompileProc(). May be refactor opportunity here. check-in2014-08-01 16:01:30
dgpplain2014-08-01 15:06:19
The compile attempt creates some TIP 280 data for the [x]

Somehow that's not getting rewinded, so when we make the
followup attempt to compile to an invocation we're poking
around in the wrong data.
dgpplain2014-08-01 15:44:26
The followup after a failed call to
TclAttemptCompileProc() in CompileCmdCompileProc
wasn't copied over into TclCompileEnsemble().
dgpplain2014-08-01 16:02:44
copy/paste fix committed.

Further refactoring left as a future exercise.
Log in (anonymous is fine) to add a comment.