-
Notifications
You must be signed in to change notification settings - Fork 45
Open
Description
I'm tryting to build an GUI Calculator application to watch your youtube content.
I've already installed GLFW, and leif and clipboard, OpenGL math Libraries.
After that, I just copy and paste Hello, World Example from README.
compile was okay, but an segmentation fault was occured when I run it,
When I debugged it using LLDB. It seems to occur an error when lf_load_font_asset was called.
This is an debugging log the program stopped in LLDB.
Process 64908 stopped
- thread Updates to Scripts #1, queue = 'com.apple.main-thread', stop reason = instruction step over
frame #0: 0x0000000100036644 calclf_init_glfw + 196 calclf_init_glfw:
-> 0x100036644 <+196>: bl 0x10003784c ; lf_load_font_asset
0x100036648 <+200>: adrp x8, 78
0x10003664c <+204>: ldr d1, [x8, #0xc8]
0x100036650 <+208>: str s1, [x19, #0x5b0]
Target 0: (calc) stopped.
(lldb)
Process 64908 stopped - thread Updates to Scripts #1, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x0)
frame #0: 0x0000000000000000
error: memory read failed for 0x0
Target 0: (calc) stopped.
My System Environment is as below.
- MacOS Tahoe 26.2
- GLFW 3.4
- leif installed from main branch
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels