Issue 110595 - oocalc crash when loading xls with links to second xls
Summary: oocalc crash when loading xls with links to second xls
Status: CLOSED FIXED
Alias: None
Product: Calc
Classification: Application
Component: open-import (show other issues)
Version: OOo 3.1
Hardware: Unknown Linux, all
: P3 Trivial (vote)
Target Milestone: ---
Assignee: yfjiang
QA Contact: issues@sc
URL: https://bugzilla.novell.com/show_bug....
Keywords: oooqa
Depends on:
Blocks:
 
Reported: 2010-04-04 00:29 UTC by pimbollen
Modified: 2017-05-20 10:20 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
document with links (85.00 KB, application/vnd.ms-excel)
2010-04-04 00:31 UTC, pimbollen
no flags Details
reference document (80.50 KB, application/vnd.ms-excel)
2010-04-04 00:32 UTC, pimbollen
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description pimbollen 2010-04-04 00:29:52 UTC
Oocalc crashes after eating all memory when loading a xls file containing links
to a second xls file. I have seen this happening on all 3.x versions I tried on
linux.
The steps to reproduce the crash:
- put "crashoo.xls" and "uren bron 2009.xls" in one directory
- open crashoo.xls
- wait till all the memory is used
When the second file "uren bron 2009.xls" is renamed the file crashoo.xls does
open, shows empty, but asked if links have to be updated.
On windows 7 using OpenOffice.org 3.2 there is no problem.
I will upload the xls files.
Comment 1 pimbollen 2010-04-04 00:31:53 UTC
Created attachment 68730 [details]
document with links
Comment 2 pimbollen 2010-04-04 00:32:31 UTC
Created attachment 68731 [details]
reference document
Comment 3 Rainer Bielefeld 2010-04-04 07:32:25 UTC
Modified Version due to report.
Indeed, no problem with "Ooo 3.1.1 WIN XP DE[OOO310m19 (Build 9420)]" opening
crashoo.xls from WIN Explorer
Comment 4 jbf.faure 2010-04-08 22:16:39 UTC
I do not reproduce the crash with OOo 3.2.0 (FR) under Ubuntu 8.04.
@pimbollen: are you using vanilla build from this site or the version provided
by your linux distribution ?
Please try with the most recent official version.

Regards. JBF
Comment 5 pimbollen 2010-04-09 16:42:41 UTC
I have used builds from openSUSE. The main problem is the amount of memory used.
The file crashoo.xls is a trimmed version of another file, and after loading it
I see it uses more then 1GB of memory. The original file uses all the memory
there is (including swap). I can send you that file, but it contains data not
meant for everyone.
On openSUSE 11.2 using OOo 3.2.0 it does not crash on crashoo.xls, but it does
on the original file. This machine has 1.5GB on board + 1GB swap.
Closing the file does not release the memory used.
Comment 6 pimbollen 2010-04-10 00:55:09 UTC
On OOo 2.4 crashoo.xls only uses 33MB and loads a lot faster.
Comment 7 pimbollen 2010-04-28 21:54:20 UTC
Now I have built my own version of OpenOffice.org from svn and it is working
great. My version is OpenOffice.org 3.2.0 OOO320m12 (Build 9483)
OOO320m12 is also the latest tag in svn.
However the version from OpenSUSE is OpenOffice.org 3.2.0 OOO320m21 (Build 9319)
built by Novell.Inc. (Build 3.2.0.7) is failing, so it looks to me Novell has
reintroduced an old bug.
I think the best thing is to report this issue to Novell.
Comment 8 kyoshida 2010-04-28 23:31:39 UTC
confirmed.  You can repro this using the koheiextref01 cws too.
Comment 9 kyoshida 2010-04-28 23:32:09 UTC
Link to the downstream bugzilla page.
Comment 10 kyoshida 2010-04-28 23:33:23 UTC
I'll keep this for now.
Comment 11 kyoshida 2010-04-28 23:34:47 UTC
This shares the same root cause with Issue 107693.
Comment 12 kyoshida 2010-04-28 23:35:43 UTC
To fix this, I have to fix Issue 109169 first.
Comment 13 kyoshida 2010-04-28 23:55:06 UTC
BTW, in the interest of correctness

>it looks to me Novell has reintroduced an old bug.

This is not correct information.
Comment 14 kyoshida 2010-04-29 01:41:52 UTC
Actually this can be fixed without waiting for Issue 107693.
Comment 15 kyoshida 2010-04-29 03:23:15 UTC
Fixed in the koheiextref01 cws.

http://hg.services.openoffice.org/cws/koheiextref01/rev/21c26773591b
Comment 16 kyoshida 2010-04-29 03:24:47 UTC
Re-assigning to oc for verification.
Comment 17 kyoshida 2010-05-26 16:31:20 UTC
Re-assigning to Yi Fan for verification.
Comment 18 yfjiang 2010-05-31 03:35:12 UTC
Verified on SLED 11 sp1 and Windows xp sp3.