Overview
| Artifact ID: | 0254b353f9ce7d71f72f706c2ca56d1a07dc21bc232622e5d38a0eff74684341 |
|---|---|
| Ticket: | 3027822fffffffffffffffffffffffffffffffff
Failure of [expr] with [interp limit] and [vwait] |
| User & Date: | serhiy.storchaka on 2026-10-17 09:30:42 |
Changes
- foundin changed to: "8.6.18, 9.0.5, 9.1.0"
- icomment:
Still present in 8.6–9.1. The child hits its time limit, the limit handler enters <nowiki>[vwait]</nowiki>, and the child's pending time-limit timer fires there. It runs the limit check again and raises a background error in the busy child, which clobbers the child's interp result. The math function then returns garbage to <nowiki>[expr]</nowiki>. Proposed fix in branch [/timeline?r=time-limit-handler-reentry|time-limit-handler-reentry]: TimeLimitCallback does nothing while the time limit is marked exceeded, i.e. while its handlers are running. The outer check decides, and a new limit re-arms the timer. This also fixes [3048170fff]. Test interp-34.15.
- login: "serhiy.storchaka"
- mimetype: "text/x-fossil-wiki"