Bug 275096 - Crashes when opening giant file [ std::terminate, __cxa_throw ]
Summary: Crashes when opening giant file [ std::terminate, __cxa_throw ]
Status: RESOLVED NOT A BUG
Alias: None
Product: gwenview
Classification: Applications
Component: general (show other bugs)
Version: 2.6
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: Gwenview Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-07 05:42 UTC by David McInnis
Modified: 2015-01-07 12:09 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David McInnis 2011-06-07 05:42:23 UTC
Application: gwenview (2.6.0)
KDE Platform Version: 4.6.3 (4.6.3)
Qt Version: 4.7.2
Operating System: Linux 2.6.38.6-27.fc15.x86_64.debug x86_64
Distribution (Platform): Fedora RPMs

-- Information about the crash:
I generated a 300MB .ps file from a whole lot of local html files using html2ps

I generated a (possibly corrupt)  300Mb .epsi file using ps2epsi.

The viewer seemed to be taking a long time to load before crash.

The crash can be reproduced every time.

-- Backtrace:
Application: Gwenview (gwenview), signal: Aborted
82	T_PSEUDO (SYSCALL_SYMBOL, SYSCALL_NAME, SYSCALL_NARGS)
[KCrash Handler]
#6  0x0000003e8a436415 in raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#7  0x0000003e8a437d2b in abort () at abort.c:92
#8  0x0000003e8f4bbddd in __gnu_cxx::__verbose_terminate_handler () at ../../../../libstdc++-v3/libsupc++/vterminate.cc:95
#9  0x0000003e8f4b9f96 in __cxxabiv1::__terminate (handler=<optimized out>) at ../../../../libstdc++-v3/libsupc++/eh_terminate.cc:40
#10 0x0000003e8f4b9fc3 in std::terminate () at ../../../../libstdc++-v3/libsupc++/eh_terminate.cc:50
#11 0x0000003e8f4ba0be in __cxxabiv1::__cxa_throw (obj=0x7f2128000940, tinfo=<optimized out>, dest=<optimized out>) at ../../../../libstdc++-v3/libsupc++/eh_throw.cc:83
#12 0x0000003e9586a722 in qBadAlloc () at global/qglobal.cpp:2019
#13 0x0000003e95876077 in QByteArray::realloc (this=0x10767c8, alloc=536870880) at tools/qbytearray.cpp:1441
#14 0x0000003e95876cad in QByteArray::append (this=0x10767c8, ba=...) at tools/qbytearray.cpp:1584
#15 0x0000003b51267dab in operator+= (a=..., this=<optimized out>) at /usr/include/QtCore/qbytearray.h:492
#16 Gwenview::LoadingDocumentImpl::init (this=0x1061f80) at /usr/src/debug/kdegraphics-4.6.3/gwenview/lib/document/loadingdocumentimpl.cpp:308
#17 0x0000003b51261f8c in Gwenview::Document::reload (this=0x103ba90) at /usr/src/debug/kdegraphics-4.6.3/gwenview/lib/document/document.cpp:111
#18 0x0000003b512640b8 in Gwenview::DocumentFactory::load (this=0x3b514e7690, url=...) at /usr/src/debug/kdegraphics-4.6.3/gwenview/lib/document/documentfactory.cpp:148
#19 0x0000003b51271e4a in Gwenview::DocumentView::openUrl (this=0xdd1760, url=...) at /usr/src/debug/kdegraphics-4.6.3/gwenview/lib/documentview/documentview.cpp:452
#20 0x000000000043fc80 in Gwenview::MainWindow::openDocumentUrl (this=0xbdf3f0, url=...) at /usr/src/debug/kdegraphics-4.6.3/gwenview/app/mainwindow.cpp:1039
#21 0x00000000004402d4 in Gwenview::MainWindow::setInitialUrl (this=0xbdf3f0, _url=<optimized out>) at /usr/src/debug/kdegraphics-4.6.3/gwenview/app/mainwindow.cpp:877
#22 0x000000000043e8b9 in StartHelper::createMainWindow (this=0x7fff7df65800) at /usr/src/debug/kdegraphics-4.6.3/gwenview/app/main.cpp:82
#23 0x00000000004223bd in main (argc=6, argv=0x7fff7df65b58) at /usr/src/debug/kdegraphics-4.6.3/gwenview/app/main.cpp:137

Possible duplicates by query: bug 263786, bug 261664, bug 261118, bug 255852, bug 255227.

Reported using DrKonqi
Comment 1 David McInnis 2011-06-15 20:21:59 UTC
I tried to attach the sample file, but it's way to big for the server to handle.
Comment 2 Anirudh 2012-01-05 14:27:43 UTC
possible duplicate Bug 258876
Comment 3 Shlomi Fish 2015-01-07 12:09:54 UTC
This bug cannot be easily reproduced and was likely fixed by now. Resolving.