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

ecode: segfault when trying to load a folder in terminal mode #391

Open
meowtochondria opened this issue Mar 5, 2025 · 5 comments
Open
Assignees
Labels
bug Something isn't working ready for release

Comments

@meowtochondria
Copy link

meowtochondria commented Mar 5, 2025

Logs:

$ /Applications/ecode.app/Contents/MacOS/ecode --terminal --verbose
2025-03-04 16:37:20 - INFO: eepp initialized
2025-03-04 16:37:20 - INFO: ecode starting with these command line arguments: --terminal --verbose
2025-03-04 16:37:20 - INFO: /Users/monke/Library/Application Support/ecode/config.cfg loaded in 0.02ms
2025-03-04 16:37:20 - INFO: /Users/monke/Library/Application Support/ecode/state.cfg loaded in 0.01ms
2025-03-04 16:37:20 - INFO: Plugin: Auto Complete (PID 61954) loaded in 0.25ms
2025-03-04 16:37:20 - INFO: Plugin: Auto Formatter (PID 61954) loaded in 0.47ms
2025-03-04 16:37:20 - INFO: Plugin: Debugger (PID 61954) loaded in 0.5ms
2025-03-04 16:37:20 - INFO: Plugin: Linter (PID 61954) loaded in 0.48ms
2025-03-04 16:37:20 - INFO: Plugin: Git (PID 61954) loaded in 0.57ms
2025-03-04 16:37:20 - INFO: Plugin: LSP Client (PID 61954) loaded in 0.61ms
2025-03-04 16:37:20 - INFO: Syntax definitions loaded in 2.23ms.
2025-03-04 16:37:20 - INFO: SyntaxDefinitionManager loaded custom languages in: 0.18ms.
2025-03-04 16:37:20 - INFO: Color Schemes loaded in 0.30ms.
2025-03-04 16:37:20 - INFO: Terminal Color Schemes loaded in 0.11ms.
2025-03-04 16:37:20 - INFO: Fonts loaded in: 2.28ms
2025-03-04 16:37:21 - INFO: Engine Initialized Succesfully.
        Version: eepp version 2.8.5 (codename: "Siddhi")
        Build time: Mar  4 2025 16:16:27
        Platform: macOS
        OS: Darwin 24.3.0
        Arch: arm64
        CPU Cores: 8
        Process Path: /Applications/ecode.app/Contents/MacOS/
        Current Working Directory: /Users/monke/src/eepp/projects/macos/ecode
        Home Directory: /Users/monke
        Disk Free Space: 278.50 GiB
        Window/Input Backend: SDL 2.32.2
        GL Backend: OpenGL 2
        GL Vendor: Apple
        GL Renderer: Apple M1 Pro
        GL Version: 2.1 Metal - 89.3
        GL Shading Language Version: 1.20
        Resolution: 1720x1387
        Window scale: 1.00
2025-03-04 16:37:21 - INFO: ecode version 0.7.0 (codename: "Prāpti") initializing
2025-03-04 16:37:21 - INFO: Window creation took: 184.12ms
2025-03-04 16:37:21 - INFO: /Users/devghai/Library/Application Support/ecode/keybindings.cfg loaded in 0.04ms
2025-03-04 16:37:21 - INFO: StyleSheet loaded in: 1.903 ms.
2025-03-04 16:37:21 - INFO: StyleSheet loaded in: 0.011 ms.
2025-03-04 16:37:21 - INFO: StyleSheet loaded in: 0.848 ms.
2025-03-04 16:37:21 - INFO: Base UI took: 193.86 ms
2025-03-04 16:37:21 - INFO: Settings Menu took: 4.89ms
2025-03-04 16:37:21 - INFO: Complete UI took: 202.35 ms
2025-03-04 16:37:21 - INFO: Init ProjectTreeView took: 209.87 ms
2025-03-04 16:37:21 - INFO: StyleSheet loaded in: 0.043 ms.
2025-03-04 16:37:21 - INFO: StyleSheet loaded in: 0.063 ms.
2025-03-04 16:37:21 - INFO: First update took: 537.15 ms
2025-03-04 16:37:21 - INFO: First frame took: 633.05 ms
2025-03-04 16:37:21 - INFO: App Ready
2025-03-04 16:37:21.518 ecode[61954:12597233] +[IMKClient subclass]: chose IMKClient_Modern
2025-03-04 16:37:21.518 ecode[61954:12597233] +[IMKInputSession subclass]: chose IMKInputSession_Modern
Segmentation fault: 11

I have another bug where you set renderer to OpenGL 3, and the app will segfault if its not available on the system. I'd expect app to ignore it in case of an exception, and fall back to default safe renderer (OpenGL 2 in this case). I can create a separate issue if you are interested.

@SpartanJ
Copy link
Owner

SpartanJ commented Mar 5, 2025

Can you please send me the full crash report? I'm unable to get the exception.
You should see a popup like this one, and go to "Report..." and just copy paste the contents here please.

Image

 I have another bug where you set renderer to OpenGL 3, and the app will segfault if its not available on the system. I'd expect app to ignore it in case of an exception, and fall back to default safe renderer (OpenGL 2 in this case). I can create a separate issue if you are interested.

Thanks for letting me know, I didn't know it is not supported (it was supported at some point!). I'll simply hide OpenGL 3 and OpenGL 3 Core Profile renderers in macOS (3 seems to not crash but fails really bad, 3 Core Profile simply crashes because the context cannot be created). It seems the OpenGL ES 2 renderer works though.
Edit: OpenGL 3 CP can be fixed, it's my mistake.

@SpartanJ SpartanJ self-assigned this Mar 5, 2025
@SpartanJ SpartanJ added the bug Something isn't working label Mar 5, 2025
@meowtochondria
Copy link
Author


Translated Report (Full Report Below)

Process: ecode [17424]
Path: /Applications/ecode.app/Contents/MacOS/ecode
Identifier: ensoft.dev
Version: 0.7.0 (???)
Code Type: ARM-64 (Native)
Parent Process: bash [58003]
Responsible: wezterm-gui [26198]
User ID: 502

Date/Time: 2025-03-05 16:02:30.7111 -0800
OS Version: macOS 15.3.1 (24D70)
Report Version: 12
Anonymous UUID: 3684134C-98C7-BF14-005D-6CDE2703BE91

Sleep/Wake UUID: 83F31334-CD72-474E-8D6B-918CEA2F4A7D

Time Awake Since Boot: 590000 seconds
Time Since Wake: 23036 seconds

System Integrity Protection: enabled

Crashed Thread: 0 Dispatch queue: com.apple.main-thread

Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x00000000000001b8
Exception Codes: 0x0000000000000001, 0x00000000000001b8

Termination Reason: Namespace SIGNAL, Code 11 Segmentation fault: 11
Terminating Process: exc handler [17424]

VM Region Info: 0x1b8 is not in any region. Bytes before following region: 4372495944
REGION TYPE START - END [ VSIZE] PRT/MAX SHRMOD REGION DETAIL
UNUSED SPACE AT START
--->
__TEXT 1049f0000-104f50000 [ 5504K] r-x/r-x SM=COW /Applications/ecode.app/Contents/MacOS/ecode

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 libeepp.dylib 0x1061b9778 EE::Scene::Node::setVisible(bool const&, bool) + 16
1 ecode 0x104ab5080 ecode::App::loadFolder(std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator>) + 608
2 ecode 0x104ae18c4 std::__1::__function::__func<ecode::App::openFolderDialog()::$_0, std::__1::allocatorecode::App::openFolderDialog()::$_0, void (EE::Scene::Event const*)>::operator()(EE::Scene::Event const*&&) + 100
3 libeepp.dylib 0x1061b9f3c EE::Scene::Node::sendEvent(EE::Scene::Event const*) + 472
4 libeepp.dylib 0x1061b95dc EE::Scene::Node::sendCommonEvent(unsigned int const&) + 48
5 libeepp.dylib 0x106384290 EE::UI::UIFileDialog::open() + 596
6 libeepp.dylib 0x106383fd4 EE::UI::UIFileDialog::onMessage(EE::Scene::NodeMessage const*) + 304
7 libeepp.dylib 0x1061b9390 EE::Scene::Node::messagePost(EE::Scene::NodeMessage const*) + 40
8 libeepp.dylib 0x1061264fc EE::Scene::EventDispatcher::update(EE::System::Time const&) + 1456
9 libeepp.dylib 0x1061e8f4c EE::Scene::SceneNode::update(EE::System::Time const&) + 84
10 libeepp.dylib 0x1063baa30 EE::UI::UISceneNode::update(EE::System::Time const&) + 204
11 libeepp.dylib 0x1061e85b4 EE::Scene::SceneManager::update() + 60
12 ecode 0x104a9acd0 ecode::App::mainLoop() + 48
13 libeepp.dylib 0x106443a84 EE::Window::Window::runMainLoop(std::__1::function<void ()>, int) + 188
14 ecode 0x104abd988 ecode::App::init(EE::System::LogLevel const&, std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator>, float const&, std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator> const&, bool, bool, bool, std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator>, bool, std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator> const&, ecode::FeaturesHealth::OutputFormat, std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator> const&, bool, bool, bool, bool, std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator>, bool) + 8220
15 ecode 0x104ac49f8 main + 14352
16 dyld 0x183544274 start + 2840

Thread 1:
0 libsystem_kernel.dylib 0x1838866ec __psynch_cvwait + 8
1 libsystem_pthread.dylib 0x1838c4894 _pthread_cond_wait + 1204
2 libc++.1.dylib 0x1837fa578 std::__1::condition_variable::wait(std::__1::unique_lockstd::__1::mutex&) + 28
3 libeepp.dylib 0x1062fb1a8 EE::System::ThreadPool::threadFunc() + 136
4 libeepp.dylib 0x1062faba4 EE::System::Platform::ThreadImpl::entryPoint(void*) + 44
5 libsystem_pthread.dylib 0x1838c42e4 _pthread_start + 136
6 libsystem_pthread.dylib 0x1838bf0fc thread_start + 8

Thread 2:
0 libsystem_kernel.dylib 0x1838866ec __psynch_cvwait + 8
1 libsystem_pthread.dylib 0x1838c4894 _pthread_cond_wait + 1204
2 libc++.1.dylib 0x1837fa578 std::__1::condition_variable::wait(std::__1::unique_lockstd::__1::mutex&) + 28
3 libeepp.dylib 0x1062fb1a8 EE::System::ThreadPool::threadFunc() + 136
4 libeepp.dylib 0x1062faba4 EE::System::Platform::ThreadImpl::entryPoint(void*) + 44
5 libsystem_pthread.dylib 0x1838c42e4 _pthread_start + 136
6 libsystem_pthread.dylib 0x1838bf0fc thread_start + 8

Thread 3:
0 libsystem_kernel.dylib 0x1838866ec __psynch_cvwait + 8
1 libsystem_pthread.dylib 0x1838c4894 _pthread_cond_wait + 1204
2 libc++.1.dylib 0x1837fa578 std::__1::condition_variable::wait(std::__1::unique_lockstd::__1::mutex&) + 28
3 libeepp.dylib 0x1062fb1a8 EE::System::ThreadPool::threadFunc() + 136
4 libeepp.dylib 0x1062faba4 EE::System::Platform::ThreadImpl::entryPoint(void*) + 44
5 libsystem_pthread.dylib 0x1838c42e4 _pthread_start + 136
6 libsystem_pthread.dylib 0x1838bf0fc thread_start + 8

Thread 4:
0 libsystem_kernel.dylib 0x1838866ec __psynch_cvwait + 8
1 libsystem_pthread.dylib 0x1838c4894 _pthread_cond_wait + 1204
2 libc++.1.dylib 0x1837fa578 std::__1::condition_variable::wait(std::__1::unique_lockstd::__1::mutex&) + 28
3 libeepp.dylib 0x1062fb1a8 EE::System::ThreadPool::threadFunc() + 136
4 libeepp.dylib 0x1062faba4 EE::System::Platform::ThreadImpl::entryPoint(void*) + 44
5 libsystem_pthread.dylib 0x1838c42e4 _pthread_start + 136
6 libsystem_pthread.dylib 0x1838bf0fc thread_start + 8

Thread 5:
0 libsystem_kernel.dylib 0x1838866ec __psynch_cvwait + 8
1 libsystem_pthread.dylib 0x1838c4894 _pthread_cond_wait + 1204
2 libc++.1.dylib 0x1837fa578 std::__1::condition_variable::wait(std::__1::unique_lockstd::__1::mutex&) + 28
3 libeepp.dylib 0x1062fb1a8 EE::System::ThreadPool::threadFunc() + 136
4 libeepp.dylib 0x1062faba4 EE::System::Platform::ThreadImpl::entryPoint(void*) + 44
5 libsystem_pthread.dylib 0x1838c42e4 _pthread_start + 136
6 libsystem_pthread.dylib 0x1838bf0fc thread_start + 8

Thread 6:
0 libsystem_kernel.dylib 0x1838866ec __psynch_cvwait + 8
1 libsystem_pthread.dylib 0x1838c4894 _pthread_cond_wait + 1204
2 libc++.1.dylib 0x1837fa578 std::__1::condition_variable::wait(std::__1::unique_lockstd::__1::mutex&) + 28
3 libeepp.dylib 0x1062fb1a8 EE::System::ThreadPool::threadFunc() + 136
4 libeepp.dylib 0x1062faba4 EE::System::Platform::ThreadImpl::entryPoint(void*) + 44
5 libsystem_pthread.dylib 0x1838c42e4 _pthread_start + 136
6 libsystem_pthread.dylib 0x1838bf0fc thread_start + 8

Thread 7:
0 libsystem_kernel.dylib 0x1838866ec __psynch_cvwait + 8
1 libsystem_pthread.dylib 0x1838c4894 _pthread_cond_wait + 1204
2 libc++.1.dylib 0x1837fa578 std::__1::condition_variable::wait(std::__1::unique_lockstd::__1::mutex&) + 28
3 libeepp.dylib 0x1062fb1a8 EE::System::ThreadPool::threadFunc() + 136
4 libeepp.dylib 0x1062faba4 EE::System::Platform::ThreadImpl::entryPoint(void*) + 44
5 libsystem_pthread.dylib 0x1838c42e4 _pthread_start + 136
6 libsystem_pthread.dylib 0x1838bf0fc thread_start + 8

Thread 8:
0 libsystem_kernel.dylib 0x1838866ec __psynch_cvwait + 8
1 libsystem_pthread.dylib 0x1838c4894 _pthread_cond_wait + 1204
2 libc++.1.dylib 0x1837fa578 std::__1::condition_variable::wait(std::__1::unique_lockstd::__1::mutex&) + 28
3 libeepp.dylib 0x1062fb1a8 EE::System::ThreadPool::threadFunc() + 136
4 libeepp.dylib 0x1062faba4 EE::System::Platform::ThreadImpl::entryPoint(void*) + 44
5 libsystem_pthread.dylib 0x1838c42e4 _pthread_start + 136
6 libsystem_pthread.dylib 0x1838bf0fc thread_start + 8

Thread 9:
0 libsystem_pthread.dylib 0x1838bf0e8 start_wqthread + 0

Thread 10:
0 libsystem_pthread.dylib 0x1838bf0e8 start_wqthread + 0

Thread 11:
0 libsystem_pthread.dylib 0x1838bf0e8 start_wqthread + 0

Thread 12:
0 libsystem_pthread.dylib 0x1838bf0e8 start_wqthread + 0

Thread 13:
0 libsystem_pthread.dylib 0x1838bf0e8 start_wqthread + 0

Thread 14:: CVDisplayLink
0 libsystem_kernel.dylib 0x1838866ec __psynch_cvwait + 8
1 libsystem_pthread.dylib 0x1838c48c0 _pthread_cond_wait + 1248
2 CoreVideo 0x18cd283a4 CVDisplayLink::waitUntil(unsigned long long) + 316
3 CoreVideo 0x18cd2747c CVDisplayLink::runIOThread() + 504
4 libsystem_pthread.dylib 0x1838c42e4 _pthread_start + 136
5 libsystem_pthread.dylib 0x1838bf0fc thread_start + 8

Thread 15:: CVDisplayLink
0 libsystem_kernel.dylib 0x1838866ec __psynch_cvwait + 8
1 libsystem_pthread.dylib 0x1838c48c0 _pthread_cond_wait + 1248
2 CoreVideo 0x18cd283a4 CVDisplayLink::waitUntil(unsigned long long) + 316
3 CoreVideo 0x18cd2747c CVDisplayLink::runIOThread() + 504
4 libsystem_pthread.dylib 0x1838c42e4 _pthread_start + 136
5 libsystem_pthread.dylib 0x1838bf0fc thread_start + 8

Thread 16:: com.apple.NSEventThread
0 libsystem_kernel.dylib 0x183882f54 mach_msg2_trap + 8
1 libsystem_kernel.dylib 0x183895604 mach_msg2_internal + 80
2 libsystem_kernel.dylib 0x18388baf8 mach_msg_overwrite + 480
3 libsystem_kernel.dylib 0x18388329c mach_msg + 24
4 CoreFoundation 0x1839aca4c __CFRunLoopServiceMachPort + 160
5 CoreFoundation 0x1839ab2ac __CFRunLoopRun + 1212
6 CoreFoundation 0x1839aa734 CFRunLoopRunSpecific + 588
7 AppKit 0x187647278 _NSEventThread + 148
8 libsystem_pthread.dylib 0x1838c42e4 _pthread_start + 136
9 libsystem_pthread.dylib 0x1838bf0fc thread_start + 8

Thread 0 crashed with ARM Thread State (64-bit):
x0: 0x0000000000000000 x1: 0x000000016b40c4d8 x2: 0x0000000000000001 x3: 0x000000016b40c2f9
x4: 0x0000000000000000 x5: 0x00000000984a09cc x6: 0x0000000000000072 x7: 0x000000016b40c518
x8: 0x0000000000000080 x9: 0x0000000000000000 x10: 0x0000000000000018 x11: 0x000000000000003c
x12: 0x000000000000003c x13: 0x00000000000007fd x14: 0x00000000988a09cc x15: 0x00000000986a0142
x16: 0x00000001061b9768 x17: 0x00000001f5872208 x18: 0x0000000000000000 x19: 0x0000000000000000
x20: 0x000000016b40c570 x21: 0x0000000000000000 x22: 0x0000000000000000 x23: 0x0000000116808f00
x24: 0x000000016b40c4d8 x25: 0x0000000000000000 x26: 0x0000000000000002 x27: 0x00000000ffffff80
x28: 0x000000016b40ce40 fp: 0x000000016b40c400 lr: 0x0000000104ab5080
sp: 0x000000016b40c3f0 pc: 0x00000001061b9778 cpsr: 0x80001000
far: 0x00000000000001b8 esr: 0x92000006 (Data Abort) byte read Translation fault

Binary Images:
0x1049f0000 - 0x104f4ffff ensoft.dev (0.7.0) <521971d0-2e2f-38cd-bbb7-816500fa1f57> /Applications/ecode.app/Contents/MacOS/ecode
0x1060d8000 - 0x1067e7fff libeepp.dylib () /Applications/ecode.app/Contents/MacOS/libeepp.dylib
0x105470000 - 0x10547bfff libunwind.1.0.dylib (
) <2d223762-e42c-3582-aa01-c31c6d7a8b23> /opt/homebrew//libunwind.1.0.dylib
0x105730000 - 0x10583ffff libSDL2-2.0.0.dylib (
) /Applications/ecode.app/Contents/MacOS/libSDL2-2.0.0.dylib
0x1120f0000 - 0x1120fbfff libobjc-trampolines.dylib () <3d687e9b-e092-3632-bc1d-74b19d492de0> /usr/lib/libobjc-trampolines.dylib
0x1151a4000 - 0x115847fff com.apple.AGXMetalG13X (324.6) /System/Library/Extensions/AGXMetalG13X.bundle/Contents/MacOS/AGXMetalG13X
0x1134a4000 - 0x11350bfff com.apple.AppleMetalOpenGLRenderer (1.0) /System/Library/Extensions/AppleMetalOpenGLRenderer.bundle/Contents/MacOS/AppleMetalOpenGLRenderer
0x18353e000 - 0x1835bff3f dyld (
) <398a133c-9bcb-317f-a064-a40d3cea3c0f> /usr/lib/dyld
0x0 - 0xffffffffffffffff ??? () <00000000-0000-0000-0000-000000000000> ???
0x183882000 - 0x1838bcff7 libsystem_kernel.dylib (
) /usr/lib/system/libsystem_kernel.dylib
0x1838bd000 - 0x1838c9fff libsystem_pthread.dylib () <642faf7a-874e-37e6-8aba-2b0cc09a3025> /usr/lib/system/libsystem_pthread.dylib
0x1837d9000 - 0x183866ffb libc++.1.dylib (
) /usr/lib/libc++.1.dylib
0x18cd25000 - 0x18cd85fff com.apple.CoreVideo (1.8) <0fcfe924-013c-3974-9fdf-58f9a8d71845> /System/Library/Frameworks/CoreVideo.framework/Versions/A/CoreVideo
0x18392f000 - 0x183e23fff com.apple.CoreFoundation (6.9) <190e6a36-fcaa-3ea3-94bb-7009c44653da> /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
0x1874e7000 - 0x188923fff com.apple.AppKit (6.9) /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit

External Modification Summary:
Calls made by other processes targeting this process:
task_for_pid: 0
thread_create: 0
thread_set_state: 0
Calls made by this process:
task_for_pid: 0
thread_create: 0
thread_set_state: 0
Calls made by all processes on this machine:
task_for_pid: 0
thread_create: 0
thread_set_state: 0

VM Region Summary:
ReadOnly portion of Libraries: Total=1.6G resident=0K(0%) swapped_out_or_unallocated=1.6G(100%)
Writable regions: Total=1.6G written=675K(0%) resident=675K(0%) swapped_out=0K(0%) unallocated=1.6G(100%)

                            VIRTUAL   REGION 

REGION TYPE SIZE COUNT (non-coalesced)
=========== ======= =======
Accelerate framework 256K 2
Activity Tracing 256K 1
CG image 640K 7
ColorSync 624K 31
CoreAnimation 288K 18
CoreGraphics 32K 2
CoreUI image data 480K 7
Foundation 16K 1
Kernel Alloc Once 32K 1
MALLOC 1.6G 61
MALLOC guard page 288K 18
STACK GUARD 56.3M 17
Stack 16.5M 17
VM_ALLOCATE 2640K 52
__AUTH 5172K 661
__AUTH_CONST 69.5M 904
__CTF 824 1
__DATA 24.3M 890
__DATA_CONST 24.6M 918
__DATA_DIRTY 2755K 335
__FONT_DATA 2352 1
__GLSLBUILTINS 5174K 1
__INFO_FILTER 8 1
__LINKEDIT 616.8M 8
__OBJC_RW 2374K 1
__TEXT 1.0G 938
__TPRO_CONST 272K 2
mapped file 208.0M 24
owned unmapped memory 2400K 1
page table in kernel 675K 1
shared memory 1424K 16
=========== ======= =======
TOTAL 3.6G 4938


Full Report

{"app_name":"ecode","timestamp":"2025-03-05 16:02:31.00 -0800","app_version":"0.7.0","slice_uuid":"521971d0-2e2f-38cd-bbb7-816500fa1f57","build_version":"","platform":1,"bundleID":"ensoft.dev","share_with_app_devs":0,"is_first_party":0,"bug_type":"309","os_version":"macOS 15.3.1 (24D70)","roots_installed":0,"name":"ecode","incident_id":"8ED57ED0-C88D-446E-AD7E-24D74B06991F"}
{
"uptime" : 590000,
"procRole" : "Foreground",
"version" : 2,
"userID" : 502,
"deployVersion" : 210,
"modelCode" : "MacBookPro18,3",
"coalitionID" : 3953,
"osVersion" : {
"train" : "macOS 15.3.1",
"build" : "24D70",
"releaseType" : "User"
},
"captureTime" : "2025-03-05 16:02:30.7111 -0800",
"codeSigningMonitor" : 1,
"incident" : "8ED57ED0-C88D-446E-AD7E-24D74B06991F",
"pid" : 17424,
"translated" : false,
"cpuType" : "ARM-64",
"roots_installed" : 0,
"bug_type" : "309",
"procLaunch" : "2025-03-05 16:02:10.4500 -0800",
"procStartAbsTime" : 14257944708443,
"procExitAbsTime" : 14258430262187,
"procName" : "ecode",
"procPath" : "/Applications/ecode.app/Contents/MacOS/ecode",
"bundleInfo" : {"CFBundleShortVersionString":"0.7.0","CFBundleIdentifier":"ensoft.dev"},
"storeInfo" : {"deviceIdentifierForVendor":"A77FB848-5E00-5B62-8F6F-FD4CD33D5E1F","thirdParty":true},
"parentProc" : "bash",
"parentPid" : 58003,
"coalitionName" : "com.github.wez.wezterm",
"crashReporterKey" : "3684134C-98C7-BF14-005D-6CDE2703BE91",
"responsiblePid" : 26198,
"responsibleProc" : "wezterm-gui",
"codeSigningID" : "ecode",
"codeSigningTeamID" : "",
"codeSigningFlags" : 570556929,
"codeSigningValidationCategory" : 10,
"codeSigningTrustLevel" : 4294967295,
"instructionByteStream" : {"beforePC":"/8MAkcADX9YAcAORwANf1gBwA5HAA1/W9E++qf17Aan9QwCR8wMAqg==","atPC":"CeBGOSgAQDk/AQhr4AAAVGjiBjmiAAA0aAJA+QjVQPngAxOqAAE/1g=="},
"bootSessionUUID" : "FAE5AB28-93E2-4139-A457-D1E3A4B99B1D",
"wakeTime" : 23036,
"sleepWakeUUID" : "83F31334-CD72-474E-8D6B-918CEA2F4A7D",
"sip" : "enabled",
"vmRegionInfo" : "0x1b8 is not in any region. Bytes before following region: 4372495944\n REGION TYPE START - END [ VSIZE] PRT/MAX SHRMOD REGION DETAIL\n UNUSED SPACE AT START\n---> \n __TEXT 1049f0000-104f50000 [ 5504K] r-x/r-x SM=COW /Applications/ecode.app/Contents/MacOS/ecode",
"exception" : {"codes":"0x0000000000000001, 0x00000000000001b8","rawCodes":[1,440],"type":"EXC_BAD_ACCESS","signal":"SIGSEGV","subtype":"KERN_INVALID_ADDRESS at 0x00000000000001b8"},
"termination" : {"flags":0,"code":11,"namespace":"SIGNAL","indicator":"Segmentation fault: 11","byProc":"exc handler","byPid":17424},
"vmregioninfo" : "0x1b8 is not in any region. Bytes before following region: 4372495944\n REGION TYPE START - END [ VSIZE] PRT/MAX SHRMOD REGION DETAIL\n UNUSED SPACE AT START\n---> \n __TEXT 1049f0000-104f50000 [ 5504K] r-x/r-x SM=COW /Applications/ecode.app/Contents/MacOS/ecode",
"extMods" : {"caller":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"system":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"targeted":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"warnings":0},
"faultingThread" : 0,
"threads" : [{"triggered":true,"id":13031674,"threadState":{"x":[{"value":0},{"value":6094374104},{"value":1},{"value":6094373625},{"value":0},{"value":2554989004},{"value":114},{"value":6094374168},{"value":128},{"value":0},{"value":24},{"value":60},{"value":60},{"value":2045},{"value":2559183308},{"value":2557083970},{"value":4397438824,"symbolLocation":0,"symbol":"EE::Scene::Node::setVisible(bool const&, bool)"},{"value":8414241288},{"value":0},{"value":0},{"value":6094374256},{"value":0},{"value":0},{"value":4672491264},{"value":6094374104},{"value":0},{"value":2},{"value":4294967168},{"value":6094376512}],"flavor":"ARM_THREAD_STATE64","lr":{"value":4373303424},"cpsr":{"value":2147487744},"fp":{"value":6094373888},"sp":{"value":6094373872},"esr":{"value":2449473542,"description":"(Data Abort) byte read Translation fault"},"pc":{"value":4397438840,"matchesCrashFrame":1},"far":{"value":440}},"queue":"com.apple.main-thread","frames":[{"imageOffset":923512,"symbol":"EE::Scene::Node::setVisible(bool const&, bool)","symbolLocation":16,"imageIndex":1},{"imageOffset":807040,"symbol":"ecode::App::loadFolder(std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator>)","symbolLocation":608,"imageIndex":0},{"imageOffset":989380,"symbol":"std::__1::__function::__func<ecode::App::openFolderDialog()::$_0, std::__1::allocatorecode::App::openFolderDialog()::$_0, void (EE::Scene::Event const*)>::operator()(EE::Scene::Event const*&&)","symbolLocation":100,"imageIndex":0},{"imageOffset":925500,"symbol":"EE::Scene::Node::sendEvent(EE::Scene::Event const*)","symbolLocation":472,"imageIndex":1},{"imageOffset":923100,"symbol":"EE::Scene::Node::sendCommonEvent(unsigned int const&)","symbolLocation":48,"imageIndex":1},{"imageOffset":2802320,"symbol":"EE::UI::UIFileDialog::open()","symbolLocation":596,"imageIndex":1},{"imageOffset":2801620,"symbol":"EE::UI::UIFileDialog::onMessage(EE::Scene::NodeMessage const*)","symbolLocation":304,"imageIndex":1},{"imageOffset":922512,"symbol":"EE::Scene::Node::messagePost(EE::Scene::NodeMessage const*)","symbolLocation":40,"imageIndex":1},{"imageOffset":320764,"symbol":"EE::Scene::EventDispatcher::update(EE::System::Time const&)","symbolLocation":1456,"imageIndex":1},{"imageOffset":1118028,"symbol":"EE::Scene::SceneNode::update(EE::System::Time const&)","symbolLocation":84,"imageIndex":1},{"imageOffset":3025456,"symbol":"EE::UI::UISceneNode::update(EE::System::Time const&)","symbolLocation":204,"imageIndex":1},{"imageOffset":1115572,"symbol":"EE::Scene::SceneManager::update()","symbolLocation":60,"imageIndex":1},{"imageOffset":699600,"symbol":"ecode::App::mainLoop()","symbolLocation":48,"imageIndex":0},{"imageOffset":3586692,"symbol":"EE::Window::Window::runMainLoop(std::__1::function<void ()>, int)","symbolLocation":188,"imageIndex":1},{"imageOffset":842120,"symbol":"ecode::App::init(EE::System::LogLevel const&, std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator>, float const&, std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator> const&, bool, bool, bool, std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator>, bool, std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator> const&, ecode::FeaturesHealth::OutputFormat, std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator> const&, bool, bool, bool, bool, std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator>, bool)","symbolLocation":8220,"imageIndex":0},{"imageOffset":870904,"symbol":"main","symbolLocation":14352,"imageIndex":0},{"imageOffset":25204,"symbol":"start","symbolLocation":2840,"imageIndex":7}]},{"id":13031675,"frames":[{"imageOffset":18156,"symbol":"__psynch_cvwait","symbolLocation":8,"imageIndex":9},{"imageOffset":30868,"symbol":"_pthread_cond_wait","symbolLocation":1204,"imageIndex":10},{"imageOffset":136568,"symbol":"std::__1::condition_variable::wait(std::__1::unique_lockstd::__1::mutex&)","symbolLocation":28,"imageIndex":11},{"imageOffset":2240936,"symbol":"EE::System::ThreadPool::threadFunc()","symbolLocation":136,"imageIndex":1},{"imageOffset":2239396,"symbol":"EE::System::Platform::ThreadImpl::entryPoint(void*)","symbolLocation":44,"imageIndex":1},{"imageOffset":29412,"symbol":"_pthread_start","symbolLocation":136,"imageIndex":10},{"imageOffset":8444,"symbol":"thread_start","symbolLocation":8,"imageIndex":10}],"threadState":{"x":[{"value":4},{"value":0},{"value":1792},{"value":0},{"value":0},{"value":160},{"value":0},{"value":0},{"value":6094941864},{"value":0},{"value":768},{"value":3298534884098},{"value":3298534884098},{"value":768},{"value":0},{"value":3298534884096},{"value":305},{"value":8414257784},{"value":0},{"value":105553148608816},{"value":105553148608880},{"value":6094942432},{"value":0},{"value":0},{"value":1792},{"value":1792},{"value":3840},{"value":0},{"value":0}],"flavor":"ARM_THREAD_STATE64","lr":{"value":6501976212},"cpsr":{"value":1610616832},"fp":{"value":6094941984},"sp":{"value":6094941840},"esr":{"value":1442840704,"description":" Address size fault"},"pc":{"value":6501721836},"far":{"value":0}}},{"id":13031676,"frames":[{"imageOffset":18156,"symbol":"__psynch_cvwait","symbolLocation":8,"imageIndex":9},{"imageOffset":30868,"symbol":"_pthread_cond_wait","symbolLocation":1204,"imageIndex":10},{"imageOffset":136568,"symbol":"std::__1::condition_variable::wait(std::__1::unique_lockstd::__1::mutex&)","symbolLocation":28,"imageIndex":11},{"imageOffset":2240936,"symbol":"EE::System::ThreadPool::threadFunc()","symbolLocation":136,"imageIndex":1},{"imageOffset":2239396,"symbol":"EE::System::Platform::ThreadImpl::entryPoint(void*)","symbolLocation":44,"imageIndex":1},{"imageOffset":29412,"symbol":"_pthread_start","symbolLocation":136,"imageIndex":10},{"imageOffset":8444,"symbol":"thread_start","symbolLocation":8,"imageIndex":10}],"threadState":{"x":[{"value":4},{"value":0},{"value":1792},{"value":0},{"value":0},{"value":160},{"value":0},{"value":0},{"value":6095515304},{"value":0},{"value":768},{"value":3298534884098},{"value":3298534884098},{"value":768},{"value":0},{"value":3298534884096},{"value":305},{"value":8414257784},{"value":0},{"value":105553148608816},{"value":105553148608880},{"value":6095515872},{"value":0},{"value":0},{"value":1792},{"value":1792},{"value":2816},{"value":0},{"value":0}],"flavor":"ARM_THREAD_STATE64","lr":{"value":6501976212},"cpsr":{"value":1610616832},"fp":{"value":6095515424},"sp":{"value":6095515280},"esr":{"value":1442840704,"description":" Address size fault"},"pc":{"value":6501721836},"far":{"value":0}}},{"id":13031677,"frames":[{"imageOffset":18156,"symbol":"__psynch_cvwait","symbolLocation":8,"imageIndex":9},{"imageOffset":30868,"symbol":"_pthread_cond_wait","symbolLocation":1204,"imageIndex":10},{"imageOffset":136568,"symbol":"std::__1::condition_variable::wait(std::__1::unique_lockstd::__1::mutex&)","symbolLocation":28,"imageIndex":11},{"imageOffset":2240936,"symbol":"EE::System::ThreadPool::threadFunc()","symbolLocation":136,"imageIndex":1},{"imageOffset":2239396,"symbol":"EE::System::Platform::ThreadImpl::entryPoint(void*)","symbolLocation":44,"imageIndex":1},{"imageOffset":29412,"symbol":"_pthread_start","symbolLocation":136,"imageIndex":10},{"imageOffset":8444,"symbol":"thread_start","symbolLocation":8,"imageIndex":10}],"threadState":{"x":[{"value":4},{"value":0},{"value":2304},{"value":0},{"value":0},{"value":160},{"value":0},{"value":0},{"value":6096088744},{"value":0},{"value":768},{"value":3298534884098},{"value":3298534884098},{"value":768},{"value":0},{"value":3298534884096},{"value":305},{"value":8414257784},{"value":0},{"value":105553148608816},{"value":105553148608880},{"value":6096089312},{"value":0},{"value":0},{"value":2304},{"value":2304},{"value":4096},{"value":0},{"value":0}],"flavor":"ARM_THREAD_STATE64","lr":{"value":6501976212},"cpsr":{"value":1610616832},"fp":{"value":6096088864},"sp":{"value":6096088720},"esr":{"value":1442840704,"description":" Address size fault"},"pc":{"value":6501721836},"far":{"value":0}}},{"id":13031678,"frames":[{"imageOffset":18156,"symbol":"__psynch_cvwait","symbolLocation":8,"imageIndex":9},{"imageOffset":30868,"symbol":"_pthread_cond_wait","symbolLocation":1204,"imageIndex":10},{"imageOffset":136568,"symbol":"std::__1::condition_variable::wait(std::__1::unique_lockstd::__1::mutex&)","symbolLocation":28,"imageIndex":11},{"imageOffset":2240936,"symbol":"EE::System::ThreadPool::threadFunc()","symbolLocation":136,"imageIndex":1},{"imageOffset":2239396,"symbol":"EE::System::Platform::ThreadImpl::entryPoint(void*)","symbolLocation":44,"imageIndex":1},{"imageOffset":29412,"symbol":"_pthread_start","symbolLocation":136,"imageIndex":10},{"imageOffset":8444,"symbol":"thread_start","symbolLocation":8,"imageIndex":10}],"threadState":{"x":[{"value":4},{"value":0},{"value":2560},{"value":0},{"value":0},{"value":160},{"value":0},{"value":0},{"value":6096662184},{"value":0},{"value":768},{"value":3298534884098},{"value":3298534884098},{"value":768},{"value":0},{"value":3298534884096},{"value":305},{"value":8414257784},{"value":0},{"value":105553148608816},{"value":105553148608880},{"value":6096662752},{"value":0},{"value":0},{"value":2560},{"value":2560},{"value":4608},{"value":0},{"value":0}],"flavor":"ARM_THREAD_STATE64","lr":{"value":6501976212},"cpsr":{"value":1610616832},"fp":{"value":6096662304},"sp":{"value":6096662160},"esr":{"value":1442840704,"description":" Address size fault"},"pc":{"value":6501721836},"far":{"value":0}}},{"id":13031679,"frames":[{"imageOffset":18156,"symbol":"__psynch_cvwait","symbolLocation":8,"imageIndex":9},{"imageOffset":30868,"symbol":"_pthread_cond_wait","symbolLocation":1204,"imageIndex":10},{"imageOffset":136568,"symbol":"std::__1::condition_variable::wait(std::__1::unique_lockstd::__1::mutex&)","symbolLocation":28,"imageIndex":11},{"imageOffset":2240936,"symbol":"EE::System::ThreadPool::threadFunc()","symbolLocation":136,"imageIndex":1},{"imageOffset":2239396,"symbol":"EE::System::Platform::ThreadImpl::entryPoint(void*)","symbolLocation":44,"imageIndex":1},{"imageOffset":29412,"symbol":"_pthread_start","symbolLocation":136,"imageIndex":10},{"imageOffset":8444,"symbol":"thread_start","symbolLocation":8,"imageIndex":10}],"threadState":{"x":[{"value":4},{"value":0},{"value":1792},{"value":0},{"value":0},{"value":160},{"value":0},{"value":0},{"value":6097235624},{"value":0},{"value":768},{"value":3298534884098},{"value":3298534884098},{"value":768},{"value":0},{"value":3298534884096},{"value":305},{"value":8414257784},{"value":0},{"value":105553148608816},{"value":105553148608880},{"value":6097236192},{"value":0},{"value":0},{"value":1792},{"value":1792},{"value":3328},{"value":0},{"value":0}],"flavor":"ARM_THREAD_STATE64","lr":{"value":6501976212},"cpsr":{"value":1610616832},"fp":{"value":6097235744},"sp":{"value":6097235600},"esr":{"value":1442840704,"description":" Address size fault"},"pc":{"value":6501721836},"far":{"value":0}}},{"id":13031680,"frames":[{"imageOffset":18156,"symbol":"__psynch_cvwait","symbolLocation":8,"imageIndex":9},{"imageOffset":30868,"symbol":"_pthread_cond_wait","symbolLocation":1204,"imageIndex":10},{"imageOffset":136568,"symbol":"std::__1::condition_variable::wait(std::__1::unique_lockstd::__1::mutex&)","symbolLocation":28,"imageIndex":11},{"imageOffset":2240936,"symbol":"EE::System::ThreadPool::threadFunc()","symbolLocation":136,"imageIndex":1},{"imageOffset":2239396,"symbol":"EE::System::Platform::ThreadImpl::entryPoint(void*)","symbolLocation":44,"imageIndex":1},{"imageOffset":29412,"symbol":"_pthread_start","symbolLocation":136,"imageIndex":10},{"imageOffset":8444,"symbol":"thread_start","symbolLocation":8,"imageIndex":10}],"threadState":{"x":[{"value":4},{"value":0},{"value":1792},{"value":0},{"value":0},{"value":160},{"value":0},{"value":0},{"value":6097809064},{"value":0},{"value":768},{"value":3298534884098},{"value":3298534884098},{"value":768},{"value":0},{"value":3298534884096},{"value":305},{"value":8414257784},{"value":0},{"value":105553148608816},{"value":105553148608880},{"value":6097809632},{"value":0},{"value":0},{"value":1792},{"value":1792},{"value":3072},{"value":0},{"value":0}],"flavor":"ARM_THREAD_STATE64","lr":{"value":6501976212},"cpsr":{"value":1610616832},"fp":{"value":6097809184},"sp":{"value":6097809040},"esr":{"value":1442840704,"description":" Address size fault"},"pc":{"value":6501721836},"far":{"value":0}}},{"id":13031681,"frames":[{"imageOffset":18156,"symbol":"__psynch_cvwait","symbolLocation":8,"imageIndex":9},{"imageOffset":30868,"symbol":"_pthread_cond_wait","symbolLocation":1204,"imageIndex":10},{"imageOffset":136568,"symbol":"std::__1::condition_variable::wait(std::__1::unique_lockstd::__1::mutex&)","symbolLocation":28,"imageIndex":11},{"imageOffset":2240936,"symbol":"EE::System::ThreadPool::threadFunc()","symbolLocation":136,"imageIndex":1},{"imageOffset":2239396,"symbol":"EE::System::Platform::ThreadImpl::entryPoint(void*)","symbolLocation":44,"imageIndex":1},{"imageOffset":29412,"symbol":"_pthread_start","symbolLocation":136,"imageIndex":10},{"imageOffset":8444,"symbol":"thread_start","symbolLocation":8,"imageIndex":10}],"threadState":{"x":[{"value":4},{"value":0},{"value":1792},{"value":0},{"value":0},{"value":160},{"value":0},{"value":0},{"value":6098382504},{"value":0},{"value":768},{"value":3298534884098},{"value":3298534884098},{"value":768},{"value":0},{"value":3298534884096},{"value":305},{"value":8414257784},{"value":0},{"value":105553148608816},{"value":105553148608880},{"value":6098383072},{"value":0},{"value":0},{"value":1792},{"value":1792},{"value":3584},{"value":0},{"value":0}],"flavor":"ARM_THREAD_STATE64","lr":{"value":6501976212},"cpsr":{"value":1610616832},"fp":{"value":6098382624},"sp":{"value":6098382480},"esr":{"value":1442840704,"description":" Address size fault"},"pc":{"value":6501721836},"far":{"value":0}}},{"id":13031682,"frames":[{"imageOffset":18156,"symbol":"__psynch_cvwait","symbolLocation":8,"imageIndex":9},{"imageOffset":30868,"symbol":"_pthread_cond_wait","symbolLocation":1204,"imageIndex":10},{"imageOffset":136568,"symbol":"std::__1::condition_variable::wait(std::__1::unique_lockstd::__1::mutex&)","symbolLocation":28,"imageIndex":11},{"imageOffset":2240936,"symbol":"EE::System::ThreadPool::threadFunc()","symbolLocation":136,"imageIndex":1},{"imageOffset":2239396,"symbol":"EE::System::Platform::ThreadImpl::entryPoint(void*)","symbolLocation":44,"imageIndex":1},{"imageOffset":29412,"symbol":"_pthread_start","symbolLocation":136,"imageIndex":10},{"imageOffset":8444,"symbol":"thread_start","symbolLocation":8,"imageIndex":10}],"threadState":{"x":[{"value":260},{"value":0},{"value":2560},{"value":0},{"value":0},{"value":160},{"value":0},{"value":0},{"value":6098955944},{"value":0},{"value":768},{"value":3298534884098},{"value":3298534884098},{"value":768},{"value":0},{"value":3298534884096},{"value":305},{"value":8414257784},{"value":0},{"value":105553148608816},{"value":105553148608880},{"value":6098956512},{"value":0},{"value":0},{"value":2560},{"value":2560},{"value":4352},{"value":0},{"value":0}],"flavor":"ARM_THREAD_STATE64","lr":{"value":6501976212},"cpsr":{"value":1610616832},"fp":{"value":6098956064},"sp":{"value":6098955920},"esr":{"value":1442840704,"description":" Address size fault"},"pc":{"value":6501721836},"far":{"value":0}}},{"id":13031683,"frames":[{"imageOffset":8424,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":10}],"threadState":{"x":[{"value":6099529728},{"value":8707},{"value":6098993152},{"value":0},{"value":409604},{"value":18446744073709551615},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0}],"flavor":"ARM_THREAD_STATE64","lr":{"value":0},"cpsr":{"value":4096},"fp":{"value":0},"sp":{"value":6099529728},"esr":{"value":1442840704,"description":" Address size fault"},"pc":{"value":6501953768},"far":{"value":0}}},{"id":13031684,"frames":[{"imageOffset":8424,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":10}],"threadState":{"x":[{"value":6100103168},{"value":10755},{"value":6099566592},{"value":0},{"value":409604},{"value":18446744073709551615},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0}],"flavor":"ARM_THREAD_STATE64","lr":{"value":0},"cpsr":{"value":4096},"fp":{"value":0},"sp":{"value":6100103168},"esr":{"value":1442840704,"description":" Address size fault"},"pc":{"value":6501953768},"far":{"value":0}}},{"id":13031686,"frames":[{"imageOffset":8424,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":10}],"threadState":{"x":[{"value":6100676608},{"value":23043},{"value":6100140032},{"value":0},{"value":409604},{"value":18446744073709551615},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0}],"flavor":"ARM_THREAD_STATE64","lr":{"value":0},"cpsr":{"value":4096},"fp":{"value":0},"sp":{"value":6100676608},"esr":{"value":1442840704,"description":" Address size fault"},"pc":{"value":6501953768},"far":{"value":0}}},{"id":13031703,"frames":[{"imageOffset":8424,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":10}],"threadState":{"x":[{"value":6101250048},{"value":41731},{"value":6100713472},{"value":0},{"value":409604},{"value":18446744073709551615},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0}],"flavor":"ARM_THREAD_STATE64","lr":{"value":0},"cpsr":{"value":4096},"fp":{"value":0},"sp":{"value":6101250048},"esr":{"value":1442840704,"description":" Address size fault"},"pc":{"value":6501953768},"far":{"value":0}}},{"id":13031704,"frames":[{"imageOffset":8424,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":10}],"threadState":{"x":[{"value":6101823488},{"value":0},{"value":6101286912},{"value":0},{"value":278532},{"value":18446744073709551615},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0}],"flavor":"ARM_THREAD_STATE64","lr":{"value":0},"cpsr":{"value":4096},"fp":{"value":0},"sp":{"value":6101823488},"esr":{"value":0,"description":" Address size fault"},"pc":{"value":6501953768},"far":{"value":0}}},{"id":13031705,"name":"CVDisplayLink","threadState":{"x":[{"value":260},{"value":0},{"value":0},{"value":0},{"value":0},{"value":65704},{"value":0},{"value":16412167},{"value":307457},{"value":0},{"value":0},{"value":2},{"value":2},{"value":0},{"value":0},{"value":0},{"value":305},{"value":8414257784},{"value":0},{"value":4950231608},{"value":4950231672},{"value":1},{"value":16412167},{"value":0},{"value":0},{"value":307457},{"value":307712},{"value":8237546744,"symbolLocation":0,"symbol":"CVHostTimeBase::sToNanosDenominator"},{"value":8237546776,"symbolLocation":0,"symbol":"kZeroVideoTime"}],"flavor":"ARM_THREAD_STATE64","lr":{"value":6501976256},"cpsr":{"value":2684358656},"fp":{"value":6102396336},"sp":{"value":6102396192},"esr":{"value":1442840704,"description":" Address size fault"},"pc":{"value":6501721836},"far":{"value":0}},"frames":[{"imageOffset":18156,"symbol":"__psynch_cvwait","symbolLocation":8,"imageIndex":9},{"imageOffset":30912,"symbol":"_pthread_cond_wait","symbolLocation":1248,"imageIndex":10},{"imageOffset":13220,"symbol":"CVDisplayLink::waitUntil(unsigned long long)","symbolLocation":316,"imageIndex":12},{"imageOffset":9340,"symbol":"CVDisplayLink::runIOThread()","symbolLocation":504,"imageIndex":12},{"imageOffset":29412,"symbol":"_pthread_start","symbolLocation":136,"imageIndex":10},{"imageOffset":8444,"symbol":"thread_start","symbolLocation":8,"imageIndex":10}]},{"id":13031706,"name":"CVDisplayLink","threadState":{"x":[{"value":260},{"value":0},{"value":0},{"value":0},{"value":0},{"value":65704},{"value":0},{"value":15584667},{"value":307457},{"value":0},{"value":0},{"value":2},{"value":2},{"value":0},{"value":0},{"value":0},{"value":305},{"value":8414257784},{"value":0},{"value":4950315576},{"value":4950315640},{"value":1},{"value":15584667},{"value":0},{"value":0},{"value":307457},{"value":307712},{"value":8237546744,"symbolLocation":0,"symbol":"CVHostTimeBase::sToNanosDenominator"},{"value":8237546776,"symbolLocation":0,"symbol":"kZeroVideoTime"}],"flavor":"ARM_THREAD_STATE64","lr":{"value":6501976256},"cpsr":{"value":2684358656},"fp":{"value":6102969776},"sp":{"value":6102969632},"esr":{"value":1442840704,"description":" Address size fault"},"pc":{"value":6501721836},"far":{"value":0}},"frames":[{"imageOffset":18156,"symbol":"__psynch_cvwait","symbolLocation":8,"imageIndex":9},{"imageOffset":30912,"symbol":"_pthread_cond_wait","symbolLocation":1248,"imageIndex":10},{"imageOffset":13220,"symbol":"CVDisplayLink::waitUntil(unsigned long long)","symbolLocation":316,"imageIndex":12},{"imageOffset":9340,"symbol":"CVDisplayLink::runIOThread()","symbolLocation":504,"imageIndex":12},{"imageOffset":29412,"symbol":"_pthread_start","symbolLocation":136,"imageIndex":10},{"imageOffset":8444,"symbol":"thread_start","symbolLocation":8,"imageIndex":10}]},{"id":13031803,"name":"com.apple.NSEventThread","threadState":{"x":[{"value":268451845},{"value":21592279046},{"value":8589934592},{"value":272691768590336},{"value":0},{"value":272691768590336},{"value":2},{"value":4294967295},{"value":18446744073709550527},{"value":2},{"value":0},{"value":0},{"value":0},{"value":63491},{"value":0},{"value":0},{"value":18446744073709551569},{"value":8414240248},{"value":0},{"value":4294967295},{"value":2},{"value":272691768590336},{"value":0},{"value":272691768590336},{"value":6103539816},{"value":8589934592},{"value":21592279046},{"value":21592279046},{"value":4412409862}],"flavor":"ARM_THREAD_STATE64","lr":{"value":6501783044},"cpsr":{"value":4096},"fp":{"value":6103539664},"sp":{"value":6103539584},"esr":{"value":1442840704,"description":" Address size fault"},"pc":{"value":6501707604},"far":{"value":0}},"frames":[{"imageOffset":3924,"symbol":"mach_msg2_trap","symbolLocation":8,"imageIndex":9},{"imageOffset":79364,"symbol":"mach_msg2_internal","symbolLocation":80,"imageIndex":9},{"imageOffset":39672,"symbol":"mach_msg_overwrite","symbolLocation":480,"imageIndex":9},{"imageOffset":4764,"symbol":"mach_msg","symbolLocation":24,"imageIndex":9},{"imageOffset":514636,"symbol":"__CFRunLoopServiceMachPort","symbolLocation":160,"imageIndex":13},{"imageOffset":508588,"symbol":"__CFRunLoopRun","symbolLocation":1212,"imageIndex":13},{"imageOffset":505652,"symbol":"CFRunLoopRunSpecific","symbolLocation":588,"imageIndex":13},{"imageOffset":1442424,"symbol":"_NSEventThread","symbolLocation":148,"imageIndex":14},{"imageOffset":29412,"symbol":"_pthread_start","symbolLocation":136,"imageIndex":10},{"imageOffset":8444,"symbol":"thread_start","symbolLocation":8,"imageIndex":10}]}],
"usedImages" : [
{
"source" : "P",
"arch" : "arm64",
"base" : 4372496384,
"CFBundleShortVersionString" : "0.7.0",
"CFBundleIdentifier" : "ensoft.dev",
"size" : 5636096,
"uuid" : "521971d0-2e2f-38cd-bbb7-816500fa1f57",
"path" : "/Applications/ecode.app/Contents/MacOS/ecode",
"name" : "ecode"
},
{
"source" : "P",
"arch" : "arm64",
"base" : 4396515328,
"size" : 7405568,
"uuid" : "cf9834be-b045-3182-b4df-6e724c871347",
"path" : "/Applications/ecode.app/Contents/MacOS/libeepp.dylib",
"name" : "libeepp.dylib"
},
{
"source" : "P",
"arch" : "arm64",
"base" : 4383506432,
"size" : 49152,
"uuid" : "2d223762-e42c-3582-aa01-c31c6d7a8b23",
"path" : "/opt/homebrew/*/libunwind.1.0.dylib",
"name" : "libunwind.1.0.dylib"
},
{
"source" : "P",
"arch" : "arm64",
"base" : 4386390016,
"size" : 1114112,
"uuid" : "d3d6ee65-9076-3f53-862a-23af11ce0063",
"path" : "/Applications/ecode.app/Contents/MacOS/libSDL2-2.0.0.dylib",
"name" : "libSDL2-2.0.0.dylib"
},
{
"source" : "P",
"arch" : "arm64e",
"base" : 4597940224,
"size" : 49152,
"uuid" : "3d687e9b-e092-3632-bc1d-74b19d492de0",
"path" : "/usr/lib/libobjc-trampolines.dylib",
"name" : "libobjc-trampolines.dylib"
},
{
"source" : "P",
"arch" : "arm64e",
"base" : 4649009152,
"CFBundleShortVersionString" : "324.6",
"CFBundleIdentifier" : "com.apple.AGXMetalG13X",
"size" : 6963200,
"uuid" : "d03677d4-c896-3fd7-88c0-abed05133e06",
"path" : "/System/Library/Extensions/AGXMetalG13X.bundle/Contents/MacOS/AGXMetalG13X",
"name" : "AGXMetalG13X",
"CFBundleVersion" : "324.6"
},
{
"source" : "P",
"arch" : "arm64e",
"base" : 4618600448,
"CFBundleShortVersionString" : "1.0",
"CFBundleIdentifier" : "com.apple.AppleMetalOpenGLRenderer",
"size" : 425984,
"uuid" : "a969aeaf-d20c-3296-b195-742e2b280d5e",
"path" : "/System/Library/Extensions/AppleMetalOpenGLRenderer.bundle/Contents/MacOS/AppleMetalOpenGLRenderer",
"name" : "AppleMetalOpenGLRenderer",
"CFBundleVersion" : "1"
},
{
"source" : "P",
"arch" : "arm64e",
"base" : 6498279424,
"size" : 532288,
"uuid" : "398a133c-9bcb-317f-a064-a40d3cea3c0f",
"path" : "/usr/lib/dyld",
"name" : "dyld"
},
{
"size" : 0,
"source" : "A",
"base" : 0,
"uuid" : "00000000-0000-0000-0000-000000000000"
},
{
"source" : "P",
"arch" : "arm64e",
"base" : 6501703680,
"size" : 241656,
"uuid" : "eee9d0d3-dffc-37cb-9ced-b27cd0286d8c",
"path" : "/usr/lib/system/libsystem_kernel.dylib",
"name" : "libsystem_kernel.dylib"
},
{
"source" : "P",
"arch" : "arm64e",
"base" : 6501945344,
"size" : 53248,
"uuid" : "642faf7a-874e-37e6-8aba-2b0cc09a3025",
"path" : "/usr/lib/system/libsystem_pthread.dylib",
"name" : "libsystem_pthread.dylib"
},
{
"source" : "P",
"arch" : "arm64e",
"base" : 6501011456,
"size" : 581628,
"uuid" : "bbab286c-2e51-3d64-9ae3-a4102935fe32",
"path" : "/usr/lib/libc++.1.dylib",
"name" : "libc++.1.dylib"
},
{
"source" : "P",
"arch" : "arm64e",
"base" : 6657560576,
"CFBundleShortVersionString" : "1.8",
"CFBundleIdentifier" : "com.apple.CoreVideo",
"size" : 397312,
"uuid" : "0fcfe924-013c-3974-9fdf-58f9a8d71845",
"path" : "/System/Library/Frameworks/CoreVideo.framework/Versions/A/CoreVideo",
"name" : "CoreVideo",
"CFBundleVersion" : "672.10"
},
{
"source" : "P",
"arch" : "arm64e",
"base" : 6502412288,
"CFBundleShortVersionString" : "6.9",
"CFBundleIdentifier" : "com.apple.CoreFoundation",
"size" : 5197824,
"uuid" : "190e6a36-fcaa-3ea3-94bb-7009c44653da",
"path" : "/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation",
"name" : "CoreFoundation",
"CFBundleVersion" : "3302.1.400"
},
{
"source" : "P",
"arch" : "arm64e",
"base" : 6565031936,
"CFBundleShortVersionString" : "6.9",
"CFBundleIdentifier" : "com.apple.AppKit",
"size" : 21221376,
"uuid" : "b88a44c1-d617-33dc-90ed-b6ab417c428e",
"path" : "/System/Library/Frameworks/AppKit.framework/Versions/C/AppKit",
"name" : "AppKit",
"CFBundleVersion" : "2575.40.6"
}
],
"sharedCache" : {
"base" : 6497468416,
"size" : 4865835008,
"uuid" : "d272b91e-f9f0-3854-b5b9-508b21c25dcc"
},
"vmSummary" : "ReadOnly portion of Libraries: Total=1.6G resident=0K(0%) swapped_out_or_unallocated=1.6G(100%)\nWritable regions: Total=1.6G written=675K(0%) resident=675K(0%) swapped_out=0K(0%) unallocated=1.6G(100%)\n\n VIRTUAL REGION \nREGION TYPE SIZE COUNT (non-coalesced) \n=========== ======= ======= \nAccelerate framework 256K 2 \nActivity Tracing 256K 1 \nCG image 640K 7 \nColorSync 624K 31 \nCoreAnimation 288K 18 \nCoreGraphics 32K 2 \nCoreUI image data 480K 7 \nFoundation 16K 1 \nKernel Alloc Once 32K 1 \nMALLOC 1.6G 61 \nMALLOC guard page 288K 18 \nSTACK GUARD 56.3M 17 \nStack 16.5M 17 \nVM_ALLOCATE 2640K 52 \n__AUTH 5172K 661 \n__AUTH_CONST 69.5M 904 \n__CTF 824 1 \n__DATA 24.3M 890 \n__DATA_CONST 24.6M 918 \n__DATA_DIRTY 2755K 335 \n__FONT_DATA 2352 1 \n__GLSLBUILTINS 5174K 1 \n__INFO_FILTER 8 1 \n__LINKEDIT 616.8M 8 \n__OBJC_RW 2374K 1 \n__TEXT 1.0G 938 \n__TPRO_CONST 272K 2 \nmapped file 208.0M 24 \nowned unmapped memory 2400K 1 \npage table in kernel 675K 1 \nshared memory 1424K 16 \n=========== ======= ======= \nTOTAL 3.6G 4938 \n",
"legacyInfo" : {
"threadTriggered" : {
"queue" : "com.apple.main-thread"
}
},
"logWritingSignature" : "6de2416485def0495598e43d05bed01a47dba9a4",
"trialInfo" : {
"rollouts" : [
{
"rolloutId" : "658361a603dc58766bab2d2a",
"factorPackIds" : {
"SIRI_TTS_DEVICE_TRAINING" : "6736733a26c1270f5a9ef53d"
},
"deploymentId" : 240000045
},
{
"rolloutId" : "645197bf528fbf3c3af54105",
"factorPackIds" : {
"SIRI_VALUE_INFERENCE_PERVASIVE_ENTITY_RESOLUTION" : "663e65b4a1526e1ca0e288a1"
},
"deploymentId" : 240000002
}
],
"experiments" : [
{
"treatmentId" : "28060e10-d4e5-4163-aa2b-d8bd088d5cbf",
"experimentId" : "6685b283afc7c17197d69eec",
"deploymentId" : 400000005
}
]
}
}

Model: MacBookPro18,3, BootROM 11881.81.4, proc 8:6:2 processors, 32 GB, SMC
Graphics: Apple M1 Pro, Apple M1 Pro, Built-In
Display: LG HDR WQHD, 3440 x 1440 (UWQHD - Ultra-Wide Quad HD), Main, MirrorOff, Online
Memory Module: LPDDR5, Hynix
AirPort: spairport_wireless_card_type_wifi (0x14E4, 0x4387), wl0: Oct 31 2024 06:06:06 version 20.10.1135.4.8.7.191 FWID 01-e648b845
IO80211_driverkit-1345.10 "IO80211_driverkit-1345.10" Dec 14 2024 17:47:07
Bluetooth: Version (null), 0 services, 0 devices, 0 incoming serial ports
Network Service: USB 10/100/1000 LAN 3, Ethernet, en9
USB Device: USB31Bus
USB Device: YubiKey OTP+FIDO+CCID
USB Device: USB31Bus
USB Device: 4-Port USB 3.0 Hub
USB Device: 4-Port USB 3.0 Hub
USB Device: USB3.0 Card Reader
USB Device: USB 10/100/1000 LAN
USB Device: 4-Port USB 2.0 Hub
USB Device: USB-C Computer Docking Station
USB Device: 4-Port USB 2.0 Hub
USB Device: Logitech Webcam C930e
USB Device: USB Receiver
USB Device: USB 2.0 Hub
USB Device: MK730
USB Device: Vanatoo T1EP
USB Device: G533 Gaming Headset
USB Device: USB31Bus
USB Device: YubiKey FIDO
Thunderbolt Bus: MacBook Pro, Apple Inc.
Thunderbolt Bus: MacBook Pro, Apple Inc.
Thunderbolt Bus: MacBook Pro, Apple Inc.

@meowtochondria
Copy link
Author

FYI, I've compiled the app from source and it needed me to install llvm17 (brew install llvm@17). If you want me to create a debug build and test with it, just let me know the appropriate args to compile with.

SpartanJ referenced this issue in SpartanJ/eepp Mar 6, 2025
@SpartanJ
Copy link
Owner

SpartanJ commented Mar 6, 2025

Don't worry, it was really easy to reproduce and it will crash on any OS. I just sent a fix, fix will be available in the nightly builds in around 15 minutes.

BTW: I'll move the issue to ecode repository, since ecode bugs should be reported there. Thanks for reporting issues!

@SpartanJ SpartanJ transferred this issue from SpartanJ/eepp Mar 6, 2025
@SpartanJ
Copy link
Owner

SpartanJ commented Mar 6, 2025

OpenGL 3 Core Profile renderer is also fixed on macOS, I just pushed another fix, it will render correctly. OpenGL 3 renderer has been disabled on macOS (since it's not supported).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working ready for release
Projects
None yet
Development

No branches or pull requests

2 participants