Bug 63645 - Importing large (>36MB) .ppt -file causes SIGSEGV 11
Summary: Importing large (>36MB) .ppt -file causes SIGSEGV 11
Status: RESOLVED WORKSFORME
Alias: None
Product: calligrastage
Classification: Applications
Component: filters (show other bugs)
Version: 1.2.1
Platform: RedHat Enterprise Linux Linux
: NOR crash
Target Milestone: ---
Assignee: Ariya Hidayat
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-09-03 08:48 UTC by Mika Niemi
Modified: 2012-09-03 14:06 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mika Niemi 2003-09-03 08:48:47 UTC
Version:           1.2.1 (using KDE KDE 3.1.3)
Installed from:    RedHat RPMs
Compiler:          gcc 3.2.2 
OS:          Linux

When opening a 36MB .ppt -document (probably created
in University of Helsinki by a teacher with MS Powerpoint),
kpresenter crashes and produces this note:

The application KPresenter (kpresenter) crashed and caused the signal 11
(SIGSEGV).

Due to large size of the ppt-file I can't upload it into www
but a can send it somehow (put it into my local www-site)
for a short period of time if asked  mniemi@cc.hut.fi

An other, 182k .ppt -document, opens just fine.

The large document opens very slowly in OpenOffice (Linux) and finally
crashes it too, when OO has allocated approx. 250MB of RAM.
Using MS PowerPoint document opens in just seconds (!)
and using Windows-version of OpenOffice opens very slowly
but finally succeeds.

-- Backtrace --

(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...[New Thread 16384 (LWP 1675)]
(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
0x41070567 in waitpid () from /lib/i686/libpthread.so.0
#0  0x41070567 in waitpid () from /lib/i686/libpthread.so.0
#1  0x407886ed in KCrash::defaultCrashHandler(int) ()
   from /usr/lib/libkdecore.so.4
#2  0x4106f4be in __pthread_sighandler () from /lib/i686/libpthread.so.0
#3  <signal handler called>
#4  0x4122749c in memcpy () from /lib/i686/libc.so.6
#5  0x421f1a45 in KLaola::readBigBlockDepot() ()
   from /usr/lib/kde3/libolefilter.so
#6  0x421f0799 in KLaola::KLaola(myFile const&) ()
   from /usr/lib/kde3/libolefilter.so
#7  0x421e987a in OLEFilter::convert(QCString const&, QCString const&) ()
   from /usr/lib/kde3/libolefilter.so
#8  0x4006e517 in KoFilterChain::ChainLink::invokeFilter(KoFilterChain::ChainLink const*) () from /usr/lib/libkofficecore.so.2
#9  0x4006eeed in KoFilterChain::invokeChain() ()
   from /usr/lib/libkofficecore.so.2
#10 0x4005b0fd in KoFilterManager::import(QString const&, KoFilter::ConversionStatus&) () from /usr/lib/libkofficecore.so.2
#11 0x4005334d in KoDocument::openFile() () from /usr/lib/libkofficecore.so.2
#12 0x40197a05 in KParts::ReadOnlyPart::openURL(KURL const&) ()
   from /usr/lib/libkparts.so.2
#13 0x40052a41 in KoDocument::openURL(KURL const&) ()
   from /usr/lib/libkofficecore.so.2
#14 0x40063372 in KoMainWindow::openDocumentInternal(KURL const&, KoDocument*)
    () from /usr/lib/libkofficecore.so.2
#15 0x400632c2 in KoMainWindow::openDocument(KoDocument*, KURL const&) ()
   from /usr/lib/libkofficecore.so.2
#16 0x40069601 in KoApplication::start() () from /usr/lib/libkofficecore.so.2
#17 0x40017f70 in main () from /usr/lib/kpresenter.so
#18 0x411c0a07 in __libc_start_main () from /lib/i686/libc.so.6
Comment 1 Halla Rempt 2005-11-08 11:49:08 UTC
Apologies for the long delay... I'm trying to collect all documents that make KOffice apps hang or crash to finally start some systematic testing. Could you please mail this document (if you've still got access to it after all these years) to boud@valdyas.org? My mailbox should be able to handle it. 
Comment 2 Jonas Vejlin 2009-04-25 14:14:01 UTC
should this be "waitingforinfo"?
Comment 3 Dario Andres 2009-04-25 14:17:15 UTC
Was the testcase file provided ?
Marking as NEEDSINFO
Comment 4 Mika Niemi 2009-04-26 16:38:45 UTC
I still have the example file. I may have missed some of the status changes because my e-mail has changed a while ago.

The file opens quite nicely with OpenOffice.org 2.4.1.

KPresenter 1.6.3 (using KDE 3.5.10) is my current version and it gives a dialog "Could not open /home/mniemi/aivojenkehitys.ppt, Reason: Internal error".
The command line shows the following lines:

mniemi@localhost:~$ kpresenter aivojenkehitys.ppt
ole-lib: ERROR: KLaola::parseHeader(): bbd 109 offset (4028526080) too large
ole-lib: ERROR: OLEFilter::filter(): Unable to read input file correctly!
mniemi@localhost:~$
Comment 5 Sebastian Sauer 2010-07-04 13:10:16 UTC
Can the crash still be reproduced with koffice 2.2 or newer?

@Mika Niemi
Could you please mail the document to me (mail at dipe.org)? Thanks in advance :)
Comment 6 Myriam Schweingruber 2012-09-03 14:06:23 UTC
Closing for lack of feedback. I can't reproduce this crash with current calligrastage git-master.