diff --git a/lib/std/os/macos/darwin.c3 b/lib/std/os/macos/darwin.c3 index 049128092..c5216cb4a 100644 --- a/lib/std/os/macos/darwin.c3 +++ b/lib/std/os/macos/darwin.c3 @@ -120,7 +120,7 @@ fn Backtrace? backtrace_load_element(Allocator allocator, String execpath, void* string::bformat(&&(char[64]){}, "%p", load_address), string::bformat(&&(char[64]){}, "%p", buffer - 1), "-fullPath" })!; - @stack_mem(512; Allocator mem) + @stack_mem(2048; Allocator mem) { String[] parts = s.split(mem, " ", 5); if (parts.len == 4) diff --git a/releasenotes.md b/releasenotes.md index 68f053089..6862e0acc 100644 --- a/releasenotes.md +++ b/releasenotes.md @@ -61,6 +61,7 @@ - Fix `LinkedList.to_format` to properly iterate linked list for printing. - Hashing a vector would not use the entire vector in some cases. - Fix to `temp_directory` on Windows #2762. +- Too little memory reserved when printing backtrace on Darwin #2698. ### Stdlib changes - Add `ThreadPool` join function to wait for all threads to finish in the pool without destroying the threads.