https://bugs.documentfoundation.org/show_bug.cgi?id=171948
Bug ID: 171948
Summary: macOS: Quick Look preview extension crashes due to
missing nib/xib (NSNib load failure in
QLPreviewExtensionViewController)
Product: LibreOffice
Version: 26.2.2.2 release
Hardware: x86-64 (AMD64)
OS: macOS (All)
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: LibreOffice
Assignee: [email protected]
Reporter: [email protected]
Description:
On macOS, triggering Quick Look (spacebar in Finder) for LibreOffice-supported
documents (e.g. .odt, .ods) causes the Quick Look extension to crash.
The crash occurs inside the Quick Look preview extension bundled with
LibreOffice, during view controller initialization.
The backtrace shows that NSViewController attempts to load a nib (NSNib), but
no nib/xib resource appears to be present in the extension bundle.
Steps to Reproduce:
1. Install LibreOffice (tested with version: 26.2.2.2)
2. On macOS 12.7.6 on x86_64.
3. In Finder, select a .odt or .ods file
4. Press spacebar to trigger Quick Look preview
Actual Results:
Quick Look preview fails, only generic icon show.
The Quick Look extension crashes.
Expected Results:
Quick Look preview should render document contents without crashing
Reproducible: Always
User Profile Reset: No
Additional Info:
-------------------------------------
Translated Report (Full Report Below)
-------------------------------------
Process: QuickLookPreview [16758]
Path:
/Applications/LibreOffice.app/Contents/PlugIns/QuickLookPreview.appex/Contents/MacOS/QuickLookPreview
Identifier: org.libreoffice.script.quicklookpreview
Version: 26.2.2.2 (26.2.2.2)
Code Type: X86-64 (Native)
Parent Process: launchd [1]
User ID: 501
Date/Time: 2026-05-02 14:15:16.3643 +0200
OS Version: macOS 12.7.6 (21H1320)
Report Version: 12
Anonymous UUID: CDE76B35-AB67-C983-03E8-0EB0089442EC
Sleep/Wake UUID: 8ED3B6C4-82AD-45D1-B35C-11E3BE790F2E
Time Awake Since Boot: 310000 seconds
Time Since Wake: 374 seconds
System Integrity Protection: enabled
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Exception Type: EXC_BAD_INSTRUCTION (SIGILL)
Exception Codes: 0x0000000000000001, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY
Termination Reason: Namespace SIGNAL, Code 4 Illegal instruction: 4
Terminating Process: exc handler [16758]
Application Specific Backtrace 0:
0 CoreFoundation 0x00007ff8189956e3
__exceptionPreprocess + 242
1 libobjc.A.dylib 0x00007ff8186f58bb objc_exception_throw
+ 48
2 CoreFoundation 0x00007ff81899554a +[NSException
exceptionWithName:reason:userInfo:] + 0
3 AppKit 0x00007ff81b3b01bb -[NSNib
_initWithNibNamed:bundle:options:] + 634
4 AppKit 0x00007ff81b3afefa -[NSViewController
_nibWithName:bundle:] + 173
5 AppKit 0x00007ff81b3afb1c -[NSViewController
loadView] + 131
6 AppKit 0x00007ff81b3af939 -[NSViewController
_loadViewIfRequired] + 72
7 AppKit 0x00007ff81b3af8b6 -[NSViewController
view] + 23
8 QuickLookUI 0x00007ffa386833be
-[QLPreviewExtensionViewController
hookUpToExtensionContextWithUUID:withHints:completionHandler:] + 301
9 CoreFoundation 0x00007ff8188fd93c __invoking___ + 140
10 CoreFoundation 0x00007ff8188fd7d5 -[NSInvocation
invoke] + 305
11 CoreFoundation 0x00007ff81892d2dd -[NSInvocation
invokeWithTarget:] + 70
12 ViewBridge 0x00007ff81feec5c8
__68-[NSVB_ViewServiceImplicitAnimationDecodingProxy
forwardInvocation:]_block_invoke_2 + 46
13 ViewBridge 0x00007ff81feb5000
-[NSViewServiceMarshal withHostWindowFrameAnimationInProgress:perform:] + 54
14 ViewBridge 0x00007ff81feec591
__68-[NSVB_ViewServiceImplicitAnimationDecodingProxy
forwardInvocation:]_block_invoke + 113
15 AppKit 0x00007ff81b371d4b +[NSAnimationContext
runAnimationGroup:] + 55
16 AppKit 0x00007ff81b371cfc +[NSAnimationContext
runAnimationGroup:completionHandler:] + 82
17 ViewBridge 0x00007ff81ff08c19 runAnimationGroup +
133
18 ViewBridge 0x00007ff81fec12dd
+[NSVB_AnimationFencingSupport _animateWithAttributes:animations:completion:] +
122
19 ViewBridge 0x00007ff81feec4ff
-[NSVB_ViewServiceImplicitAnimationDecodingProxy forwardInvocation:] + 206
20 CoreFoundation 0x00007ff8188fc20a ___forwarding___ +
751
21 CoreFoundation 0x00007ff8188fbe88
_CF_forwarding_prep_0 + 120
22 CoreFoundation 0x00007ff8188fd93c __invoking___ + 140
23 CoreFoundation 0x00007ff8188fd7d5 -[NSInvocation
invoke] + 305
24 CoreFoundation 0x00007ff81892d2dd -[NSInvocation
invokeWithTarget:] + 70
25 ViewBridge 0x00007ff81feb7a90 -[NSVB_QueueingProxy
forwardInvocation:] + 321
26 CoreFoundation 0x00007ff8188fc20a ___forwarding___ +
751
27 CoreFoundation 0x00007ff8188fbe88
_CF_forwarding_prep_0 + 120
28 CoreFoundation 0x00007ff8188fd93c __invoking___ + 140
29 CoreFoundation 0x00007ff8188fd7d5 -[NSInvocation
invoke] + 305
30 CoreFoundation 0x00007ff81892d2dd -[NSInvocation
invokeWithTarget:] + 70
31 CoreFoundation 0x00007ff8188fc20a ___forwarding___ +
751
32 CoreFoundation 0x00007ff8188fbe88
_CF_forwarding_prep_0 + 120
33 CoreFoundation 0x00007ff8188fd93c __invoking___ + 140
34 CoreFoundation 0x00007ff8188fd7d5 -[NSInvocation
invoke] + 305
35 ViewBridge 0x00007ff81fe81f00
__deferNSXPCInvocationOntoMainThread_block_invoke + 228
36 ViewBridge 0x00007ff81fe752c4
__wrapBlockWithVoucher_block_invoke + 37
37 ViewBridge 0x00007ff81fe74f4f
__deferBlockOntoMainThread_block_invoke_2 + 274
38 CoreFoundation 0x00007ff818919c41
__CFRUNLOOP_IS_CALLING_OUT_TO_A_BLOCK__ + 12
39 CoreFoundation 0x00007ff818919aec __CFRunLoopDoBlocks
+ 445
40 CoreFoundation 0x00007ff818918e5d __CFRunLoopRun +
2609
41 CoreFoundation 0x00007ff818917d6c CFRunLoopRunSpecific
+ 562
42 HIToolbox 0x00007ff8215ca5e6
RunCurrentEventLoopInMode + 292
43 HIToolbox 0x00007ff8215ca34a
ReceiveNextEventCommon + 594
44 HIToolbox 0x00007ff8215ca0e5
_BlockUntilNextEventMatchingListInModeWithFilter + 70
45 AppKit 0x00007ff81b356aa9 _DPSNextEvent + 927
46 AppKit 0x00007ff81b355166
-[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:]
+ 1394
47 ViewBridge 0x00007ff81fe931c2
__75-[NSViewServiceApplication
nextEventMatchingMask:untilDate:inMode:dequeue:]_block_invoke + 111
48 ViewBridge 0x00007ff81fe93003
-[NSViewServiceApplication _withToxicEventMonitorPerform:] + 114
49 ViewBridge 0x00007ff81fe80bf3
-[NSViewServiceApplication nextEventMatchingMask:untilDate:inMode:dequeue:] +
151
50 AppKit 0x00007ff81b347818 -[NSApplication run]
+ 586
51 AppKit 0x00007ff81b31b79a NSApplicationMain +
817
52 libxpc.dylib 0x00007ff81859a7e4 _xpc_objc_main + 867
53 libxpc.dylib 0x00007ff81859a1a9 xpc_main + 99
54 Foundation 0x00007ff81979910c +[NSXPCListener
serviceListener] + 0
55 PlugInKit 0x00007ff8241837d6
__PLUGINKIT_CALLING_OUT_TO_CLIENT_SUBSYSTEM_FOR_BEGINUSING__ + 39750
56 PlugInKit 0x00007ff82418345c
__PLUGINKIT_CALLING_OUT_TO_CLIENT_SUBSYSTEM_FOR_BEGINUSING__ + 38860
57 PlugInKit 0x00007ff824183ba5
__PLUGINKIT_CALLING_OUT_TO_CLIENT_SUBSYSTEM_FOR_BEGINUSING__ + 40725
58 ExtensionFoundation 0x00007ff82b7b1385 EXExtensionMain +
284
59 Foundation 0x00007ff819803728 NSExtensionMain +
240
60 dyld 0x0000000112a6e52e start + 462
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 AppKit 0x7ff81b6d39ea -[NSApplication
_crashOnException:] + 313
1 AppKit 0x7ff81b6d371d -[NSApplication
reportException:] + 733
2 AppKit 0x7ff81b3478cb -[NSApplication run]
+ 765
3 AppKit 0x7ff81b31b79a NSApplicationMain +
817
4 libxpc.dylib 0x7ff81859a7e4 _xpc_objc_main + 867
5 libxpc.dylib 0x7ff81859a1a9 xpc_main + 99
6 Foundation 0x7ff81979910c -[NSXPCListener
resume] + 262
7 PlugInKit 0x7ff8241837d6 0x7ff824167000 +
116694
8 PlugInKit 0x7ff82418345c 0x7ff824167000 +
115804
9 PlugInKit 0x7ff824183ba5 0x7ff824167000 +
117669
10 ExtensionFoundation 0x7ff82b7b1385 EXExtensionMain +
284
11 Foundation 0x7ff819803728 NSExtensionMain +
240
12 dyld 0x112a6e52e start + 462
Thread 1:
0 libsystem_pthread.dylib 0x7ff81884ef48 start_wqthread + 0
Thread 2:
0 libsystem_pthread.dylib 0x7ff81884ef48 start_wqthread + 0
Thread 3:
0 libsystem_pthread.dylib 0x7ff81884ef48 start_wqthread + 0
Thread 4:
0 libsystem_pthread.dylib 0x7ff81884ef48 start_wqthread + 0
Thread 5:: com.apple.NSEventThread
0 libsystem_kernel.dylib 0x7ff81881693a mach_msg_trap + 10
1 libsystem_kernel.dylib 0x7ff818816ca8 mach_msg + 56
2 CoreFoundation 0x7ff81891a29d
__CFRunLoopServiceMachPort + 319
3 CoreFoundation 0x7ff818918928 __CFRunLoopRun +
1276
4 CoreFoundation 0x7ff818917d6c CFRunLoopRunSpecific
+ 562
5 AppKit 0x7ff81b4c4572 _NSEventThread + 132
6 libsystem_pthread.dylib 0x7ff8188534e1 _pthread_start + 125
7 libsystem_pthread.dylib 0x7ff81884ef6b thread_start + 15
Thread 6:
0 libsystem_pthread.dylib 0x7ff81884ef48 start_wqthread + 0
Thread 0 crashed with X86 Thread State (64-bit):
rax: 0x00007f856082a600 rbx: 0x00007ff8186e6200 rcx: 0x45096600677e0033
rdx: 0x0000000000001801
rdi: 0x00007ff7b952fed0 rsi: 0x000000000000183b rbp: 0x00007ff7b9530360
rsp: 0x00007ff7b9530330
r8: 0x000000000000003b r9: 0x00007ff7b952f910 r10: 0x000000000000003b
r11: 0x00007f856082be3b
r12: 0x00007f855f70f840 r13: 0x00007f8560216e90 r14: 0x00007f856022df10
r15: 0x00007ff832cbf349
rip: 0x00007ff81b6d39ea rfl: 0x0000000000010206 cr2: 0x0000000000000000
Logical CPU: 0
Error Code: 0x00000000
Trap Number: 6
Thread 0 instruction stream:
00 e8 34 01 7d 00 48 8b-35 69 e9 9a 3e 48 8b 1d ..4.}.H.5i..>H..
ea b3 07 3d 4c 89 f7 ff-d3 48 8d 3d 1e d8 0a 3d ...=L....H.=...=
48 89 c6 31 c0 e8 f1 5a-e3 ff 4c 89 f7 4c 89 fe H..1...Z..L..L..
ff d3 48 8b 35 7d 2b 9b-3e 48 8d 15 fe c7 0a 3d ..H.5}+.>H.....=
48 89 c7 ff 15 b5 b3 07-3d 48 8b 35 66 e3 9a 3e H.......=H.5f..>
48 89 c7 ff 15 a5 b3 07-3d 48 89 05 be dc a0 3e H.......=H.....>
[0f]0b 48 8d 3d 8d 61 72-3e 48 8d 35 9e bc 09 3d ..H.=.ar>H.5...= <==
e8 57 02 7d 00 e9 cb fe-ff ff 48 8d 3d 75 61 72 .W.}......H.=uar
3e 48 8d 35 86 bc 09 3d-e8 3f 02 7d 00 e9 19 ff >H.5...=.?.}....
ff ff 48 89 c7 e8 0a 06-7d 00 31 ff 31 f6 31 c0 ..H.....}.1.1.1.
e8 76 5a e3 ff e8 2a 06-7d 00 0f 0b 48 89 c3 e8 .vZ...*.}...H...
14 06 7d 00 48 89 df e8-64 ff 7c 00 e8 03 07 7d ..}.H...d.|....}
Binary Images:
0x7ff81b318000 - 0x7ff81c1a7fff com.apple.AppKit (6.9)
<5dd484cf-ed6a-3633-b42e-6518aeecd5b9>
/System/Library/Frameworks/AppKit.framework/Versions/C/AppKit
0x7ff818585000 - 0x7ff8185c0fff libxpc.dylib (*)
<488bd58d-65c0-3341-b0cf-be85d2257a91> /usr/lib/system/libxpc.dylib
0x7ff819717000 - 0x7ff819ad3fff com.apple.Foundation (6.9)
<61133096-d5f9-34bd-94b1-1e526ea018b1>
/System/Library/Frameworks/Foundation.framework/Versions/C/Foundation
0x7ff824167000 - 0x7ff82419dfff com.apple.pluginkit.framework (1.0)
<e9915575-11cf-35db-ab3a-4bf58b66be30>
/System/Library/PrivateFrameworks/PlugInKit.framework/Versions/A/PlugInKit
0x7ff82b791000 - 0x7ff82b7dafff com.apple.ExtensionFoundation (34.5)
<71f5869f-c414-3278-8f81-fa1092a22081>
/System/Library/PrivateFrameworks/ExtensionFoundation.framework/Versions/A/ExtensionFoundation
0x112a69000 - 0x112ad4fff dyld (*)
<eea022bb-a6ab-3cd1-8ac1-54ce8cfd3333> /usr/lib/dyld
0x7ff81884d000 - 0x7ff818858fff libsystem_pthread.dylib (*)
<5a5f7316-85b7-315e-baf3-76211ee65604> /usr/lib/system/libsystem_pthread.dylib
0x7ff818815000 - 0x7ff81884cfff libsystem_kernel.dylib (*)
<2fe67e94-4a5e-3506-9e02-502f7270f7ef> /usr/lib/system/libsystem_kernel.dylib
0x7ff81889a000 - 0x7ff818d9cfff com.apple.CoreFoundation (6.9)
<fdd28505-5456-3c40-a5ba-7890b064db39>
/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
External Modification Summary:
Calls made by other processes targeting this process:
task_for_pid: 0
thread_create: 0
thread_set_state: 0
Calls made by this process:
task_for_pid: 0
thread_create: 0
thread_set_state: 0
Calls made by all processes on this machine:
task_for_pid: 0
thread_create: 0
thread_set_state: 0
VM Region Summary:
ReadOnly portion of Libraries: Total=1.1G resident=0K(0%)
swapped_out_or_unallocated=1.1G(100%)
Writable regions: Total=92.2M written=0K(0%) resident=0K(0%) swapped_out=0K(0%)
unallocated=92.2M(100%)
VIRTUAL REGION
REGION TYPE SIZE COUNT (non-coalesced)
=========== ======= =======
Activity Tracing 256K 1
ColorSync 204K 23
CoreGraphics 4K 1
CoreServices 772K 4
Dispatch continuations 32.0M 1
Foundation 16K 1
Kernel Alloc Once 8K 1
MALLOC 48.1M 23
MALLOC guard page 32K 8
STACK GUARD 56.0M 7
Stack 11.0M 7
VM_ALLOCATE 32K 6
__CTF 756 1
__DATA 28.3M 464
__DATA_CONST 28.4M 302
__DATA_DIRTY 1539K 196
__FONT_DATA 4K 1
__LINKEDIT 645.4M 8
__OBJC_RO 82.9M 1
__OBJC_RW 3200K 2
__TEXT 474.6M 483
__UNICODE 592K 1
dyld private memory 1024K 1
mapped file 52.4M 9
shared memory 768K 15
=========== ======= =======
TOTAL 1.4G 1567
--
You are receiving this mail because:
You are the assignee for the bug.