Bug 80335 - EDITING crash when copying in HTML from Calc
Summary: EDITING crash when copying in HTML from Calc
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
4.2.4.2 release
Hardware: x86 (IA32) Linux (All)
: medium major
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: regression
Depends on:
Blocks:
 
Reported: 2014-06-21 16:16 UTC by Miguel
Modified: 2014-06-22 01:09 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
test case: select row 6 in sheet LAdh, Copy, then paste into Thunderbird => LibreOffice crashes (112.45 KB, application/vnd.oasis.opendocument.spreadsheet)
2014-06-21 16:16 UTC, Miguel
Details
gdb on the core file (9.00 KB, text/plain)
2014-06-21 17:33 UTC, Terrence Enger
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Miguel 2014-06-21 16:16:41 UTC
Created attachment 101489 [details]
test case: select row 6 in sheet LAdh, Copy, then paste into Thunderbird => LibreOffice crashes

LibreOffice crashed when I copy some parts of a spreadsheet in HTML format (into a Thunderbird message).

What I do:
  1. Open file "compta-bug-copy15.ods"
  2. in sheet "LAdh", select row 6
  3. Type Ctrl-C (copy)
  4. In a Thunderbird message window, type Ctrl-V (paste)

What I expect:
  The row should be pasted into the message

What I get:
  LibreOffice crashes and nothing in copying into the message

Remark: if I copy in Text format (e.g. into "gedit", a text editor), the row is correctly pasted.
Comment 1 Terrence Enger 2014-06-21 17:33:53 UTC
Created attachment 101491 [details]
gdb on the core file

A few attempts with a debug build of master commit dc795cb (2014-06-20
1642 UTC) did not crash, but I have succeeded in making the crash with
4.2.4.2 on 64-bit Linux.  Specifically:

(*) The crashing LibreOffice is a "parallel" installation on
    debian-wheezy 64-bit.

(*) I opened the attachment from the list of recently-used files.

(*) At the prompt, I chose to Enable Macros.

(*) My mail program is Evolution.  I had window open for a new message
    in html format, and that is where I did the crashing paste
    operation.

(*) The crash is a segmentation fault in
    ScTable::GetName(rtl::OUString&) const ().
Comment 2 Terrence Enger 2014-06-21 18:11:37 UTC
With LibreOffice 4.1.0.2.0 in the same environment, I see no crash.
Setting status NEW and keyword regression.
Comment 3 Yousuf Philips (jay) (retired) 2014-06-21 19:01:03 UTC
Tested on 4.2.5 and Thunderbird 24.5.
Comment 4 Miguel 2014-06-21 19:46:58 UTC
Solution confirmed with 4.2.5.2 release (on Linux Ubuntu i386 32 bits), also on a more complete test case than what I have posted here.
Comment 5 Yousuf Philips (jay) (retired) 2014-06-21 21:59:15 UTC
(In reply to comment #4)
> Solution confirmed with 4.2.5.2 release (on Linux Ubuntu i386 32 bits), also
> on a more complete test case than what I have posted here.

Are you running ubuntu 14.04 with the default installed thunderbird.
Comment 6 Miguel 2014-06-21 23:27:58 UTC
(In reply to comment #5)
> (In reply to comment #4)
> > Solution confirmed with 4.2.5.2 release (on Linux Ubuntu i386 32 bits), also
> > on a more complete test case than what I have posted here.
> 
> Are you running ubuntu 14.04 with the default installed thunderbird.

I am running Xubuntu 14.04 (XFCE), and default thunderbird further upgraded though its own update process. But it's solved, right?
Comment 7 Terrence Enger 2014-06-21 23:36:28 UTC
Jay,

If I am reading the comments correctly, the crash has been fixed by at
least 4.2.5.2; but the bug status is back to NEW.  Did you intend
this?

Terry.
Comment 8 Yousuf Philips (jay) (retired) 2014-06-22 01:09:04 UTC
(In reply to comment #6)
> I am running Xubuntu 14.04 (XFCE), and default thunderbird further upgraded
> though its own update process. But it's solved, right?

I mistook your words and thought you confirmed that the bug was still there. :) Bug has been closed now.