|
2026-11-11
| ||
| 09:45 | • Closed ticket [0e3f777ed5]: Segfault upon sequence of execution traces plus ... artifact: 78a6c33222 user: oehhar | |
| 09:44 | [0e3f777ed5] Segault upon sequence of execution traces check-in: a583dec2fd user: oehhar tags: core-8-6-branch | |
| 09:31 | [0e3f777ed5] Segault upon sequence of execution traces check-in: ff4839e9a3 user: oehhar tags: core-9-0-branch | |
| 09:30 | [0e3f777ed5] Segault upon sequence of execution traces check-in: 245d2b1c48 user: oehhar tags: trunk, main | |
|
2026-11-10
| ||
| 16:54 | • Ticket [0e3f777ed5] Segfault upon sequence of execution traces status still ... artifact: 29d3627d7c user: oehhar | |
| 16:53 | [0e3f777e] merge main closed check-in: 48d092ceb0 user: oehhar tags: interp-trace-delete-self | |
|
2026-10-14
| ||
| 18:11 | • Ticket [0e3f777ed5] Segfault upon sequence of execution traces status still ... artifact: 48cd208ac1 user: serhiy.storchaka | |
| 18:10 | Fix [0e3f777ed5]: crash when an enterstep trace removed itself while another enterstep trace was set... check-in: 711f947fb2 user: serhiy.storchaka tags: interp-trace-delete-self | |
|
2026-07-25
| ||
| 15:25 | • Ticket [0e3f777ed5] Segfault upon sequence of execution traces status still ... artifact: 6417b7c113 user: erikleunissen | |
| 15:23 | • Add attachment stack_trace.txt to ticket [0e3f777ed5] artifact: c893585e68 user: erikleunissen | |
| 15:23 | • Add attachment exercise.tcl to ticket [0e3f777ed5] artifact: 26bf69b260 user: erikleunissen | |
| 15:22 | • New ticket [0e3f777ed5] Segfault upon sequence of execution traces. artifact: 81742a99ef user: erikleunissen | |
| Ticket UUID: | 0e3f777ed566b80ba44886212cfd9882819ee06c | ||
| Title: | Segfault upon sequence of execution traces | ||
| Type: | Bug | Created on: | 2026-07-25 15:22:03 |
| Submitter: | erikleunissen | Assigned to: | nobody |
| Subsystem: | 46. Traces | Severity: | Severe |
| Priority: | 5 Medium | Last modified: | 2026-11-11 09:45:12 |
| Status: | Closed | Closed by: | oehhar |
| Resolution: | Fixed | Closed on: | 2026-11-11 09:45:12 |
| Version: | 8.6.18, 9.0.5, 9.1.0 | ||
| Description: | ||||
Attached reproducible script "exercise.tcl" and full stack trace in
"stack_trace.txt".
To reproduce do:
> cat exercise.tcl
proc p {} {
# This proc needs to hold at least one (arbitrary) command
# for enterstep traces to work.
puts "p invoked"
}
proc handleTrace1 {args} {
trace remove execution p enterstep handleTrace1
}
proc handleTrace0 {args} {
trace add execution p enterstep handleTrace1
}
trace add execution p leave handleTrace0
trace add execution p leave handleTrace0
p
p
> tclsh9.1 exercise.tcl
p invoked
Segmentation fault (core dumped)
| ||||
| User Comments: | ||||
serhiy.storchaka added on 2026-10-14 18:11:23:
Reproduced with 8.6.18, 9.0.5 and 9.1. When an enterstep trace removes itself while another enterstep trace is set, TclCheckInterpTraces() continues the reverse scan of the interpreter traces from the deleted trace and runs off the end of the list. Proposed fix in branch interp-trace-delete-self. Test trace-34.7. oehhar added on 2026-11-10 16:54:05:
Fix and test are effective. Will merge tomorrow if CI is clean. Thanks Serhiy, Harald oehhar added on 2026-11-11 09:45:12:
Merged to:
Thanks for all. Bug closed. Harald | ||||
Attachments:
- stack_trace.txt [download] added by erikleunissen on 2026-07-25 15:23:37. [details]
- exercise.tcl [download] added by erikleunissen on 2026-07-25 15:23:12. [details]
