Bug 97972 - FILESAVE : calc stops working after calling SaveAsURL repeatedly (ca. 5000) via COM/uno
Summary: FILESAVE : calc stops working after calling SaveAsURL repeatedly (ca. 5000) v...
Status: RESOLVED INSUFFICIENTDATA
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
5.1.0.3 release
Hardware: x86 (IA32) Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-02-18 10:26 UTC by Peter Steinbrueck
Modified: 2018-02-18 11:17 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
weird display after clicking the save icon (9.23 MB, image/jpeg)
2016-02-18 10:26 UTC, Peter Steinbrueck
Details
My code as requested by raal (The password is "LibreOffice") (50.65 KB, application/x-7z-compressed)
2016-03-01 18:41 UTC, Peter Steinbrueck
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Steinbrueck 2016-02-18 10:26:14 UTC
Created attachment 122758 [details]
weird display after clicking the save icon

I've written a little Windows application in C++ using automation to create a simple spreadsheet and fill in values in regular intervals. Every minute or so the application calls SaveAsURL to store the document. After (more or less) two hours LibreOffice stops accepting the SaveAsURL command via COM/uno, but it still does accept the commands to enter a value - without updating the view. When the user then clicks the store-icon in the toolbar a weird error message pops up reading "Could not create system bitmap!" 
After a restart of LibreOffice the document is restored correctly, now showing the values entered after the StoreAsURL command has been refused. 

Maybe related to https://bugs.documentfoundation.org/show_bug.cgi?id=96607
Comment 1 raal 2016-02-29 20:38:17 UTC
Please attach the program or create macro to reproduce the bug easily. thanks
Comment 2 Peter Steinbrueck 2016-03-01 18:41:49 UTC
Created attachment 123118 [details]
My code as requested by raal (The password is "LibreOffice")

This is a rather old little Visual Studio 6.0 project I reactivated recently. Disaster occurs in CMeasDlg ::OnTimer () which is called every second. As you can see I have increased the interval for saving the document, so the document survives for at least one day of operation. 
The classes COooDesktop and COooCalc do the marshaling of the commands. 
The main dialog does a scan of all COM-ports and opens one CMeasDlg for each apparatus found. CMeasDlg creates a Calc sheet and waits for the user to click Start. Then the fun begins. In the beginning, when stored every ten seconds, LibreOffice crashed after about three hours. So you probably will have to wait for only 1000 storings instead of 5000 as I had estimated in the first place.
HTH
Peter
Comment 3 Peter Steinbrueck 2016-03-01 18:43:03 UTC
Comment on attachment 123118 [details]
My code as requested by raal (The password is "LibreOffice")

This is a rather old little Visual Studio 6.0 project I reactivated recently. Disaster occurs in CMeasDlg ::OnTimer () which is called every second. As you can see I have increased the interval for saving the document, so the document survives for at least one day of operation. 
The classes COooDesktop and COooCalc do the marshaling of the commands. 
The main dialog does a scan of all COM-ports and opens one CMeasDlg for each apparatus found. CMeasDlg creates a Calc sheet and waits for the user to click Start. Then the fun begins. In the beginning, when stored every ten seconds, LibreOffice crashed after about three hours. So you probably will have to wait for only 1000 storings instead of 5000 as I had estimated in the first place.
HTH
Peter
Comment 4 Peter Steinbrueck 2016-03-01 18:45:27 UTC Comment hidden (obsolete)
Comment 5 Carlos 2017-04-04 15:51:57 UTC Comment hidden (obsolete)
Comment 6 QA Administrators 2017-10-30 10:54:09 UTC Comment hidden (obsolete)
Comment 7 QA Administrators 2017-12-04 12:39:32 UTC
Dear Bug Submitter,

Please read this message in its entirety before proceeding.

Your bug report is being closed as INSUFFICIENTDATA due to inactivity and
a lack of information which is needed in order to accurately
reproduce and confirm the problem. We encourage you to retest
your bug against the latest release. If the issue is still
present in the latest stable release, we need the following
information (please ignore any that you've already provided):

a) Provide details of your system including your operating
   system and the latest version of LibreOffice that you have
   confirmed the bug to be present

b) Provide easy to reproduce steps – the simpler the better

c) Provide any test case(s) which will help us confirm the problem

d) Provide screenshots of the problem if you think it might help

e) Read all comments and provide any requested information

Once all of this is done, please set the bug back to UNCONFIRMED
and we will attempt to reproduce the issue. Please do not:

a) respond via email 

b) update the version field in the bug or any of the other details
   on the top section of our bug tracker

Warm Regards,
QA Team

MassPing-NeedInfo-20171204