Bug 109292 - Crash on ctrl+C after reloading a file
Summary: Crash on ctrl+C after reloading a file
Status: RESOLVED DUPLICATE of bug 108887
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
(earliest affected) release
Hardware: All All
: medium normal
Assignee: Not Assigned
Keywords: bibisected, bisected, haveBacktrace, regression
Depends on:
Reported: 2017-07-23 20:53 UTC by Jean-Baptiste Faure
Modified: 2017-07-24 07:43 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:

test file (12.43 KB, application/vnd.oasis.opendocument.spreadsheet)
2017-07-23 20:53 UTC, Jean-Baptiste Faure
gdb backtrace (31.86 KB, text/plain)
2017-07-23 23:25 UTC, Xisco Faulí

Note You need to log in before you can comment on or make changes to this bug.
Description Jean-Baptiste Faure 2017-07-23 20:53:44 UTC
Created attachment 134802 [details]
test file

While retesting bug 60962 I got the following crash:
1/ open attached file
2/ select the formula (a+b=c), it is an OLE object (see bug 60962)
3/ hit ctrl+C ; as described in bug 60962, the file becomes modified
4/ Menu File > Reload
5/ select the ellipse and hit ctrl+C

Observed behavior: crash and LO ask for restoring the opened files
Expected behavior: no crash

Crash reproduced with:
Build ID: 1:5.3.4-0ubuntu0.16.04.1~lo0.1
Threads CPU : 4; Version de l'OS :Linux 4.4; UI Render : par défaut; VCL : gtk3; Moteur de mise en page : nouveau; 
Locale : fr-FR (fr_FR.UTF-8); Calc: single 

Build ID: ad287a1f4fae8a890faa475f0500097680bcf2b2
Threads CPU : 4; OS : Linux 4.4; UI Render : par défaut; VCL : gtk3; 
Locale : fr-FR (fr_FR.UTF-8); Calc: single

OS: Ubuntu 16.04 x86-64

Best regards. JBF
Comment 1 Xisco Faulí 2017-07-23 23:18:08 UTC
Regression introduced by:

author	Kohei Yoshida <kohei.yoshida@gmail.com>	2013-01-18 19:36:33 (GMT)
committer	Kohei Yoshida <kohei.yoshida@gmail.com>	2013-01-18 19:41:42 (GMT)
commit c55d52262ea1d5f869a9528fd051ee19e687f1cc (patch)
tree a6e1006b20330584d62dd611ddd9580fb4a28e37
parent c881b1b50e3be023efd4dfdebddd002545ed71b3 (diff)
fdo#58988, fdo#58562: Populate draw clip document with data for charts.
Without populating the clip document, copying a chart (or charts) into
clipboard makes the charts lose all their referenced data, which causes
the pasted chart to appear empty.

Bisected with bibisect-41max

Adding Cc: to Kohei Yoshida
Comment 2 Xisco Faulí 2017-07-23 23:25:55 UTC
Created attachment 134803 [details]
gdb backtrace
Comment 3 Dennis Francis 2017-07-24 05:01:03 UTC
The patch I submitted for bug 108887 @ https://gerrit.libreoffice.org/#/c/40278/ seems to fix this as well. Waiting for review on that.
Comment 4 Xisco Faulí 2017-07-24 07:43:57 UTC
That's great. Closing as RESOLVED DUPLICATED then.

*** This bug has been marked as a duplicate of bug 108887 ***