Libreoffice crashes on save as
and export to pdf
.
Then the files are recoverted on restart of Libreoffice.
What I have observered: this only happend on KDE desktop, not XFCE.
I have two computers running KDE and two runnning XFCE.
Libreoffice crashes on save as
and export to pdf
.
Then the files are recoverted on restart of Libreoffice.
What I have observered: this only happend on KDE desktop, not XFCE.
I have two computers running KDE and two runnning XFCE.
Tested on Plasma Wayland - a simple document - no crash.
Without means to reproduce reliably it is difficult to have an opinion why the rendering fails.
Both Libreoffice still and fresh crash.
I happens every time, when I want to execute save as
or export to pdf
.
Can I switch debug mode on or start Libreoffice on console ?
Step 1 or step 2 probably of equal priority…
mv ~/.config/libreoffice ~/.config/libreofficeBROKEN
If these steps fail, then go back to Libreoffice crashes on `save as` and `export to pdf` - #2 by linux-aarhus
I have removed the config.
The problem occurs again.
Did you installed the Flatpak Version? Maybe a permission issue
I’m running a fully updated Manjaro Stable with Plasma, and I’ve got libreoffice-fresh
installed.
I cannot reproduce what you are reporting. So whatever it is, it must be something local to your Plasma machines.
I have not installed Flatpack version.
Acutally, I am testing.
I have opened 6 files with writer.
Then save as
- first file can be saved and then the second one crashes writer.
Writer restarts and then the files are recovered.
The first file after restarting can saved, the second one not.
First and obvious question is:
is your system fully up to date?
My next step would be to check for any AUR packages.
libreoffice
has quite a lot of optional dependencies - are some of these from AUR?
After you removed the old configuration to start with a fresh one:
which didn’t have the desired effect, the next step would be to create a new test user account, log in as that user and see whether that yields different results.
Are we talking about libreoffice-fresh
or libreoffice-still
?
Something many typically ignore as a possibility is that the files themselves are damaged (for whatever reason). A damaged document is often enough to choke an application.
You could try creating new documents, add some basic content, and then try to save them. If that has the same result, possibly the base templates are damaged on disk.
There’s another avenue of investigation.
LibreOffice templates can either be recreated manually or replaced by downloading fresh copies.
Regards.
I have no packages installed from AUR.
I have created 6 new files, saved them and the save as
.
Then Libreoffice crashed.
I am using Libreoffice still.
I can fully confirm the description by Keruskerfuerst. Occurs on my system as well since the last major update a week ago: Libreoffice occasionally crashes on saving files of all types (“save as”) and creating PDF files. No difference whether writer or calc.
I have tested this with a new account.
Same behaviour. Libreoffice crashes.
I am unable to reproduce this on my KDE Plasma Desktop. Opened 6 files concurrently, saved some as newname.odt, others as somename.pdf, no issues.
The second part of my post needs addressing;
I have tried to change the default template and this does not solve the problem.
I have also tested Libreoffice fresh on the Windows 10 installation and this works.
So, I don´t think the problem is related to the hardware.
Have you tried starting it from terminal?
Often a bit of useful info is printed there.
Have a terminal open - with
journalctl -f
running in it - it is a live view of whatever is currently written to the system log.
Or examine the logs around the time where the crash occurs.
Here is the log:
Apr 01 16:44:06 Workstation kioworker[2254]: kf.kio.core.connection: Socket not connected QLocalSocket::PeerClosedError
Apr 01 16:44:06 Workstation kioworker[2254]: kf.kio.core: An error occurred during write. The worker terminates now.
Apr 01 16:44:06 Workstation kioworker[2254]: QThreadStorage: Thread 0x58b3f81b6360 exited after QThreadStorage 8 destroyed
Apr 01 16:44:06 Workstation kioworker[2254]: QThreadStorage: Thread 0x58b3f81b6360 exited after QThreadStorage 2 destroyed
Apr 01 16:44:06 Workstation kioworker[2254]: QThreadStorage: Thread 0x58b3f81b6360 exited after QThreadStorage 1 destroyed
Apr 01 16:44:12 Workstation systemd[800]: Started LibreOffice Writer - Word Processor.
Apr 01 16:44:12 Workstation libreoffice[2306]: javaldx: Could not find a Java Runtime Environment!
Apr 01 16:44:12 Workstation libreoffice[2293]: Warning: failed to read path from javaldx
Apr 01 16:44:28 Workstation su[2362]: (to root) armin on pts/1
Apr 01 16:44:28 Workstation su[2362]: pam_unix(su:session): session opened for user root(uid=0) by armin(uid=1000)
Apr 01 16:44:50 Workstation soffice.bin[2308]: kf.kio.filewidgets.kfilefiltercombo: KFileFilterCombo::setCurrentFilter: Could not find file filter KFileFilter(MIME patterns: QList() File patterns: QList("*.odt") label: "ODF-Textdokument (.odt)")
Apr 01 16:44:54 Workstation baloo_file_extractor[2390]: kf.filemetadata: Found plugin with metadata: "/usr/lib/qt6/plugins/kf6/kfilemetadata/kfilemetadata_pngextractor.so"
Apr 01 16:44:54 Workstation baloo_file_extractor[2390]: kf.filemetadata: Found plugin with metadata: "/usr/lib/qt6/plugins/kf6/kfilemetadata/kfilemetadata_popplerextractor.so"
Apr 01 16:44:54 Workstation baloo_file_extractor[2390]: kf.filemetadata: Found plugin with metadata: "/usr/lib/qt6/plugins/kf6/kfilemetadata/kfilemetadata_fb2extractor.so"
Apr 01 16:44:54 Workstation baloo_file_extractor[2390]: kf.filemetadata: Found plugin with metadata: "/usr/lib/qt6/plugins/kf6/kfilemetadata/kfilemetadata_officeextractor.so"
Apr 01 16:44:54 Workstation baloo_file_extractor[2390]: kf.filemetadata: Found plugin with metadata: "/usr/lib/qt6/plugins/kf6/kfilemetadata/kfilemetadata_exiv2extractor.so"
Apr 01 16:44:54 Workstation baloo_file_extractor[2390]: kf.filemetadata: Found plugin with metadata: "/usr/lib/qt6/plugins/kf6/kfilemetadata/kfilemetadata_xmlextractor.so"
Apr 01 16:44:54 Workstation baloo_file_extractor[2390]: kf.filemetadata: Found plugin with metadata: "/usr/lib/qt6/plugins/kf6/kfilemetadata/kfilemetadata_plaintextextractor.so"
Apr 01 16:44:54 Workstation baloo_file_extractor[2390]: kf.filemetadata: Found plugin with metadata: "/usr/lib/qt6/plugins/kf6/kfilemetadata/kfilemetadata_poextractor.so"
Apr 01 16:44:54 Workstation baloo_file_extractor[2390]: kf.filemetadata: Found plugin with metadata: "/usr/lib/qt6/plugins/kf6/kfilemetadata/kfilemetadata_appimageextractor.so"
Apr 01 16:44:54 Workstation baloo_file_extractor[2390]: kf.filemetadata: Found plugin with metadata: "/usr/lib/qt6/plugins/kf6/kfilemetadata/kfilemetadata_mobiextractor.so"
Apr 01 16:44:54 Workstation baloo_file_extractor[2390]: kf.filemetadata: Found plugin with metadata: "/usr/lib/qt6/plugins/kf6/kfilemetadata/kfilemetadata_postscriptdscextractor.so"
Apr 01 16:44:54 Workstation baloo_file_extractor[2390]: kf.filemetadata: Found plugin with metadata: "/usr/lib/qt6/plugins/kf6/kfilemetadata/kfilemetadata_office2007extractor.so"
Apr 01 16:44:54 Workstation baloo_file_extractor[2390]: kf.filemetadata: Found plugin with metadata: "/usr/lib/qt6/plugins/kf6/kfilemetadata/kfilemetadata_odfextractor.so"
Apr 01 16:44:54 Workstation baloo_file_extractor[2390]: kf.filemetadata: Found plugin with metadata: "/usr/lib/qt6/plugins/kf6/kfilemetadata/kfilemetadata_krita.so"
Apr 01 16:44:54 Workstation baloo_file_extractor[2390]: kf.filemetadata: Found plugin with metadata: "/usr/lib/qt6/plugins/kf6/kfilemetadata/kfilemetadata_taglibextractor.so"
Apr 01 16:44:54 Workstation baloo_file_extractor[2390]: kf.filemetadata: Found plugin with metadata: "/usr/lib/qt6/plugins/kf6/kfilemetadata/kfilemetadata_epubextractor.so"
Apr 01 16:44:54 Workstation baloo_file_extractor[2390]: kf.filemetadata: Found plugin with metadata: "/usr/lib/qt6/plugins/kf6/kfilemetadata/kfilemetadata_ffmpegextractor.so"
Apr 01 16:45:03 Workstation soffice.bin[2308]: kf.kio.filewidgets.kfilefiltercombo: KFileFilterCombo::setCurrentFilter: Could not find file filter KFileFilter(MIME patterns: QList() File patterns: QList("*.odt") label: "ODF-Textdokument (.odt)")
Apr 01 16:45:03 Workstation soffice.bin[2308]: kf.kio.widgets.kdirmodel: No node found for item that was just removed: QUrl("file:///home/armin/Dokumente/Liesmich")
Apr 01 16:45:03 Workstation soffice.bin[2308]: kf.kio.widgets.kdirmodel: No node found for item that was just removed: QUrl("file:///home/armin/Dokumente/RsyncWordbriefe.sh")
Apr 01 16:45:03 Workstation soffice.bin[2308]: kf.kio.widgets.kdirmodel: No node found for item that was just removed: QUrl("file:///home/armin/Dokumente/find+del.sh")
Apr 01 16:45:03 Workstation soffice.bin[2308]: kf.kio.widgets.kdirmodel: No node found for item that was just removed: QUrl("file:///home/armin/Dokumente/find+del2.sh")
Apr 01 16:45:03 Workstation soffice.bin[2308]: kf.kio.widgets.kdirmodel: No node found for item that was just removed: QUrl("file:///home/armin/Dokumente/find+del3.sh")
Apr 01 16:45:03 Workstation soffice.bin[2308]: kf.kio.widgets.kdirmodel: No node found for item that was just removed: QUrl("file:///home/armin/Dokumente/find+del4.sh")
Apr 01 16:45:03 Workstation soffice.bin[2308]: kf.kio.widgets.kdirmodel: No node found for item that was just removed: QUrl("file:///home/armin/Dokumente/find+del5.sh")
Apr 01 16:45:03 Workstation soffice.bin[2308]: kf.kio.widgets.kdirmodel: No node found for item that was just removed: QUrl("file:///home/armin/Dokumente/findodt.sh")
Apr 01 16:45:03 Workstation soffice.bin[2308]: kf.kio.widgets.kdirmodel: No node found for item that was just removed: QUrl("file:///home/armin/Dokumente/findodt2.sh")
Apr 01 16:45:03 Workstation soffice.bin[2308]: kf.kio.widgets.kdirmodel: No node found for item that was just removed: QUrl("file:///home/armin/Dokumente/findodt3.sh")
Apr 01 16:45:03 Workstation soffice.bin[2308]: kf.kio.widgets.kdirmodel: No node found for item that was just removed: QUrl("file:///home/armin/Dokumente/findodt4.sh")
Apr 01 16:45:03 Workstation soffice.bin[2308]: kf.kio.widgets.kdirmodel: No node found for item that was just removed: QUrl("file:///home/armin/Dokumente/findodt5.sh")
Apr 01 16:45:03 Workstation soffice.bin[2308]: kf.kio.widgets.kdirmodel: No node found for item that was just removed: QUrl("file:///home/armin/Dokumente/findodt6.sh")
Apr 01 16:45:03 Workstation soffice.bin[2308]: kf.kio.widgets.kdirmodel: No node found for item that was just removed: QUrl("file:///home/armin/Dokumente/odt2pdf.sh")
Apr 01 16:45:37 Workstation libreoffice[2308]: Unspecified Application Error
Apr 01 16:45:37 Workstation systemd[800]: app-libreoffice\x2dwriter@b7ed05ad2f2d4780b930f0c9de2d0490.service: Main process exited, code=exited, status=1/FAILURE
Apr 01 16:45:37 Workstation systemd[800]: app-libreoffice\x2dwriter@b7ed05ad2f2d4780b930f0c9de2d0490.service: Failed with result 'exit-code'.
Apr 01 16:45:37 Workstation systemd[800]: app-libreoffice\x2dwriter@b7ed05ad2f2d4780b930f0c9de2d0490.service: Consumed 5.202s CPU time, 374.5M memory peak.
pr 01 16:46:04 Workstation kernel: [UFW BLOCK] IN=eno1 OUT= MAC=01:00:5e:00:00:01:f0:b0:14:71:f4:8f:08:00 SRC=192.168.188.1 DST=224.0.0.1 LEN=36 TOS=0x00 PREC=0xC0 TTL=1 ID=18072 DF PROTO=2
That is a very short snippet - I see no crash there.
the last 14 lines look strange to me - but it’s just my uninformed opinion and I don’t know what you did.
No node found for item that was just removed:...