Skip to content

Fix -Dtracing raises math overflows on fiber sleep#15722

Merged
straight-shoota merged 1 commit intocrystal-lang:masterfrom
ysbaddaden:fix/crystal-tracing-raises-mathoverflows
Apr 28, 2025
Merged

Fix -Dtracing raises math overflows on fiber sleep#15722
straight-shoota merged 1 commit intocrystal-lang:masterfrom
ysbaddaden:fix/crystal-tracing-raises-mathoverflows

Conversation

@ysbaddaden
Copy link
Collaborator

Using -Dtracing and CRYSTAL_TRACE=sched can lead to math overflows when a fiber goes to sleep, especially with exception contexts.

@ysbaddaden ysbaddaden self-assigned this Apr 28, 2025
@ysbaddaden ysbaddaden added kind:bug A bug in the code. Does not apply to documentation, specs, etc. topic:stdlib:runtime labels Apr 28, 2025
@straight-shoota straight-shoota added this to the 1.16.2 milestone Apr 28, 2025
@straight-shoota straight-shoota merged commit 1dbef72 into crystal-lang:master Apr 28, 2025
37 checks passed
@crysbot
Copy link
Collaborator

crysbot commented Apr 28, 2025

Successfully created backport PR for release/1.16:

straight-shoota pushed a commit that referenced this pull request Apr 28, 2025
Co-authored-by: Julien Portalier <julien@portalier.com>
@ysbaddaden ysbaddaden deleted the fix/crystal-tracing-raises-mathoverflows branch April 29, 2025 09:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport release/1.16 kind:bug A bug in the code. Does not apply to documentation, specs, etc. topic:stdlib:runtime

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants