Apache OpenOffice (AOO) Bugzilla – Issue 109284
RTF: Writer crashes when copying text to clipboard and then exporting
Last modified: 2013-08-07 14:44:16 UTC
I have OpenOffice 3.2.0.5-1.1 as distributed by openSUSE for 11.2 on 32-bit x86. After the upgrade from 3.1.1.4-1.1.4.i586 an issue occurs with an existing document which works perfectly under the older version. I have since downgraded and it works again, so it is a regression. When I select text (which has special attributes, mixed non-standard-fonts, raised text) and press Ctrl+C for Copy to clipboard, at that moment OpenOffice Writer crashes. A dialogue window reports that data for restoring the document later is shown. The document was not altered, though. When re-starting writer the restoration process starts but has no visible effect (the document was not changed after loading it). The issue is still there in the restarted Writer with restored file. Sadly, the document in question is copyrighted, therefore I cannot post it. However, I will happily run OOo with some debug info commandline parameters (if they exist) and send in a core file / debug output if the document cannot be extract4ed from the core. Hope this issue can be reconstructed from this. Thanks
As long as the OpenOffice build provided by Novell is not supported by OOo webpage, could you please check if the problem also occurs with the native build downloaded from OpenOffice.org? I am not reproduce the problem with my sample files. If you do not want to share your confidential document here, you can send it directly to me (mru@openoffice.org) - we here at SUN / ORACLE will -of course- handle the document confidential and delete it after use. Thanks for supporting us!
Thanks for the fast reply. Sorry to report on a non-ooo build. I am trying on a different machine (this time x86-64) and account now, same file. This time the crash occured a tiny bit later, at a time when the Paste command occured. I pasted text into a Java program, the latter, I am sure, tries to insert RTF. This time I got a hs_err_pid6330.log error report, which I am attaching. Hope this helps you to find the relevant component, even if it's not your build. Also, just FYI, the install of the previous version on the other machine (downgrade to solve the problem) now means an immediate crash when oowriter starts. No file needs to be opened for the crash, and removing ~/.ooo3 does not help. I installed abiword on that machine. Regards, ntsiebel
Created attachment 67841 [details] Crash info file (backtrace etc.)
MRU->HBRINKM: I have now found a way to reproduce the crash. It only happens with a special document. You must First select all text in the attached document and copy to clipboard. Then export to RTF -> crash. MRU->ntsiebel: do not worry, I have changed all the content in your document, so that no confidential data will be shared here.
Created attachment 67856 [details] Document without confidential content
Dear mru, Many thanks for your work. I am happy that you can reproduce the error and hope it can be fixed both easily and soon. Thanks.
fixed in hb33issues01: changeset: 265160:196df5f1c7e4 date: Tue Feb 16 17:26:41 2010 +0100 summary: hb33issues01: #i109284# SwRTFWriter::OutBookmarks: Do not read name of NULL bookmark pointer
Thanks for the fix. Is there a workaround that I could use until the fix has found its way into the Novell/openSUSE repository? Maybe set a dummy "bookmark" (whatevery they have to do with copy&paste and/or RTF)? Where do I do that? Also, on the machine where I de-installed the new version and re-installed the old, some change has apparently remained. When I start oowriter (without opening a file) there is an immediate crash. Should I open a new ticket for that? I have a core file and strace output I could upload. Thanks
Please comment on a workaround, thanks!
*** Issue 109723 has been marked as a duplicate of this issue. ***
*** Issue 108408 has been marked as a duplicate of this issue. ***
*** Issue 110055 has been marked as a duplicate of this issue. ***
Dear hbrinkm: There still is no downloadable version which has your fix. As I use this on a production system, please comment on a workaround (other than installing Windows, which I have done as a temporary measure). Where do I set a bookmark (of the type the RTF writer needs it)? Do I need to create directories like ~/Documents (which I do not have), or edit document properties, or change ooo config files? Thanks!
@ntsiebel: AFAIK there is no workaround known. However this issues has been nominated as show stopper for OOo 3.2.1 and thus the fix will be integrated soon.
nominated as show stopper for OOo 3.2.1: moving target
Transplanted fix to CWS sw321bf01 on OOO320 changeset: 263356:80bd862849b5 @ntsiebel: You will have to wait for the CWS to be integrated into the OOO320 code line to have a pre- build download. Look in EIS for the integration of the CWS and look on GULLFOSS for the downloads to be announced. Please do not reopen issues whose CWS has not been integrated.
*** Issue 110392 has been marked as a duplicate of this issue. ***
*** Issue 109850 has been marked as a duplicate of this issue. ***
OD->MRU: Checked in internal installation set of cws sw321bf01 - please verify.
Verified in CWS sw321bf01.
*** Issue 110657 has been marked as a duplicate of this issue. ***
*** Issue 110346 has been marked as a duplicate of this issue. ***
*** Issue 111362 has been marked as a duplicate of this issue. ***
*** Issue 111540 has been marked as a duplicate of this issue. ***
Checked in DEV300m77 and OOO320m17.
*** Issue 106160 has been marked as a duplicate of this issue. ***