Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Panic on windows when running ping-pongs #137

Open
SinuxLee opened this issue Jan 23, 2025 · 0 comments
Open

Panic on windows when running ping-pongs #137

SinuxLee opened this issue Jan 23, 2025 · 0 comments

Comments

@SinuxLee
Copy link

Compile in debug mode.

.\zig-out\bench\ping-pongs.exe
thread 27016 panic: @memcpy arguments have non-equal lengths
...\libxev\src\watcher\stream.zig:151:46: 0xa6c68 in callback (ping-pongs.exe.obj)
                                        if (r.recv) |v| v else |err| err,
                                             ^
...\libxev\src\backend\iocp.zig:348:51: 0x67b2c in tick (ping-pongs.exe.obj)
                const action = completion.callback(completion.userdata, self, completion, result);
                                                  ^
...\libxev\src\backend\iocp.zig:172:62: 0x69352 in run (ping-pongs.exe.obj)
            .until_done => while (!self.done()) try self.tick(1),
                                                             ^
...\libxev\src\bench\ping-pongs.zig:243:26: 0xb7247 in threadMain (ping-pongs.exe.obj)
        try self.loop.run(.until_done);
                         ^
D:\zig-windows-x86_64-0.13.0\lib\std\Thread.zig:429:13: 0xa75b8 in callFn__anon_10439 (ping-pongs.exe.obj)
            @call(.auto, f, args) catch |err| {
            ^
D:\zig-windows-x86_64-0.13.0\lib\std\Thread.zig:518:30: 0x6f9fe in entryFn (ping-pongs.exe.obj)
                return callFn(f, self.fn_args);
                             ^
???:?:?: 0x7fff74b97373 in ??? (KERNEL32.DLL)
???:?:?: 0x7fff7599cc90 in ??? (ntdll.dll)

Is there any more information I need to provide ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant