Description: LibreOffice crashes when I attempt to print any document, of any type, in Writer, Calc, etc. I've tried re-creating my user profile from scratch. I've also tried disabling hardware acceleration in safe mode. Steps to Reproduce: 1.Open a blank document 2.Type a sentence such as "This is a line of text." 3.Press <CTRL-P> and the app will crash. Actual Results: The app crashed. Expected Results: I should've seen the Print dialog. Reproducible: Always User Profile Reset: Yes Additional Info: Version: 7.0.3.1 Build ID: d7547858d014d4cf69878db179d326fc3483e082 CPU threads: 8; OS: Linux 4.15; UI render: default; VCL: gtk3 Locale: en-US (en_US.UTF-8); UI: en-US Calc: CL
Thank you for reporting the bug. it seems you're using an old version of LibreOffice. Could you please try to reproduce it with the latest version of LibreOffice from https://www.libreoffice.org/download/libreoffice-fresh/ ? I have set the bug's status to 'NEEDINFO'. Please change it back to 'UNCONFIRMED' if the bug is still present in the latest version.
The bug does not occur when using LO 7.1.6.2. However, I must run the following command in order to get that version of LO to run: export SAL_USE_VCLPLUGIN=gen If I don't issue that command or I use 'kf5' instead of 'gen' then LO crashes after displaying the startup screen. Version info: Version: 7.1.6.2 / LibreOffice Community Build ID: 0e133318fcee89abacd6a7d077e292f1145735c3 CPU threads: 8; OS: Linux 4.15; UI render: default; VCL: x11 Locale: en-US (en_US.UTF-8); UI: en-US Calc: threaded
2 things you can try: - upgrade to last Ubuntu version 21.04 or at least last LTS (20.04) - try to retrieve a backtrace (see https://wiki.documentfoundation.org/QA/BugReport/Debug_Information#GNU.2FLinux:_How_to_get_a_backtrace)
Created attachment 175219 [details] gdb backtrace as requested
Backtrace attached. To get this to happen, I have to comment out the line that reads "export SAL_USE_VCLPLUGIN=gen". I can try upgrading from Ubuntu 16 to 20. That seems like it'll take some time and potentially break a bunch of other things, so I'm hesitant to do it.
There's no backtrace in your file so we can't do anything with it. So 7.0.3 crashes with gtk3 and 7.1.6 crashes with kf5. BTW, I consider https://www.libreoffice.org/download/download/ ok for Windows or MacOs but for Linux, it's more for distrib repository maintainers. Indeed, dependencies must be taken into account. I think either you try again to retrieve a backtrace. (There shouldn't be "No stack" in it) or uninstall all LO versions from TDF and from your repository + clean you LO profile, then upgrade to last LTS Ubuntu (20.04) and install again LO from Ubuntu repo.
Ah, I thought that output file would be helpful. It's odd that --backtrace didn't create a backtrace. I'm not going to open at ticket on that though. :) I'm okay with closing this ticket. The issue seems to be somewhere in Ubuntu 16, which isn't the most recent rev. And the ticket has documented a work-around, in case anyone else can benefit from it. Upgrading seems like the permanent fix. Thank you.
Let's rather put WORKSFORME since there's no specific patch here to fix this.