Created
March 11, 2021 21:43
-
-
Save marler8997/0629cb757b71ee9db1ca92e14d650eb6 to your computer and use it in GitHub Desktop.
Crash on Windows from from https://github.com/ziglang/zig/pull/8174
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
thread 34584 panic: integer overflow | |
D:\git\zig\lib\std\Progress.zig:212:66: 0x7ff684d0221a in std.Progress.refreshWithHeldLock (zig.o) | |
const fill_chars = @intCast(windows.DWORD, info.dwSize.X * (info.dwSize.Y - info.dwCursorPosition.Y) - info.dwCursorPosition.X); | |
^ | |
D:\git\zig\lib\std\Progress.zig:174:36: 0x7ff684c96dd1 in std.Progress.maybeRefresh (zig.o) | |
return self.refreshWithHeldLock(); | |
^ | |
D:\git\zig\lib\std\Progress.zig:100:34: 0x7ff684c969ba in std.Progress.Node::std.Progress.Node.end (zig.o) | |
self.context.maybeRefresh(); | |
^ | |
D:\git\zig\src\stage1.zig:328:13: 0x7ff684c96956 in stage2_progress_end (zig.o) | |
node.end(); | |
^ | |
D:\git\zig\src\stage1\codegen.cpp:9720:0: 0x7ff684b1a2b6 in codegen_switch_sub_prog_node (codegen.o) | |
stage2_progress_end(g->sub_progress_node); | |
D:\git\zig\src\stage1\codegen.cpp:9586:0: 0x7ff684b198b5 in codegen_build_object (codegen.o) | |
codegen_switch_sub_prog_node(g, nullptr); | |
D:\git\zig\src\stage1\stage1.cpp:130:0: 0x7ff684c42463 in zig_stage1_build_object (stage1.o) | |
codegen_build_object(g); | |
D:\git\zig\src\stage1.zig:143:32: 0x7ff684fac8b6 in Module::Module.build_object (zig.o) | |
zig_stage1_build_object(mod); | |
^ | |
D:\git\zig\src\Compilation.zig:3334:31: 0x7ff684e32f64 in Compilation.updateStage1Module (zig.o) | |
stage1_module.build_object(); | |
^ | |
D:\git\zig\src\Compilation.zig:1785:36: 0x7ff684decd6e in Compilation.performAllTheWork (zig.o) | |
self.updateStage1Module(main_progress_node) catch |err| { | |
^ | |
D:\git\zig\src\Compilation.zig:1371:31: 0x7ff684de6fee in Compilation.update (zig.o) | |
try self.performAllTheWork(); | |
^ | |
D:\git\zig\src\Compilation.zig:2994:31: 0x7ff684f9cce4 in Compilation.updateSubCompilation (zig.o) | |
try sub_compilation.update(); | |
^ | |
D:\git\zig\src\Compilation.zig:3098:45: 0x7ff684e30775 in Compilation.buildOutputFromZig (zig.o) | |
try sub_compilation.updateSubCompilation(); | |
^ | |
D:\git\zig\src\Compilation.zig:1751:36: 0x7ff684decb6b in Compilation.performAllTheWork (zig.o) | |
self.buildOutputFromZig("compiler_rt.zig", .Lib, &self.compiler_rt_static_lib) catch |err| { | |
^ | |
D:\git\zig\src\Compilation.zig:1371:31: 0x7ff684de6fee in Compilation.update (zig.o) | |
try self.performAllTheWork(); | |
^ | |
D:\git\zig\src\main.zig:2097:20: 0x7ff684d7865c in main.updateModule (zig.o) | |
try comp.update(); | |
^ | |
D:\git\zig\src\main.zig:2594:25: 0x7ff684cb5a47 in main.cmdBuild (zig.o) | |
try updateModule(gpa, comp, .none); | |
^ | |
D:\git\zig\src\main.zig:196:24: 0x7ff684c94ef0 in main.mainArgs (zig.o) | |
return cmdBuild(gpa, arena, cmd_args); | |
^ | |
D:\git\zig\src\stage1.zig:45:24: 0x7ff684c94345 in main (zig.o) | |
stage2.mainArgs(gpa, arena, args) catch unreachable; | |
^ | |
???:?:?: 0x7ff68568e7e9 in ??? (crt2.o) | |
???:?:?: 0x7ff68568e845 in ??? (crt2.o) | |
Unable to dump stack trace: FileNotFound |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment