Skip to content
New issue

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

Electron App Crash after closing on Mac #1820

Open
Akshit97 opened this issue Feb 27, 2025 · 0 comments
Open

Electron App Crash after closing on Mac #1820

Akshit97 opened this issue Feb 27, 2025 · 0 comments
Labels

Comments

@Akshit97
Copy link

Akshit97 commented Feb 27, 2025

Issue Summary

When we are closing our electron app, we see a crash. We are seeing this intermittently.:

Error Formulating Crash Report:
PC register does not match crashing frame (0x0 vs 0x7FF8A4A0EA84)

Thread 0 Crashed:: CrBrowserMain Dispatch queue: com.apple.main-thread
0   ???                           	    0x7ff8a4a0ea84 ???
1   libsystem_kernel.dylib        	    0x7ff814505c52 __pthread_kill + 10
2   libsystem_pthread.dylib       	    0x7ff81453ff85 pthread_kill + 262
3   libsystem_c.dylib             	    0x7ff814460b19 abort + 126
4   Electron Framework            	       0x1185c7222 node::FatalException(v8::Isolate*, v8::TryCatch const&) + 36082
5   Electron Framework            	       0x1185c73b9 node::OnFatalError(char const*, char const*) + 377
6   Electron Framework            	       0x1185c7239 node::FatalException(v8::Isolate*, v8::TryCatch const&) + 36105
7   Electron Framework            	       0x11858e063 napi_fatal_error + 147
8   node_sqlite3.node             	       0x12863563a Napi::Error::Fatal(char const*, char const*) + 26
9   node_sqlite3.node             	       0x128638a5d Napi::Error::ThrowAsJavaScriptException() const + 125
10  node_sqlite3.node             	       0x12863c42d Napi::Function::Call(napi_value__*, unsigned long, napi_value__* const*) const + 61
11  node_sqlite3.node             	       0x12864ddf2 node_sqlite3::Statement::Work_AfterPrepare(napi_env__*, napi_status, void*) + 354
12  Electron Framework            	       0x11859075e node_api_get_module_file_name + 2846
13  Electron Framework            	       0x111e555bb uv_random + 1419
14  Electron Framework            	       0x111e5966f uv_async_send + 847
15  Electron Framework            	       0x111e6bacc uv_free_interface_addresses + 2476
16  Electron Framework            	       0x111e59a80 uv_run + 320
17  Electron Framework            	       0x1185717d4 node::EmitAsyncDestroy(node::Environment*, node::async_context) + 301892
18  Electron Framework            	       0x118571b8a node::EmitAsyncDestroy(node::Environment*, node::async_context) + 302842
19  Electron Framework            	       0x118525434 node::FreeEnvironment(node::Environment*) + 164
20  Electron Framework            	       0x111f4fe65 v8::Signature::New(v8::Isolate*, v8::Local<v8::FunctionTemplate>) + 12469
21  Electron Framework            	       0x111f39bb8 v8::internal::compiler::RawMachineAssembler::TargetParameter() + 11272
22  Electron Framework            	       0x113ff1e1d v8::internal::SetupIsolateDelegate::SetupHeap(v8::internal::Heap*) + 3831965
23  Electron Framework            	       0x113ff3573 v8::internal::SetupIsolateDelegate::SetupHeap(v8::internal::Heap*) + 3837939
24  Electron Framework            	       0x113fef49f v8::internal::SetupIsolateDelegate::SetupHeap(v8::internal::Heap*) + 3821343
25  Electron Framework            	       0x112137f81 v8::internal::compiler::BasicBlock::set_loop_header(v8::internal::compiler::BasicBlock*) + 15521
26  Electron Framework            	       0x1121391ac v8::internal::compiler::BasicBlock::set_loop_header(v8::internal::compiler::BasicBlock*) + 20172
27  Electron Framework            	       0x112138c98 v8::internal::compiler::BasicBlock::set_loop_header(v8::internal::compiler::BasicBlock*) + 18872
28  Electron Framework            	       0x1121379f9 v8::internal::compiler::BasicBlock::set_loop_header(v8::internal::compiler::BasicBlock*) + 14105
29  Electron Framework            	       0x112137b26 v8::internal::compiler::BasicBlock::set_loop_header(v8::internal::compiler::BasicBlock*) + 14406
30  Electron Framework            	       0x111e6c108 ElectronMain + 152
31  dyld                          	       0x200d2c2cd start + 1805

Image

Steps to Reproduce

Close the electron app connecting to sqlite3 using typeorm

Version

5.1.7

Node.js Version

16.16.0

How did you install the library?

npm i sqlite3

@Akshit97 Akshit97 added the bug label Feb 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant