mbcodeandsound (Mike Bourgeous)
- Login: mbcodeandsound
- Registered on: 04/07/2025
- Last sign in: 04/07/2025
Issues
| open | closed | Total | |
|---|---|---|---|
| Assigned issues | 0 | 0 | 0 |
| Reported issues | 0 | 1 | 1 |
Activity
04/09/2025
-
03:48 AM Ruby Bug #21220: Memory corruption in update_line_coverage() [write at index -1]
- mame (Yusuke Endoh) wrote in #note-8:
> @mbcodeandsound Just FYI, I bet you meant to write `!(1..16).cover?(channel)` in the following line.
> ...
Yes I did, thanks (`0..15` as well rather than `1..16`)! I didn't even know about the fli...
04/07/2025
-
05:33 PM Ruby Bug #21220: Memory corruption in update_line_coverage() [write at index -1]
- Something like this should prevent the memory corruption, but may be hiding a deeper issue:
``` diff
--- thread.c 2025-02-14 14:25:54.000000000 -0700
+++ thread_fix.c 2025-04-07 11:32:53.571115993 -0600
@@ -5675,7 +5675,7... -
05:27 PM Ruby Bug #21220 (Closed): Memory corruption in update_line_coverage() [write at index -1]
- Hello!
I have encountered repeatable memory corruption in Ruby 3.4.2 on Ubuntu 24.04.2 LTS, which I believe is happening in update_line_coverage(). I could not reproduce this on Ruby 3.x or earlier. My findings follow. I also have ...