Bug 139920 - KSpread eats up memory when opening this file, until I kill it
Summary: KSpread eats up memory when opening this file, until I kill it
Status: RESOLVED DUPLICATE of bug 132454
Alias: None
Product: calligrasheets
Classification: Applications
Component: general (show other bugs)
Version: 1.6.1
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: Calligra Sheets (KSpread) Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-01-11 18:26 UTC by Krisztián Tresó
Modified: 2007-01-21 01:48 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments
The krashdemo.ods from the link above (36.71 KB, application/vnd.oasis.opendocument.spreadsheet)
2007-01-21 01:31 UTC, Sebastian Sauer
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Krisztián Tresó 2007-01-11 18:26:26 UTC
Version:           1.6.1 (using KDE KDE 3.5.5)
Installed from:    Fedora RPMs
OS:                Linux

Here is the link to the specific file:
http://users.hszk.bme.hu/~tk426/krashdemo.ods

The file is made by Openoffice.org Calc. Directly after opening it with KSpread, it eats up all my ram (I have 768M) and cpu time until it begins to swap seriously, not showing any willingness to stop doing this. After trying, killing KSpread is the only way to go.
There is no any kind of special stuff inside: only text, numbers (currency), dates and some formatting, all this on a couple of worksheets.

Bye
Chreex
Comment 1 Sebastian Sauer 2007-01-21 01:31:35 UTC
Created attachment 19361 [details]
The krashdemo.ods from the link above

better to attach the testcase to the report to be sure it will be available all
the time ;)
Comment 2 Sebastian Sauer 2007-01-21 01:32:00 UTC
I can confirm the freez/crasher.
Comment 3 Sebastian Sauer 2007-01-21 01:46:20 UTC
Seems to be related to bug #132454

backtrace #1;
#0  0xb66751fc in free () from /lib/tls/libc.so.6
#1  0xb6676c4f in malloc () from /lib/tls/libc.so.6
#2  0xb6823b38 in operator new () from /usr/lib/libstdc++.so.6
#3  0xb6127f09 in Cell (this=0x13705f78, _sheet=0x8379728, _column=26, _row=2270) at kspread_cell.cc:299
#4  0xb621028e in KSpread::Sheet::nonDefaultCell (this=0x8379728, _column=26, _row=2270, _scrollbar_update=false,
    _style=0x0) at kspread_sheet.cc:1109
#5  0xb62114c0 in KSpread::Sheet::loadRowFormat (this=0x8379728, row=@0xbfca9c24, rowIndex=@0xbfca9c4c,
    oasisContext=@0xbfca9f30, styleMap=@0xbfca9e34) at kspread_sheet.cc:6972
#6  0xb6217e80 in KSpread::Sheet::loadOasis (this=0x8379728, sheetElement=@0xbfca9e10, oasisContext=@0xbfca9f30,
    styleMap=@0xbfca9e34) at kspread_sheet.cc:6479
#7  0xb6192bb4 in KSpread::Map::loadOasis (this=0x8318940, body=@0xbfca9fa4, oasisContext=@0xbfca9f30)
    at kspread_map.cc:331
#8  0xb613d063 in KSpread::Doc::loadOasis (this=0x82f2d08, doc=@0xbfcaa134, oasisStyles=@0xbfcaa070,
    settings=@0xbfcaa12c, store=0x83162e8) at kspread_doc.cc:1054
#9  0xb7eddb9f in KoDocument::loadOasisFromStore (this=0x82f2d08, store=0x83162e8) at KoDocument.cpp:1898

backtrace #2;
#0  0xb61cc203 in Value (this=0x1d751468) at kspread_value.cc:292
#1  0xb6108430 in Private (this=0x1d751460) at kspread_cell.cc:234
#2  0xb6127ebe in Cell (this=0x1d751450, _sheet=0x8379728, _column=52, _row=16055) at kspread_cell.cc:296
#3  0xb621028e in KSpread::Sheet::nonDefaultCell (this=0x8379728, _column=52, _row=16055, _scrollbar_update=false,
    _style=0x0) at kspread_sheet.cc:1109

backtrace #3;
#0  0xb61cc203 in Value (this=0x21219848) at kspread_value.cc:292
#1  0xb6108430 in Private (this=0x21219840) at kspread_cell.cc:234
#2  0xb6127ebe in Cell (this=0x21219830, _sheet=0x8379728, _column=62, _row=6313) at kspread_cell.cc:296
#3  0xb621028e in KSpread::Sheet::nonDefaultCell (this=0x8379728, _column=62, _row=6313, _scrollbar_update=false,
    _style=0x0) at kspread_sheet.cc:1109

backtrace #4;
#0  0xb6676bd9 in malloc () from /lib/tls/libc.so.6
#1  0xb6823b38 in operator new () from /usr/lib/libstdc++.so.6
#2  0xb70fe171 in QString::fromLatin1 () from /usr/lib/libqt-mt.so.3
#3  0xb70fe233 in QString::setLatin1 () from /usr/lib/libqt-mt.so.3
#4  0xb70fecd2 in QString::setAscii () from /usr/lib/libqt-mt.so.3
#5  0xb70fed0a in QString::operator= () from /usr/lib/libqt-mt.so.3
#6  0xb6120320 in KSpread::Cell::setCellText (this=0x26d1ebb8, _text=@0xbfca99e0, asText=false)
    at kspread_cell.cc:4631
#7  0xb6120ef6 in KSpread::Cell::copyContent (this=0x26d1ebb8, cell=0xb138fe8) at kspread_cell.cc:651
#8  0xb6120f75 in KSpread::Cell::copyAll (this=0x26d1ebb8, cell=0xb138fe8) at kspread_cell.cc:636
#9  0xb62114dd in KSpread::Sheet::loadRowFormat (this=0x8379728, row=@0xbfca9c24, rowIndex=@0xbfca9c4c,
    oasisContext=@0xbfca9f30, styleMap=@0xbfca9e34) at kspread_sheet.cc:6975
#10 0xb6217e80 in KSpread::Sheet::loadOasis (this=0x8379728, sheetElement=@0xbfca9e10, oasisContext=@0xbfca9f30,
    styleMap=@0xbfca9e34) at kspread_sheet.cc:6479
Comment 4 Sebastian Sauer 2007-01-21 01:48:07 UTC
Let's mark this report as duplicate of the other one.

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