Rudy Ges
Rudy Ges
Right, it doesn't work with `[0,1,2].iter(item -> trace(item));` And this looks silly :sweat_smile: ```haxe overload extern inline function iter(it:Iterable, fn:T->Void) { for (item in it) fn(item); } overload extern inline...
Well, the display request optimizations come to mind, but that doesn't sound like the real issue (more like what makes the issue visible, like some other hxb issues). I suppose...
I must be missing something, I still cannot reproduce this (also not getting the warning during display requests) 😕
@Apprentice-Alchemist do you have an idea what we're doing wrong there that could cause this `Unix.Unix_error(Unix.EBADF, "recv", "")` error? https://github.com/HaxeFoundation/haxe/blob/db842bfd6c815784f16da415d6718bcb7d393a66/libs/mbedtls/mbedtls_stubs.c#L447-L450 https://github.com/HaxeFoundation/haxe/blob/db842bfd6c815784f16da415d6718bcb7d393a66/std/eval/_std/sys/ssl/Socket.hx#L27-L37 https://github.com/HaxeFoundation/haxe/blob/db842bfd6c815784f16da415d6718bcb7d393a66/std/sys/Http.hx#L444-L453 Edit: Seems like I can dodge the issue...
Yes the file needs to be big enough to trigger that issue. The GC workaround makes me think we're allocating a bit too much there, _and_ eval GC doesn't like...
Well.. locally it's worse than before (the workaround isn't working anymore), even if CI seems fine so far :thinking: There's something wrong with the mbedtls 3 impl I think, will...
> Works fine on my machine, with or without the workaround. (Arch Linux, compiler linked with mbedtls 3) You do enable https tests by commenting out this line, right? https://github.com/HaxeFoundation/haxe/blob/6bda9cca3e56c5172e016511c8804f36730cc677/tests/unit/src/unit/TestHttps.hx#L7...
Doesn't give anything :/ Can't repro my issue on CI, but also can't make it work locally unless I force mbedtls 2.. Also, a similar fix might be needed for...
Ah nice, thanks! Would be nice to have a draft PR with your branch so that it could be done at some point (by you or someone else), and I...
I'm still getting `malloc(): invalid size (unsorted)` locally, which * is really annoying, since I do work with eval target (and it's worse than before for me since I can't...