Bug 149605 - Conflict with VoiceOver/NVDA leads to SIGABRT crash
Summary: Conflict with VoiceOver/NVDA leads to SIGABRT crash
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
7.2.7.2 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: accessibility, regression
Depends on:
Blocks: a11y, Accessibility
  Show dependency treegraph
 
Reported: 2022-06-18 16:14 UTC by nick kirker
Modified: 2024-02-24 02:18 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Word document (6.70 KB, text/html)
2022-06-21 15:50 UTC, nick kirker
Details
Apple stacktrace on hang/forced kill (106.14 KB, text/plain)
2022-06-22 09:54 UTC, Alex Thurgood
Details

Note You need to log in before you can comment on or make changes to this bug.
Description nick kirker 2022-06-18 16:14:43 UTC
I encounter a problem when saving documents in MS Office format while using Libreoffice with accessibility functions such as VoiceOver or NVDA running.  Libreoffice goes into not responding mode and can be a nightmare to reopen.  The problems occur in both Windows 10 and iMac OS.
Comment 1 Alex Thurgood 2022-06-20 07:15:15 UTC
@Nick:
Please provide step-by-step instructions for reproducing this behaviour on macOS.

Also please indicate which version of macOS you are using because simply mentioning iMac doesn't tell us the version number of the operating system.

Out of interest, when LibreOffice crashes / hangs in the circumstances you describe, do you get a crash report produced by the operating system ? If you do, it would hbe helpful if you could copy the content of that crash report into a text file, and attach it to this bug report so that we can see whether anything immediately obvious is visible.

I should mention that LibreOffice does not use uptodate accessibility API calls on macOS, which means that any use of the accessibility functions with LO may well lead to crashes. This is a known, longstanding, and recurring issue.
Comment 2 nick kirker 2022-06-21 15:50:34 UTC
Created attachment 180878 [details]
Word document



The software I am using is Mac OS Monterrey 12.4.

 I go to www.libreoffice.org/download
Download LibreOffice | LibreOffice - Free Office Suite - Free Office Suite - Based on OpenOffice - Compatible with Microsoft
Download free office suite for Windows, macOS and Linux. Microsoft compatible, based on OpenOffice, and updated regularly.
www.libreoffice.org
Then download Libreoffice 7.2.7 for MacOS (Intel).

When the program runs, I create a new document and type in the page. Upon completion of the document, I click the arrow beside the disk symbol at the top and towards the left. and select save as. I then save as MS Office format and the cursor changes to a disk, blue and red for me but I have colours reversed and it is difficult to close the crashed Libreoffice window. After forced closing of Libreoffice, relaunching is interupted by a report that the program crashed and that it can recover lost files. Whether I choose recover of don't recover, a card pops up saying that soffice has quit unexpectedly. Press reopenn ... which just takes me around in a circle.

By clicking the comments column, I receive the following which means nothing to me but might help you:


Process: soffice [2856]
Path: /Applications/LibreOffice.app/Contents/MacOS/soffice
Identifier: org.libreoffice.script
Version: 7.2.7.2 (7.2.7.2)
Code Type: X86-64 (Translated)
Parent Process: launchd [1]
User ID: 501

Date/Time: 2022-06-20 16:08:58.3810 +0100
OS Version: macOS 12.4 (21F79)
Report Version: 12
Anonymous UUID: 7F986F48-4313-B968-E776-EB0662F41128

Sleep/Wake UUID: B6B86009-9CFA-49DF-A8F0-98639833E1DE

Time Awake Since Boot: 19000 seconds
Time Since Wake: 57 seconds

System Integrity Protection: enabled

Crashed Thread: 0 Dispatch queue: com.apple.main-thread

Exception Type: EXC_BAD_ACCESS (SIGABRT)
Exception Codes: KERN_INVALID_ADDRESS at 0x00004a7bbb1d77d0
Exception Codes: 0x0000000000000001, 0x00004a7bbb1d77d0
Exception Note: EXC_CORPSE_NOTIFY

VM Region Info: 0x4a7bbb1d77d0 is not in any region. Bytes after previous region: 81414244366289 Bytes before following region: 23657835563056
  REGION TYPE START - END [ VSIZE] PRT/MAX SHRMOD REGION DETAIL
  commpage (reserved) 1000000000-7000000000 [384.0G] ---/--- SM=NUL ...(unallocated)
---> GAP OF 0x5f9000000000 BYTES
  MALLOC_NANO 600000000000-600008000000 [128.0M] rw-/rwx SM=PRV

Application Specific Information:
abort() called


Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 ??? 0x7ff8a89c2940 ???
1 libsystem_kernel.dylib 0x7ff81841300e __pthread_kill + 10
2 libsystem_pthread.dylib 0x7ff8184491ff pthread_kill + 263
3 libsystem_c.dylib 0x7ff818394d24 abort + 123
4 libuno_sal.dylib.3 0x10d0e7387 (anonymous namespace)::signalHandlerFunction(int, __siginfo*, void*) (.cold.1) + 39
5 libuno_sal.dylib.3 0x10d0dac23 (anonymous namespace)::signalHandlerFunction(int, __siginfo*, void*) + 691
6 libsystem_platform.dylib 0x7ff81845edfd _sigtramp + 29
7 ??? 0x0 ???
8 libsystem_c.dylib 0x7ff818394d24 abort + 123
9 libc++abi.dylib 0x7ff818405082 abort_message + 241
10 libc++abi.dylib 0x7ff8183f61bd demangling_terminate_handler() + 266
11 libobjc.A.dylib 0x7ff8182f3016 _objc_terminate() + 104
12 libc++abi.dylib 0x7ff8184044a7 std::__terminate(void (*)()) + 8
13 libc++abi.dylib 0x7ff818404458 std::terminate() + 56
14 libvcllo.dylib 0x114979ede Application::Execute() + 334
15 libsofficeapp.dylib 0x10d2c963b desktop::Desktop::Main() + 3691
16 libvcllo.dylib 0x11498143b ImplSVMain() + 139
17 libvclplug_osxlo.dylib 0x11ae772cb AquaSalInstance::handleAppDefinedEvent(NSEvent*) + 91
18 libvclplug_osxlo.dylib 0x11aead97d -[VCL_NSApplication sendEvent:] + 77
19 AppKit 0x7ff81b2ab59b -[NSApplication _handleEvent:] + 65
20 AppKit 0x7ff81ae73f8e -[NSApplication run] + 623
21 AppKit 0x7ff81ae47ee7 NSApplicationMain + 817
22 libvclplug_osxlo.dylib 0x11ae792d2 AquaSalInstance::SVMainHook(int*) + 178
23 libvcllo.dylib 0x11498141d ImplSVMain() + 109
24 libsofficeapp.dylib 0x10d2f6a28 soffice_main + 248
25 soffice 0x1049f5f60 main + 16
26 dyld 0x204c3551e start + 462

Thread 1:: com.apple.rosetta.exceptionserver
0 runtime 0x7ff7ffdaa9c4 0x7ff7ffda6000 + 18884
1 runtime 0x7ff7ffdb8460 0x7ff7ffda6000 + 74848
2 runtime 0x7ff7ffdb9ed8 0x7ff7ffda6000 + 81624

Thread 2:
0 runtime 0x7ff7ffdc8814 0x7ff7ffda6000 + 141332

Thread 3:: PipeIPC
0 ??? 0x7ff8a89c2940 ???
1 libsystem_kernel.dylib 0x7ff818413092 __accept + 10
2 libuno_sal.dylib.3 0x10d0d6a39 osl_acceptPipe + 25
3 libsofficeapp.dylib 0x10d2f35a1 desktop::PipeIpcThread::execute() + 65
4 libuno_salhelpergcc3.dylib.3 0x10d06184b salhelper::Thread::run() + 27
5 libuno_salhelpergcc3.dylib.3 0x10d0619bf threadFunc + 15
6 libuno_sal.dylib.3 0x10d0ddd0a osl_thread_start_Impl(void*) + 122
7 libsystem_pthread.dylib 0x7ff8184494e1 _pthread_start + 125
8 libsystem_pthread.dylib 0x7ff818444f6b thread_start + 15

Thread 4:: com.apple.NSEventThread
0 ??? 0x7ff8a89c2940 ???
1 libsystem_kernel.dylib 0x7ff81840c97a mach_msg_trap + 10
2 libsystem_kernel.dylib 0x7ff81840cce8 mach_msg + 56
3 CoreFoundation 0x7ff81850f540 __CFRunLoopServiceMachPort + 319
4 CoreFoundation 0x7ff81850dbd0 __CFRunLoopRun + 1276
5 CoreFoundation 0x7ff81850d014 CFRunLoopRunSpecific + 562
6 AppKit 0x7ff81aff0c1e _NSEventThread + 132
7 libsystem_pthread.dylib 0x7ff8184494e1 _pthread_start + 125
8 libsystem_pthread.dylib 0x7ff818444f6b thread_start + 15

Thread 5:
0 runtime 0x7ff7ffdc8814 0x7ff7ffda6000 + 141332

Thread 6:
0 runtime 0x7ff7ffdc8814 0x7ff7ffda6000 + 141332

Thread 7:: InitUpdateCheckJobThread
0 ??? 0x7ff8a89c2940 ???
1 libsystem_kernel.dylib 0x7ff81840f3ea __psynch_cvwait + 10
2 libsystem_pthread.dylib 0x7ff818449a6f _pthread_cond_wait + 1249
3 libuno_sal.dylib.3 0x10d0cecce osl_waitCondition + 174
4 libupdchklo.dylib 0x156915385 (anonymous namespace)::InitUpdateCheckJobThread::run() + 277
5 libupdchklo.dylib 0x1569076cf threadFunc + 15
6 libuno_sal.dylib.3 0x10d0ddd0a osl_thread_start_Impl(void*) + 122
7 libsystem_pthread.dylib 0x7ff8184494e1 _pthread_start + 125
8 libsystem_pthread.dylib 0x7ff818444f6b thread_start + 15


Thread 0 crashed with X86 Thread State (64-bit):
  rax: 0x0000000000000000 rbx: 0x0000000000000000 rcx: 0x0000000000000000 rdx: 0x0000000000000000
  rdi: 0x8e4902132695584c rsi: 0x0000000000000003 rbp: 0x00007ff818397f34 rsp: 0x000000030d6d9d70
  r8: 0x0000000204cb0600 r9: 0x00007ff818397f34 r10: 0x0000000000000000 r11: 0x000000030d6d9e00
  r12: 0x0000000000000103 r13: 0x0000003000000008 r14: 0x0000000000000006 r15: 0x0000000000000016
  rip: <unavailable> rfl: 0x0000000000000283
 tmp0: 0xffffffffffffffff tmp1: 0x00007ff8a89c2914 tmp2: 0x00007ff818413004


Binary Images:
  0x0 - 0xffffffffffffffff ??? (*) <00000000-0000-0000-0000-000000000000> ???
  0x7ff81840b000 - 0x7ff818442fff libsystem_kernel.dylib (*) <61711d11-e776-3bc3-b9a2-6f9f37cb8499> /usr/lib/system/libsystem_kernel.dylib
  0x7ff818443000 - 0x7ff81844efff libsystem_pthread.dylib (*) <bc574849-1aae-31e7-b350-916dda999d97> /usr/lib/system/libsystem_pthread.dylib
  0x7ff818313000 - 0x7ff81839bfff libsystem_c.dylib (*) <d9ba0660-744d-3f84-9f80-afb51d450512> /usr/lib/system/libsystem_c.dylib
  0x10d0a6000 - 0x10d0f1fff libuno_sal.dylib.3 (*) <152b4ca7-a9aa-3862-9b67-9f3242f041af> /Applications/LibreOffice.app/Contents/Frameworks/libuno_sal.dylib.3
  0x7ff81845b000 - 0x7ff818464fff libsystem_platform.dylib (*) <f6cad74b-ec4d-3ff9-80f3-b066753f9fab> /usr/lib/system/libsystem_platform.dylib
  0x7ff8183f5000 - 0x7ff81840afff libc++abi.dylib (*) <b038dc07-0d9a-3049-83b3-62a962d19afb> /usr/lib/libc++abi.dylib
  0x7ff8182d6000 - 0x7ff81830ffff libobjc.A.dylib (*) <3247a526-29a3-3f82-a757-f360a88216b3> /usr/lib/libobjc.A.dylib
  0x11455d000 - 0x114c88fff libvcllo.dylib (*) <551ea8cd-7d18-3069-b55f-bb6b75729b6f> /Applications/LibreOffice.app/Contents/Frameworks/libvcllo.dylib
  0x10d2c2000 - 0x10d375fff libsofficeapp.dylib (*) <dfac9b8a-1521-3591-b771-337d9ca13a47> /Applications/LibreOffice.app/Contents/Frameworks/libsofficeapp.dylib
  0x11ae55000 - 0x11aec8fff libvclplug_osxlo.dylib (*) <c26a0b13-fca0-3a9b-8ef0-72ef801f8140> /Applications/LibreOffice.app/Contents/Frameworks/libvclplug_osxlo.dylib
  0x7ff81ae44000 - 0x7ff81bcd2fff com.apple.AppKit (6.9) <832ad371-d3b8-3061-b4e2-1c4e0cffce0b> /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit
  0x1049f5000 - 0x1049f5fff org.libreoffice.script (7.2.7.2) <c00b3e71-6330-3310-86c0-0642268b028f> /Applications/LibreOffice.app/Contents/MacOS/soffice
  0x204c30000 - 0x204c9bfff dyld (*) <b70ce1ec-b902-3852-8268-05de00bfa8d5> /usr/lib/dyld
  0x7ff7ffda6000 - 0x7ff7ffdd5fff runtime (*) <0ee8ce32-639c-316a-9551-dab9a2e0c8a5> /usr/libexec/rosetta/runtime
  0x10d060000 - 0x10d062fff libuno_salhelpergcc3.dylib.3 (*) <2893c67c-6f6c-38c6-8d6e-25dad13e935c> /Applications/LibreOffice.app/Contents/Frameworks/libuno_salhelpergcc3.dylib.3
  0x7ff818490000 - 0x7ff818990fff com.apple.CoreFoundation (6.9) <9c8908f2-e5e0-35b7-9f41-fdf8d7476d8b> /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
  0x1568fc000 - 0x156931fff libupdchklo.dylib (*) <117ede10-d54b-34a6-a2cf-ef372ffd07a3> /Applications/LibreOffice.app/Contents/Frameworks/libupdchklo.dylib

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.0G resident=0K(0%) swapped_out_or_unallocated=1.0G(100%)
Writable regions: Total=1.8G written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=1.8G(100%)

  VIRTUAL REGION
REGION TYPE SIZE COUNT (non-coalesced)
=========== ======= =======
Accelerate framework 256K 2
Activity Tracing 256K 1
CG backing stores 3392K 4
CG image 61.4M 15
CG raster data 24K 2
ColorSync 236K 27
CoreAnimation 59.5M 16
CoreGraphics 12K 2
CoreUI image data 1868K 12
Foundation 16K 1
Kernel Alloc Once 8K 1
MALLOC 316.8M 74
MALLOC guard page 192K 9
MALLOC_MEDIUM (reserved) 824.0M 7 reserved VM address space (unallocated)
MALLOC_NANO (reserved) 384.0M 1 reserved VM address space (unallocated)
Rosetta Arena 4096K 2
Rosetta Generic 1144K 283
Rosetta IndirectBranch 1024K 1
Rosetta JIT 128.0M 1
Rosetta Return Stack 140K 14
Rosetta Thread Context 140K 14
STACK GUARD 12K 3
Stack 11.1M 7
Stack Guard 56.0M 4
VM_ALLOCATE 4832K 81
VM_ALLOCATE (reserved) 200K 29 reserved VM address space (unallocated)
__CTF 756 1
__DATA 22.6M 409
__DATA_CONST 11.9M 170
__DATA_DIRTY 540K 99
__FONT_DATA 4K 1
__LINKEDIT 740.3M 99
__OBJC_RO 82.7M 1
__OBJC_RW 3200K 2
__TEXT 300.7M 399
__UNICODE 592K 1
dyld private memory 1104K 3
mapped file 6.0G 1066
shared memory 828K 19
unshared pmap 9984K 6
=========== ======= =======
TOTAL 9.0G 2889
TOTAL, minus reserved VM space 7.8G 2889



-----------
Full Report
-----------

{"app_name":"soffice","timestamp":"2022-06-20 16:08:59.00 +0100","app_version":"7.2.7.2","slice_uuid":"c00b3e71-6330-3310-86c0-0642268b028f","build_version":"7.2.7.2","platform":1,"bundleID":"org.libreoffice.script","share_with_app_devs":0,"is_first_party":0,"bug_type":"309","os_version":"macOS 12.4 (21F79)","incident_id":"92AB4D2C-B5FD-4CA2-9B5C-48927D0A02B1","name":"soffice"}
{
  "uptime" : 19000,
  "procLaunch" : "2022-06-20 16:08:30.7725 +0100",
  "procRole" : "Foreground",
  "version" : 2,
  "userID" : 501,
  "deployVersion" : 210,
  "modelCode" : "iMac21,1",
  "procStartAbsTime" : 473832640111,
  "coalitionID" : 2519,
  "osVersion" : {
  "train" : "macOS 12.4",
  "build" : "21F79",
  "releaseType" : "User"
  },
  "captureTime" : "2022-06-20 16:08:58.3810 +0100",
  "incident" : "92AB4D2C-B5FD-4CA2-9B5C-48927D0A02B1",
  "bug_type" : "309",
  "pid" : 2856,
  "procExitAbsTime" : 474495247524,
  "translated" : true,
  "cpuType" : "X86-64",
  "procName" : "soffice",
  "procPath" : "\/Applications\/LibreOffice.app\/Contents\/MacOS\/soffice",
  "bundleInfo" : {"CFBundleShortVersionString":"7.2.7.2","CFBundleVersion":"7.2.7.2","CFBundleIdentifier":"org.libreoffice.script"},
  "storeInfo" : {"deviceIdentifierForVendor":"E45F323D-3662-5DBF-B073-D6039C4A0877","thirdParty":true},
  "parentProc" : "launchd",
  "parentPid" : 1,
  "coalitionName" : "org.libreoffice.script",
  "crashReporterKey" : "7F986F48-4313-B968-E776-EB0662F41128",
  "wakeTime" : 57,
  "sleepWakeUUID" : "B6B86009-9CFA-49DF-A8F0-98639833E1DE",
  "sip" : "enabled",
  "vmRegionInfo" : "0x4a7bbb1d77d0 is not in any region. Bytes after previous region: 81414244366289 Bytes before following region: 23657835563056\n REGION TYPE START - END [ VSIZE] PRT\/MAX SHRMOD REGION DETAIL\n commpage (reserved) 1000000000-7000000000 [384.0G] ---\/--- SM=NUL ...(unallocated)\n---> GAP OF 0x5f9000000000 BYTES\n MALLOC_NANO 600000000000-600008000000 [128.0M] rw-\/rwx SM=PRV ",
  "isCorpse" : 1,
  "exception" : {"codes":"0x0000000000000001, 0x00004a7bbb1d77d0","rawCodes":[1,81895280703440],"type":"EXC_BAD_ACCESS","signal":"SIGABRT","subtype":"KERN_INVALID_ADDRESS at 0x00004a7bbb1d77d0"},
  "vmregioninfo" : "0x4a7bbb1d77d0 is not in any region. Bytes after previous region: 81414244366289 Bytes before following region: 23657835563056\n REGION TYPE START - END [ VSIZE] PRT\/MAX SHRMOD REGION DETAIL\n commpage (reserved) 1000000000-7000000000 [384.0G] ---\/--- SM=NUL ...(unallocated)\n---> GAP OF 0x5f9000000000 BYTES\n MALLOC_NANO 600000000000-600008000000 [128.0M] rw-\/rwx SM=PRV ",
  "asi" : {"libsystem_c.dylib":["abort() called"]},
  "extMods" : {"caller":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"system":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"targeted":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"warnings":0},
  "faultingThread" : 0,
  "threads" : [{"triggered":true,"id":166783,"threadState":{"flavor":"x86_THREAD_STATE","rbp":{"value":140703535038260},"r12":{"value":259},"rosetta":{"tmp2":{"value":140703535542276},"tmp1":{"value":140705957423380},"tmp0":{"value":18446744073709551615}},"rbx":{"value":0},"r8":{"value":8670348800,"symbolLocation":0,"symbol":"_main_thread"},"r15":{"value":22},"r10":{"value":0},"rdx":{"value":0},"rdi":{"value":10252728307960600652},"r9":{"value":140703535038260},"r13":{"value":206158430216},"rflags":{"value":643},"rax":{"value":0},"rsp":{"value":13110189424},"r11":{"value":13110189568},"rcx":{"value":0},"r14":{"value":6},"rsi":{"value":3}},"queue":"com.apple.main-thread","frames":[{"imageOffset":140705957423424,"imageIndex":0},{"imageOffset":32782,"symbol":"__pthread_kill","symbolLocation":10,"imageIndex":1},{"imageOffset":25087,"symbol":"pthread_kill","symbolLocation":263,"imageIndex":2},{"imageOffset":531748,"symbol":"abort","symbolLocation":123,"imageIndex":3},{"imageOffset":267143,"symbol":"(anonymous namespace)::signalHandlerFunction(int, __siginfo*, void*) (.cold.1)","symbolLocation":39,"imageIndex":4},{"imageOffset":216099,"symbol":"(anonymous namespace)::signalHandlerFunction(int, __siginfo*, void*)","symbolLocation":691,"imageIndex":4},{"imageOffset":15869,"symbol":"_sigtramp","symbolLocation":29,"imageIndex":5},{"imageOffset":0,"imageIndex":0},{"imageOffset":531748,"symbol":"abort","symbolLocation":123,"imageIndex":3},{"imageOffset":65666,"symbol":"abort_message","symbolLocation":241,"imageIndex":6},{"imageOffset":4541,"symbol":"demangling_terminate_handler()","symbolLocation":266,"imageIndex":6},{"imageOffset":118806,"symbol":"_objc_terminate()","symbolLocation":104,"imageIndex":7},{"imageOffset":62631,"symbol":"std::__terminate(void (*)())","symbolLocation":8,"imageIndex":6},{"imageOffset":62552,"symbol":"std::terminate()","symbolLocation":56,"imageIndex":6},{"imageOffset":4312798,"symbol":"Application::Execute()","symbolLocation":334,"imageIndex":8},{"imageOffset":30267,"symbol":"desktop::Desktop::Main()","symbolLocation":3691,"imageIndex":9},{"imageOffset":4342843,"symbol":"ImplSVMain()","symbolLocation":139,"imageIndex":8},{"imageOffset":139979,"symbol":"AquaSalInstance::handleAppDefinedEvent(NSEvent*)","symbolLocation":91,"imageIndex":10},{"imageOffset":362877,"symbol":"-[VCL_NSApplication sendEvent:]","symbolLocation":77,"imageIndex":10},{"imageOffset":4617627,"symbol":"-[NSApplication _handleEvent:]","symbolLocation":65,"imageIndex":11},{"imageOffset":196494,"symbol":"-[NSApplication run]","symbolLocation":623,"imageIndex":11},{"imageOffset":16103,"symbol":"NSApplicationMain","symbolLocation":817,"imageIndex":11},{"imageOffset":148178,"symbol":"AquaSalInstance::SVMainHook(int*)","symbolLocation":178,"imageIndex":10},{"imageOffset":4342813,"symbol":"ImplSVMain()","symbolLocation":109,"imageIndex":8},{"imageOffset":215592,"symbol":"soffice_main","symbolLocation":248,"imageIndex":9},{"imageOffset":3936,"symbol":"main","symbolLocation":16,"imageIndex":12},{"imageOffset":21790,"symbol":"start","symbolLocation":462,"imageIndex":13}]},{"id":166790,"name":"com.apple.rosetta.exceptionserver","frames":[{"imageOffset":18884,"imageIndex":14},{"imageOffset":74848,"imageIndex":14},{"imageOffset":81624,"imageIndex":14}]},{"id":166807,"frames":[{"imageOffset":141332,"imageIndex":14}]},{"id":166820,"name":"PipeIPC","frames":[{"imageOffset":140705957423424,"imageIndex":0},{"imageOffset":32914,"symbol":"__accept","symbolLocation":10,"imageIndex":1},{"imageOffset":199225,"symbol":"osl_acceptPipe","symbolLocation":25,"imageIndex":4},{"imageOffset":202145,"symbol":"desktop::PipeIpcThread::execute()","symbolLocation":65,"imageIndex":9},{"imageOffset":6219,"symbol":"salhelper::Thread::run()","symbolLocation":27,"imageIndex":15},{"imageOffset":6591,"symbol":"threadFunc","symbolLocation":15,"imageIndex":15},{"imageOffset":228618,"symbol":"osl_thread_start_Impl(void*)","symbolLocation":122,"imageIndex":4},{"imageOffset":25825,"symbol":"_pthread_start","symbolLocation":125,"imageIndex":2},{"imageOffset":8043,"symbol":"thread_start","symbolLocation":15,"imageIndex":2}]},{"id":166825,"name":"com.apple.NSEventThread","frames":[{"imageOffset":140705957423424,"imageIndex":0},{"imageOffset":6522,"symbol":"mach_msg_trap","symbolLocation":10,"imageIndex":1},{"imageOffset":7400,"symbol":"mach_msg","symbolLocation":56,"imageIndex":1},{"imageOffset":521536,"symbol":"__CFRunLoopServiceMachPort","symbolLocation":319,"imageIndex":16},{"imageOffset":515024,"symbol":"__CFRunLoopRun","symbolLocation":1276,"imageIndex":16},{"imageOffset":512020,"symbol":"CFRunLoopRunSpecific","symbolLocation":562,"imageIndex":16},{"imageOffset":1756190,"symbol":"_NSEventThread","symbolLocation":132,"imageIndex":11},{"imageOffset":25825,"symbol":"_pthread_start","symbolLocation":125,"imageIndex":2},{"imageOffset":8043,"symbol":"thread_start","symbolLocation":15,"imageIndex":2}]},{"id":166969,"frames":[{"imageOffset":141332,"imageIndex":14}]},{"id":166970,"frames":[{"imageOffset":141332,"imageIndex":14}]},{"id":166975,"name":"InitUpdateCheckJobThread","frames":[{"imageOffset":140705957423424,"imageIndex":0},{"imageOffset":17386,"symbol":"__psynch_cvwait","symbolLocation":10,"imageIndex":1},{"imageOffset":27247,"symbol":"_pthread_cond_wait","symbolLocation":1249,"imageIndex":2},{"imageOffset":167118,"symbol":"osl_waitCondition","symbolLocation":174,"imageIndex":4},{"imageOffset":103301,"symbol":"(anonymous namespace)::InitUpdateCheckJobThread::run()","symbolLocation":277,"imageIndex":17},{"imageOffset":46799,"symbol":"threadFunc","symbolLocation":15,"imageIndex":17},{"imageOffset":228618,"symbol":"osl_thread_start_Impl(void*)","symbolLocation":122,"imageIndex":4},{"imageOffset":25825,"symbol":"_pthread_start","symbolLocation":125,"imageIndex":2},{"imageOffset":8043,"symbol":"thread_start","symbolLocation":15,"imageIndex":2}]}],
  "usedImages" : [
  {
  "size" : 0,
  "source" : "A",
  "base" : 0,
  "uuid" : "00000000-0000-0000-0000-000000000000"
  },
  {
  "source" : "P",
  "arch" : "x86_64",
  "base" : 140703535509504,
  "size" : 229376,
  "uuid" : "61711d11-e776-3bc3-b9a2-6f9f37cb8499",
  "path" : "\/usr\/lib\/system\/libsystem_kernel.dylib",
  "name" : "libsystem_kernel.dylib"
  },
  {
  "source" : "P",
  "arch" : "x86_64",
  "base" : 140703535738880,
  "size" : 49152,
  "uuid" : "bc574849-1aae-31e7-b350-916dda999d97",
  "path" : "\/usr\/lib\/system\/libsystem_pthread.dylib",
  "name" : "libsystem_pthread.dylib"
  },
  {
  "source" : "P",
  "arch" : "x86_64",
  "base" : 140703534493696,
  "size" : 561152,
  "uuid" : "d9ba0660-744d-3f84-9f80-afb51d450512",
  "path" : "\/usr\/lib\/system\/libsystem_c.dylib",
  "name" : "libsystem_c.dylib"
  },
  {
  "source" : "P",
  "arch" : "x86_64",
  "base" : 4513751040,
  "size" : 311296,
  "uuid" : "152b4ca7-a9aa-3862-9b67-9f3242f041af",
  "path" : "\/Applications\/LibreOffice.app\/Contents\/Frameworks\/libuno_sal.dylib.3",
  "name" : "libuno_sal.dylib.3"
  },
  {
  "source" : "P",
  "arch" : "x86_64",
  "base" : 140703535837184,
  "size" : 40960,
  "uuid" : "f6cad74b-ec4d-3ff9-80f3-b066753f9fab",
  "path" : "\/usr\/lib\/system\/libsystem_platform.dylib",
  "name" : "libsystem_platform.dylib"
  },
  {
  "source" : "P",
  "arch" : "x86_64",
  "base" : 140703535419392,
  "size" : 90112,
  "uuid" : "b038dc07-0d9a-3049-83b3-62a962d19afb",
  "path" : "\/usr\/lib\/libc++abi.dylib",
  "name" : "libc++abi.dylib"
  },
  {
  "source" : "P",
  "arch" : "x86_64",
  "base" : 140703534243840,
  "size" : 237568,
  "uuid" : "3247a526-29a3-3f82-a757-f360a88216b3",
  "path" : "\/usr\/lib\/libobjc.A.dylib",
  "name" : "libobjc.A.dylib"
  },
  {
  "source" : "P",
  "arch" : "x86_64",
  "base" : 4636135424,
  "size" : 7520256,
  "uuid" : "551ea8cd-7d18-3069-b55f-bb6b75729b6f",
  "path" : "\/Applications\/LibreOffice.app\/Contents\/Frameworks\/libvcllo.dylib",
  "name" : "libvcllo.dylib"
  },
  {
  "source" : "P",
  "arch" : "x86_64",
  "base" : 4515962880,
  "size" : 737280,
  "uuid" : "dfac9b8a-1521-3591-b771-337d9ca13a47",
  "path" : "\/Applications\/LibreOffice.app\/Contents\/Frameworks\/libsofficeapp.dylib",
  "name" : "libsofficeapp.dylib"
  },
  {
  "source" : "P",
  "arch" : "x86_64",
  "base" : 4746203136,
  "size" : 475136,
  "uuid" : "c26a0b13-fca0-3a9b-8ef0-72ef801f8140",
  "path" : "\/Applications\/LibreOffice.app\/Contents\/Frameworks\/libvclplug_osxlo.dylib",
  "name" : "libvclplug_osxlo.dylib"
  },
  {
  "source" : "P",
  "arch" : "x86_64",
  "base" : 140703579783168,
  "CFBundleShortVersionString" : "6.9",
  "CFBundleIdentifier" : "com.apple.AppKit",
  "size" : 15265792,
  "uuid" : "832ad371-d3b8-3061-b4e2-1c4e0cffce0b",
  "path" : "\/System\/Library\/Frameworks\/AppKit.framework\/Versions\/C\/AppKit",
  "name" : "AppKit",
  "CFBundleVersion" : "2113.50.132"
  },
  {
  "source" : "P",
  "arch" : "x86_64",
  "base" : 4372516864,
  "CFBundleShortVersionString" : "7.2.7.2",
  "CFBundleIdentifier" : "org.libreoffice.script",
  "size" : 4096,
  "uuid" : "c00b3e71-6330-3310-86c0-0642268b028f",
  "path" : "\/Applications\/LibreOffice.app\/Contents\/MacOS\/soffice",
  "name" : "soffice",
  "CFBundleVersion" : "7.2.7.2"
  },
  {
  "source" : "P",
  "arch" : "x86_64",
  "base" : 8669822976,
  "size" : 442368,
  "uuid" : "b70ce1ec-b902-3852-8268-05de00bfa8d5",
  "path" : "\/usr\/lib\/dyld",
  "name" : "dyld"
  },
  {
  "source" : "P",
  "arch" : "arm64",
  "base" : 140703126151168,
  "size" : 196608,
  "uuid" : "0ee8ce32-639c-316a-9551-dab9a2e0c8a5",
  "path" : "\/usr\/libexec\/rosetta\/runtime",
  "name" : "runtime"
  },
  {
  "source" : "P",
  "arch" : "x86_64",
  "base" : 4513464320,
  "size" : 12288,
  "uuid" : "2893c67c-6f6c-38c6-8d6e-25dad13e935c",
  "path" : "\/Applications\/LibreOffice.app\/Contents\/Frameworks\/libuno_salhelpergcc3.dylib.3",
  "name" : "libuno_salhelpergcc3.dylib.3"
  },
  {
  "source" : "P",
  "arch" : "x86_64",
  "base" : 140703536054272,
  "CFBundleShortVersionString" : "6.9",
  "CFBundleIdentifier" : "com.apple.CoreFoundation",
  "size" : 5246976,
  "uuid" : "9c8908f2-e5e0-35b7-9f41-fdf8d7476d8b",
  "path" : "\/System\/Library\/Frameworks\/CoreFoundation.framework\/Versions\/A\/CoreFoundation",
  "name" : "CoreFoundation",
  "CFBundleVersion" : "1863"
  },
  {
  "source" : "P",
  "arch" : "x86_64",
  "base" : 5747228672,
  "size" : 221184,
  "uuid" : "117ede10-d54b-34a6-a2cf-ef372ffd07a3",
  "path" : "\/Applications\/LibreOffice.app\/Contents\/Frameworks\/libupdchklo.dylib",
  "name" : "libupdchklo.dylib"
  }
],
  "sharedCache" : {
  "base" : 140703532482560,
  "size" : 15220686848,
  "uuid" : "53b6853f-0bc3-33f5-be72-1aca3a188ff8"
},
  "vmSummary" : "ReadOnly portion of Libraries: Total=1.0G resident=0K(0%) swapped_out_or_unallocated=1.0G(100%)\nWritable regions: Total=1.8G written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=1.8G(100%)\n\n VIRTUAL REGION \nREGION TYPE SIZE COUNT (non-coalesced) \n=========== ======= ======= \nAccelerate framework 256K 2 \nActivity Tracing 256K 1 \nCG backing stores 3392K 4 \nCG image 61.4M 15 \nCG raster data 24K 2 \nColorSync 236K 27 \nCoreAnimation 59.5M 16 \nCoreGraphics 12K 2 \nCoreUI image data 1868K 12 \nFoundation 16K 1 \nKernel Alloc Once 8K 1 \nMALLOC 316.8M 74 \nMALLOC guard page 192K 9 \nMALLOC_MEDIUM (reserved) 824.0M 7 reserved VM address space (unallocated)\nMALLOC_NANO (reserved) 384.0M 1 reserved VM address space (unallocated)\nRosetta Arena 4096K 2 \nRosetta Generic 1144K 283 \nRosetta IndirectBranch 1024K 1 \nRosetta JIT 128.0M 1 \nRosetta Return Stack 140K 14 \nRosetta Thread Context 140K 14 \nSTACK GUARD 12K 3 \nStack 11.1M 7 \nStack Guard 56.0M 4 \nVM_ALLOCATE 4832K 81 \nVM_ALLOCATE (reserved) 200K 29 reserved VM address space (unallocated)\n__CTF 756 1 \n__DATA 22.6M 409 \n__DATA_CONST 11.9M 170 \n__DATA_DIRTY 540K 99 \n__FONT_DATA 4K 1 \n__LINKEDIT 740.3M 99 \n__OBJC_RO 82.7M 1 \n__OBJC_RW 3200K 2 \n__TEXT 300.7M 399 \n__UNICODE 592K 1 \ndyld private memory 1104K 3 \nmapped file 6.0G 1066 \nshared memory 828K 19 \nunshared pmap 9984K 6 \n=========== ======= ======= \nTOTAL 9.0G 2889 \nTOTAL, minus reserved VM space 7.8G 2889 \n",
  "legacyInfo" : {
  "threadTriggered" : {
  "queue" : "com.apple.main-thread"
  }
},
  "trialInfo" : {
  "rollouts" : [
  {
  "rolloutId" : "61301e3a61217b3110231469",
  "factorPackIds" : {
  "SIRI_FIND_MY_CONFIGURATION_FILES" : "6216ae152a40e71046e16225"
  },
  "deploymentId" : 240000016
  },
  {
  "rolloutId" : "6112dda2fc54bc3389840642",
  "factorPackIds" : {
  "SIRI_DICTATION_ASSETS" : "628bd2fda5168570b594bb52"
  },
  "deploymentId" : 240000137
  }
  ],
  "experiments" : [

  ]
}
}

Model: iMac21,1, BootROM 7459.121.3, proc 8:4:4 processors, 8 GB, SMC
Graphics: Apple M1, Apple M1, Built-In
Display: iMac, Retina 4.5K (4480 x 2520), Main, MirrorOff, Online
Memory Module: LPDDR4
AirPort: Wi-Fi, wl0: Mar 23 2022 19:44:05 version 18.60.27.0.7.8.129 FWID 01-62606619
Bluetooth: Version (null), 0 services, 0 devices, 0 incoming serial ports
Network Service: Wi-Fi, AirPort, en1
USB Device: USB31Bus
USB Device: USB31Bus
USB Device: USB31Bus
Thunderbolt Bus: iMac, Apple Inc.
Thunderbolt Bus: iMac, Apple Inc.

I hope this helps but if you need further information, please let me know and I will do my best but I have to be honest and say I am straying well outside my computing comfort zone.
Comment 3 QA Administrators 2022-06-22 03:45:46 UTC Comment hidden (obsolete)
Comment 4 Alex Thurgood 2022-06-22 09:39:52 UTC
(In reply to nick kirker from comment #2)


> I hope this helps but if you need further information, please let me know
> and I will do my best but I have to be honest and say I am straying well
> outside my computing comfort zone.

Thanks !
It probably would have been preferable to copy/paste that into a text file and attach it to the bug report, but at least now we have something in the system :-)


If you turn off automatic version update checks, does it still crash ?
(look in Preferences > LibreOffice > Online Update and untick all of the boxes)


The SIGABRT message points to a memory management problem (memory address allocation outside of previously allocated regions) in the macOS virtual memory manager:

"vmRegionInfo" : "0x4a7bbb1d77d0 is not in any region. Bytes after previous region: 81414244366289 Bytes before following region: 23657835563056\n REGION TYPE START - END [ VSIZE] PRT\/MAX SHRMOD REGION DETAIL\n commpage (reserved) 1000000000-7000000000 [384.0G] ---\/--- SM=NUL ...(unallocated)\n---> GAP OF 0x5f9000000000 BYTES\n MALLOC_NANO 600000000000-600008000000 [128.0M] rw-\/rwx SM=PRV "

I imagine that the only real way to track this down would be with a debugger and a debug-enabled version of the LibreOffice app.
Comment 5 Alex Thurgood 2022-06-22 09:54:02 UTC
With the Arm version of LibreOffice, I get an instant crash as soon as I try to save a Writer document, even in the native format, when VoiceOver is activated.

I am attaching the trace provided by Apple.

Process:               soffice [6176]
Path:                  /Applications/LibreOffice.app/Contents/MacOS/soffice
Identifier:            org.libreoffice.script
Version:               7.3.4.2 (7.3.4.2)

Thread 5 Crashed:: Java: VM Thread 

Confirming.

I notice that my crash is reported against a thread allegedly running a JVM instance, although to my knowledge, neither VoiceOver nor LO were using any Java functionality at the time of the crash.

Steps to reproduce:
1. Activate VoiceOver

2. Start LO

3. Create a new Writer document.

4. Type a few lines of text.

5. Attempt to save the file in the default native Writer format (ODT).

6. Freeze of LO UI - spinning beachball - recovery dialog and Finder Save dialog are both shown frozen and unresponsive to mouse input.

7. Forced kill of LO process required.
Comment 6 Alex Thurgood 2022-06-22 09:54:35 UTC
Created attachment 180894 [details]
Apple stacktrace on hang/forced kill
Comment 7 Michael Weghorn 2022-08-30 07:10:28 UTC
Can't say anything about the macOS issue, but I can't reproduce the issue on Windows. E.g. creating a new  Calc or Writer doc and saving that as XLSX or DOCX with NVDA 2022.2.2 running works just fine for me on Windows 10 with LO master as of commit 5bf4f36b509ae2bdc507074d53af007b4852013d or LO 7.3.5.2.

Could you please retest whether this still happens for you on Windows with LibreOffice 7.3.5 or 7.4.0?

(If the Windows issue is still there, I'd suggest to create a a separate bug ticket for that, since the cause is presumably a different one there then for the macOS arm64 case, and keeping things in separate tickets helps keeping focus.)

Version: 7.3.5.2 (x64) / LibreOffice Community
Build ID: 184fe81b8c8c30d8b5082578aee2fed2ea847c01
CPU threads: 4; OS: Windows 10.0 Build 19044; UI render: Skia/Raster; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: threaded
Comment 8 Alex Thurgood 2022-12-22 09:16:32 UTC
@Nick : please test with 7.5beta pre-release, or else a 7.6alpha daily developer build.

For my part, testing with 

Version: 7.6.0.0.alpha0+ (AARCH64) / LibreOffice Community
Build ID: ad387d5b984c6666906505d25685065f710ed55d
CPU threads: 8; OS: Mac OS X 13.0.1; UI render: default; VCL: osx
Locale: fr-FR (fr_FR.UTF-8); UI: en-US
Calc: threaded

I no longer have any crash.