Open 0xNineteen opened 2 weeks ago
x19@x19s-MacBook-Pro sig % zig build test test └─ run test 337/338 passed, 1 failed error: 'utils.allocators.test.disk allocator stdlib test' failed: /Users/x19/Documents/zig-macos-aarch64-0.13.0/lib/std/mem/Allocator.zig:225:89: 0x1092caceb in allocBytesWithAlignment__anon_48594 (test) const byte_ptr = self.rawAlloc(byte_count, log2a(alignment), return_address) orelse return Error.OutOfMemory; ^ /Users/x19/Documents/zig-macos-aarch64-0.13.0/lib/std/mem/Allocator.zig:211:5: 0x1092d0687 in allocWithSizeAndAlignment__anon_48729 (test) return self.allocBytesWithAlignment(alignment, byte_count, return_address); ^ /Users/x19/Documents/zig-macos-aarch64-0.13.0/lib/std/mem/Allocator.zig:193:5: 0x109833fcb in alignedAlloc__anon_65456 (test) return self.allocAdvancedWithRetAddr(T, alignment, n, @returnAddress()); ^ /Users/x19/Documents/zig-macos-aarch64-0.13.0/lib/std/array_list.zig:457:36: 0x1096a075f in ensureTotalCapacityPrecise (test) const new_memory = try self.allocator.alignedAlloc(T, alignment, new_capacity); ^ /Users/x19/Documents/zig-macos-aarch64-0.13.0/lib/std/array_list.zig:434:13: 0x10953788f in ensureTotalCapacity (test) return self.ensureTotalCapacityPrecise(better_capacity); ^ /Users/x19/Documents/zig-macos-aarch64-0.13.0/lib/std/array_list.zig:483:13: 0x1093d0ff3 in addOne (test) try self.ensureTotalCapacity(newlen); ^ /Users/x19/Documents/zig-macos-aarch64-0.13.0/lib/std/array_list.zig:262:34: 0x1090744bb in append (test) const new_item_ptr = try self.addOne(); ^ /Users/x19/Documents/zig-macos-aarch64-0.13.0/lib/std/heap.zig:871:9: 0x109074053 in testAllocatorAlignedShrink (test) try stuff_to_free.append(slice); ^ /Users/x19/Documents/sig/src/utils/allocators.zig:838:9: 0x1090752df in test.disk allocator stdlib test (test) try std.heap.testAllocatorAlignedShrink(dma); ^
@InKryption any thoughts on why this might fail sometimes?