Bug 145189 - Crash doing a SaveAll of 21 documents
Summary: Crash doing a SaveAll of 21 documents
Status: RESOLVED DUPLICATE of bug 145950
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
7.2.2.2 release
Hardware: x86-64 (AMD64) macOS (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-10-17 22:19 UTC by Jon R Kibler
Modified: 2022-02-06 03:45 UTC (History)
0 users

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jon R Kibler 2021-10-17 22:19:03 UTC

    
Comment 1 Jon R Kibler 2021-10-17 22:33:26 UTC
I had 21 documents open to which I had been applying the same styles edit (Styles-->Load Styles from Template) on all documents. When I did a "SaveAll" LO successfully saved 13 of the documents but crashed leaving 8 to be recovered.

The crash did not produce a crash dump (why?) but did produce the following errors in Console:
error	18:01:12.822275 -0400	soffice	10759711: Error #17  (os/kern) invalid right attempting to add send right to port ( port:258563/0x3f203 rcv:0,send:0,d:1 limit:0).
error	18:01:14.295500 -0400	soffice	10759711: Error #17  (os/kern) invalid right attempting to add send right to port ( port:124191/0x1e51f rcv:0,send:0,d:1 limit:0).
error	18:01:15.255438 -0400	soffice	10759711: Error #17  (os/kern) invalid right attempting to add send right to port ( port:252759/0x3db57 rcv:0,send:0,d:1 limit:0).
error	18:01:16.210905 -0400	soffice	10759711: Error #17  (os/kern) invalid right attempting to add send right to port ( port:239107/0x3a603 rcv:0,send:0,d:1 limit:0).
error	18:01:17.679486 -0400	soffice	10759711: Error #17  (os/kern) invalid right attempting to add send right to port ( port:266759/0x41207 rcv:0,send:0,d:1 limit:0).
error	18:01:18.670165 -0400	soffice	10759711: Error #17  (os/kern) invalid right attempting to add send right to port ( port:266027/0x40f2b rcv:0,send:0,d:1 limit:0).
error	18:01:19.638232 -0400	soffice	10759711: Error #17  (os/kern) invalid right attempting to add send right to port ( port:302927/0x49f4f rcv:0,send:0,d:1 limit:0).
error	18:01:20.680314 -0400	soffice	10759711: Error #17  (os/kern) invalid right attempting to add send right to port ( port:286983/0x46107 rcv:0,send:0,d:1 limit:0).

All documents are in the same directory and all have the same ownership and permissions. LO has full disk access, too.

LO did NOT restart after crash, nor did it give any indication it was going down the tubes -- it simply "vanished" from the desktop. When I manually restarted it, it indicated that it had 8 documents to recover. I cancelled the recovery, quit LO and restarted it. I was then able to successfully edit and save those 8 documents.

System specifics:
macOS 10.14.6 (18G9323) Mojave
Version: 7.2.2.2 / LibreOffice Community
Build ID: 02b2acce88a210515b4a5bb2e46cbfb63fe97d56
CPU threads: 8; OS: Mac OS X 10.14.6; UI render: default; VCL: osx
Locale: en-US (en_US.UTF-8); UI: en-US
Calc: threaded

This issue isn't cleanly reproducible, but I have had a bunch of errors with using Templates in 7.x and this seems to be just another one of them. See also: bugs 145167 and 145168.

Thanks!
Comment 2 Jon R Kibler 2021-10-17 23:27:55 UTC
I just discovered that the crash left behind a temp file in the directory for these documents. It was empty, but before I deleted it, I captured some details in case they are of interest.

Me:auditHome secaudit$ ls -hFal@eO lu96710be67vd.tmp 
-rw-------  1 secaudit  secaudit  -    0B Oct 17 18:03 lu96710be67vd.tmp
Me:auditHome secaudit$ $ stat -x lu96710be67vd.tmp 
  File: "lu96710be67vd.tmp"
  Size: 0            FileType: Regular File
  Mode: (0600/-rw-------)         Uid: (  521/    secaudit)  Gid: (  521/    secaudit)
Device: 1,28   Inode: 7047    Links: 1
Access: Sun Oct 17 18:03:21 2021
Modify: Sun Oct 17 18:03:21 2021
Change: Sun Oct 17 18:03:21 2021
Comment 3 Jon R Kibler 2021-11-29 15:43:18 UTC
I have found that this bug is caused by the Mac OS Extended Journaled File System. I have several other crashes apparently caused by the same or related problems.

These bugs have been consolidated into bug 145950.

Please let me know if you require additional information.
Comment 4 eisa01 2022-02-05 16:20:44 UTC
Setting this as duplicate of the new master bug

*** This bug has been marked as a duplicate of bug 145950 ***