Closed m4w13 closed 10 months ago
Below is the crashlog when the preferences window is opened:
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Exception Type: EXC_CRASH (SIGABRT) Exception Codes: 0x0000000000000000, 0x0000000000000000
Termination Reason: Namespace SIGNAL, Code 6 Abort trap: 6 Terminating Process: texstudio [32304]
Application Specific Information: abort() called
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 libsystem_kernel.dylib 0x188ad20dc pthread_kill + 8
1 libsystem_pthread.dylib 0x188b09cc0 pthread_kill + 288
2 libsystem_c.dylib 0x188a15a40 abort + 180
3 libc++abi.dylib 0x188ac1070 abort_message + 132
4 libc++abi.dylib 0x188ab112c demangling_terminate_handler() + 348
5 libobjc.A.dylib 0x18875798c _objc_terminate() + 144
6 libc++abi.dylib 0x188ac0434 std::terminate(void (*)()) + 16
7 libc++abi.dylib 0x188ac3520 cxxabiv1::failed_throw(cxxabiv1::cxa_exception*) + 88
8 libc++abi.dylib 0x188ac3464 __cxa_throw + 308
9 libobjc.A.dylib 0x18874e01c objc_exception_throw + 420
10 CoreFoundation 0x188bd2d10 -[NSArrayM objectAtIndexedSubscript:] + 584
11 libqcocoa.dylib 0x106d8656c -[QMacAccessibilityElement initWithId:role:] + 296
12 libqcocoa.dylib 0x106d865ec +[QMacAccessibilityElement elementWithId:] + 64
13 libqcocoa.dylib 0x106d84b88 QCocoaAccessibility::notifyAccessibilityUpdate(QAccessibleEvent) + 104
14 QtWidgets 0x10884e888 QListView::selectionChanged(QItemSelection const&, QItemSelection const&) + 204
15 QtCore 0x108d04b00 void doActivate
since that code runs on all other platforms, I don't see a way to debug it. Have you tried our build ?
Yes, your build under intel works great. Unfortunately you don't provide a build for apple silicon, so I have to compile it myself.
I solved the problem by installing qt version 6.6.0 instead of 6.6.1. After I recompiled poppler with qt 6.6.0 and recompiled texstudio - everything worked as it should.
The problem seems to be that texstudio for macOs does not currently support qt 6.6.1. Is this correct?
no, the problem is that apparently qt 6.6.1 has issues on osx.
Ok, thanks for the clarification. I will wait for this to be fixed in qt 6.6.2 )
Environment
Actual behavior
I compiled version 4.7.2.
I have compiled with poppler with qt6, internal pdf reader works fine.
Texstudio crashes when opening any auxiliary window (preference, open-file, etc.). The intel version works fine, no problems.
This may be due to the latest macOs update, there have been bug reports here reporting the intel version crashing, you fixed that, report #3395.
Please fix the same for Apple ARM.