Description: From time to time Writer first freezes and then crashes without any error message or apparent reason. I'm able to recover the files but this is becoming quite annoying. Usually the freeze and crash happens during scrolling longer texts but it also happened while copy/pasting text, deleting or even while simply writing something (happened 5 mins ago). Is there any way I can investigate deeper/provide more data? I did reset the profile, re-installed everything and did as much clean-up as possible, nothing helps. Steps to Reproduce: Unable to provide, the crashes appear completely random with a bit higher probability during scrolling long texts (200 pages) or during intensive copy-pasting sessions. Actual Results: see above Expected Results: see above Reproducible: Sometimes User Profile Reset: Yes Additional Info: Version: 7.5.0.3 (X86_64) / LibreOffice Community Build ID: c21113d003cd3efa8c53188764377a8272d9d6de CPU threads: 16; OS: Windows 10.0 Build 19045; UI render: Skia/Vulkan; VCL: win Locale: pl-PL (pl_PL); UI: en-US Calc: CL threaded
Just in case it's Skia related, you can try https://wiki.documentfoundation.org/QA/FirstSteps#Graphics-related_issues_.28_Skia_.29
I just updated to 7.5.0.3 and found this same behavior. Occasional crashes on Windows while writing a doc. The issues I've found have been in much smaller documents than the initial report (one and two pages). There's no obvious trigger -- in both cases I was just typing. Version: 7.5.0.3 (X86_64) / LibreOffice Community Build ID: c21113d003cd3efa8c53188764377a8272d9d6de CPU threads: 8; OS: Windows 10.0 Build 19044; UI render: Skia/Vulkan; VCL: win Locale: en-US (en_US); UI: en-US Calc: threaded Just noticed the "please try" comment below so will review/try that.
(In reply to Steve Benting from comment #2) > Just noticed the "please try" comment below so will review/try that. I tired switching to forced Skia software rendering and it is noticeably slower than the hardware one. I'll try it out for some time and see what happens. Just an observation: I've removed LO from my system, cleaned the profile folder and installed 7.5 from scratch. I believe that now it crashes less frequently but the crashes still occur.
I also switched to force raster. I haven't had a problem since then with about as much usage. Performance isn't noticeably worse with my setup.
(In reply to Marcin Segit from comment #3) > (In reply to Steve Benting from comment #2) > > Just noticed the "please try" comment below so will review/try that. > > I tired switching to forced Skia software rendering and it is noticeably > slower than the hardware one. I'll try it out for some time and see what > happens. > ... Didn't you mean you "tired to force disabling Skia"? If you already checked you've got last graphic driver, we need skia.log (see https://wiki.documentfoundation.org/QA/FirstSteps#Graphics-related_issues_(_Skia_)) in order to have required info to blacklist this specific driver and or card. If you really meant "tired to force enabling Skia", if Skia is disabled by default on your machine, no need to force Skia rendering except if you want to try to debug ; it's disabled for some driver/cards because it's buggy.
(In reply to Julien Nabet from comment #5) > Didn't you mean you "tired to force disabling Skia"? I don't have much familiarity with Skia. What I did was selecting "Force Skia software rendering". My understanding is that this is "software rendering" in opposition to "hardware rendering" but I guess I'm wrong. :) Anyway, help/about screen now says "UI render: Skia/Raster". > If you already checked you've got last graphic driver, we need skia.log (see > https://wiki.documentfoundation.org/QA/FirstSteps#Graphics- > related_issues_(_Skia_)) in order to have required info to blacklist this > specific driver and or card. Drivers are up to date. I'll be working throughout the rest of the week and see if Writer crashes or not and provide the log afterwards.
(In reply to Marcin Segit from comment #6) > (In reply to Julien Nabet from comment #5) > > Didn't you mean you "tired to force disabling Skia"? > > I don't have much familiarity with Skia. What I did was selecting "Force > Skia software rendering". My understanding is that this is "software > rendering" in opposition to "hardware rendering" but I guess I'm wrong. :) > Anyway, help/about screen now says "UI render: Skia/Raster". You're right. I suppose Skia/Vulkan corresponds to hardware rendering then. In this case, it would be useful we have the skia.log so you wouldn't have to check this checkbox each time your recreate your LO profile. > > > If you already checked you've got last graphic driver, we need skia.log (see > > https://wiki.documentfoundation.org/QA/FirstSteps#Graphics- > > related_issues_(_Skia_)) in order to have required info to blacklist this > > specific driver and or card. > > Drivers are up to date. I'll be working throughout the rest of the week and > see if Writer crashes or not and provide the log afterwards. Ok, so it seems to confirm some buggy behavior of Skia Vulkan with your specific card model or at least, the up-to-date version driver of your graphic card.
Created attachment 185824 [details] Skia logs
(In reply to Julien Nabet from comment #7) > > > If you already checked you've got last graphic driver, we need skia.log (see I'm attaching two log files: 1) skia.log with no forced software rendering 2) skia_raster.log with forced software rendering turned on With forced software rendering I was not able to reproduce the crash. Without forced software rendering Writer still crashes but as I wrote before with version 7.5+ this happens less often. As to the performance with software rendering turned on I notice degradation with two or more 200+ pages docs open at the same time. Other than that it's barely noticeable.
Thank you for the feedback. I've submitted this patch to gerrit: https://gerrit.libreoffice.org/c/core/+/148447 The goal is just to automatically force Skia software rendering instead of using by default Skia hardware rendering. In brief, it's just a workaround, not a real fix.
(In reply to Julien Nabet from comment #10) > In brief, it's just a workaround, not a real fix. Thanks! Any chance that this can get a proper fix one day? Or should I get a new gfx card? ;)
Julien Nabet committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/c0ed486d96fca70704a7f7e24199de9c663003cc tdf#153538: blacklist GeForce GTX 1070 Ti for Skia hardware rendering It will be available in 7.6.0. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Patch waiting for review for 7.5 branch here: https://gerrit.libreoffice.org/c/core/+/148409
(In reply to Marcin Segit from comment #11) > (In reply to Julien Nabet from comment #10) > > In brief, it's just a workaround, not a real fix. > > Thanks! Any chance that this can get a proper fix one day? Or should I get a > new gfx card? ;) No idea, first thing is I don't know if the bug comes from the graphic card driver or Skia or Skia implementation in LO. The pb is we've got no news about the main dev of Skia implementation in LO since several months. Anyway, let's put this one to FIXED even if it's just a workaround.
(In reply to Julien Nabet from comment #14) > Anyway, let's put this one to FIXED even if it's just a workaround. Sure, thank you very much for your help! As a side note, I think that my issues started with LO 7.4, so with the workaround I can wait for a proper fix. :) Have a good day!
Julien Nabet committed a patch related to this issue. It has been pushed to "libreoffice-7-5": https://git.libreoffice.org/core/commit/dc4c79b80d8ec24e54744841b2e2ce815e3ace2f tdf#153538: blacklist GeForce GTX 1070 Ti for Skia hardware rendering It will be available in 7.5.2. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
I know that this is marked already as resoled/fixed but wanted to add that the freeze/crash happened again with Skia software rendering turned on. All I did was to Alt+Tab to an open Write document (22 pages long). I think the problem is still there, however, its occurrence is now very limited.
Ok let’s reopen this one. However i got no idea then so uncc myself.
I think this one can be closed. No major crashes so far.