Skip to content

Instantly share code, notes, and snippets.

@smj-edison
Created November 18, 2025 00:03
Show Gist options
  • Select an option

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

Select an option

Save smj-edison/102539aac47ff844a7af70f0c23feec5 to your computer and use it in GitHub Desktop.
test
+- run test zigtcl-test failure
thread 92348 panic: incorrect alignment
/usr/lib/zig/std/mem/Allocator.zig:283:82: 0x1153fff in allocBytesWithAlignment__anon_22535 (std.zig)
const byte_ptr = self.rawAlloc(byte_count, alignment, return_address) orelse return Error.OutOfMemory;
^
/usr/lib/zig/std/mem/Allocator.zig:269:5: 0x11f0754 in allocWithSizeAndAlignment__anon_33200 (std.zig)
return self.allocBytesWithAlignment(alignment, byte_count, return_address);
^
/usr/lib/zig/std/mem/Allocator.zig:245:5: 0x11ebece in alignedAlloc__anon_33057 (std.zig)
return self.allocAdvancedWithRetAddr(T, alignment, n, @returnAddress());
^
/usr/lib/zig/std/array_list.zig:1231:36: 0x11e86ea in ensureTotalCapacityPrecise (std.zig)
const new_memory = try gpa.alignedAlloc(T, alignment, new_capacity);
^
/usr/lib/zig/std/array_list.zig:1207:13: 0x11e1e55 in ensureTotalCapacity (std.zig)
return self.ensureTotalCapacityPrecise(gpa, growCapacity(self.capacity, new_capacity));
^
/usr/lib/zig/std/array_list.zig:1261:13: 0x11d6e7b in addOne (std.zig)
try self.ensureTotalCapacity(gpa, newlen);
^
/usr/lib/zig/std/array_list.zig:894:34: 0x11c59d3 in append (std.zig)
const new_item_ptr = try self.addOne(gpa);
^
/home/user/dev/zig/zicl/src/object.zig:784:21: 0x11ae4be in shimmerToList (root.zig)
try tokens.append(calling_heap.gpa, next_token);
^
/usr/lib/zig/std/hash_map.zig:784:44: 0x11db55a in header (std.zig)
return @ptrCast(@as([*]Header, @ptrCast(@alignCast(self.metadata.?))) - 1);
^
/usr/lib/zig/std/hash_map.zig:798:31: 0x11db4ad in capacity (std.zig)
return self.header().capacity;
^
/usr/lib/zig/std/hash_map.zig:824:41: 0x11e6fa3 in valueIterator (std.zig)
.len = self.capacity(),
^
/home/user/dev/zig/zicl/src/Heap.zig:630:63: 0x11e002b in clearParsedScripts (root.zig)
var parsed_script_iter = self.parsed_scripts.valueIterator();
^
/home/user/dev/zig/zicl/src/Heap.zig:1505:28: 0x11d4508 in leakCheck (root.zig)
heap.clearParsedScripts();
^
/home/user/dev/zig/zicl/src/Heap.zig:1724:27: 0x11d4bdb in leakCheckAll (root.zig)
if (heap.leakCheck() catch false) {
^
/home/user/dev/zig/zicl/src/Heap.zig:1749:22: 0x11bfe1c in testFinish (root.zig)
Heap.leakCheckAll();
^
/home/user/dev/zig/zicl/src/object.zig:939:26: 0x11b2af2 in testLists (root.zig)
defer Heap.testFinish();
^
/usr/lib/zig/std/testing.zig:1146:9: 0x11b42cd in checkAllAllocationFailures__anon_30034 (std.zig)
if (@call(.auto, test_fn, args)) |_| {
^
/home/user/dev/zig/zicl/src/object.zig:978:43: 0x11b4bfe in test.lists (root.zig)
try testing.checkAllAllocationFailures(testing.allocator, testLists, .{});
^
/usr/lib/zig/compiler/test_runner.zig:130:29: 0x1159a2e in mainServer (test_runner.zig)
test_fn.func() catch |err| switch (err) {
^
/usr/lib/zig/compiler/test_runner.zig:64:26: 0x115ace6 in main (test_runner.zig)
return mainServer() catch @panic("internal test runner failure");
^
/usr/lib/zig/std/start.zig:618:22: 0x1154acd in posixCallMainAndExit (std.zig)
root.main();
^
/usr/lib/zig/std/start.zig:232:5: 0x1154361 in _start (std.zig)
asm volatile (switch (native_arch) {
^
???:?:?: 0x0 in ??? (???)
error: while executing test 'object.test.lists', the following command terminated with signal 6 (expected exited with code 0):
./.zig-cache/o/6c37f87b158d5991d0c3e2b60c8f23b4/zigtcl-test --cache-dir=./.zig-cache --seed=0xaebb3a48 --listen=-
Build Summary: 5/7 steps succeeded; 1 failed; 2/2 tests passed
test transitive failure
+- run test zigtcl-test failure
error: the following build command failed with exit code 1:
.zig-cache/o/23e61348d787e4db0c59c6c895611d81/build /usr/bin/zig /usr/lib/zig /home/user/dev/zig/zicl .zig-cache /home/user/.cache/zig --seed 0xaebb3a48 -Zbda2f513188fcaf4 test -Dtest-filter=lists
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment