Skip to content

Panic on windows when running ping-pongs #137

Open
@SinuxLee

Description

@SinuxLee

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 ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions