https://bugs.kde.org/show_bug.cgi?id=406604
Bug ID: 406604 Summary: Gwenview crashed while opening large TIFF Product: gwenview Version: 18.12.3 Platform: Compiled Sources OS: Linux Status: REPORTED Keywords: drkonqi Severity: crash Priority: NOR Component: general Assignee: gwenview-bugs-n...@kde.org Reporter: dab...@gmail.com Target Milestone: --- Application: gwenview (18.12.3) (Compiled from sources) Qt Version: 5.11.3 Frameworks Version: 5.54.0 Operating System: Linux 4.14.65-gentoo-ryzen-10 x86_64 Distribution (Platform): Gentoo Packages -- Information about the crash: Gwenview crashes when it attempts to open a large TIFF image. The crash can be reproduced every time. -- Backtrace: Application: Gwenview (gwenview), signal: Aborted Using host libthread_db library "/lib64/libthread_db.so.1". [Current thread is 1 (Thread 0x7f6c584752c0 (LWP 7164))] Thread 3 (Thread 0x7f6c3bb49700 (LWP 7166)): #0 0x00007f6c5384515b in __GI___poll (fds=0x7f6c3401a4b0, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29 #1 0x00007f6c4cb8d091 in g_main_context_poll (priority=<optimized out>, n_fds=1, fds=0x7f6c3401a4b0, timeout=<optimized out>, context=0x7f6c34000bf0) at /var/tmp/portage/dev-libs/glib-2.58.3/work/glib-2.58.3/glib/gmain.c:4221 #2 g_main_context_iterate (context=context@entry=0x7f6c34000bf0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /var/tmp/portage/dev-libs/glib-2.58.3/work/glib-2.58.3/glib/gmain.c:3915 #3 0x00007f6c4cb8d1bc in g_main_context_iteration (context=0x7f6c34000bf0, may_block=may_block@entry=1) at /var/tmp/portage/dev-libs/glib-2.58.3/work/glib-2.58.3/glib/gmain.c:3981 #4 0x00007f6c541c099b in QEventDispatcherGlib::processEvents (this=0x7f6c34000b20, flags=...) at kernel/qeventdispatcher_glib.cpp:424 #5 0x00007f6c54169d2a in QEventLoop::exec (this=this@entry=0x7f6c3bb48d70, flags=..., flags@entry=...) at kernel/qeventloop.cpp:214 #6 0x00007f6c53fc096a in QThread::exec (this=this@entry=0x7f6c52726d60 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread.cpp:525 #7 0x00007f6c524abdd5 in QDBusConnectionManager::run (this=0x7f6c52726d60 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at qdbusconnection.cpp:178 #8 0x00007f6c53fca8ee in QThreadPrivate::start (arg=0x7f6c52726d60 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread_unix.cpp:367 #9 0x00007f6c4e5421da in start_thread (arg=0x7f6c3bb49700) at pthread_create.c:486 #10 0x00007f6c538518ef in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 2 (Thread 0x7f6c4377f700 (LWP 7165)): #0 0x00007f6c5384515b in __GI___poll (fds=fds@entry=0x7f6c4377eca8, nfds=nfds@entry=1, timeout=timeout@entry=-1) at ../sysdeps/unix/sysv/linux/poll.c:29 #1 0x00007f6c4c9207df in poll (__timeout=-1, __nfds=1, __fds=0x7f6c4377eca8) at /usr/include/bits/poll2.h:46 #2 _xcb_conn_wait (c=c@entry=0x5607f9a39ab0, cond=cond@entry=0x5607f9a39af0, vector=vector@entry=0x0, count=count@entry=0x0) at /var/tmp/portage/x11-libs/libxcb-1.13.1/work/libxcb-1.13.1/src/xcb_conn.c:479 #3 0x00007f6c4c92249a in xcb_wait_for_event (c=0x5607f9a39ab0) at /var/tmp/portage/x11-libs/libxcb-1.13.1/work/libxcb-1.13.1/src/xcb_in.c:697 #4 0x00007f6c46306b49 in QXcbEventReader::run (this=0x5607f9a390d0) at qxcbconnection.cpp:1391 #5 0x00007f6c53fca8ee in QThreadPrivate::start (arg=0x5607f9a390d0) at thread/qthread_unix.cpp:367 #6 0x00007f6c4e5421da in start_thread (arg=0x7f6c4377f700) at pthread_create.c:486 #7 0x00007f6c538518ef in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 1 (Thread 0x7f6c584752c0 (LWP 7164)): [KCrash Handler] #6 __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51 #7 0x00007f6c53781930 in __GI_abort () at abort.c:79 #8 0x00007f6c53bab37e in __gnu_cxx::__verbose_terminate_handler () at /var/tmp/portage/sys-devel/gcc-8.2.0-r6/work/gcc-8.2.0/libstdc++-v3/libsupc++/vterminate.cc:95 #9 0x00007f6c53bcf616 in __cxxabiv1::__terminate(void (*)()) () at /var/tmp/portage/sys-devel/gcc-8.2.0-r6/work/gcc-8.2.0/libstdc++-v3/libsupc++/eh_terminate.cc:47 #10 0x00007f6c53bcf651 in std::terminate () at /var/tmp/portage/sys-devel/gcc-8.2.0-r6/work/gcc-8.2.0/libstdc++-v3/libsupc++/eh_terminate.cc:57 #11 0x00007f6c53bcf892 in __cxxabiv1::__cxa_throw (obj=<optimized out>, tinfo=0x7f6c53f11458 <typeinfo for std::bad_alloc>, dest=0x7f6c53bcd9d0 <std::bad_alloc::~bad_alloc()>) at /var/tmp/portage/sys-devel/gcc-8.2.0-r6/work/gcc-8.2.0/libstdc++-v3/libsupc++/eh_throw.cc:95 #12 0x00007f6c53fa2dad in qBadAlloc () at global/qglobal.cpp:3182 #13 0x00007f6c53fcd160 in QByteArray::reallocData (this=this@entry=0x5607fa491cb8, alloc=2147483649, options=...) at tools/qbytearray.cpp:1802 #14 0x00007f6c53fce3e7 in QByteArray::append (this=0x5607fa491cb8, ba=...) at tools/qbytearray.cpp:1951 #15 0x00007f6c57b2b777 in Gwenview::LoadingDocumentImpl::slotDataReceived (this=0x5607fa527210, job=0x5607fa3f5070, chunk=...) at /var/tmp/portage/kde-apps/gwenview-18.12.3/work/gwenview-18.12.3/lib/document/loadingdocumentimpl.cpp:439 #16 0x00007f6c54195d6b in QMetaObject::activate (sender=sender@entry=0x5607fa3f5070, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffc738cc3d0) at kernel/qobject.cpp:3771 #17 0x00007f6c54196417 in QMetaObject::activate (sender=sender@entry=0x5607fa3f5070, m=m@entry=0x7f6c57459700 <KIO::TransferJob::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffc738cc3d0) at kernel/qobject.cpp:3633 #18 0x00007f6c571ac154 in KIO::TransferJob::data (this=this@entry=0x5607fa3f5070, _t1=<optimized out>, _t1@entry=0x5607fa3f5070, _t2=...) at /var/tmp/portage/kde-frameworks/kio-5.54.1/work/kio-5.54.1_build/src/core/KF5KIOCore_autogen/include/moc_transferjob.cpp:315 #19 0x00007f6c571ac46d in KIO::TransferJob::slotData (this=0x5607fa3f5070, _data=...) at /var/tmp/portage/kde-frameworks/kio-5.54.1/work/kio-5.54.1/src/core/transferjob.cpp:62 #20 0x00007f6c54195eae in QtPrivate::QSlotObjectBase::call (a=0x7ffc738cc590, r=0x5607fa3f5070, this=0x7f6c3402ed60) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:376 #21 QMetaObject::activate (sender=sender@entry=0x5607fa409500, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffc738cc590) at kernel/qobject.cpp:3754 #22 0x00007f6c54196417 in QMetaObject::activate (sender=sender@entry=0x5607fa409500, m=m@entry=0x7f6c574585a0 <KIO::SlaveInterface::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffc738cc590) at kernel/qobject.cpp:3633 #23 0x00007f6c57175342 in KIO::SlaveInterface::data (this=this@entry=0x5607fa409500, _t1=...) at /var/tmp/portage/kde-frameworks/kio-5.54.1/work/kio-5.54.1_build/src/core/KF5KIOCore_autogen/include/moc_slaveinterface.cpp:412 #24 0x00007f6c57179651 in KIO::SlaveInterface::dispatch (this=0x5607fa409500, _cmd=<optimized out>, rawdata=...) at /var/tmp/portage/kde-frameworks/kio-5.54.1/work/kio-5.54.1/src/core/slaveinterface.cpp:148 #25 0x00007f6c57175b78 in KIO::SlaveInterface::dispatch (this=0x5607fa409500) at /var/tmp/portage/kde-frameworks/kio-5.54.1/work/kio-5.54.1/src/core/slaveinterface.cpp:89 #26 0x00007f6c5717c0f1 in KIO::Slave::gotInput (this=0x5607fa409500) at /var/tmp/portage/kde-frameworks/kio-5.54.1/work/kio-5.54.1/src/core/slave.cpp:406 #27 0x00007f6c54195eae in QtPrivate::QSlotObjectBase::call (a=0x7ffc738cc810, r=0x5607fa409500, this=0x7f6c3402f250) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:376 #28 QMetaObject::activate (sender=0x5607fa156bc0, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x0) at kernel/qobject.cpp:3754 #29 0x00007f6c54196417 in QMetaObject::activate (sender=<optimized out>, m=m@entry=0x7f6c57457300 <KIO::Connection::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x0) at kernel/qobject.cpp:3633 #30 0x00007f6c5711aab9 in KIO::Connection::readyRead (this=<optimized out>) at /var/tmp/portage/kde-frameworks/kio-5.54.1/work/kio-5.54.1_build/src/core/KF5KIOCore_autogen/include/moc_connection_p.cpp:143 #31 KIO::ConnectionPrivate::dequeue (this=0x5607fa27de70) at /var/tmp/portage/kde-frameworks/kio-5.54.1/work/kio-5.54.1/src/core/connection.cpp:46 #32 0x00007f6c54196b12 in QObject::event (this=0x5607fa156bc0, e=<optimized out>) at kernel/qobject.cpp:1251 #33 0x00007f6c54e341cc in QApplicationPrivate::notify_helper (this=this@entry=0x5607f9a28510, receiver=receiver@entry=0x5607fa156bc0, e=e@entry=0x7f6c3c00d450) at kernel/qapplication.cpp:3726 #34 0x00007f6c54e3bb1f in QApplication::notify (this=0x7ffc738cced0, receiver=0x5607fa156bc0, e=0x7f6c3c00d450) at kernel/qapplication.cpp:3485 #35 0x00007f6c5416af96 in QCoreApplication::notifyInternal2 (receiver=0x5607fa156bc0, event=event@entry=0x7f6c3c00d450) at kernel/qcoreapplication.cpp:1047 #36 0x00007f6c5416df30 in QCoreApplication::sendEvent (event=0x7f6c3c00d450, receiver=<optimized out>) at kernel/qcoreapplication.h:234 #37 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x5607f9a28070) at kernel/qcoreapplication.cpp:1744 #38 0x00007f6c5416e4b8 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1598 #39 0x00007f6c541c0b93 in postEventSourceDispatch (s=s@entry=0x5607f9a72ba0) at kernel/qeventdispatcher_glib.cpp:276 #40 0x00007f6c4cb8cebe in g_main_dispatch (context=0x7f6c3c004ff0) at /var/tmp/portage/dev-libs/glib-2.58.3/work/glib-2.58.3/glib/gmain.c:3182 #41 g_main_context_dispatch (context=context@entry=0x7f6c3c004ff0) at /var/tmp/portage/dev-libs/glib-2.58.3/work/glib-2.58.3/glib/gmain.c:3847 #42 0x00007f6c4cb8d128 in g_main_context_iterate (context=context@entry=0x7f6c3c004ff0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /var/tmp/portage/dev-libs/glib-2.58.3/work/glib-2.58.3/glib/gmain.c:3920 #43 0x00007f6c4cb8d1bc in g_main_context_iteration (context=0x7f6c3c004ff0, may_block=may_block@entry=1) at /var/tmp/portage/dev-libs/glib-2.58.3/work/glib-2.58.3/glib/gmain.c:3981 #44 0x00007f6c541c097f in QEventDispatcherGlib::processEvents (this=0x5607f9a73000, flags=...) at kernel/qeventdispatcher_glib.cpp:422 #45 0x00007f6c46393eb1 in QPAEventDispatcherGlib::processEvents (this=0x5607f9a73000, flags=...) at qeventdispatcher_glib.cpp:69 #46 0x00007f6c54169d2a in QEventLoop::exec (this=this@entry=0x7ffc738ccdd0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:214 #47 0x00007f6c54172a30 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1335 #48 0x00005607f7f87879 in main (argc=<optimized out>, argv=<optimized out>) at /var/tmp/portage/kde-apps/gwenview-18.12.3/work/gwenview-18.12.3/app/main.cpp:163 Possible duplicates by query: bug 402752, bug 401865, bug 400304, bug 396663. Reported using DrKonqi -- You are receiving this mail because: You are watching all bug changes.