setTheme method causes a segfault (MacOS)
I was trying to add automatic theme detection (based off your system theme) and discovered that calling the setTheme method causes a segmentation fault. I am using MacOS Monterey, and am using the latest version (dev)
Upon further inspection
2022-09-16 12:49:32.775364-0700 Notes[28692:1727512] SecTaskLoadEntitlements failed error=22 cs_flags=20, pid=28692
2022-09-16 12:49:32.775494-0700 Notes[28692:1727512] SecTaskCopyDebugDescription: Notes[28692]/0#-1 LF=0
2022-09-16 12:49:33.541333-0700 Notes[28692:1727512] [qt.qpa.fonts] Populating font family aliases took 184 ms. Replace uses of missing font family "SF Pro Text" with one that exists to avoid this cost.
2022-09-16 12:49:33.542071-0700 Notes[28692:1727512] SecTaskLoadEntitlements failed error=22 cs_flags=20, pid=28692
2022-09-16 12:49:33.542162-0700 Notes[28692:1727512] SecTaskCopyDebugDescription: Notes[28692]/0#-1 LF=0
2022-09-16 12:49:33.689429-0700 Notes[28692:1727512] SecTaskLoadEntitlements failed error=22 cs_flags=20, pid=28692
2022-09-16 12:49:33.689535-0700 Notes[28692:1727512] SecTaskCopyDebugDescription: Notes[28692]/0#-1 LF=0
Exception: EXC_BAD_ACCESS (code=1, address=0x10)
Null pointer dereference? I can't generate debug symbols so I can't isolate it easily.
Hello, can I get an example of your code? Currently I can not reproduce it with my code
Hello, can I get an example of your code? Currently I can not reproduce it with my code
Getting my macbook fixed, will respond once done
@Frityet Hey, let me know if you can reproduce this segfault again, please.
Fixed (sorry looking through old issues I made)