Bug 153283 - Application crashes when printing in Windows 10 from Writer or Calc (HP LaserJet Printer)
Summary: Application crashes when printing in Windows 10 from Writer or Calc (HP Laser...
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Printing and PDF export (show other bugs)
Version:
(earliest affected)
7.4.5.1 release
Hardware: x86-64 (AMD64) Windows (All)
: medium normal
Assignee: Not Assigned
URL: https://crashreport.libreoffice.org/s...
Whiteboard: needsHPPrinter
Keywords:
Depends on:
Blocks: Crash
  Show dependency treegraph
 
Reported: 2023-01-30 20:22 UTC by Alan S Kay
Modified: 2023-10-10 19:56 UTC (History)
1 user (show)

See Also:
Crash report or crash signature: ["std::vector<rtl::Reference<vcl::font::PhysicalFontFace>,std::allocator<rtl::Reference<vcl::font::PhysicalFontFace> > >::~vector<rtl::Reference<vcl::font::PhysicalFontFace>,std::allocator<rtl::Reference<vcl::font::PhysicalFontFace> > >()"]


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alan S Kay 2023-01-30 20:22:48 UTC
Description:
Application crashes when trying to print from toolbar or Windows ctrl-P. file is not saved and shows as needing to be retored. 

Steps to Reproduce:
1.Open file in app
2.Print
3.

Actual Results:
Application closes. Print dialog says file sent to printer, but that is not the case

Expected Results:
Sent file to printer and remained open. 


Reproducible: Always


User Profile Reset: Yes

Additional Info:
Version: 7.4.5.1 (x64) / LibreOffice Community
Build ID: 9c0871452b3918c1019dde9bfac75448afc4b57f
CPU threads: 8; OS: Windows 10.0 Build 19045; UI render: Skia/Vulkan; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: CL
Comment 1 Dieter 2023-02-13 15:33:43 UTC
(In reply to Alan S Kay from comment #0)
> Steps to Reproduce:
> 1.Open file in app

Any file or a specific one? If it is a specific one, please add it as attachment

=> NEEDINFO
Comment 2 Alan S Kay 2023-02-13 21:33:37 UTC
Any file, either existing or newly created. Using Microsoft Office Word and Excel file formats.
Comment 3 QA Administrators 2023-02-14 03:24:37 UTC Comment hidden (obsolete)
Comment 4 tagalli 2023-02-28 22:11:29 UTC
Ran HP Scan and Print Doctor.  No problems. Downloaded current driver for printer - HP Laserjet 2420.  Prints fine with all other applications but crashes when I print from Libre Office.  Just started having this problem.  Windows 10 Pro is up to date.

After crash, have the option to recover the document.  Tried Safe Mode but crashes there, too.
Comment 5 Dieter 2023-03-01 00:40:17 UTC
Alan, which printer do you use? Is it possible for you to add a link to crash report?
Comment 6 Alan S Kay 2023-03-02 19:20:31 UTC
Printer is an HP LaserJet CP3505n. I could not locate a crash report. However, when I changed the Misc>CrashReport property under org.openoffice.Office.Common from false to true, a Writer file printed normally.
Comment 7 Dieter 2023-03-10 16:47:31 UTC
Seems to be a very rare crash (regarding to crash signature). Might be related to HP printer. Don't know if previous comments are enough to change status to new.

Stephane, what do you think?
Comment 8 Stéphane Guillou (stragu) 2023-03-11 16:30:54 UTC
Alan and Tagalli, it would be great if you could let us know if printing with such HP printers worked as expected before a specific version. Did it start with 7.4.5? What did you upgrade from?

Tagalli, please also share the full version information from Help > About LibreOffice.

Thank you!
Comment 9 Stéphane Guillou (stragu) 2023-03-11 17:27:37 UTC
(Tagalli, the "Version" field is for the earliest version affected, so please don't update it to more recent versions)
Comment 10 QA Administrators 2023-09-08 03:06:10 UTC Comment hidden (obsolete)
Comment 11 QA Administrators 2023-10-09 03:14:57 UTC Comment hidden (obsolete)
Comment 12 Stéphane Guillou (stragu) 2023-10-10 09:14:11 UTC
Because tagalli confirmed with another HP LaserJet in comment 4, I'll mark as new.
Alan and tagalli, if you are able to, please update to the latest 7.6 version and let us know if LibreOffice still crashes.
Much appreciated.
Comment 13 Alan S Kay 2023-10-10 17:27:40 UTC
No crashes with 7.6.2.1
Comment 14 Stéphane Guillou (stragu) 2023-10-10 19:56:04 UTC
(In reply to Alan S Kay from comment #13)
> No crashes with 7.6.2.1

Great news, thank you Alan!
Marking as "works for me" then, because we don't know which commit fixed it.