We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
0.11.0-dev.1426+d39512755
$ ./stage3/bin/zig build test-cases -Denable-macos-sdk -Denable-llvm -Dforce-gpa [gpa] (err): memory address 0xcb19ee800 leaked: /Users/kubkon/dev/zig/build/stage3/lib/zig/std/heap/arena_allocator.zig:187:35: 0x1041356b3 in alloc (test) (self.createNode(0, n + ptr_align) orelse return null); ^ /Users/kubkon/dev/zig/build/stage3/lib/zig/std/mem/Allocator.zig:86:34: 0x104581d07 in allocAdvancedWithRetAddr__anon_94350 (test) return self.vtable.alloc(self.ptr, len, ptr_align, ret_addr); ^ /Users/kubkon/dev/zig/build/stage3/lib/zig/std/mem/Allocator.zig:105:52: 0x10438d06f in create__anon_81044 (test) const slice = try self.allocAdvancedWithRetAddr(T, null, 1, @returnAddress()); ^ /Users/kubkon/dev/zig/src/Module.zig:4327:59: 0x10419a2af in semaFile (test) const struct_obj = try new_decl_arena_allocator.create(Module.Struct); ^ /Users/kubkon/dev/zig/src/Sema.zig:11675:28: 0x1045b79fb in zirImport (test) try mod.semaFile(result.file); ^ /Users/kubkon/dev/zig/src/Sema.zig:947:64: 0x1043a3ae7 in analyzeBodyInner (test) .import => try sema.zirImport(block, inst), ^ /Users/kubkon/dev/zig/src/Sema.zig:810:45: 0x1041eb143 in analyzeBodyBreak (test) const break_inst = sema.analyzeBodyInner(block, body) catch |err| switch (err) { ^ /Users/kubkon/dev/zig/src/Module.zig:4519:50: 0x1041e79bb in semaDecl (test) const result_ref = (try sema.analyzeBodyBreak(&block_scope, body)).?.operand;
No memory leaks are reported.
The text was updated successfully, but these errors were encountered:
i just ran zig build test-cases -Denable-llvm -Dforce-gpa. there's no leak in master
zig build test-cases -Denable-llvm -Dforce-gpa
Sorry, something went wrong.
Yes this was fixed with the merge of #15569. Thanks @alichraghi
No branches or pull requests
Zig Version
0.11.0-dev.1426+d39512755
Steps to Reproduce and Observed Behavior
Expected Behavior
No memory leaks are reported.
The text was updated successfully, but these errors were encountered: