Issue 71937

Summary: OO Crashes without warning when too many calc files are opened
Product: Calc Reporter: dmanderson <david.anderson>
Component: uiAssignee: AOO issues mailing list <issues>
Status: CONFIRMED --- QA Contact:
Severity: Trivial    
Priority: P3 CC: issues, richard.fearn
Version: OOo 2.0.4   
Target Milestone: ---   
Hardware: All   
OS: All   
Issue Type: DEFECT Latest Confirmation in: ---
Developer Difficulty: ---
Attachments:
Description Flags
ZIP File with testdocs none

Description dmanderson 2006-11-24 12:51:30 UTC
If you open too many Calc files, there comes a point when Open Office simply 
crashes without warning.

To replicate:

* Create 100 simple calc files (one sheet, and a couple of cells is all you 
need).

* Open each file in turn (do not close anything down).

Eventually, Open Office will abort. On some machines this is as low as 20 
files, while on others it is around 50-60 files.

There is no loss of performance prior to the abort, and there appears to be 
plenty of memory available at the point it crashes. On machines with more 
memory however, more files can be opened before the collapse.

The behaviour is repeated on SUSE Linux and MS Windows Server 2003 and MS 
Windows XP.
Comment 1 richfearn 2006-11-30 14:31:14 UTC
Just to add some additional information: we are opening spreadsheets from Java
code. It doesn't make a difference whether we use the same connection for
opening each spreadsheet, or create a new connection for each spreadsheet
(leaving the spreadsheet open, but closing each connection after the spreadsheet
is opened). It eventually crashes when enough spreadsheets have been opened.

If we open and then immediately close a spreadsheet, our test program carries on
indefinitely and does not crash. This is only an issue when many spreadsheets
are being left open.
Comment 2 dmanderson 2006-11-30 16:51:36 UTC
The problem occurs when you open the files - it doesn't matter if they are
opened remotely. Simply opening from the UI is enough to cause the issue. There
is no warning about the crash - all open documents are closed as Open Office
shuts down.
Comment 3 frank 2006-12-01 10:49:52 UTC
Hi Niklas,

please have a look at this one. Replicated it, used 58 docs and crashed.

Will attach a zip file with 100 simple docs.

Frank
Comment 4 frank 2006-12-01 10:52:11 UTC
Created attachment 41040 [details]
ZIP File with testdocs
Comment 5 richfearn 2007-01-10 11:14:42 UTC
This issue still exists in OpenOffice.org 2.1.
Comment 6 dmanderson 2007-01-12 09:41:49 UTC
Updated version to show bug still appears in 2.1
Comment 7 dmanderson 2007-01-12 09:43:19 UTC
** Set version to 2.2 by mistake, now set correctly to 2.1
Comment 8 frank 2007-01-12 10:38:11 UTC
@dmanderson

please do not change the version field without any good reason. Telling us that
2.1 also shows this problem is not a good reason as you've submitted this for
2.0.4 and the Issue is not fixed, so it *must* be present in 2.1 .

The Version field justz shows the Version there the Issue was initially discovered.

Frank
Comment 9 Olaf Felka 2007-08-28 21:00:39 UTC
Looks like a duplicate of issue 80227.
Comment 10 Martin Hollmichel 2007-11-09 16:52:01 UTC
change target from 2.x to 3.x according to
http://wiki.services.openoffice.org/wiki/Target_3x
Comment 11 Marcus 2017-05-20 11:11:34 UTC
Reset assigne to the default "issues@openoffice.apache.org".