Bug 95728 - FILESAVE CRASH
Summary: FILESAVE CRASH
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
5.0.3.2 release
Hardware: Other Windows (All)
: high major
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bibisected, bisected, haveBacktrace, regression
Depends on:
Blocks:
 
Reported: 2015-11-10 12:42 UTC by Luiz Leite
Modified: 2017-02-16 15:41 UTC (History)
8 users (show)

See Also:
Crash report or crash signature:


Attachments
Thjis is the file where occurs the crash (141.42 KB, application/vnd.oasis.opendocument.spreadsheet)
2015-11-10 20:01 UTC, Luiz Leite
Details
log of windbg session (35.72 KB, text/plain)
2015-11-17 22:52 UTC, Terrence Enger
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Luiz Leite 2015-11-10 12:42:02 UTC
User-Agent:       Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/46.0.2490.80 Safari/537.36
Build Identifier: LibreOffice 5.0.3.2

When i save 5 times the same file is CRASH allways.
If i close file and reopen and save 4 times, dont CRASH

Reproducible: Always

Steps to Reproduce:
1.open the file
2.update anything character and save the same file
3.at the 5 file save the CRASH appears
Actual Results:  
lost data

Expected Results:  
dont crash

[Information automatically included from LibreOffice]
Locale: pt-BR
Module: SpreadsheetDocument
[Information guessed from browser]
OS: Windows (All)
OS is 64bit: yes


Reset User Profile?No
Comment 1 raal 2015-11-10 19:25:37 UTC Comment hidden (obsolete)
Comment 2 Luiz Leite 2015-11-10 20:01:13 UTC
Created attachment 120464 [details]
Thjis is the file where occurs the crash

Simply save 5 times.
Update something else and save. 5 Times.
Occurs in 5th save.
Comment 3 raal 2015-11-10 20:30:10 UTC
I can confirm with Version: 5.1.0.0.alpha1+ (x64)
Build ID: b35e797ca0e2c7e7ad6dbccea6b92208b209677c
TinderBox: Win-x86_64@62-TDF, Branch:MASTER, Time: 2015-11-02_22:21:21


No crash with Version: 4.4.0.0.alpha2+
Build ID: 3f94c9e9ddfd807b449f3bb9b232cf2041fa12d2, regression
Comment 4 Julien Nabet 2015-11-10 21:25:49 UTC
On pc Debian x86-64 with master sources updated today, I don't reproduce this (even with SAL_USE_VCLPLUGIN=gen)
Comment 5 raal 2015-11-11 05:30:30 UTC
This seems to have begun at the below commit.
Adding Cc: to sbergman@redhat.com ; Could you possibly take a look at this one? Thanks
 06800080dbc6e2109cdd0b995686b857ac1d9d0d is the first bad commit
commit 06800080dbc6e2109cdd0b995686b857ac1d9d0d
Author: Norbert Thiebaud <nthiebaud@gmail.com>
Date:   Wed May 20 05:40:39 2015 -0500
    source e753d31d5d2338da35b69b0a3b7742420c7562d2
    source e753d31d5d2338da35b69b0a3b7742420c7562d2

	author	Stephan Bergmann <sbergman@redhat.com>	2015-01-23 15:08:29 (GMT)
committer	Stephan Bergmann <sbergman@redhat.com>	2015-01-23 15:13:48 (GMT)
commit e753d31d5d2338da35b69b0a3b7742420c7562d2 (patch)
Hold ScHeaderFooterContentObj by rtl::Reference
	
/bibisect-win32-5.0
$ git bisect log
# bad: [575cd25f0560684895018d8fcfb1818dd4dd1c9b] source ab465b90f6c6da5595393a0ba73f33a1e71a2b65
# good: [f449493ae11ac76cc7396bddeaa624a60c565936] source 57d6b92b69a31260dea0d84fcd1fc5866ada7adb
git bisect start 'libreoffice-5-0-branch-point' 'oldest'
# bad: [da12357c491a0dce5acc0bd1f00c26f89d8f20e6] source c1b9402d49a7cd4bec383f28d397d9d89541f0e0
git bisect bad da12357c491a0dce5acc0bd1f00c26f89d8f20e6
# good: [74d1ce30418f1228c11e865e8b6094f15293a528] source 9763b55eb946cf425220d26dab91bf220890b180
git bisect good 74d1ce30418f1228c11e865e8b6094f15293a528
# bad: [879803b25a6209bb29e5204346682a3a26bbee23] source 602f5010bc41f71d29695a348d56b6d953865c2f
git bisect bad 879803b25a6209bb29e5204346682a3a26bbee23
# good: [71a9ffc79c1ecd813f0ac6a27f139b3965164782] source eeccf1be6a5752b2288086d1f52c1b1e3e5c4137
git bisect good 71a9ffc79c1ecd813f0ac6a27f139b3965164782
# bad: [7b46b158d60629cbbf67d39d309c1562468d48db] source aff19a6c8c81b5aaf59c99b0b0cbbffce0671623
git bisect bad 7b46b158d60629cbbf67d39d309c1562468d48db
# bad: [62254d9d5ffe2f0e713a97390109c36388ed8400] source 35131df0ff833423809ea38621002322cf2d75b2
git bisect bad 62254d9d5ffe2f0e713a97390109c36388ed8400
# good: [4db8b2c5e1a8f3c36aad0743f9feea68aafdc0c5] source 66df4d7d309ce237e4979d57b1069659ece1e3a5
git bisect good 4db8b2c5e1a8f3c36aad0743f9feea68aafdc0c5
# good: [c769f77d82032847c9e23352763875686189ab4e] source b55ef81671d441d5e8b7c30bb2b2a1af48c46bcc
git bisect good c769f77d82032847c9e23352763875686189ab4e
# bad: [3d9148def83be1952685825a78039522ad4cd0ca] source 0ed7c8b55a026d7d98f9c994ad5e8626dd9504b2
git bisect bad 3d9148def83be1952685825a78039522ad4cd0ca
# good: [665c30a6867b4037ec8853c0d2f492c300cd2c2d] source 0442cd217645aa4fdd924e4c2e4f90a77f1fbbad
git bisect good 665c30a6867b4037ec8853c0d2f492c300cd2c2d
# bad: [c1d71e021915ebc92405cbb88143bad700a624f2] source ad50b9a8636e0ee2f3c80669e8dde96577b26c4e
git bisect bad c1d71e021915ebc92405cbb88143bad700a624f2
# bad: [06800080dbc6e2109cdd0b995686b857ac1d9d0d] source e753d31d5d2338da35b69b0a3b7742420c7562d2
git bisect bad 06800080dbc6e2109cdd0b995686b857ac1d9d0d
# good: [41923e2e6bd857a69451148f25f30fd3575ffa3c] source 05e7b1db351ee964d155e49c55de7db3c917083f
git bisect good 41923e2e6bd857a69451148f25f30fd3575ffa3c
# first bad commit: [06800080dbc6e2109cdd0b995686b857ac1d9d0d] source e753d31d5d2338da35b69b0a3b7742420c7562d2
Comment 6 Terrence Enger 2015-11-17 22:52:10 UTC
Created attachment 120610 [details]
log of windbg session

The attached log is from LibreOffice ...
    Version: 5.1.0.0.alpha1+
    Build ID: c994ce8a1d292b02e4c53f7b4061f3bbb840f874
    TinderBox: Win-x86@39, Branch:master, Time: 2015-11-16_12:16:47
    Locale: en-CA (en_CA)

I did not get a crash on debian linux with LO built locally from
source fetched in October.
Comment 7 Terrence Enger 2015-11-17 22:54:05 UTC
Adding whiteboard haveBacktrace, removing keyword want-backtrace.
Comment 8 Stephan Bergmann 2015-11-18 07:45:43 UTC
(In reply to Terrence Enger from comment #6)
> Created attachment 120610 [details]
> log of windbg session

From that backtrace it appears that some ErrorBox has been displayed (and the crash is probably immediately after closing that box by clicking on one of its buttons), but I do not see mention of an error box appearing in the reproducer recipe in comment 0.  Terrence, can you clarify?
Comment 9 Terrence Enger 2015-11-18 13:36:19 UTC
I see no dialog before the crash.  The crash happens the same way
whether the save operation is invoked from the menu File > Save or by
<Ctrl>+S.
Comment 10 Robinson Tryon (qubit) 2015-12-14 05:15:42 UTC Comment hidden (obsolete)
Comment 11 Xisco Faulí 2016-09-26 15:51:45 UTC
Adding Cc: to Stephan Bergmann
Comment 12 Matúš Kukan 2016-10-10 10:42:50 UTC
I can't reproduce with master and LibreOffice Version: 5.2.1.2
Reproducible with Version: 5.1.5.2.
So it seems to be fixed somewhere in between.
Comment 13 Xisco Faulí 2016-11-27 16:37:29 UTC
Closing this to RESOLVED WORKSFORME as per comment 12