Issue 17982

Summary: Print Preview and export to pdf issues with Calc document
Product: Calc Reporter: edusilva <edusilva>
Component: codeAssignee: issues@www <issues>
Status: CLOSED DUPLICATE QA Contact: issues@sc <issues>
Severity: Trivial    
Priority: P3 CC: issues
Version: OOo 1.1 RC2Keywords: crash, oooqa
Target Milestone: ---   
Hardware: PC   
OS: Linux, all   
Issue Type: DEFECT Latest Confirmation in: ---
Developer Difficulty: ---
Attachments:
Description Flags
This is the sxc file. none

Description edusilva 2003-08-07 21:48:50 UTC
I had not had issues with this docuent with RC1 or any of the prior OO
versions.I tried to export the document to pdf I got a message " An
unrecoverable error has ocurred..... All modified files have been saved and can
probably be recovered at program restart"

When I enabled print preview to see if anything weird had been introduced into
the doc (as I had already exported to pdf before, I had only modified a couple
of text field in the odc), I saw that when I went into the page in the
spreadsheet that has a Draw figure inserted, the program collapsed with the same
message.

With OO 1.0.2 I don't see any issue by printing to pdf. Trying to print to file
in OO RC2 (to Postcript) I find the same issue.

Please let me know which other investigation can I do. I can also provide the file.
Comment 1 edusilva 2003-08-07 22:02:49 UTC
Created attachment 8319 [details]
This is the sxc file.
Comment 2 dankegel 2003-08-13 14:57:37 UTC
Confirmed.  This is supposedly fixed in the next release
after rc2.

Stack trace looks same as 17290:
/opt/OpenOffice.org1.1rc2/program/libsvx645li.so(_ZN12SdrPaintView17ImpAsyncPaintDoneEPK9SdrObject+0x31)[0x45fc83a1]
/opt/OpenOffice.org1.1rc2/program/libsvx645li.so(_ZNK10SdrGrafObj5PaintER15ExtOutputDeviceRK15SdrPaintInfoRec+0x69a)[0x45f75a80]
...

FWIW, valgrind shows it's a bad access during an STL operation:
==895== Invalid memory access of size 4
==895==    at 0x45FCC6C8: _STL::slist<SdrGrafObj*,
_STL::allocator<SdrGrafObj*> >::remove(SdrGrafObj* const&) (in
/opt/OpenOffice.org1.1rc2/program/libsvx645li.so)
==895==    by 0x45FC83A0: SdrPaintView::ImpAsyncPaintDone(SdrObject
const*) (in /opt/OpenOffice.org1.1rc2/program/libsvx645li.so)   
==895==    by 0x45F75A7F: SdrGrafObj::Paint(ExtOutputDevice&,
SdrPaintInfoRec const&) const (in
/opt/OpenOffice.org1.1rc2/program/libsvx645li.so)
...
==895==    Address 0x2E0 is not stack'd, malloc'd or free'd


*** This issue has been marked as a duplicate of 17290 ***
Comment 3 Martin Hollmichel 2004-04-04 18:27:14 UTC
close issue