1. Open LibreOffice and write a document 2. Open dialog to print 3. Select Printer 4. LibreOffice crashes but the printing dialog stays.
Could you please try to reproduce it with LibreOffice 6.2 from https://wiki.documentfoundation.org/QA/GetInvolved#Test_Pre-releases? 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.
Created attachment 148496 [details] logs and video Video https://9089701563e3e5947b90-b6e63eb6c42eb9f70edaf30ab1589b06.ssl.cf2.rackcdn.com/64e25e81-572106-2a8b448e11616998.mp4
Video of the issue: https://9089701563e3e5947b90-b6e63eb6c42eb9f70edaf30ab1589b06.ssl.cf2.rackcdn.com/64e25e81-572106-2a8b448e11616998.mp4 I still need to test with 6.2.
Thanks for testing it in LibreOffice 6.2. If possible, please follow the instructions provided at this link < https://wiki.documentfoundation.org/QA/BugReport/Debug_Information#GNU.2FLinux >. and submit a backtrace. That way a developer can look into the underlying reason of the crash.
(In reply to Xisco Faulí from comment #4) > Thanks for testing it in LibreOffice 6.2. > If possible, please follow the instructions provided at this link < > https://wiki.documentfoundation.org/QA/BugReport/Debug_Information#GNU. > 2FLinux >. and submit a backtrace. That way a developer can look into the > underlying reason of the crash. You can download a build with debug symbols from https://dev-builds.libreoffice.org/daily/master/Linux-rpm_deb-x86_64@86-TDF-dbg/current/
Additional questions that may help to analyze the issue: 1) Does the crash only happen for that specific printer or also for others? 2) Can you attach the PPD file for that printer, which should be located at /etc/cups/ppd/<PRINTERNAME>.ppd?
Same problem here. Seen on LibreOffice 4.2.8.2 420m0(Build:2) (on Kubuntu 14.04) LibreOffice 6.0.7.3 00m0(Build:3) (on Xubuntu 18.04) Crash happens only for one specific printer in the list, a Lexmark MX521ade. PPD driver has been downloaded from: http://support.lexmark.com/index?page=content&id=DR24522&docLocale=en_US&segType=recommendedSegmentOS
(In reply to Michael Kiermaier from comment #7) > PPD driver has been downloaded from: > http://support.lexmark.com/ > index?page=content&id=DR24522&docLocale=en_US&segType=recommendedSegmentOS That archive contains several PPD files. Can you attach the one that is actually used? (Your issue may or may not be the same as that of the original reporter, so it might make sense to create a separate bug report at some point in time, but let's leave it for now...)
I don't know the copyright restrictions so I don't want to attach a copy of the ppd. The used PPD file within the archive is GlobalPPD_1.4/Lexmark_MX520_Series.ppd I did soffice --backtrace. The relevant part of the trace seems to be Thread 1 "soffice.bin" received signal SIGSEGV, Segmentation fault. 0x00007fcab7091b7c in psp::PPDParser::PPDParser(rtl::OUString const&) () from /usr/lib/libreoffice/program/libmergedlo.so #0 0x00007fcab7091b7c in psp::PPDParser::PPDParser(rtl::OUString const&) () at /usr/lib/libreoffice/program/libmergedlo.so #1 0x00007fcab709e369 in () at /usr/lib/libreoffice/program/libmergedlo.so #2 0x00007fcab70927db in psp::PPDParser::getParser(rtl::OUString const&) () at /usr/lib/libreoffice/program/libmergedlo.so #3 0x00007fcab709f93c in () at /usr/lib/libreoffice/program/libmergedlo.so #4 0x00007fcab7088164 in psp::JobData::operator=(psp::JobData const&) () at /usr/lib/libreoffice/program/libmergedlo.so #5 0x00007fcab70d7430 in SalGenericInstance::configurePspInfoPrinter(PspSalInfoPrinter*, SalPrinterQueueInfo const*, ImplJobSetup*) () at /usr/lib/libreoffice/program/libmergedlo.so #6 0x00007fca9e91863b in () at /usr/lib/libreoffice/program/libvclplug_gtk3lo.so #7 0x00007fcab6fb9b38 in () at /usr/lib/libreoffice/program/libmergedlo.so #8 0x00007fcab6fbde4f in Printer::Printer(rtl::OUString const&) () at /usr/lib/libreoffice/program/libmergedlo.so #9 0x00007fcab6dc7463 in () at /usr/lib/libreoffice/program/libmergedlo.so #10 0x00007fcab6e31730 in Control::ImplCallEventListenersAndHandler(VclEventId, std::function<void ()> const&) () at /usr/lib/libreoffice/program/libmergedlo.so #11 0x00007fcab6e67372 in ListBox::Select() () at /usr/lib/libreoffice/program/libmergedlo.so #12 0x00007fcab6e69e00 in () at /usr/lib/libreoffice/program/libmergedlo.so #13 0x00007fcab6e614f5 in () at /usr/lib/libreoffice/program/libmergedlo.so #14 0x00007fcab6e61fa7 in () at /usr/lib/libreoffice/program/libmergedlo.so #15 0x00007fcab6dfff3c in vcl::Window::EndTracking(TrackingEventFlags) () at /usr/lib/libreoffice/program/libmergedlo.so [...]
Thanks for the info! I can't reproduce here with a current development version. The backtrace gives an indication about the location, which actually suggests it depends on the PPD file, and this commit *might* already have fixed it: commit 3288d88e0c0842a44aa959e41cc665b9cf3804b9 Author: Caolán McNamara <caolanm@redhat.com> Date: Wed Nov 28 12:23:38 2018 +0000 Resolves: tdf#112215 null deref on missing optional ppd value Change-Id: Iba45437332df963e1aa213c587071ab293f36390 Reviewed-on: https://gerrit.libreoffice.org/64163 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com> Can you do a retest with a more recent LibreOffice version, e.g. 6.2?
Thank you! I've tested with 6.2, and the bug is gone. Also, I'm pretty confident that it is the same bug you linked. In both cases crash in LPPDParser with a Lexmark PPD.
(In reply to Michael Kiermaier from comment #11) > Thank you! > > I've tested with 6.2, and the bug is gone. > Also, I'm pretty confident that it is the same bug you linked. In both cases > crash in LPPDParser with a Lexmark PPD. Thanks for retesting. Closing as RESOLVED DUPLICATED *** This bug has been marked as a duplicate of bug 112215 ***