Bug 42259 - Calc crashes when pasting data from Lotus Notes or Openoffice
Summary: Calc crashes when pasting data from Lotus Notes or Openoffice
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
(earliest affected)
3.4.3 release
Hardware: x86 (IA32) All
: medium major
Assignee: Kohei Yoshida
Whiteboard: target:3.5
Depends on:
Reported: 2011-10-26 00:11 UTC by Peter
Modified: 2014-06-19 07:48 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:

Clipboard content: two cells of a table in a Lotus Notes document (7.47 KB, application/octet-stream)
2011-11-21 05:53 UTC, Peter

Note You need to log in before you can comment on or make changes to this bug.
Description Peter 2011-10-26 00:11:07 UTC
When pasting data from a Lotus Notes view (clipboard filled with "copy selected as table") into a LibreOffice spreadsheet, LibreOffice crashes. Error signature is 

AppName: soffice.bin    AppVer: 3.4.302.500  Modname: msvcr90.dll
ModVer: 9.0.30729.6161  Offset: 0006ccd5

Exception Information
Windows NT 5.1 Build: 2600

Module 1
Image Base: 0x00400000   Image Size: 0x00000000
Checksum:   0x0010ffff   Time Stamp: 0x4e54357a

This problem can reliably be reproduced (i.e. always happens for any data from a Lotus Notes table being pasted into a LibO spreadsheet).

The same operation worked at least until OpenOffice V3.2 OOO320m12 (Build:9483) - which is the latest working environment I have available.

Please let me know, if any further crash detail / logs are required.
Comment 1 andréb 2011-11-02 21:46:24 UTC
The same occurs to me (with same version of LibO = 3.4.3)
on Linux (x86), when copying a cell from OOo 3.2.0.

1) the cell in question has formatting.  (Usually colour + font size.)
  If use copy special, and paste as plain text, no problem.

2) OOo crashes if copy a similar cell from LibO to OOo.

3) There is not problem copying a similar cell inside a LibO document.
(Nor inside a OOo document.)

4) This has occurred with LibO 3.3.0 and 3.3.2 as well.

5) The crash occurs even if the paste is done in edit mode in the target cell.

6) Each time, a single cell was copied.

7) This happens every time such a cell is copied.
Comment 2 Kohei Yoshida 2011-11-17 07:44:30 UTC
Peter, we need you to provide a .clp (clipboard image) file for us so that we can debug.  You can use the ClipBook viewer program that comes with Windows XP to store your clipboard state to a .clp file, then attach it to this bug.  If you use Vista and newer, it won't come with the OS, but you can copy the clipbrd.exe from Windows XP which should work fine in Vista and 7.
Comment 3 Peter 2011-11-21 05:53:37 UTC
Created attachment 53737 [details]
Clipboard content: two cells of a table in a Lotus Notes document

The attached .clp file contains what was in the clipboard after copying two cells of a table in a Lotus Notes (V8.5) document into the clipboard.

Pasting this data into a LibreOffice 3.4.3 (Build 302) Calc document leads to crash that is described in this Bug report's subject.
Comment 4 Kohei Yoshida 2011-12-06 21:17:03 UTC
Reproduced.  Pasting as formatted text [RTF] leads to a crash.

The work around is to paste special and paste as unformatted text.

I'll remove this from the 3.4 most annoying list, but will take a look at it for 3.5.
Comment 5 Kohei Yoshida 2011-12-07 14:10:22 UTC
Fixed on master and libreoffice-3-5 branches.


The fix should be in the next beta (beta1).