Bug 323687 - Gwenview 4.11 crashes when trying to look at more than one picture at the same time
Summary: Gwenview 4.11 crashes when trying to look at more than one picture at the sam...
Status: RESOLVED FIXED
Alias: None
Product: gwenview
Classification: Applications
Component: general (show other bugs)
Version: 4.11.0
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Gwenview Bugs
URL:
Keywords: drkonqi
: 324842 329341 331650 (view as bug list)
Depends on:
Blocks:
 
Reported: 2013-08-18 20:19 UTC by Gerald Senarclens de Grancy
Modified: 2017-11-09 16:08 UTC (History)
8 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 Gerald Senarclens de Grancy 2013-08-18 20:19:15 UTC
Application: gwenview (4.11.0)
KDE Platform Version: 4.11.00
Qt Version: 4.8.4
Operating System: Linux 3.9.3-030903-generic x86_64
Distribution: Ubuntu 13.04

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

1 entered full screen mode
2 switched to photo browser
3 selected two or four pictures
4 clicked on 'view selected images'

- expected:
all selected images are shown at the same time without gwenview crashing

- actual:
all selected images are shown for a short moment, then Gwenview crashed

- notes:
tried three times in a row: two times with 4 images selected, once with two - 3 out of 3 crashes

The crash can be reproduced every time.

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

Thread 4 (Thread 0x7f3f3bfff700 (LWP 5653)):
#0  0x00007fff411feac7 in ?? ()
#1  0x00007f3f34002bf0 in ?? ()
#2  0x00007f3f501ff078 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x0000000200000000 in ?? ()
#4  0x00007f3f34002660 in ?? ()
#5  0x00007f3f3bffeb80 in ?? ()
#6  0x00007f3f3bffec38 in ?? ()
#7  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f3f3b370700 (LWP 5655)):
#0  0x00007f3f50411d24 in __GI___pthread_getspecific (key=3) at pthread_getspecific.c:57
#1  0x00007f3f4ff72390 in g_thread_self () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f3f4ff4d33e in g_main_context_acquire () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f3f4ff4e0b4 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f3f4ff4e304 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f3f5635b036 in QEventDispatcherGlib::processEvents (this=0x7f3f2c0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#6  0x00007f3f5632b38f in QEventLoop::processEvents (this=this@entry=0x7f3f3b36fd90, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007f3f5632b618 in QEventLoop::exec (this=this@entry=0x7f3f3b36fd90, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007f3f5622d410 in QThread::exec (this=this@entry=0x29c4ae0) at thread/qthread.cpp:542
#9  0x00007f3f5630cedf in QInotifyFileSystemWatcherEngine::run (this=0x29c4ae0) at io/qfilesystemwatcher_inotify.cpp:256
#10 0x00007f3f5622fbec in QThreadPrivate::start (arg=0x29c4ae0) at thread/qthread_unix.cpp:338
#11 0x00007f3f5040cf8e in start_thread (arg=0x7f3f3b370700) at pthread_create.c:311
#12 0x00007f3f53cf1e1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 2 (Thread 0x7f3f2766b700 (LWP 5659)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f3f5623014b in wait (time=18446744073709551615, this=0x2701a20) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x2725438, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f3f56e4d766 in ?? () from /usr/lib/libgwenviewlib.so.4
#4  0x00007f3f5622fbec in QThreadPrivate::start (arg=0x2725420) at thread/qthread_unix.cpp:338
#5  0x00007f3f5040cf8e in start_thread (arg=0x7f3f2766b700) at pthread_create.c:311
#6  0x00007f3f53cf1e1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 1 (Thread 0x7f3f575057c0 (LWP 5648)):
[KCrash Handler]
#6  QHash<unsigned int, KIO::UDSEntryPrivate::Field>::findNode (this=0x682328 <QString::shared_null+8>, ahp=ahp@entry=0x0, akey=<optimized out>) at /usr/include/qt4/QtCore/qhash.h:884
#7  0x00007f3f56a55272 in find (this=<optimized out>, akey=<optimized out>) at /usr/include/qt4/QtCore/qhash.h:855
#8  KIO::UDSEntry::numberValue (this=0x7fff41150800, field=<optimized out>, defaultValue=-1) at ../../kio/kio/udsentry.cpp:80
#9  0x00007f3f56e2eadf in Gwenview::ThumbnailProvider::slotResult(KJob*) () from /usr/lib/libgwenviewlib.so.4
#10 0x00007f3f563410ef in QMetaObject::activate (sender=sender@entry=0x35073b0, m=m@entry=0x7f3f547744e0 <KJob::staticMetaObject>, local_signal_index=local_signal_index@entry=3, argv=argv@entry=0x7fff41150970) at kernel/qobject.cpp:3539
#11 0x00007f3f543e7bb2 in KJob::result (this=this@entry=0x35073b0, _t1=_t1@entry=0x35073b0) at ./kjob.moc:208
#12 0x00007f3f543e7bf0 in KJob::emitResult (this=this@entry=0x35073b0) at ../../kdecore/jobs/kjob.cpp:318
#13 0x00007f3f56a2b8b8 in KIO::PreviewJobPrivate::determineNextFile (this=this@entry=0x5379810) at ../../kio/kio/previewjob.cpp:424
#14 0x00007f3f56a2d009 in KIO::PreviewJobPrivate::startPreview (this=0x5379810) at ../../kio/kio/previewjob.cpp:378
#15 0x00007f3f563465be in QObject::event (this=0x35073b0, e=<optimized out>) at kernel/qobject.cpp:1194
#16 0x00007f3f5494e8ec in QApplicationPrivate::notify_helper (this=this@entry=0x25575b0, receiver=receiver@entry=0x35073b0, e=e@entry=0x53884b0) at kernel/qapplication.cpp:4567
#17 0x00007f3f5495125b in QApplication::notify (this=this@entry=0x7fff41151720, receiver=receiver@entry=0x35073b0, e=e@entry=0x53884b0) at kernel/qapplication.cpp:4428
#18 0x00007f3f55658916 in KApplication::notify (this=0x7fff41151720, receiver=0x35073b0, event=0x53884b0) at ../../kdeui/kernel/kapplication.cpp:311
#19 0x00007f3f5632c63e in QCoreApplication::notifyInternal (this=0x7fff41151720, receiver=receiver@entry=0x35073b0, event=event@entry=0x53884b0) at kernel/qcoreapplication.cpp:946
#20 0x00007f3f56330171 in sendEvent (event=0x53884b0, receiver=0x35073b0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#21 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x25191f0) at kernel/qcoreapplication.cpp:1570
#22 0x00007f3f563304a3 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1463
#23 0x00007f3f5635ae83 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#24 postEventSourceDispatch (s=0x254acd0) at kernel/qeventdispatcher_glib.cpp:279
#25 0x00007f3f4ff4df05 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#26 0x00007f3f4ff4e248 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#27 0x00007f3f4ff4e304 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#28 0x00007f3f5635b016 in QEventDispatcherGlib::processEvents (this=0x251aad0, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#29 0x00007f3f549f413e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#30 0x00007f3f5632b38f in QEventLoop::processEvents (this=this@entry=0x7fff411516a0, flags=...) at kernel/qeventloop.cpp:149
#31 0x00007f3f5632b618 in QEventLoop::exec (this=this@entry=0x7fff411516a0, flags=...) at kernel/qeventloop.cpp:204
#32 0x00007f3f56330cf6 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1218
#33 0x0000000000427c66 in ?? ()
#34 0x00007f3f53c19ea5 in __libc_start_main (main=0x427950, argc=6, ubp_av=0x7fff41151868, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff41151858) at libc-start.c:260
#35 0x0000000000427f21 in _start ()

Reported using DrKonqi
Comment 1 Jekyll Wu 2013-08-19 12:44:25 UTC
Strange, can't reproduce the crash by following the steps.
Comment 2 Gerald Senarclens de Grancy 2013-08-19 13:07:59 UTC
Just tried reproducing on my computer at work. Same setup (Kubuntu 13.04, KDE 4.11) as my laptop at home, but here I can't reproduce either.
Comment 3 Mahendra Tallur 2013-08-22 23:15:36 UTC
Gerald : some random ideas to figure out a way to reproduce it :

- did you try at work with the same set of pictures you used at home ? 

- Is there a common pattern in the chosen pictures properties, when a crash occurs ? (resolution, camera used, dimensions...)

- At home, does it occur with *any* set of pictures ? 

- did you try to reproduce the crash from the LiveCD ? (okay, I guess you have no LiveCD with KDE 4.11 :-)

- did you try with a "fresh" user profile ? (try creating a new user just for this test)

- did you add any PPA ? Kipi plugins ? Thumbs plugins ?
Comment 4 Gerald Senarclens de Grancy 2013-08-23 06:01:26 UTC
Mahendra: thanks for your ideas.

Curiously, the bug stopped reproducing at home as well (with the same pictures). Not sure which additional condition had triggered it every time before I reported the bug. The most "special" thing about my configuration I can think of is that it was the first time (actually the first few times since it kept crashing) I had started Gwenview after upgrading to 4.11 (though not the first time I had booted the computer into 4.11):
$ grep gwenview /var/log/dpkg.log | tail -n1
2013-08-14 20:11:21 status installed gwenview:amd64 4:4.11.0-0ubuntu1~ubuntu13.04~ppa1
and this bug occured shortly before 2013-08-18 20:19:15 UTC

- I tried pictures of the same camera and even the set of pictures I was working w/ when the bug occurred. No luck.

- As I can't even reproduce w/ my home system, I skipped the live CD creation and the fresh user profile.

- Additional repos I had enabled:
deb http://dl.google.com/linux/talkplugin/deb/ stable main
deb http://ppa.launchpad.net/kubuntu-ppa/ppa/ubuntu raring main
deb http://deb.opera.com/opera/ stable non-free

I suggest setting this to RESOLVED->WORKSFORME is the way to go until I can come up w/ a reliable way to reproduce this. Feel free to re-open otherwise.
Comment 5 Christoph Feck 2013-12-29 13:36:45 UTC
This is still happening, see duplicates.
Comment 6 Christoph Feck 2013-12-29 13:37:02 UTC
*** Bug 324842 has been marked as a duplicate of this bug. ***
Comment 7 Christoph Feck 2013-12-29 13:37:16 UTC
*** Bug 329341 has been marked as a duplicate of this bug. ***
Comment 8 Christoph Feck 2013-12-29 13:39:25 UTC
Since this backtrace involves the thumbnailer's reply, it probably can only be reproduced when clearing ~/.thumbnails
Comment 9 Jekyll Wu 2014-03-10 10:51:30 UTC
*** Bug 331650 has been marked as a duplicate of this bug. ***
Comment 10 Rohan Garg 2014-08-14 20:35:24 UTC
Application: Gwenview (gwenview), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fc6a9e7f840 (LWP 16210))]

Thread 4 (Thread 0x7fc691aa2700 (LWP 16211)):
#0  0x00007fc6a694603d in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007fc6a270ffe4 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fc6a27100ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fc6a8ccc7be in QEventDispatcherGlib::processEvents (this=0x7fc68c0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#4  0x00007fc6a8c9e0af in QEventLoop::processEvents (this=this@entry=0x7fc691aa1d60, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007fc6a8c9e3a5 in QEventLoop::exec (this=this@entry=0x7fc691aa1d60, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007fc6a8b9ac5f in QThread::exec (this=this@entry=0x1da1b60) at thread/qthread.cpp:537
#7  0x00007fc6a8c7f823 in QInotifyFileSystemWatcherEngine::run (this=0x1da1b60) at io/qfilesystemwatcher_inotify.cpp:265
#8  0x00007fc6a8b9d32f in QThreadPrivate::start (arg=0x1da1b60) at thread/qthread_unix.cpp:349
#9  0x00007fc6a2bdb182 in start_thread (arg=0x7fc691aa2700) at pthread_create.c:312
#10 0x00007fc6a695338d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 3 (Thread 0x7fc690bac700 (LWP 16212)):
#0  0x00007fc6a694603d in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007fc6a270ffe4 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fc6a27100ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fc6a8ccc7be in QEventDispatcherGlib::processEvents (this=0x7fc6840008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#4  0x00007fc6a8c9e0af in QEventLoop::processEvents (this=this@entry=0x7fc690babd60, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007fc6a8c9e3a5 in QEventLoop::exec (this=this@entry=0x7fc690babd60, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007fc6a8b9ac5f in QThread::exec (this=this@entry=0x20be030) at thread/qthread.cpp:537
#7  0x00007fc6a8c7f823 in QInotifyFileSystemWatcherEngine::run (this=0x20be030) at io/qfilesystemwatcher_inotify.cpp:265
#8  0x00007fc6a8b9d32f in QThreadPrivate::start (arg=0x20be030) at thread/qthread_unix.cpp:349
#9  0x00007fc6a2bdb182 in start_thread (arg=0x7fc690bac700) at pthread_create.c:312
#10 0x00007fc6a695338d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 2 (Thread 0x7fc68b7fd700 (LWP 16213)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:238
#1  0x00007fc6a8b9d7f4 in wait (time=30000, this=0x22bca60) at thread/qwaitcondition_unix.cpp:84
#2  QWaitCondition::wait (this=this@entry=0x22bc810, mutex=mutex@entry=0x22c1328, time=30000) at thread/qwaitcondition_unix.cpp:158
#3  0x00007fc6a8b910fa in QThreadPoolThread::run (this=0x22bc800) at concurrent/qthreadpool.cpp:142
#4  0x00007fc6a8b9d32f in QThreadPrivate::start (arg=0x22bc800) at thread/qthread_unix.cpp:349
#5  0x00007fc6a2bdb182 in start_thread (arg=0x7fc68b7fd700) at pthread_create.c:312
#6  0x00007fc6a695338d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 1 (Thread 0x7fc6a9e7f840 (LWP 16210)):
[KCrash Handler]
#6  QHash<unsigned int, KIO::UDSEntryPrivate::Field>::findNode (this=0x6812c8 <QString::shared_null+8>, ahp=ahp@entry=0x0, akey=<optimized out>) at /usr/include/qt4/QtCore/qhash.h:884
#7  0x00007fc6a93d4146 in find (akey=<synthetic pointer>, this=<optimized out>) at /usr/include/qt4/QtCore/qhash.h:855
#8  KIO::UDSEntry::numberValue (this=0x7fff29838800, field=<optimized out>, defaultValue=-1) at ../../kio/kio/udsentry.cpp:80
#9  0x00007fc6a97b7307 in Gwenview::ThumbnailProvider::slotResult(KJob*) () from /usr/lib/libgwenviewlib.so.4
#10 0x00007fc6a8cb387a in QMetaObject::activate (sender=sender@entry=0x2567fa0, m=m@entry=0x7fc6a73d4600 <KJob::staticMetaObject>, local_signal_index=local_signal_index@entry=3, argv=argv@entry=0x7fff29838940) at kernel/qobject.cpp:3539
#11 0x00007fc6a70446d2 in KJob::result (this=this@entry=0x2567fa0, _t1=_t1@entry=0x2567fa0) at ./kjob.moc:207
#12 0x00007fc6a7044710 in KJob::emitResult (this=this@entry=0x2567fa0) at ../../kdecore/jobs/kjob.cpp:318
#13 0x00007fc6a93a97b8 in KIO::PreviewJobPrivate::determineNextFile (this=this@entry=0x1d78880) at ../../kio/kio/previewjob.cpp:424
#14 0x00007fc6a93aafa7 in KIO::PreviewJobPrivate::startPreview (this=0x1d78880) at ../../kio/kio/previewjob.cpp:378
#15 0x00007fc6a8cb7c1e in QObject::event (this=0x2567fa0, e=<optimized out>) at kernel/qobject.cpp:1194
#16 0x00007fc6a75ace2c in QApplicationPrivate::notify_helper (this=this@entry=0x1b34050, receiver=receiver@entry=0x2567fa0, e=e@entry=0x22c1e70) at kernel/qapplication.cpp:4567
#17 0x00007fc6a75b34a0 in QApplication::notify (this=this@entry=0x7fff29839240, receiver=receiver@entry=0x2567fa0, e=e@entry=0x22c1e70) at kernel/qapplication.cpp:4353
#18 0x00007fc6a82b7d1a in KApplication::notify (this=0x7fff29839240, receiver=0x2567fa0, event=0x22c1e70) at ../../kdeui/kernel/kapplication.cpp:311
#19 0x00007fc6a8c9f4dd in QCoreApplication::notifyInternal (this=0x7fff29839240, receiver=receiver@entry=0x2567fa0, event=event@entry=0x22c1e70) at kernel/qcoreapplication.cpp:953
#20 0x00007fc6a8ca2b3d in sendEvent (event=0x22c1e70, receiver=0x2567fa0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#21 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x1af41f0) at kernel/qcoreapplication.cpp:1577
#22 0x00007fc6a8ca2fe3 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1470
#23 0x00007fc6a8cccf83 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#24 postEventSourceDispatch (s=0x1b2e010) at kernel/qeventdispatcher_glib.cpp:287
#25 0x00007fc6a270fe04 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#26 0x00007fc6a2710048 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#27 0x00007fc6a27100ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#28 0x00007fc6a8ccc7a1 in QEventDispatcherGlib::processEvents (this=0x1b324a0, flags=...) at kernel/qeventdispatcher_glib.cpp:434
#29 0x00007fc6a764ebb6 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#30 0x00007fc6a8c9e0af in QEventLoop::processEvents (this=this@entry=0x7fff298391e0, flags=...) at kernel/qeventloop.cpp:149
#31 0x00007fc6a8c9e3a5 in QEventLoop::exec (this=this@entry=0x7fff298391e0, flags=...) at kernel/qeventloop.cpp:204
#32 0x00007fc6a8ca3b79 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1225
#33 0x000000000042787d in ?? ()
#34 0x00007fc6a6879ec5 in __libc_start_main (main=0x427580, argc=2, argv=0x7fff29839388, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff29839378) at libc-start.c:287
#35 0x0000000000427b22 in _start ()
Comment 11 Nate Graham 2017-11-09 16:08:44 UTC
Only seems to have affected the KDE 4 version. Not see in KF5 versions of Gwenview.