lyx 2.4.0 crashes on the command line on Silicon Mac

Stephan Witt st.witt at gmx.net
Tue Jul 2 21:18:22 UTC 2024


> Am 02.07.2024 um 16:23 schrieb Dr Eberhard Lisse <nospam at lisse.NA>:
> 
> On 2024/07/02 00:15, Stephan Witt wrote:
>> Am 01.07.2024 um 13:03 schrieb Dr Eberhard Lisse <nospam at lisse.NA>:
>>> 
>>> Hi,
>>> 
>>> when trying to compile even the document enclosed, from the
>>> command line on my ARM Mac Mini, like so:
>>> 
>>> /Applications/LyX.app/Contents/MacOS/lyx -dbg all -f -e pdf5
>>> newfile1.lyx
>>> 
>>> I am getting the enclosed crash report (also without using -dbg)
>>> 
>>> Doing this on an Intel works as it should.
>>> 
>>> The document compiles/renders in the GUI without issues as
>>> enclosed.
>>> 
>>> I have Homebrew's QT stable 6.7.0 installed.
>> 
>> Hi,
>> 
>> I’m not sure - but that shouldn’t matter.
>> 
>> To verify please start it with DYLD_PRINT_LIBRARIES=1
>> /Applications/LyX.app/Contents/MacOS/lyx  …
>> 
>> My impression is there is a problem with loading the „headless
>> platform“ shared library. Perhaps it succeeds with Intel and fails
>> with Arm CPU.
> Same crash, the error log is attached

Yes, the crash was to be expected. This was to let the dynamic linker talk about its doing.

First info: LyX is using the bundled Qt5 frameworks.
Second info: Qt loads libqmacstyle.dylib just before the crash.

So, probably it is a problem in Qt indeed. 
At the moment I have to look into the Qt source to get an idea how to improve the situation.

Here it is working on macOS 11.7 and on Johns machine it runs fine too - so there is some hope :)

Do you have any Qt related environment variables set?

BR, Stephan

> 
> el<newfile1.err>-- 
> lyx-devel mailing list
> lyx-devel at lists.lyx.org
> http://lists.lyx.org/mailman/listinfo/lyx-devel



More information about the lyx-devel mailing list