https://bugs.documentfoundation.org/show_bug.cgi?id=145127

Olly Betts <ojwbetts...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEEDINFO                    |UNCONFIRMED
     Ever confirmed|1                           |0

--- Comment #2 from Olly Betts <ojwbetts...@gmail.com> ---
I don't have a mac, but I've tested in github actions and libreofficekit still
seems broken on macos.  Things have improved marginally as it now throws an
exception instead of hanging:

Calling lok_cpp_init()
*** Terminating app due to uncaught exception
'NSInternalInconsistencyException', reason: 'NSWindow should only be
instantiated on the main thread!'
*** First throw call stack:
(
        0   CoreFoundation                      0x000000019ddbaccc
__exceptionPreprocess + 176
        1   libobjc.A.dylib                     0x000000019d8a2788
objc_exception_throw + 60
        2   CoreFoundation                      0x000000019dddfc48
_CFBundleGetValueForInfoKey + 0
        3   AppKit                              0x00000001a15ad294 -[NSWindow
_initContent:styleMask:backing:defer:contentView:] + 188
        4   AppKit                              0x00000001a15ad1cc -[NSWindow
initWithContentRect:styleMask:backing:defer:] + 48
        5   AppKit                              0x00000001a185d1e0
-[NSComboBoxWindow initWithContentRect:comboBoxCell:] + 88
        6   AppKit                              0x00000001a185cbd8
-[NSComboBoxCell initPopUpWindow] + 896
        7   AppKit                              0x00000001a18ae404
-[NSComboBoxCell initTextCell:] + 100
        8   libvclplug_osxlo.dylib              0x0000000106eb9f60
_ZN15AquaSalInstanceC2Ev + 448
        9   libvclplug_osxlo.dylib              0x0000000106eb9d30
create_SalInstance + 248
        10  libvcllo.dylib                      0x0000000105287e20
_ZN12_GLOBAL__N_111tryInstanceERKN3rtl8OUStringEb + 212
        11  libvcllo.dylib                      0x0000000105287be8
_Z17CreateSalInstancev + 272
        12  libvcllo.dylib                      0x00000001052d6668 _Z7InitVCLv
+ 140
        13  libvcllo.dylib                      0x00000001052d6380
_Z10ImplSVMainv + 328
        14  libsofficeapp.dylib                 0x000000010070c4d8 soffice_main
+ 216
        15  libsofficeapp.dylib                 0x0000000100752e38
_ZL12lo_startmainPv + 52
        16  libuno_sal.dylib.3                  0x00000001008ec69c
_ZL21osl_thread_start_ImplPv + 128
        17  libsystem_pthread.dylib             0x000000019dc66f94
_pthread_start + 136
        18  libsystem_pthread.dylib             0x000000019dc61d34 thread_start
+ 8
)
libc++abi: terminating due to uncaught exception of type NSException
/Users/runner/work/_temp/a1d11d20-8921-4beb-89f9-c687f1d039b8.sh: line 2:  5369
Abort trap: 6          
LO_PATH=/Applications/LibreOffice.app/Contents/Frameworks ./loktest in.html
out.doc

The repo with the test code is: https://github.com/ojwb/loktest

(I've stuck a copy of the LOK headers in the repo as the homebrew LO package
doesn't seem to include them.)

Logs from the action (though they'll expire after a while):
https://github.com/ojwb/loktest/actions/runs/8932805167

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to