Bug 246706 - GwenView crashed after openning a large TIFF file [ std::terminate, __cxa_throw ]
Summary: GwenView crashed after openning a large TIFF file [ std::terminate, __cxa_thr...
Status: RESOLVED WORKSFORME
Alias: None
Product: gwenview
Classification: Applications
Component: general (other bugs)
Version First Reported In: 2.4
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Gwenview Bugs
URL:
Keywords: triaged
Depends on:
Blocks:
 
Reported: 2010-08-04 16:42 UTC by Shahmardian
Modified: 2018-10-27 04:09 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Shahmardian 2010-08-04 16:42:11 UTC
Application: gwenview (2.4.2)
KDE Platform Version: 4.4.2 (KDE 4.4.2)
Qt Version: 4.6.2
Operating System: Linux 2.6.32-24-generic-pae i686
Distribution: Ubuntu 10.04.1 LTS

-- Information about the crash:
I attempted to open a rather large (532.7 MiB) TIFF image file with GwenView.  It opens and displays the file, but it crashes after about 15 seconds.  This happens every time, and with several TIFF files of similar size.

The crash can be reproduced every time.

 -- Backtrace:
Application: Gwenview (gwenview), signal: Aborted
[Current thread is 1 (Thread 0xb51b8aa0 (LWP 3648))]

Thread 2 (Thread 0xb3ac4b70 (LWP 3652)):
#0  0xb78c6430 in __kernel_vsyscall ()
#1  0xb5b6d015 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb5fb99dd in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3  0xb72d6287 in QWaitConditionPrivate::wait (this=0x8bdc3c8, mutex=0x8bdc3c4, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#4  QWaitCondition::wait (this=0x8bdc3c8, mutex=0x8bdc3c4, time=4294967295) at thread/qwaitcondition_unix.cpp:159
#5  0xb7817ba2 in Gwenview::SemanticInfoThread::run (this=0x8bdc3b8) at ../../../gwenview/lib/semanticinfo/nepomuksemanticinfobackend.cpp:132
#6  0xb72d532e in QThreadPrivate::start (arg=0x8bdc3b8) at thread/qthread_unix.cpp:248
#7  0xb5b6896e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#8  0xb5faca4e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 1 (Thread 0xb51b8aa0 (LWP 3648)):
[KCrash Handler]
#6  0xb78c6430 in __kernel_vsyscall ()
#7  0xb5f09651 in raise () from /lib/tls/i686/cmov/libc.so.6
#8  0xb5f0ca82 in abort () from /lib/tls/i686/cmov/libc.so.6
#9  0xb611052f in __gnu_cxx::__verbose_terminate_handler() () from /usr/lib/libstdc++.so.6
#10 0xb610e465 in ?? () from /usr/lib/libstdc++.so.6
#11 0xb610e4a2 in std::terminate() () from /usr/lib/libstdc++.so.6
#12 0xb610e5e1 in __cxa_throw () from /usr/lib/libstdc++.so.6
#13 0xb72cbb15 in qBadAlloc () at global/qglobal.cpp:2004
#14 0xb72d84bf in QByteArray::realloc (this=0x900ef70, alloc=1073741804) at tools/qbytearray.cpp:1425
#15 0xb72d86df in QByteArray::append (this=0x900ef70, ba=...) at tools/qbytearray.cpp:1559
#16 0xb77bb62e in QByteArray::operator+= (this=0x8de1558) at /usr/include/qt4/QtCore/qbytearray.h:491
#17 Gwenview::LoadingDocumentImpl::init (this=0x8de1558) at ../../../gwenview/lib/document/loadingdocumentimpl.cpp:308
#18 0xb77b584e in Gwenview::Document::switchToImpl (this=0x8f2ffa0, impl=0x8de1558) at ../../../gwenview/lib/document/document.cpp:174
#19 0xb77b640f in Gwenview::Document::reload (this=0x8f2ffa0) at ../../../gwenview/lib/document/document.cpp:106
#20 0xb77b66a6 in Document (this=0x8f2ffa0, url=...) at ../../../gwenview/lib/document/document.cpp:80
#21 0xb77b804d in Gwenview::DocumentFactory::load (this=0xb78317c8, url=...) at ../../../gwenview/lib/document/documentfactory.cpp:148
#22 0x0809024c in Gwenview::Preloader::preload (this=0x8bf6b28, url=..., size=...) at ../../../gwenview/app/preloader.cpp:66
#23 0x080874d3 in Gwenview::MainWindow::preloadNextUrl (this=0x8bceda0) at ../../../gwenview/app/mainwindow.cpp:1477
#24 0x0808b9b3 in Gwenview::MainWindow::qt_metacall (this=0x8bceda0, _c=QMetaObject::InvokeMetaMethod, _id=81, _a=0xbfbe15dc) at ./mainwindow.moc:168
#25 0xb73dcc9a in QMetaObject::metacall (object=0x8bceda0, cl=3648, idx=81, argv=0xbfbe15dc) at kernel/qmetaobject.cpp:237
#26 0xb73eb3d5 in QMetaObject::activate (sender=0x8f52fe8, m=0xb74ea188, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3293
#27 0xb73f2fe7 in QSingleShotTimer::timeout (this=0x8f52fe8) at .moc/release-shared/qtimer.moc:82
#28 0xb73f30fc in QSingleShotTimer::timerEvent (this=0x8f52fe8) at kernel/qtimer.cpp:308
#29 0xb73e8254 in QObject::event (this=0x8f52fe8, e=0x6) at kernel/qobject.cpp:1212
#30 0xb64d94dc in QApplicationPrivate::notify_helper (this=0x8b2e3c0, receiver=0x8f52fe8, e=0xbfbe1b10) at kernel/qapplication.cpp:4300
#31 0xb64e005e in QApplication::notify (this=0xbfbe1e70, receiver=0x8f52fe8, e=0xbfbe1b10) at kernel/qapplication.cpp:3704
#32 0xb6ffff2a in KApplication::notify (this=0xbfbe1e70, receiver=0x8f52fe8, event=0xbfbe1b10) at ../../kdeui/kernel/kapplication.cpp:302
#33 0xb73d7a3b in QCoreApplication::notifyInternal (this=0xbfbe1e70, receiver=0x8f52fe8, event=0xbfbe1b10) at kernel/qcoreapplication.cpp:704
#34 0xb7406d66 in QCoreApplication::sendEvent (this=0x8b31534) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#35 QTimerInfoList::activateTimers (this=0x8b31534) at kernel/qeventdispatcher_unix.cpp:603
#36 0xb7403917 in timerSourceDispatch (source=0x8b31568) at kernel/qeventdispatcher_glib.cpp:184
#37 idleTimerSourceDispatch (source=0x8b31568) at kernel/qeventdispatcher_glib.cpp:231
#38 0xb57435e5 in g_main_dispatch (context=0x8b306c0) at /build/buildd/glib2.0-2.24.1/glib/gmain.c:1960
#39 IA__g_main_context_dispatch (context=0x8b306c0) at /build/buildd/glib2.0-2.24.1/glib/gmain.c:2513
#40 0xb57472d8 in g_main_context_iterate (context=0x8b306c0, block=<value optimized out>, dispatch=1, self=0x8b2e640) at /build/buildd/glib2.0-2.24.1/glib/gmain.c:2591
#41 0xb57474b8 in IA__g_main_context_iteration (context=0x8b306c0, may_block=1) at /build/buildd/glib2.0-2.24.1/glib/gmain.c:2654
#42 0xb74035d5 in QEventDispatcherGlib::processEvents (this=0x8b196b0, flags=...) at kernel/qeventdispatcher_glib.cpp:412
#43 0xb6599135 in QGuiEventDispatcherGlib::processEvents (this=0x8b196b0, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#44 0xb73d6059 in QEventLoop::processEvents (this=0xbfbe1dd4, flags=) at kernel/qeventloop.cpp:149
#45 0xb73d64aa in QEventLoop::exec (this=0xbfbe1dd4, flags=...) at kernel/qeventloop.cpp:201
#46 0xb73da69f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#47 0xb64d9577 in QApplication::exec () at kernel/qapplication.cpp:3579
#48 0x08085618 in main (argc=6, argv=0xbfbe1ff4) at ../../../gwenview/app/main.cpp:101

Reported using DrKonqi
Comment 1 Benni Hill 2012-04-03 17:10:02 UTC
If this is this valid: Can you test if this also happens when there is only one single TIFF file in the directory? (I think gwenview is crashing because your system runs out of memory when the next large image is preloaded.)
Comment 2 Benni Hill 2012-12-01 11:37:14 UTC
marked as needsinfo
Comment 3 Andrew Crouthamel 2018-09-23 02:30:22 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days, the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information.

For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please set the bug status as REPORTED so that the KDE team knows that the bug is ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 4 Andrew Crouthamel 2018-10-27 04:09:00 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least 30 days. The bug is now closed as RESOLVED > WORKSFORME due to lack of needed information.

For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!