Apache OpenOffice (AOO) Bugzilla – Issue 115354
Printing report build with SRB crashes Base 3.3.0 RC3
Last modified: 2017-05-20 11:41:56 UTC
I have upgraded to Openoffice.org 3.30 RC 3 on both Windows(Vista) and Linux (Ubuntu 10.10). I am attempting to print out any report created with Sun (Oracle)N Report Builder 1.2.1. When the print command is selected and entered from Base, OOo 3.3.RC3 crashes every time. It does this on both Windows and Linux. I have sent three reports generated upon OOo recovery. I can print out a report built with the Report Wizard with no problem.
can reproduce at least with the document I'm going to attach. Confirming. Adding preliminary target. Adding "regression" keyword. Assigning to developer. Correction "Version" field.
Created attachment 72824 [details] document to reproduce the bug case
to reproduce: - open the attached database document - execute the contained report by double-clicking it - menu: File => Print => crash
->TL: please have a look
TL: crash occurs because when loading the report setPrintData was not called thus getPrintData return a NULL pointer. I discussed this with OS and adding the following two lines to SwDoc::getPrintData in sw/source/core/doc/doc.cxx will solve the problem: SwPrintData* SwDoc::getPrintData() const { + if (!pPrtData) + ((SwDoc*)this)->pPrtData = new SwPrintData; return pPrtData; }
This fix is o.k. as short fix for OOo3.3 The DEV300 code line needs a fix that initializes the printer settings correctly and replaces the pointer access of ::getPrintData
Follow-up issue for DEV300 code line is issue 115373.
.
verified in CWS tl88 find more information about this CWS, like when it is available in the master builds, in EIS, the Environment Information System: http://eis.services.openoffice.org/EIS2/cws.ShowCWS?Path=DEV300%2Ftl88