Description: LibreOffice Writer starts with an empty document calles "untitled". When I try to save it ("Save As..." or "Strg+S"), Writer crashes with the output in the console: Couldn't open /usr/share/kde4/config/kdebug.areas X Error: BadMatch (invalid parameter attributes) 8 Major opcode: 42 (X_SetInputFocus) Resource id: 0x6400c30 X Error: BadMatch (invalid parameter attributes) 8 Major opcode: 42 (X_SetInputFocus) Resource id: 0x6400c30 Couldn't open /usr/share/kde4/config/kdebug.areas Steps to Reproduce: 1. Start from the console: :~$ /usr/bin/libreoffice --writer 2. Try to "Save as..." Actual Results: Couldn't open /usr/share/kde4/config/kdebug.areas X Error: BadMatch (invalid parameter attributes) 8 Major opcode: 42 (X_SetInputFocus) Resource id: 0x6400c30 X Error: BadMatch (invalid parameter attributes) 8 Major opcode: 42 (X_SetInputFocus) Resource id: 0x6400c30 Couldn't open /usr/share/kde4/config/kdebug.areas Expected Results: It should have opened the "Save-As-dialogue". Reproducible: Always User Profile Reset: No Additional Info: User-Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:57.0) Gecko/20100101 Firefox/57.0
Thank you for reporting the bug. To be certain the reported issue is not related to corruption in the user profile, could you please reset your Libreoffice profile ( https://wiki.documentfoundation.org/UserProfile ) and re-test? I have set the bug's status to 'NEEDINFO'. Please change it back to 'UNCONFIRMED' if the issue is still present
Also crashes with an new/reset Libreoffice profile.
Does it crash if you call LibreOffice from the commandline like: 'SAL_USE_VCLPLUGIN=gtk3 soffice' ?
Yes, it does! It says: :~$ SAL_USE_VCLPLUGIN=gtk3 soffice Couldn't open /usr/share/kde4/config/kdebug.areas X Error: BadMatch (invalid parameter attributes) 8 Major opcode: 42 (X_SetInputFocus) Resource id: 0x6800db1 X Error: BadMatch (invalid parameter attributes) 8 Major opcode: 42 (X_SetInputFocus) Resource id: 0x6800db1 Couldn't open /usr/share/kde4/config/kdebug.areas X Error: BadMatch (invalid parameter attributes) 8 Major opcode: 42 (X_SetInputFocus) Resource id: 0x660018b X Error: BadMatch (invalid parameter attributes) 8 Major opcode: 42 (X_SetInputFocus) Resource id: 0x660018b
Introduced somewhere between 7d56128654457bfc859217c23a957d1712fd6e1c and 48cf115778b29ab916dd884d0bfcfeffd03e7603
Please ignore comment 5. I posted it on the wrong bug.
I noticed the same problem with both Writer and Calc (LibreOffice version 5.4.5.1) on Kubuntu 17.10. It also occurs with doing "Save As" or trying to Open a file from the menu. Opening a previously saved file from Dolphin works... and subsequent re-saving works.
Using Kubuntu 17.10. Sometime between last use on 17 Feb and attempted use on 22 Feb, all attempts to save a new file resulted in a crash and recovery. All subsequent attempts to save again resulted in crash and recovery. From the command line: $ libreoffice Couldn't open /usr/share/kde4/config/kdebug.areas (startup) Upon starting a new file and attempting to save it, Writer crashes with a recovery window. All subsequent attempts to save a file result in the same action. Upon shutdown the command line startup note is reiterated: Couldn't open /usr/share/kde4/config/kdebug.areas /usr/share/kde4/config/kdebug.areas is owned by root:root with the permissions of 644.
When I start an instance of Writer and attempt to open a document, it immediately crashes and goes through an empty recovery process (because there was nothing yet saved that can be recovered). But if I load an existing document from the CLI ($libreoffice myfile.odt), I can load the document, edit it, and save it. If I create an empty ODT file using 'touch' and load it from the command line, I get the following: $libreoffice test.odt Couldn't open /usr/share/kde4/config/kdebug.areas :1: parser error : Extra content at the end of the document ^ :1: parser error : Extra content at the end of the document ^ :1: parser error : Extra content at the end of the document Then it loads the empty document. I can edit it and save it, but I have to choose between saving it as a text file and saving it as an ODF file. Choosing the Text option loses any formatting that I apply to the document. If I attempt a Save As, Writer crashes again.
Let's close this one as a dupe of bug 115971. *** This bug has been marked as a duplicate of bug 115971 ***