Bug 351678 - Gwenview crashes when invoked from Thunderbird
Summary: Gwenview crashes when invoked from Thunderbird
Status: RESOLVED FIXED
Alias: None
Product: gwenview
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: Gwenview Bugs
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2015-08-24 07:43 UTC by René Serral
Modified: 2017-12-10 20:25 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 René Serral 2015-08-24 07:43:33 UTC
Application: gwenview (15.07.80)
 (Compiled from sources)
Qt Version: 5.4.2
Operating System: Linux 4.0.7 x86_64
Distribution: Debian GNU/Linux unstable (sid)

-- Information about the crash:
- What I was doing when the application crashed:

I opened an attached png from Thunderbird (Well icedove on Debian), I could see the picture for one second and after Gwenview just crashed.

The crash can be reproduced every time.

-- Backtrace:
Application: Gwenview (gwenview), signal: Aborted
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f4fe9bf4980 (LWP 11976))]

Thread 2 (Thread 0x7f4fdccd0700 (LWP 11979)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:238
#1  0x00007f4ff600b918 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#2  0x00007f4ff60079c4 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#3  0x00007f4ff600a87e in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007f4ff36670a4 in start_thread (arg=0x7f4fdccd0700) at pthread_create.c:309
#5  0x00007f4ff548107d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 1 (Thread 0x7f4fe9bf4980 (LWP 11976)):
[KCrash Handler]
#6  0x00007f4ff53d0107 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
#7  0x00007f4ff53d14e8 in __GI_abort () at abort.c:89
#8  0x00007f4ff5ff7baf in QMessageLogger::fatal(char const*, ...) const () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#9  0x00007f4ff5ff2dde in qt_assert(char const*, char const*, int) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#10 0x00007f4ffbbd9935 in KCoreDirListerCache::slotEntries (this=0x7f4ffbe79980 <(anonymous namespace)::Q_QGS_kDirListerCache::innerFunction()::holder>, job=0x1e0d030, entries=...) at /usr/src/kde5/src/frameworks/kio/src/core/kcoredirlister.cpp:1223
#11 0x00007f4ffbbe3f39 in KCoreDirListerCache::qt_static_metacall (_o=0x7f4ffbe79980 <(anonymous namespace)::Q_QGS_kDirListerCache::innerFunction()::holder>, _c=QMetaObject::InvokeMetaMethod, _id=7, _a=0x7ffcf0a67410) at /usr/src/kde5/build/frameworks/kio/src/core/moc_kcoredirlister_p.cpp:131
#12 0x00007f4ff622b12e in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#13 0x00007f4ffbb96233 in KIO::ListJob::entries (this=0x1e0d030, _t1=0x1e0d030, _t2=...) at /usr/src/kde5/build/frameworks/kio/src/core/moc_listjob.cpp:247
#14 0x00007f4ffbb9511b in KIO::ListJobPrivate::slotListEntries (this=0x1ba5660, list=...) at /usr/src/kde5/src/frameworks/kio/src/core/listjob.cpp:148
#15 0x00007f4ffbb95dd2 in KIO::ListJob::qt_static_metacall (_o=0x1e0d030, _c=QMetaObject::InvokeMetaMethod, _id=7, _a=0x7ffcf0a67860) at /usr/src/kde5/build/frameworks/kio/src/core/moc_listjob.cpp:125
#16 0x00007f4ff622b12e in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#17 0x00007f4ffbb82d43 in KIO::SlaveInterface::listEntries (this=0xe86670, _t1=...) at /usr/src/kde5/build/frameworks/kio/src/core/moc_slaveinterface.cpp:415
#18 0x00007f4ffbb80dba in KIO::SlaveInterface::dispatch (this=0xe86670, _cmd=106, rawdata=...) at /usr/src/kde5/src/frameworks/kio/src/core/slaveinterface.cpp:177
#19 0x00007f4ffbb80998 in KIO::SlaveInterface::dispatch (this=0xe86670) at /usr/src/kde5/src/frameworks/kio/src/core/slaveinterface.cpp:89
#20 0x00007f4ffbb84acf in KIO::Slave::gotInput (this=0xe86670) at /usr/src/kde5/src/frameworks/kio/src/core/slave.cpp:386
#21 0x00007f4ffbc060cd in KIO::Slave::qt_static_metacall (_o=0xe86670, _c=QMetaObject::InvokeMetaMethod, _id=2, _a=0x7ffcf0a67c50) at /usr/src/kde5/build/frameworks/kio/src/core/moc_slave.cpp:86
#22 0x00007f4ff622b12e in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#23 0x00007f4ffbb32c11 in KIO::Connection::readyRead (this=0x1e502e0) at /usr/src/kde5/build/frameworks/kio/src/core/moc_connection_p.cpp:140
#24 0x00007f4ffbb31a53 in KIO::ConnectionPrivate::dequeue (this=0x1e50de0) at /usr/src/kde5/src/frameworks/kio/src/core/connection.cpp:45
#25 0x00007f4ffbb32a3f in KIO::Connection::qt_static_metacall (_o=0x1e502e0, _c=QMetaObject::InvokeMetaMethod, _id=1, _a=0x2129a90) at /usr/src/kde5/build/frameworks/kio/src/core/moc_connection_p.cpp:84
#26 0x00007f4ff622be8a in QObject::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#27 0x00007f4ff76b5adc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#28 0x00007f4ff76bafb0 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#29 0x00007f4ff61fa3ab in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#30 0x00007f4ff61fc41b in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#31 0x00007f4ff6252f33 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#32 0x00007f4ff18a5c3d in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#33 0x00007f4ff18a5f20 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#34 0x00007f4ff18a5fcc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#35 0x00007f4ff6253347 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#36 0x00007f4ff61f7b62 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#37 0x00007f4ff61ff7ac in QCoreApplication::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#38 0x00000000004a42a3 in main ()

Possible duplicates by query: bug 351424, bug 350935, bug 350881, bug 350759, bug 350726.

Reported using DrKonqi
Comment 1 Nate Graham 2017-09-08 23:19:53 UTC

*** This bug has been marked as a duplicate of bug 346519 ***
Comment 2 Christoph Feck 2017-09-08 23:38:37 UTC
Nathan, it is a different backtrace. This is not caused by QSGRenderLoop::handleContextCreationFailure(), but by KIO code.
Comment 3 Nate Graham 2017-09-08 23:40:52 UTC
My mistake. I'm still not so good at interpreting these.
Comment 4 null 2017-12-10 20:25:11 UTC
Testing with Thunderbird 52.5.0, Gwenview 17.12.0 and Frameworks 5.40, this works fine for me. I suspect this has been fixed in KIO at some point, because I cannot reproduce and the bug says it should be reproducable every time.

Nevertheless, please test again on a newer system and comment if it still crashes for you, then we'd need to reopen.