Overview
| Artifact ID: | 7addd658fc0608bc45e2af010cf955cfca2978f7 |
|---|---|
| Ticket: | 217936ffffffffffffffffffffffffffffffffff
Tcl crashes after "emptying" a list object with Tcl_SetListO |
| User & Date: | nobody on 2000-10-26 00:46:18 |
Changes
- assignee changed to: "nobody"
- cmimetype changed to: "text/plain"
- comment changed to:
OriginalBugID: 3426 Bug Version: 8.2.1 SubmitDate: '1999-11-05' LastModified: '1999-11-08' Severity: CRIT Status: Closed Submitter: techsupp ChangedBy: hobbs RelatedBugIDs: 3436 OS: Other FixedDate: '2000-10-25' ClosedDate: '1999-11-08' Name: George Petasis ObservedBehavior: This code cause an illegal instruction on both windows 98 SE and NT 4.0 SP5 where it was tested. If the application is built as a console application, from the printf statement we get that it crashes at j=2. It seems that Tcl_SetListObj cannot handle properly list objects, some elements of which are shared. This problem is not reproducable under unix though, which is quite strange. But it might be related with the other bug report that I have submitted with title "[Bug Tcl 8.2.1] Possible Bug in internal memory management of the Tcl_Obj * structure". (also there was a small mistake in that report. In order for the bug to happen, one must use the following script: for {set i 0} {$i < 10} {incr i} { foreach cmd [info commands] { lappend list $cmd } } Bug $list ) - foundin changed to: "obsolete: 8.2.1"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "nobody"
- subsystem changed to: "69. Other"
- title changed to:
Tcl crashes after "emptying" a list object with Tcl_SetListO
- type changed to: "Bug"