gptscript-ai / desktop

MIT License
19 stars 13 forks source link

UI - "out of memory error" encountered when LLM was processing large number of files. #106

Closed sangee2004 closed 6 days ago

sangee2004 commented 1 month ago

gptscript version v0.0.0-dev-498381d1-dirty

Steps to reproduce the problem:

  1. Execute the following script in ui
 % cat testgen.gpt 
Name: gptscripttestgenerator
Context: github.com/gptscript-ai/clio/context, environment
Chat: true

You are an assistant for helping me build extensive test plans for testing gptscript cli.

Rules
1. Use output from `gptscript --help` as starting point for constructing test cases.
2. You also have access to full documentaion of the product in /Users/sangeethahariharan/gptscript/docs/docs that should be used to fully to explore all possible test cases to get full coverage when asked to generate testplan. Make sure to come up with atleast 1 test case to cover every gptscript functionality defined in all the sections in this documentation.Make sure to use all files under the documentation directory reccurssively. 
3. When writing a test case , have the following structure:
Description: General description of what the test case intends to test
Steps: Enumerate all the steps needed to execute this test case. Include a pre requisite section if needed
Desired Result: What should be the expected result when following the steps from Steps section

---
Name: environment

#!/bin/bash

gptscript --help || true
  1. Ask it to "generate test plan for all the features present in the docs".
  2. When asked for confirming Read calls , choose allow all option.
  3. Notice that after few minutes , UI will encounter "out of memory error"

Following errors are seen in the UI console:

<--- Last few GCs --->

[99135:0x128008000]   489564 ms: Scavenge (reduce) 4092.4 (4106.9) -> 4092.4 (4106.9) MB, 0.54 / 0.00 ms  (average mu = 0.996, current mu = 0.978) allocation failure; 
[99135:0x128008000]   489570 ms: Mark-Compact (reduce) 4097.0 (4111.5) -> 4097.0 (4111.3) MB, 4.67 / 0.00 ms  (+ 0.0 ms in 0 steps since start of marking, biggest step 0.0 ms, walltime since start of marking 13 ms) (average mu = 0.988, current mu = 0.782)

<--- JS stacktrace --->

FATAL ERROR: Reached heap limit Allocation failed - JavaScript heap out of memory
----- Native stack trace -----

 1: 0x104a20080 node::OOMErrorHandler(char const*, v8::OOMDetails const&) [/Users/sangeethahariharan/Library/Caches/gptscript/repos/runtimes/node/1ea518f316ed9f397f96c0cece74566c944dbdae95ee49676016d48fd8517e35/node-v21.7.0-darwin-arm64/bin/node]
 2: 0x104bd886c v8::internal::V8::FatalProcessOutOfMemory(v8::internal::Isolate*, char const*, v8::OOMDetails const&) [/Users/sangeethahariharan/Library/Caches/gptscript/repos/runtimes/node/1ea518f316ed9f397f96c0cece74566c944dbdae95ee49676016d48fd8517e35/node-v21.7.0-darwin-arm64/bin/node]
 3: 0x104db8fd8 v8::internal::Heap::stack() [/Users/sangeethahariharan/Library/Caches/gptscript/repos/runtimes/node/1ea518f316ed9f397f96c0cece74566c944dbdae95ee49676016d48fd8517e35/node-v21.7.0-darwin-arm64/bin/node]
 4: 0x104db71e8 v8::internal::Heap::CollectGarbage(v8::internal::AllocationSpace, v8::internal::GarbageCollectionReason, v8::GCCallbackFlags) [/Users/sangeethahariharan/Library/Caches/gptscript/repos/runtimes/node/1ea518f316ed9f397f96c0cece74566c944dbdae95ee49676016d48fd8517e35/node-v21.7.0-darwin-arm64/bin/node]
 5: 0x104dae4d4 v8::internal::HeapAllocator::AllocateRawWithLightRetrySlowPath(int, v8::internal::AllocationType, v8::internal::AllocationOrigin, v8::internal::AllocationAlignment) [/Users/sangeethahariharan/Library/Caches/gptscript/repos/runtimes/node/1ea518f316ed9f397f96c0cece74566c944dbdae95ee49676016d48fd8517e35/node-v21.7.0-darwin-arm64/bin/node]
 6: 0x104daed70 v8::internal::HeapAllocator::AllocateRawWithRetryOrFailSlowPath(int, v8::internal::AllocationType, v8::internal::AllocationOrigin, v8::internal::AllocationAlignment) [/Users/sangeethahariharan/Library/Caches/gptscript/repos/runtimes/node/1ea518f316ed9f397f96c0cece74566c944dbdae95ee49676016d48fd8517e35/node-v21.7.0-darwin-arm64/bin/node]
 7: 0x104d923f4 v8::internal::Factory::AllocateRaw(int, v8::internal::AllocationType, v8::internal::AllocationAlignment) [/Users/sangeethahariharan/Library/Caches/gptscript/repos/runtimes/node/1ea518f316ed9f397f96c0cece74566c944dbdae95ee49676016d48fd8517e35/node-v21.7.0-darwin-arm64/bin/node]
 8: 0x104d887ec v8::internal::FactoryBase<v8::internal::Factory>::NewRawTwoByteString(int, v8::internal::AllocationType) [/Users/sangeethahariharan/Library/Caches/gptscript/repos/runtimes/node/1ea518f316ed9f397f96c0cece74566c944dbdae95ee49676016d48fd8517e35/node-v21.7.0-darwin-arm64/bin/node]
 9: 0x105080c78 v8::internal::String::SlowFlatten(v8::internal::Isolate*, v8::internal::Handle<v8::internal::ConsString>, v8::internal::AllocationType) [/Users/sangeethahariharan/Library/Caches/gptscript/repos/runtimes/node/1ea518f316ed9f397f96c0cece74566c944dbdae95ee49676016d48fd8517e35/node-v21.7.0-darwin-arm64/bin/node]
10: 0x104bf398c v8::String::Utf8Length(v8::Isolate*) const [/Users/sangeethahariharan/Library/Caches/gptscript/repos/runtimes/node/1ea518f316ed9f397f96c0cece74566c944dbdae95ee49676016d48fd8517e35/node-v21.7.0-darwin-arm64/bin/node]
11: 0x1049ec918 node::Buffer::(anonymous namespace)::SlowByteLengthUtf8(v8::FunctionCallbackInfo<v8::Value> const&) [/Users/sangeethahariharan/Library/Caches/gptscript/repos/runtimes/node/1ea518f316ed9f397f96c0cece74566c944dbdae95ee49676016d48fd8517e35/node-v21.7.0-darwin-arm64/bin/node]
12: 0x105472b90 Builtins_CallApiCallbackOptimizedNoProfiling [/Users/sangeethahariharan/Library/Caches/gptscript/repos/runtimes/node/1ea518f316ed9f397f96c0cece74566c944dbdae95ee49676016d48fd8517e35/node-v21.7.0-darwin-arm64/bin/node]
13: 0x10b07986c 
14: 0x10b1490ec 
15: 0x10b1e0934 
16: 0x10b1ca9d8 
17: 0x10aeb79fc 
18: 0x10b13b770 
19: 0x10b0712f4 
20: 0x10b076308 
21: 0x10b1ccbec 
22: 0x10b078050 
23: 0x10b073ad8 
24: 0x10546e8ac Builtins_JSEntryTrampoline [/Users/sangeethahariharan/Library/Caches/gptscript/repos/runtimes/node/1ea518f316ed9f397f96c0cece74566c944dbdae95ee49676016d48fd8517e35/node-v21.7.0-darwin-arm64/bin/node]
25: 0x10546e594 Builtins_JSEntry [/Users/sangeethahariharan/Library/Caches/gptscript/repos/runtimes/node/1ea518f316ed9f397f96c0cece74566c944dbdae95ee49676016d48fd8517e35/node-v21.7.0-darwin-arm64/bin/node]
26: 0x104d1ad6c v8::internal::(anonymous namespace)::Invoke(v8::internal::Isolate*, v8::internal::(anonymous namespace)::InvokeParams const&) [/Users/sangeethahariharan/Library/Caches/gptscript/repos/runtimes/node/1ea518f316ed9f397f96c0cece74566c944dbdae95ee49676016d48fd8517e35/node-v21.7.0-darwin-arm64/bin/node]
27: 0x104d1a2ec v8::internal::Execution::Call(v8::internal::Isolate*, v8::internal::Handle<v8::internal::Object>, v8::internal::Handle<v8::internal::Object>, int, v8::internal::Handle<v8::internal::Object>*) [/Users/sangeethahariharan/Library/Caches/gptscript/repos/runtimes/node/1ea518f316ed9f397f96c0cece74566c944dbdae95ee49676016d48fd8517e35/node-v21.7.0-darwin-arm64/bin/node]
28: 0x104bf2278 v8::Function::Call(v8::Local<v8::Context>, v8::Local<v8::Value>, int, v8::Local<v8::Value>*) [/Users/sangeethahariharan/Library/Caches/gptscript/repos/runtimes/node/1ea518f316ed9f397f96c0cece74566c944dbdae95ee49676016d48fd8517e35/node-v21.7.0-darwin-arm64/bin/node]
29: 0x104940fc0 node::InternalMakeCallback(node::Environment*, v8::Local<v8::Object>, v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*, node::async_context) [/Users/sangeethahariharan/Library/Caches/gptscript/repos/runtimes/node/1ea518f316ed9f397f96c0cece74566c944dbdae95ee49676016d48fd8517e35/node-v21.7.0-darwin-arm64/bin/node]
30: 0x104957c00 node::AsyncWrap::MakeCallback(v8::Local<v8::Function>, int, v8::Local<v8::Value>*) [/Users/sangeethahariharan/Library/Caches/gptscript/repos/runtimes/node/1ea518f316ed9f397f96c0cece74566c944dbdae95ee49676016d48fd8517e35/node-v21.7.0-darwin-arm64/bin/node]
31: 0x104af1168 node::ReportWritesToJSStreamListener::OnStreamAfterReqFinished(node::StreamReq*, int) [/Users/sangeethahariharan/Library/Caches/gptscript/repos/runtimes/node/1ea518f316ed9f397f96c0cece74566c944dbdae95ee49676016d48fd8517e35/node-v21.7.0-darwin-arm64/bin/node]
32: 0x104af1238 node::WriteWrap::OnDone(int) [/Users/sangeethahariharan/Library/Caches/gptscript/repos/runtimes/node/1ea518f316ed9f397f96c0cece74566c944dbdae95ee49676016d48fd8517e35/node-v21.7.0-darwin-arm64/bin/node]
33: 0x104af1550 node::StreamReq::Done(int, char const*) [/Users/sangeethahariharan/Library/Caches/gptscript/repos/runtimes/node/1ea518f316ed9f397f96c0cece74566c944dbdae95ee49676016d48fd8517e35/node-v21.7.0-darwin-arm64/bin/node]
34: 0x104af560c node::LibuvStreamWrap::AfterUvWrite(uv_write_s*, int) [/Users/sangeethahariharan/Library/Caches/gptscript/repos/runtimes/node/1ea518f316ed9f397f96c0cece74566c944dbdae95ee49676016d48fd8517e35/node-v21.7.0-darwin-arm64/bin/node]
35: 0x104af5ec4 node::MakeLibuvRequestCallback<uv_write_s, void (*)(uv_write_s*, int)>::Wrapper(uv_write_s*, int) [/Users/sangeethahariharan/Library/Caches/gptscript/repos/runtimes/node/1ea518f316ed9f397f96c0cece74566c944dbdae95ee49676016d48fd8517e35/node-v21.7.0-darwin-arm64/bin/node]
36: 0x10545b12c uv__write_callbacks [/Users/sangeethahariharan/Library/Caches/gptscript/repos/runtimes/node/1ea518f316ed9f397f96c0cece74566c944dbdae95ee49676016d48fd8517e35/node-v21.7.0-darwin-arm64/bin/node]
37: 0x10545a5ec uv__stream_io [/Users/sangeethahariharan/Library/Caches/gptscript/repos/runtimes/node/1ea518f316ed9f397f96c0cece74566c944dbdae95ee49676016d48fd8517e35/node-v21.7.0-darwin-arm64/bin/node]
38: 0x105461c18 uv__io_poll [/Users/sangeethahariharan/Library/Caches/gptscript/repos/runtimes/node/1ea518f316ed9f397f96c0cece74566c944dbdae95ee49676016d48fd8517e35/node-v21.7.0-darwin-arm64/bin/node]
39: 0x10544fc18 uv_run [/Users/sangeethahariharan/Library/Caches/gptscript/repos/runtimes/node/1ea518f316ed9f397f96c0cece74566c944dbdae95ee49676016d48fd8517e35/node-v21.7.0-darwin-arm64/bin/node]
40: 0x1049416f0 node::SpinEventLoopInternal(node::Environment*) [/Users/sangeethahariharan/Library/Caches/gptscript/repos/runtimes/node/1ea518f316ed9f397f96c0cece74566c944dbdae95ee49676016d48fd8517e35/node-v21.7.0-darwin-arm64/bin/node]
41: 0x104a5f628 node::NodeMainInstance::Run(node::ExitCode*, node::Environment*) [/Users/sangeethahariharan/Library/Caches/gptscript/repos/runtimes/node/1ea518f316ed9f397f96c0cece74566c944dbdae95ee49676016d48fd8517e35/node-v21.7.0-darwin-arm64/bin/node]
42: 0x104a5f3a8 node::NodeMainInstance::Run() [/Users/sangeethahariharan/Library/Caches/gptscript/repos/runtimes/node/1ea518f316ed9f397f96c0cece74566c944dbdae95ee49676016d48fd8517e35/node-v21.7.0-darwin-arm64/bin/node]
43: 0x1049deb0c node::Start(int, char**) [/Users/sangeethahariharan/Library/Caches/gptscript/repos/runtimes/node/1ea518f316ed9f397f96c0cece74566c944dbdae95ee49676016d48fd8517e35/node-v21.7.0-darwin-arm64/bin/node]
44: 0x18c2cd0e0 start [/usr/lib/dyld]
cjellick commented 1 week ago

cc @thedadams ...not sure if this is one in the same with the issue you are looking at that also seems to be causing an OOM now

sangee2004 commented 1 week ago

I encountered OOM error today when testing the following use case:

I uploaded the following large file to workspace directory and asked to read the contents of the file.

-rw-r--r--  1 sangeethahariharan  staff  2480380 Sep  4 11:36 test1.json

I was presented with this message:

The contents of test1.json are too long to display all at once. How about I extract specific information for you? Let me know what you're looking for, and I'll get it for you!

But when I asked it to try reading the contents again , LLM decided to present the data in batches (i dont remember the exact text that was presented) and UI crashed.

Following errors were seen:

<--- Last few GCs --->

[41065:0x11c00540000]  1726277 ms: Mark-Compact (reduce) 3842.4 (3863.5) -> 3808.1 (3815.4) MB, pooled: 0 MB, 6.12 / 0.00 ms  (average mu = 0.992, current mu = 0.982) last resort; GC in old space requested
[41065:0x11c00540000]  1726282 ms: Mark-Compact (reduce) 3808.1 (3815.4) -> 3808.1 (3813.4) MB, pooled: 0 MB, 5.08 / 0.00 ms  (average mu = 0.984, current mu = 0.000) last resort; GC in old space requested

<--- JS stacktrace --->

FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - JavaScript heap out of memory
----- Native stack trace -----

 1: 0x1107770f0 node::OnFatalError(char const*, char const*) [/Users/sangeethahariharan/acorn/desktop/electron-dist/mac-arm64/Acorn.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Electron Framework]
 2: 0x10ac11c20 _$LT$font_types..tag..Tag$u20$as$u20$core..cmp..PartialEq$LT$$u5b$u8$u3b$$u20$4$u5d$$GT$$GT$::eq::hd4676fde7a82a4e1 [/Users/sangeethahariharan/acorn/desktop/electron-dist/mac-arm64/Acorn.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Electron Framework]
 3: 0x10ac11bb4 _$LT$font_types..tag..Tag$u20$as$u20$core..cmp..PartialEq$LT$$u5b$u8$u3b$$u20$4$u5d$$GT$$GT$::eq::hd4676fde7a82a4e1 [/Users/sangeethahariharan/acorn/desktop/electron-dist/mac-arm64/Acorn.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Electron Framework]
 4: 0x10adcf950 v8::CppHeap::wrapper_descriptor() const [/Users/sangeethahariharan/acorn/desktop/electron-dist/mac-arm64/Acorn.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Electron Framework]
 5: 0x10adaf578 v8::CppHeap::wrapper_descriptor() const [/Users/sangeethahariharan/acorn/desktop/electron-dist/mac-arm64/Acorn.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Electron Framework]
 6: 0x1099a8098 uv_tcp_simultaneous_accepts [/Users/sangeethahariharan/acorn/desktop/electron-dist/mac-arm64/Acorn.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Electron Framework]
 7: 0x10adb19b8 v8::CppHeap::wrapper_descriptor() const [/Users/sangeethahariharan/acorn/desktop/electron-dist/mac-arm64/Acorn.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Electron Framework]
 8: 0x10af1b708 v8::Platform::SystemClockTimeMillis() [/Users/sangeethahariharan/acorn/desktop/electron-dist/mac-arm64/Acorn.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Electron Framework]
 9: 0x10ac87278 v8::SourceLocation::ToString() const [/Users/sangeethahariharan/acorn/desktop/electron-dist/mac-arm64/Acorn.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Electron Framework]
10: 0x157ea9b74 
11: 0x150520444 
12: 0x1505278ac 
13: 0x15045ff94 
14: 0x1500a9224 
15: 0x1500a72e4 
16: 0x150528c30 
17: 0x1502b8808 
18: 0x1502a3560 
19: 0x157e0b848 
20: 0x157e0b494 
21: 0x10ad2f98c v8::Unwinder::PCIsInV8(unsigned long, v8::MemoryRange const*, void*) [/Users/sangeethahariharan/acorn/desktop/electron-dist/mac-arm64/Acorn.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Electron Framework]
22: 0x10ac2a608 v8::Function::Call(v8::Local<v8::Context>, v8::Local<v8::Value>, int, v8::Local<v8::Value>*) [/Users/sangeethahariharan/acorn/desktop/electron-dist/mac-arm64/Acorn.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Electron Framework]
23: 0x1106c6bc8 node::CallbackScope::~CallbackScope() [/Users/sangeethahariharan/acorn/desktop/electron-dist/mac-arm64/Acorn.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Electron Framework]
24: 0x1106d204c node::EmitAsyncDestroy(node::Environment*, node::async_context) [/Users/sangeethahariharan/acorn/desktop/electron-dist/mac-arm64/Acorn.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Electron Framework]
25: 0x110795a50 node::OnFatalError(char const*, char const*) [/Users/sangeethahariharan/acorn/desktop/electron-dist/mac-arm64/Acorn.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Electron Framework]
26: 0x110991ce0 ares_inet_ntop [/Users/sangeethahariharan/acorn/desktop/electron-dist/mac-arm64/Acorn.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Electron Framework]
27: 0x110992c60 ares_inet_ntop [/Users/sangeethahariharan/acorn/desktop/electron-dist/mac-arm64/Acorn.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Electron Framework]
28: 0x110992114 ares_inet_ntop [/Users/sangeethahariharan/acorn/desktop/electron-dist/mac-arm64/Acorn.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Electron Framework]
29: 0x1107948dc node::OnFatalError(char const*, char const*) [/Users/sangeethahariharan/acorn/desktop/electron-dist/mac-arm64/Acorn.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Electron Framework]
30: 0x110792894 node::OnFatalError(char const*, char const*) [/Users/sangeethahariharan/acorn/desktop/electron-dist/mac-arm64/Acorn.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Electron Framework]
31: 0x157e10794 
32: 0x150529d68 
33: 0x150528c30 
34: 0x15052e5d0 
35: 0x1502a3560 
36: 0x157e0b848 
37: 0x157e0b494 
38: 0x10ad2f98c v8::Unwinder::PCIsInV8(unsigned long, v8::MemoryRange const*, void*) [/Users/sangeethahariharan/acorn/desktop/electron-dist/mac-arm64/Acorn.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Electron Framework]
39: 0x10ac2a608 v8::Function::Call(v8::Local<v8::Context>, v8::Local<v8::Value>, int, v8::Local<v8::Value>*) [/Users/sangeethahariharan/acorn/desktop/electron-dist/mac-arm64/Acorn.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Electron Framework]
40: 0x1106c6bc8 node::CallbackScope::~CallbackScope() [/Users/sangeethahariharan/acorn/desktop/electron-dist/mac-arm64/Acorn.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Electron Framework]
41: 0x1106d204c node::EmitAsyncDestroy(node::Environment*, node::async_context) [/Users/sangeethahariharan/acorn/desktop/electron-dist/mac-arm64/Acorn.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Electron Framework]
42: 0x1108690a0 node::PromiseRejectCallback(v8::PromiseRejectMessage) [/Users/sangeethahariharan/acorn/desktop/electron-dist/mac-arm64/Acorn.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Electron Framework]
43: 0x11086ae1c node::PromiseRejectCallback(v8::PromiseRejectMessage) [/Users/sangeethahariharan/acorn/desktop/electron-dist/mac-arm64/Acorn.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Electron Framework]
44: 0x11086f470 node::PromiseRejectCallback(v8::PromiseRejectMessage) [/Users/sangeethahariharan/acorn/desktop/electron-dist/mac-arm64/Acorn.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Electron Framework]
45: 0x11086fb7c node::PromiseRejectCallback(v8::PromiseRejectMessage) [/Users/sangeethahariharan/acorn/desktop/electron-dist/mac-arm64/Acorn.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Electron Framework]
46: 0x1099f5d20 uv_signal_stop [/Users/sangeethahariharan/acorn/desktop/electron-dist/mac-arm64/Acorn.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Electron Framework]
47: 0x1099fcffc uv_free_interface_addresses [/Users/sangeethahariharan/acorn/desktop/electron-dist/mac-arm64/Acorn.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Electron Framework]
48: 0x1099ec974 uv_run [/Users/sangeethahariharan/acorn/desktop/electron-dist/mac-arm64/Acorn.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Electron Framework]
49: 0x109b94128 node::FreeArrayBufferAllocator(node::ArrayBufferAllocator*) [/Users/sangeethahariharan/acorn/desktop/electron-dist/mac-arm64/Acorn.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Electron Framework]
50: 0x10cd49398 std::sys::pal::unix::os::errno::h9b4b6e1b7af28e15 [/Users/sangeethahariharan/acorn/desktop/electron-dist/mac-arm64/Acorn.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Electron Framework]
51: 0x10cd694e8 std::sys::pal::unix::os::errno::h9b4b6e1b7af28e15 [/Users/sangeethahariharan/acorn/desktop/electron-dist/mac-arm64/Acorn.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Electron Framework]
52: 0x10cdb112c std::process::id::hb9fbed0f3f7b0c03 [/Users/sangeethahariharan/acorn/desktop/electron-dist/mac-arm64/Acorn.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Electron Framework]
53: 0x1099638b8  [/Users/sangeethahariharan/acorn/desktop/electron-dist/mac-arm64/Acorn.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Electron Framework]
54: 0x10cdb01c8 std::process::id::hb9fbed0f3f7b0c03 [/Users/sangeethahariharan/acorn/desktop/electron-dist/mac-arm64/Acorn.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Electron Framework]
55: 0x1833d79dc __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ [/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation]
56: 0x1833d7970 __CFRunLoopDoSource0 [/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation]
57: 0x1833d76e0 __CFRunLoopDoSources0 [/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation]
58: 0x1833d62d0 __CFRunLoopRun [/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation]
59: 0x1833d593c CFRunLoopRunSpecific [/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation]
60: 0x18d99e448 RunCurrentEventLoopInMode [/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/HIToolbox]
61: 0x18d99e284 ReceiveNextEventCommon [/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/HIToolbox]
62: 0x18d99dfdc _BlockUntilNextEventMatchingListInModeWithFilter [/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/HIToolbox]
63: 0x186bb4ed0 _DPSNextEvent [/System/Library/Frameworks/AppKit.framework/Versions/C/AppKit]
64: 0x18739feec -[NSApplication(NSEventRouting) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] [/System/Library/Frameworks/AppKit.framework/Versions/C/AppKit]
65: 0x186ba837c -[NSApplication run] [/System/Library/Frameworks/AppKit.framework/Versions/C/AppKit]
66: 0x10cdb1a20 std::process::id::hb9fbed0f3f7b0c03 [/Users/sangeethahariharan/acorn/desktop/electron-dist/mac-arm64/Acorn.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Electron Framework]
67: 0x10cdafb88 std::process::id::hb9fbed0f3f7b0c03 [/Users/sangeethahariharan/acorn/desktop/electron-dist/mac-arm64/Acorn.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Electron Framework]
68: 0x10cd69dd4 std::sys::pal::unix::os::errno::h9b4b6e1b7af28e15 [/Users/sangeethahariharan/acorn/desktop/electron-dist/mac-arm64/Acorn.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Electron Framework]
69: 0x10cd307c4 std::sys::pal::unix::os::errno::h9b4b6e1b7af28e15 [/Users/sangeethahariharan/acorn/desktop/electron-dist/mac-arm64/Acorn.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Electron Framework]
70: 0x10bf05928 v8::internal::compiler::CompilationDependencies::FieldTypeDependencyOffTheRecord(v8::internal::compiler::MapRef, v8::internal::compiler::MapRef, v8::internal::InternalIndex, v8::internal::compiler::ObjectRef) const [/Users/sangeethahariharan/acorn/desktop/electron-dist/mac-arm64/Acorn.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Electron Framework]
71: 0x10bf06fcc v8::internal::compiler::CompilationDependencies::FieldTypeDependencyOffTheRecord(v8::internal::compiler::MapRef, v8::internal::compiler::MapRef, v8::internal::InternalIndex, v8::internal::compiler::ObjectRef) const [/Users/sangeethahariharan/acorn/desktop/electron-dist/mac-arm64/Acorn.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Electron Framework]
72: 0x10bf0386c v8::internal::compiler::CompilationDependencies::FieldTypeDependencyOffTheRecord(v8::internal::compiler::MapRef, v8::internal::compiler::MapRef, v8::internal::InternalIndex, v8::internal::compiler::ObjectRef) const [/Users/sangeethahariharan/acorn/desktop/electron-dist/mac-arm64/Acorn.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Electron Framework]
73: 0x109d33894 v8::CodeEvent::GetScriptLine() [/Users/sangeethahariharan/acorn/desktop/electron-dist/mac-arm64/Acorn.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Electron Framework]
74: 0x109d34b98 v8::CodeEvent::GetScriptLine() [/Users/sangeethahariharan/acorn/desktop/electron-dist/mac-arm64/Acorn.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Electron Framework]
75: 0x109d3474c v8::CodeEvent::GetScriptLine() [/Users/sangeethahariharan/acorn/desktop/electron-dist/mac-arm64/Acorn.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Electron Framework]
76: 0x109d3309c v8::CodeEvent::GetScriptLine() [/Users/sangeethahariharan/acorn/desktop/electron-dist/mac-arm64/Acorn.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Electron Framework]
77: 0x109d33300 v8::CodeEvent::GetScriptLine() [/Users/sangeethahariharan/acorn/desktop/electron-dist/mac-arm64/Acorn.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Electron Framework]
78: 0x1099fd6cc ElectronMain [/Users/sangeethahariharan/acorn/desktop/electron-dist/mac-arm64/Acorn.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Electron Framework]
79: 0x182f790e0 start [/usr/lib/dyld]
zsh: abort      ./electron-dist/mac-arm64/Acorn.app/Contents/MacOS/Acorn
cjellick commented 1 week ago

I think @njhale and @thedadams's OOM fixes addressed this

sangee2004 commented 6 days ago

Tested with latest build from - a66cd29e

OMM is not encountered when testing the workflows mentioned in this issue