Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save smj-edison/85ccb0d824a4660f71651114ec1413f0 to your computer and use it in GitHub Desktop.

Select an option

Save smj-edison/85ccb0d824a4660f71651114ec1413f0 to your computer and use it in GitHub Desktop.
test
└─ run test zicl-test 2 pass, 1 crash (3 total)
error: 'test.try_catch.test.fn command' terminated with signal ABRT with stderr:
WARNING: no trace collected as it was disabled in options.
thread 635153 panic: switch on corrupt value
/tmp/zicl/src/Heap.zig:2538:28: 0x1142863 in duplicateSingle (zicl-test)
.str = try dest_heap.duplicateObjString(handle),
^
/tmp/zicl/src/Heap.zig:2698:55: 0x1141e5b in duplicate (zicl-test)
new_item.* = dest_heap.duplicateSingle(.{
^
/tmp/zicl/src/Heap.zig:2264:46: 0x10f4974 in ensureMutableOrDup (zicl-test)
new_handle.swapRef(try Heap.duplicate(local_heap, handle));
^
/tmp/zicl/src/objutil.zig:2074:36: 0x113eb3e in dictPutObject (zicl-test)
const result = try dictPutInner(new.orElse(original), key, value);
^
/tmp/zicl/src/Interp.zig:456:31: 0x113f1cc in setVariableInner (zicl-test)
try createVariable(interp, call_frame_idx, name, value);
^
/tmp/zicl/src/Interp.zig:3174:55: 0x10f735f in setVariableTo (zicl-test)
try interp.wrapError(&det, interp.setVariableInner(
^
/tmp/zicl/src/commands.zig:1617:33: 0x11362e4 in closureHelper (zicl-test)
try interp.setVariableTo(val, closure_obj);
^
/tmp/zicl/src/Interp.zig:1383:42: 0x111b41f in callNative (zicl-test)
.zig => |to_call| try to_call(interp, args),
^
/tmp/zicl/src/Interp.zig:2669:29: 0x11170e7 in invokeCommandMaybeMethod (zicl-test)
try interp.invokeCommand(command, args.*);
^
/tmp/zicl/src/Interp.zig:2947:27: 0x1113635 in evalObject (zicl-test)
return evalObjectInner(interp, interp.callFrameIdx(), script, cache_key);
^
/tmp/zicl/src/Interp.zig:3457:26: 0x1106006 in testRunScript (zicl-test)
try interp.evalObject(script_handle);
^
/tmp/zicl/src/test/try_catch.zig:102:38: 0x11082ca in test.fn command (zicl-test)
try interp.testExpectScriptResult("15",
^
/tmp/zicl/src/test_runner.zig:152:68: 0x10738ba in mainServer (zicl-test)
const status: TestResults.Status = if (test_fn.func()) |v| s: {
^
/tmp/zicl/src/test_runner.zig:83:26: 0x1072d21 in main (zicl-test)
return mainServer(init) catch |err| panicFmt("internal test runner failure: {t}", .{err});
^
/usr/lib/zig/libc/musl/src/env/__libc_start_main.c:95:7: 0x1188ab9 in libc_start_main_stage2 (/usr/lib/zig/libc/musl/src/env/__libc_start_main.c)
exit(main(argc, argv, envp));
^
Unwind error at address `/proc/self/exe:0x1188ab9` (unwind info unavailable), remaining frames may be incorrect
failed command: ./.zig-cache/o/5eb4e23a0d4a63f8b09040e292ce2d57/zicl-test --cache-dir=./.zig-cache --seed=0x39d8200c --listen=-
Build Summary: 12/14 steps succeeded (1 failed); 2/3 tests passed (1 crashed)
test transitive failure
└─ run test zicl-test 2 pass, 1 crash (3 total)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment