This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
error.Unexpected: GetLastError(1): Incorrect function. | |
D:\tools\zig-windows-x86_64-0.8.0-dev.2133+ad33e3483\lib\zig\std\debug.zig:442:53: 0x7ff611f4935a in std.debug.writeCurrentStackTraceWindows (bug.obj) | |
const n = windows.ntdll.RtlCaptureStackBackTrace(0, addr_buf.len, @ptrCast(**c_void, &addr_buf), null); | |
^ | |
D:\tools\zig-windows-x86_64-0.8.0-dev.2133+ad33e3483\lib\zig\std\debug.zig:427:45: 0x7ff611f32e2f in std.debug.writeCurrentStackTrace (bug.obj) | |
return writeCurrentStackTraceWindows(out_stream, debug_info, tty_config, start_addr); | |
^ | |
D:\tools\zig-windows-x86_64-0.8.0-dev.2133+ad33e3483\lib\zig\std\debug.zig:114:31: 0x7ff611f31ecc in std.debug.dumpCurrentStackTrace (bug.obj) | |
writeCurrentStackTrace(stderr, debug_info, detectTTYConfig(), start_addr) catch |err| { | |
^ | |
D:\tools\zig-windows-x86_64-0.8.0-dev.2133+ad33e3483\lib\zig\std\os\windows.zig:1707:40: 0x7ff611f33384 in std.os.windows.unexpectedError (bug.obj) | |
std.debug.dumpCurrentStackTrace(null); | |
^ | |
C:\temp\zig_issue_5476\bug.zig:3:42: 0x7ff611f330b6 in main (bug.obj) | |
return std.os.windows.unexpectedError(std.os.windows.Win32Error.INVALID_FUNCTION); | |
^ | |
D:\tools\zig-windows-x86_64-0.8.0-dev.2133+ad33e3483\lib\zig\std\start.zig:420:37: 0x7ff611f320c4 in std.start.callMain (bug.obj) | |
const result = root.main() catch |err| { | |
^ | |
D:\tools\zig-windows-x86_64-0.8.0-dev.2133+ad33e3483\lib\zig\std\start.zig:249:65: 0x7ff611f31a17 in std.start.WinStartup (bug.obj) | |
std.os.windows.kernel32.ExitProcess(initEventLoopAndCallMain()); | |
^ | |
Unable to dump stack trace: FileNotFound | |
error: Unexpected | |
D:\tools\zig-windows-x86_64-0.8.0-dev.2133+ad33e3483\lib\zig\std\os\windows.zig:1709:5: 0x7ff611f33396 in std.os.windows.unexpectedError (bug.obj) | |
return error.Unexpected; | |
^ | |
C:\temp\zig_issue_5476\bug.zig:3:5: 0x7ff611f330ca in main (bug.obj) | |
return std.os.windows.unexpectedError(std.os.windows.Win32Error.INVALID_FUNCTION); | |
^ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment