|
00:37
eseyman left
00:47
rmv left
01:29
guifa left
01:48
hulk joined
01:49
kylese left
01:50
guifa joined
02:09
guifa left
02:15
hulk left,
kylese joined
|
|||
| simon_sibl | glad I can help with my little knowledge to find issues xD | 02:15 | |
|
02:42
rmv joined
02:47
rmv left
|
|||
| timo | what's "the memory issue"? | 02:47 | |
|
03:59
lichtkind__ joined
04:02
lichtkind_ left
|
|||
| simon_sibl | this ? github.com/rakudo/rakudo/issues/6368 | 04:11 | |
| timo | ah. i would have expected that to go away with locking. i'll look into it to make sure it's not a moarvm bug but none of the changes in the last two months looked like they could cause something like that | 04:14 | |
| does it always happen? after some amount of time or pretty much immediately? | 04:16 | ||
| any difference between a fresh from-zero download or a resume? | 04:17 | ||
| > Done Downloading !!! | 04:21 | ||
| simon_sibl | it seems to be random | 04:23 | |
| but with the latest version, it either crashes with that message or just get stuck immediately | |||
| timo | yeah that getting stuck should be the utf8 decoding thing | ||
| simon_sibl | but I thought 2026.06 fixed it ? | 04:24 | |
| timo | no, 2026.06 introduced it, a point release for 2026.06 could fix it | 04:27 | |
| simon_sibl | ah I see | ||
| so which version did you use now to test the download ? | |||
| timo | is it important that bstr in the Bencode actions sometimes returns a Str? | 04:30 | |
| that's where it hangs for me | |||
| you can try utf8-c8 as the encoding there, it will never fail to give you a Str, though invalid utf8 will look funky | |||
| m: my $in = Buf.new(0x22, 0x98, 0x06, 0xbc, 0xb8, 0x3a, 0x96, 0xd9); say $in.decode("utf8-c8"); say try $in.decode; say $! | 04:33 | ||
| camelia | "x98xBCxB8:x96xD9 Nil Malformed UTF-8 near byte 98 at line 1 col 2 in block <unit> at <tmp> line 1 |
||
| timo | i guess making it decode as utf8-c8 immediately gives me "done downloading!" at 0/0 pieces, hehe. | 04:35 | |
| i can't get it to give the moarvm oops over here | 04:39 | ||
| i hope seeders don't get mad at me for restarting the download so often | 04:41 | ||
| what operating system are you on? if you're on linux, you can install `rr` and make me an `rr record`ing so i don't have to try to reproduce it locally myself | 04:52 | ||
| if you're using rakudobrew to get your rakudos, you can ask it to build a moarvm from commit a3a507141 | 04:56 | ||
| linkable6 | (2026-06-30) github.com/MoarVM/MoarVM/commit/a3a5071413 utf8: Do not lock up when very long string has invalid utf8 in it. | ||
| timo | shareable6: 1e6543d83 | 04:57 | |
| shareable6 | timo, whateverable.6lang.org/1e6543d83 | ||
| timo | you can also use this pre-build rakudo which will have the right moarvm in it | ||
| you seem to be protecting the pieces manager with different locks, that doesn't seem like a good idea? | 05:06 | ||
| oh you pass the pm-lock to BT::Peers.new, never mind | 05:07 | ||
|
05:08
manu_ joined,
manu_ is now known as eseyman
|
|||
| timo | even with the protect calls to the lock I can't get the crash | 05:12 | |