Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2023-01-28
18:55 • Ticket [ee08ed090b] sporadic segmentation fault in coroutine.test/coroutine-7.4<... artifact: 57cb4db7a4 user: jan.nijtmans
18:36 • Closed ticket [ee08ed090b]. artifact: c76cd02971 user: pooryorick
2023-01-27
21:47 • Ticket [ee08ed090b]: 3 changes artifact: 86387ada27 user: jan.nijtmans
10:10 • Ticket [ee08ed090b]: 3 changes artifact: a7053d2a82 user: pooryorick
00:06 • Pending ticket [ee08ed090b]. artifact: e83aa2fa8a user: pooryorick
2023-01-26
23:55
Fix for [ee08ed090b0a5408], sporadic segmentation fault in coroutine.test/coroutine-7.4. check-in: 417d67fc63 user: pooryorick tags: core-8-branch
23:53 • New ticket [ee08ed090b] sporadic segmentation fault in coroutine.test/coroutine-... artifact: 08f5d34150 user: pooryorick

sporadic segmentation fault in coroutine.test/coroutine-7.4

Closed / Fixedee08ed090b0a5408a0ad2e4fab429adec4aa31bfCreated 4 years agoUpdated 4 years ago
Descriptionwiki2023-01-26 23:53:58
coroutine-7.4 sometimes ends in a segmentation fault. This is because TclNRCoroutineObjCmd() does not initialize corPtr->yieldPtr, so that member may contain an invalid value when TclNRCoroutineActivateCallback() attempts to access it.
pooryorickwiki2023-01-27 00:06:24

Fixed in [417d67fc63d237b7].

pooryorick Ticket [ee08ed090b]: 3 changes [History diff]2023-01-27 10:10:30
jan.nijtmanswiki2023-01-27 21:47:26

Should this fix be backported to core-8-6-branch as well?

pooryorickwiki2023-01-28 18:36:43

Just checked, and 8.6 doesn't have this issue. Now closing.

jan.nijtmanswiki2023-01-28 18:55:03

Thanks!

Log in (anonymous is fine) to add a comment.