Created attachment 193470 [details] This small file makes writer hang every time when copied completely Short description: 1) Open attached file 2) Copy complete file with ^A ^C (or: select all by dragging, followed by ^C, makes no difference) 3) writer stops responding. 4) After a few seconds the OS suggests to kill writer, because it doesn't respond. 5) kill writer 6) Sometimes I can restart writer, but sometimes I have to restart the system. Additional info: This started happening after last update of LibreOffice. System: KDE neon 6.0 KDE Plasma 6.0.3 KDE Frameworks 6.0.0 Qt version 6.6.3 Kernel 6.5.0-26-generic (64-bits) Graphic platform X11 It only happens in writer, so I guess it's not something with memory or Xpad (the memory app I use). If I start writer in safe-mode it happens too. If I start writer in the konsole, there's no error message at all. The starting command 'libreoffice --writer' just stays on the screen. (Normally you get some error message in the konsole, when something goes wrong.) In the attached file it happens always. If I only copy part of that file, it happens sometimes. Couldn't find any pattern in it. Package source: https://ppa.launchpadcontent.net/libreoffice/ppa/ubuntu/ Installed version: 4:24.2.2~rc2-0ubuntu0.22.04.1~lo1 (Actually no idea what the installed version means. Help
I wasn't able to reproduce the bug in Version: 24.2.1.2 (X86_64) / LibreOffice Community Build ID: db4def46b0453cc22e2d0305797cf981b68ef5ac CPU threads: 8; OS: Windows 10.0 Build 19045; UI render: Skia/Vulkan; VCL: win Locale: en-US (en_US); UI: en-US Calc: threaded or Version: 24.8.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: a2265e8faa099d9652efd12392c2877c2df1d1eb CPU threads: 8; OS: Windows 10.0 Build 19045; UI render: Skia/Vulkan; VCL: win Locale: en-US (en_US); UI: en-US Calc: threaded
Not reproducible with Version: 7.5.9.2 (X86_64) / LibreOffice Community Build ID: cdeefe45c17511d326101eed8008ac4092f278a9 CPU threads: 16; OS: Windows 10.0 Build 22631; UI render: default; VCL: win Locale: es-ES (es_ES); UI: es-ES Calc: CL threaded I can reproduce with attached file, but deleting the empty paragraph at the end, seems to avoid the issue. Version: 24.2.2.2 (X86_64) / LibreOffice Community Build ID: d56cc158d8a96260b836f100ef4b4ef25d6f1a01 CPU threads: 16; OS: Windows 10.0 Build 22631; UI render: Skia/Raster; VCL: win Locale: es-ES (es_ES); UI: en-US Calc: CL threaded With Version: 24.8.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: b0edb1909b9deb1a170497f935a528f8118c8308 CPU threads: 16; OS: Windows 10.0 Build 22631; UI render: default; VCL: win Locale: es-ES (es_ES); UI: en-US Calc: threaded just crash after opening the file just in the tip box, even in Safe Mode. Without LO detect the crash at reopening. Attached the result of odf validator. https://odfvalidator.org/ ODF Validator Result Page Result for kopjes boven volledige code.odt The document is NOT conformant ODF1.3! Details: kopjes boven volledige code.odt: Info: ODF version of root document: 1.3 internal:/schema/odf1.3/OpenDocument-v1.3-manifest-schema.rng: Info: parsed. kopjes boven volledige code.odt/META-INF/manifest.xml: Info: no errors, no warnings kopjes boven volledige code.odt/mimetype: Info: no errors, no warnings kopjes boven volledige code.odt: Info: Media Type: application/vnd.oasis.opendocument.text internal:/schema/odf1.3/OpenDocument-v1.3-schema.rng: Info: parsed. kopjes boven volledige code.odt/meta.xml: Info: Generator: LibreOffice/24.2.2.2$Linux_X86_64 LibreOffice_project/420$Build-2 kopjes boven volledige code.odt/meta.xml: Info: no errors, no warnings kopjes boven volledige code.odt/settings.xml: Info: no errors, no warnings kopjes boven volledige code.odt/styles.xml[2,3149]: Error: element "loext:gradient-stop" was found where no element may occur ype="rgb" loext:color-value="#000000"/><loext:gradient-stop svg:offset="1" loex ----^ kopjes boven volledige code.odt/styles.xml[2,3968]: Error: unexpected attribute "loext:tab-stop-distance" :font-independent-line-spacing="false"><style:tab-stops/></style:paragraph-prop ----^ kopjes boven volledige code.odt/styles.xml[2,5485]: Error: unexpected attribute "loext:opacity" it" loext:hyphenation-zone="no-limit"/></style:default-style><style:default-sty ----^ kopjes boven volledige code.odt/styles.xml[2,9088]: Error: unexpected attribute "loext:num-list-format" -list-format="%1%" style:num-format=""><style:list-level-properties text:list-l ----^ kopjes boven volledige code.odt/styles.xml[2,12509]: Error: tag name "loext:theme" is not allowed. Possible tag names are: <bibliography-configuration>,<boolean-style>,<currency-style>,<date-style>,<default-page-layout>,<default-style>,<fill-image>,<gradient>,<hatch>,<linearGradient>,<list-style>,<marker>,<notes-configuration>,<number-style>,<opacity>,<percentage-style>,<presentation-page-layout>,<radialGradient>,<stroke-dash>,<style>,<table-template>,<text-style>,<time-style> ="5"/><loext:theme loext:name="Office"><loext:theme-colors loext:name="LibreOff ----^ kopjes boven volledige code.odt/styles.xml[2,13940]: Error: unexpected attribute "loext:margin-gutter" height="0cm" loext:margin-gutter="0cm"><style:footnote-sep style:width="0.018cm ----^ kopjes boven volledige code.odt/styles.xml: Info: 6 errors, no warnings kopjes boven volledige code.odt/content.xml[2,3317]: Error: tag name "loext:graphic-properties" is not allowed. Possible tag names are: <map>,<paragraph-properties>,<text-properties> atch-name="hatch" draw:opacity="100%"/><style:paragraph-properties fo:margin-to ----^ kopjes boven volledige code.odt/content.xml[2,3723]: Error: unexpected attribute "officeooo:paragraph-rsid" ex="zxx" style:country-complex="none"/></style:style><style:style style:name="P ----^ kopjes boven volledige code.odt/content.xml[2,3967]: Error: tag name "loext:graphic-properties" is not allowed. Possible tag names are: <map>,<paragraph-properties>,<text-properties> atch-name="hatch" draw:opacity="100%"/><style:paragraph-properties fo:margin-to ----^ kopjes boven volledige code.odt/content.xml[2,4478]: Error: unexpected attribute "officeooo:paragraph-rsid" ex="zxx" style:country-complex="none"/></style:style><style:style style:name="P ----^ kopjes boven volledige code.odt/content.xml[2,4672]: Error: tag name "loext:graphic-properties" is not allowed. Possible tag names are: <map>,<paragraph-properties>,<text-properties> radient" draw:fill-hatch-name="hatch"/><style:paragraph-properties fo:margin-to ----^ kopjes boven volledige code.odt/content.xml[2,5033]: Error: unexpected attribute "officeooo:rsid" old" style:font-weight-complex="bold"/></style:style><style:style style:name="P ----^ kopjes boven volledige code.odt/content.xml[2,5231]: Error: tag name "loext:graphic-properties" is not allowed. Possible tag names are: <map>,<paragraph-properties>,<text-properties> radient" draw:fill-hatch-name="hatch"/><style:paragraph-properties fo:margin-to ----^ kopjes boven volledige code.odt/content.xml[2,5666]: Error: unexpected attribute "officeooo:rsid" old" style:font-weight-complex="bold"/></style:style><style:style style:name="P ----^ kopjes boven volledige code.odt/content.xml[2,5884]: Error: tag name "loext:graphic-properties" is not allowed. Possible tag names are: <map>,<paragraph-properties>,<text-properties> atch-name="hatch" draw:opacity="100%"/><style:paragraph-properties fo:margin-to ----^ kopjes boven volledige code.odt/content.xml[2,6265]: Error: unexpected attribute "officeooo:rsid" old" style:font-weight-complex="bold"/></style:style><style:style style:name="P ----^ kopjes boven volledige code.odt/content.xml[2,6805]: Error: unexpected attribute "officeooo:rsid" old" style:font-weight-complex="bold"/></style:style><style:style style:name="P ----^ kopjes boven volledige code.odt/content.xml[2,7023]: Error: tag name "loext:graphic-properties" is not allowed. Possible tag names are: <map>,<paragraph-properties>,<text-properties> atch-name="hatch" draw:opacity="100%"/><style:paragraph-properties fo:margin-to ----^ kopjes boven volledige code.odt/content.xml[2,7516]: Error: unexpected attribute "officeooo:rsid" one" style:font-weight-complex="bold"/></style:style><style:style style:name="P ----^ kopjes boven volledige code.odt/content.xml[2,7710]: Error: tag name "loext:graphic-properties" is not allowed. Possible tag names are: <map>,<paragraph-properties>,<text-properties> radient" draw:fill-hatch-name="hatch"/><style:paragraph-properties fo:margin-to ----^ kopjes boven volledige code.odt/content.xml[2,7959]: Error: unexpected attribute "officeooo:paragraph-rsid" " officeooo:paragraph-rsid="0012b5a4"/></style:style><style:style style:name="P ----^ kopjes boven volledige code.odt/content.xml[2,8177]: Error: tag name "loext:graphic-properties" is not allowed. Possible tag names are: <map>,<paragraph-properties>,<text-properties> atch-name="hatch" draw:opacity="100%"/><style:paragraph-properties fo:margin-to ----^ kopjes boven volledige code.odt/content.xml[2,8497]: Error: unexpected attribute "officeooo:paragraph-rsid" " officeooo:paragraph-rsid="0012b5a4"/></style:style><style:style style:name="P ----^ kopjes boven volledige code.odt/content.xml[2,8742]: Error: tag name "loext:graphic-properties" is not allowed. Possible tag names are: <map>,<paragraph-properties>,<text-properties> atch-name="hatch" draw:opacity="100%"/><style:paragraph-properties fo:margin-le ----^ kopjes boven volledige code.odt/content.xml[2,9236]: Error: unexpected attribute "officeooo:paragraph-rsid" " officeooo:paragraph-rsid="0012b5a4"/></style:style><style:style style:name="P ----^ kopjes boven volledige code.odt/content.xml[2,9435]: Error: tag name "loext:graphic-properties" is not allowed. Possible tag names are: <map>,<paragraph-properties>,<text-properties> radient" draw:fill-hatch-name="hatch"/><style:paragraph-properties fo:margin-to ----^ kopjes boven volledige code.odt/content.xml[2,9809]: Error: unexpected attribute "officeooo:paragraph-rsid" " officeooo:paragraph-rsid="00154a44"/></style:style><style:style style:name="P ----^ kopjes boven volledige code.odt/content.xml[2,10028]: Error: tag name "loext:graphic-properties" is not allowed. Possible tag names are: <map>,<paragraph-properties>,<text-properties> atch-name="hatch" draw:opacity="100%"/><style:paragraph-properties fo:margin-le ----^ kopjes boven volledige code.odt/content.xml[2,10472]: Error: unexpected attribute "officeooo:rsid" " officeooo:paragraph-rsid="001fe938"/></style:style><style:style style:name="P ----^ kopjes boven volledige code.odt/content.xml[2,10636]: Error: unexpected attribute "officeooo:paragraph-rsid" s officeooo:paragraph-rsid="001c9a2c"/></style:style><style:style style:name="P ----^ kopjes boven volledige code.odt/content.xml[2,10954]: Error: unexpected attribute "officeooo:paragraph-rsid" s officeooo:paragraph-rsid="001c9a2c"/></style:style><style:style style:name="T ----^ kopjes boven volledige code.odt/content.xml[2,11067]: Error: unexpected attribute "officeooo:rsid" -properties officeooo:rsid="029e7dcd"/></style:style><style:style style:name="T ----^ kopjes boven volledige code.odt/content.xml[2,11248]: Error: unexpected attribute "loext:char-shading-value" sparent" loext:char-shading-value="0"/></style:style><style:style style:name="T ----^ kopjes boven volledige code.odt/content.xml[2,11455]: Error: unexpected attribute "officeooo:rsid" sparent" loext:char-shading-value="0"/></style:style><style:style style:name="T ----^ kopjes boven volledige code.odt/content.xml[2,11726]: Error: unexpected attribute "officeooo:rsid" ext:border="none" loext:shadow="none"/></style:style><style:style style:name="T ----^ kopjes boven volledige code.odt/content.xml[2,11839]: Error: unexpected attribute "officeooo:rsid" -properties officeooo:rsid="02a0e97e"/></style:style><style:style style:name="T ----^ kopjes boven volledige code.odt/content.xml[2,12172]: Error: unexpected attribute "loext:opacity" old" style:font-weight-complex="bold"/></style:style><style:style style:name="T ----^ kopjes boven volledige code.odt/content.xml[2,12569]: Error: unexpected attribute "loext:opacity" ext:border="none" loext:shadow="none"/></style:style><style:style style:name="T ----^ kopjes boven volledige code.odt/content.xml[2,12902]: Error: unexpected attribute "loext:opacity" old" style:font-weight-complex="bold"/></style:style><style:style style:name="T ----^ kopjes boven volledige code.odt/content.xml[2,13299]: Error: unexpected attribute "loext:opacity" ext:border="none" loext:shadow="none"/></style:style><style:style style:name="T ----^ kopjes boven volledige code.odt/content.xml[2,13544]: Error: unexpected attribute "loext:char-shading-value" ext:border="none" loext:shadow="none"/></style:style><style:style style:name="T ----^ kopjes boven volledige code.odt/content.xml[2,13658]: Error: unexpected attribute "officeooo:rsid" -properties officeooo:rsid="0018fc81"/></style:style><style:style style:name="T ----^ kopjes boven volledige code.odt/content.xml[2,14044]: Error: unexpected attribute "officeooo:rsid" l" style:font-weight-complex="normal"/></style:style><style:style style:name="T ----^ kopjes boven volledige code.odt/content.xml[2,14250]: Error: unexpected attribute "officeooo:rsid" l" style:font-weight-complex="normal"/></style:style><style:style style:name="T ----^ kopjes boven volledige code.odt/content.xml[2,14450]: Error: unexpected attribute "officeooo:rsid" old" style:font-weight-complex="bold"/></style:style><style:style style:name="T ----^ kopjes boven volledige code.odt/content.xml[2,14650]: Error: unexpected attribute "officeooo:rsid" old" style:font-weight-complex="bold"/></style:style></office:automatic-styles> ----^ kopjes boven volledige code.odt/content.xml: Info: 40 errors, no warnings internal:/schema/odf1.3/OpenDocument-v1.3-dsig-schema.rng: Info: parsed. kopjes boven volledige code.odt: Info: 46 errors, no warnings This service is provided to you by The Document Foundation The Document Foundation This service does not cover all conformance criteria of the OpenDocument Format specification. It is not applicable for formal validation proof. Problems reported by this service only indicate that a document may not conform to the specification. It must not be concluded from errors that are reported that the document does not conform to the specification without further investigation of the error report, and it must not be concluded from the absence of error reports that the OpenDocument Format document conforms to the OpenDocument Format specification.
No matter, with 24.8 if Skia is enabled or not.
I'm not an experienced bug hunter, but maybe this helps. I removed the empty paragraph at the end like like m. a. riosy did. That solved the problem. But in another (large) file without empty paragraph at the end the problem still exists. I have no idea what the error the validator gives mean. I only edit this file in LibreOffice. But I thought: maybe if I just make a new file and type the old file by hand over (it's a very small file). Maybe the errors the validator gives are then gone and maybe that makes a difference in other files too. Well, I typed the first part of the file until the bold 'CSS'. Including font styles, borders, etc. Copied that part with ^A ^C: writer hangs. So even if I make a new (partial) copy by hand, writer hangs.
Created attachment 193500 [details] file with the word 'huis' copied five times Since this bug seems hard to reproduce, I tried some other things and finally found one thing that happens every time if I copy. (If I press ^C) I made a file with only the word 'huis'. No color, border, or any other lay-out, just one simple word. If I copy this one simple word for the first time, nothing happens. The word is simply copied. If I copy the word for the second time (without closing the file) there's a bookmark added with the name: '_DdeLink__24_3300722863' If I copy the word for the third time, there's a bookmark added with the name: '_DdeLink__27_3300722863' If I copy the word for the fourth time, there's a bookmark added with the name: '_DdeLink__31_3300722863' If I copy the word for the fifth time, there's a bookmark added with the name: '_DdeLink__36_3300722863' Etc. Every time I copy a bookmark is added. This happens in every document, no difference if I copy one word or the whole document. Only the numbers of the bookmark change. So the first time I copy anything no bookmark is created, but second and later time copying with every copy a bookmark is created. (I stopped after about 20 bookmarks were created.) The target of the link is the text I copied. If I copy one word and click on the bookmark, the one word is highlighted. If I copy the whole document, the whole document is highlighted when clicking on the bookmark. I'm absolutely sure this started happening with the last uupdate, because I use bookmarks all the time. Since this happens when copying, I thought maybe this has something to do with the problem. I've added a file 'test2.odt' with only the word 'huis'. This word is copied five times, so there are four mysterious bookmarks.
I can see the bookmarks in your file, but I'm not able to reproduce it from scratch. Have you tested in Safe mode? Menu/Help/Restart in Safe Mode.
It happens in safe-mode too. What I forgot: even if I only copy (without pasting or anything) the file changes to 'edited'. That's new too. This happens even if I copy only one time. (The adding of the strange bookmarks only starts after the second time copying.)
I did one other test, because I thought it's strange a file changes because of only pressing ^C. I made again a file with just the word 'huis', without copying or anything, and saved it. I reopened that file and copied the word 'huis' one time, nothing more. The file changed to edited, though I only pressed ^C. No visible bookmark added. Saved the file under another name. Then I unpacked both files and compared them. In 'content.xml' there is a difference at the end of the file. The end of the original (without the word 'huis' being copied): <text:p text:style-name="P1">huis</text:p></office:text></office:body></office:document-content> The end of the file with the word 'huis' one time copied: <text:p text:style-name="P1"><text:bookmark-start text:name="__DdeLink__1_2584462288"/>huis<text:bookmark-end text:name="__DdeLink__1_2584462288"/></text:p></office:text></office:body></office:document-content> The rest of content.xml is the same. This bookmark is not visible in the sidebar with bookmarks. If I copy the word 'huis' a second time, another bookmark is added in content.xml at the end of the file. And this time the bookmark is visible in the sidebar, but only one bookmark. I don't know if this is of any use. If I only cause confusion because reacting too much, please let me now. I'm only used to hunting bugs in html etc.
No repro with Version: 24.8.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: dff57d2b4f5abd1b51ebfb0015339471f61e72f9 CPU threads: 4; OS: Linux 6.5; UI render: default; VCL: gtk3 Locale: cs-CZ (cs_CZ.UTF-8); UI: en-US Calc: threaded Jumbo
I really don't know what happened, but it looks like it is solved. Just for information I'll tell what I did (or actually: not did...) 1) removed libreOffice completely. 2) removed the PPA with libreOffice. 3) installed the default version from Neod. That's version 7 and something. 4) The problem still existed. So it started to look it had nothing to do with the latest update from LibreOffice. I noticed the problem the same day LibreOffice was updated, so I thought it had to do with that update. Maybe it was something in my system that was recently changed? That would also explain why it's hard to reproduce the bug for other people. 5) Logged out and logged in again, but this time not with X11 but with Wayland. Problem was gone. Ah, so it probably has something to do with the combination LibreOffice/X11. But Wayland has (for the moment) a lot of other problems, so I'd really prefer for the moment X11. 6) Logged out and logged in again, but now again with X11. I was planning to start reading about settings from X11. But to my big surprise the problem is gone. I copied all kind of texts about a hundred times, because I couldn't believe it, but it's really gone. Even restarted the system to be sure. I didn't change anything at all, except changing from X11 to Wayland and back. Sorry for the time you have spent, but since this happened just after the update from LibreOffice I really thought it had something to do with that update.
(In reply to Peter Zwitser from comment #10) > I really don't know what happened, but it looks like it is solved. > Just for information I'll tell what I did (or actually: not did...) > > 1) removed libreOffice completely. > 2) removed the PPA with libreOffice. > 3) installed the default version from Neod. That's version 7 and something. > 4) The problem still existed. > > So it started to look it had nothing to do with the latest update from > LibreOffice. I noticed the problem the same day LibreOffice was updated, so > I thought it had to do with that update. > Maybe it was something in my system that was recently changed? That would > also explain why it's hard to reproduce the bug for other people. > > 5) Logged out and logged in again, but this time not with X11 but with > Wayland. > > Problem was gone. Ah, so it probably has something to do with the > combination LibreOffice/X11. > But Wayland has (for the moment) a lot of other problems, so I'd really > prefer for the moment X11. > > 6) Logged out and logged in again, but now again with X11. > > I was planning to start reading about settings from X11. > But to my big surprise the problem is gone. I copied all kind of texts about > a hundred times, because I couldn't believe it, but it's really gone. Even > restarted the system to be sure. > > I didn't change anything at all, except changing from X11 to Wayland and > back. > > Sorry for the time you have spent, but since this happened just after the > update from LibreOffice I really thought it had something to do with that > update. Peter, could it be that in the meantime you upgraded to 24.2.3, perhaps? See bug 160751 and related: several users report 24.2.2 crashing then the issue resolved in 24.2.3.
Hello Stéphane, No, it was the same version of LibreOffice. The only thing I changed was X11 to Wayland, and than back to X11 again. Logging in with Wayland: crash. Logging in with X11: no crash. At the moment I'm using: LibreOffice 24.2.3.2 System: KDE neon 6.0 KDE Plasma 6.0.4 KDE Frameworks 6.1.0 Qt version 6.7.0 Kernel 6.5.0-35-generic (64-bits) Graphic platform X11 I repeated the exact same steps to find out if the problem still exists: no, it's fixed. Even when using Wayland the problem's gone. (But since Wayland still has a lot of other problems, I keep using X11 for the moment). I don't know if the problem disappeared because of an update from LibreOffice, KDE Plasma or some other update, because of a combination of updates.