Bug 309127 - gwenview crashes when slideshow reaches an undreadable/incomplete/broken image
Summary: gwenview crashes when slideshow reaches an undreadable/incomplete/broken image
Status: RESOLVED DUPLICATE of bug 297262
Alias: None
Product: gwenview
Classification: Applications
Component: general (show other bugs)
Version: 2.9.1
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Gwenview Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-10-28 09:50 UTC by Lilian A. Moraru
Modified: 2012-10-28 09:55 UTC (History)
0 users

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 Lilian A. Moraru 2012-10-28 09:50:07 UTC
Application: gwenview (2.9.1)
KDE Platform Version: 4.9.2
Qt Version: 4.8.3
Operating System: Linux 3.5.0-17-generic x86_64
Distribution: Ubuntu 12.10

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

I moved some photos from a remote storage volume with Dolphin and on the remote storage volume was left 1 broken image from those that I moved. There were still some photos on the remote storage volume and I launched a slideshow in gwenview on those photos that I left there.
Gwenview played all good until the last photo which says "Loading '[the name of the photo]' failed Loading image failed." if I open it in Gwenview or just scroll to it without the slideshow.

Observation: If I open gwenview on this photo or scroll normally to it, after I see that "Loading image failed." I can now run the slideshow from wherever I want and when Gwenview reaches this broken image in the Slideshow mode it just display "Loading image failed." message instead of crashing and works all good.

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 0x7effa2d17780 (LWP 3250))]

Thread 4 (Thread 0x7eff8d997700 (LWP 3252)):
#0  0x00007eff9f7678bd in read () at ../sysdeps/unix/syscall-template.S:82
#1  0x00007eff9bf6cf6f in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007eff9bf30914 in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007eff9bf30d22 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007eff9bf30ea4 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007effa1b89c16 in QEventDispatcherGlib::processEvents (this=0x7eff880008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#6  0x00007effa1b5a2bf in QEventLoop::processEvents (this=this@entry=0x7eff8d996dd0, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007effa1b5a548 in QEventLoop::exec (this=0x7eff8d996dd0, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007effa1a5bb10 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#9  0x00007effa1b3a9af in QInotifyFileSystemWatcherEngine::run (this=0x1e92c20) at io/qfilesystemwatcher_inotify.cpp:248
#10 0x00007effa1a5eaec in QThreadPrivate::start (arg=0x1e92c20) at thread/qthread_unix.cpp:338
#11 0x00007eff9c5f3e9a in start_thread (arg=0x7eff8d997700) at pthread_create.c:308
#12 0x00007eff9f774cbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#13 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7eff8c8f0700 (LWP 3253)):
#0  0x00007eff9f769303 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007eff9bf30d84 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007eff9bf30ea4 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007effa1b89c16 in QEventDispatcherGlib::processEvents (this=0x7eff800008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007effa1b5a2bf in QEventLoop::processEvents (this=this@entry=0x7eff8c8efdd0, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007effa1b5a548 in QEventLoop::exec (this=0x7eff8c8efdd0, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007effa1a5bb10 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#7  0x00007effa1b3a9af in QInotifyFileSystemWatcherEngine::run (this=0x21cab20) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007effa1a5eaec in QThreadPrivate::start (arg=0x21cab20) at thread/qthread_unix.cpp:338
#9  0x00007eff9c5f3e9a in start_thread (arg=0x7eff8c8f0700) at pthread_create.c:308
#10 0x00007eff9f774cbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7eff8640f700 (LWP 3262)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007effa1a5f04b in wait (time=18446744073709551615, this=0x1e65260) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x1e64308, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007effa265f9a6 in Gwenview::SemanticInfoThread::run (this=0x1e642f0) at ../../lib/semanticinfo/nepomuksemanticinfobackend.cpp:145
#4  0x00007effa1a5eaec in QThreadPrivate::start (arg=0x1e642f0) at thread/qthread_unix.cpp:338
#5  0x00007eff9c5f3e9a in start_thread (arg=0x7eff8640f700) at pthread_create.c:308
#6  0x00007eff9f774cbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7effa2d17780 (LWP 3250)):
[KCrash Handler]
#6  Gwenview::Document::loadingState (this=0x0) at ../../lib/document/document.cpp:162
#7  0x00007effa260db56 in Gwenview::RasterImageView::loadFromDocument (this=0x28bb7f0) at ../../lib/documentview/rasterimageview.cpp:195
#8  0x00007effa260e5a3 in Gwenview::RasterImageViewAdapter::slotLoadingFailed (this=<optimized out>) at ../../lib/documentview/rasterimageviewadapter.cpp:118
#9  0x00007effa1b70f5f in QMetaObject::activate (sender=0x302e840, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff5ae2cc30) at kernel/qobject.cpp:3547
#10 0x00007effa25f3a95 in Gwenview::Document::loadingFailed (this=<optimized out>, _t1=...) at ./document.moc:179
#11 0x00007effa1b70f5f in QMetaObject::activate (sender=0x281bbe0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3547
#12 0x00007effa25f91c8 in Gwenview::LoadingDocumentImpl::slotImageLoaded (this=0x281bbe0) at ../../lib/document/loadingdocumentimpl.cpp:443
#13 0x00007effa1b70f5f in QMetaObject::activate (sender=0x2e418c0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3547
#14 0x00007effa1a4f477 in QFutureWatcherBase::event (this=<optimized out>, event=0x7eff645187a0) at concurrent/qfuturewatcher.cpp:344
#15 0x00007effa03cce9c in QApplicationPrivate::notify_helper (this=this@entry=0x1cce0e0, receiver=receiver@entry=0x2e418c0, e=e@entry=0x7eff645187a0) at kernel/qapplication.cpp:4562
#16 0x00007effa03d130a in QApplication::notify (this=0x7fff5ae2d7a0, receiver=0x2e418c0, e=0x7eff645187a0) at kernel/qapplication.cpp:4423
#17 0x00007effa10d51d6 in KApplication::notify (this=0x7fff5ae2d7a0, receiver=0x2e418c0, event=0x7eff645187a0) at ../../kdeui/kernel/kapplication.cpp:311
#18 0x00007effa1b5b56e in QCoreApplication::notifyInternal (this=0x7fff5ae2d7a0, receiver=receiver@entry=0x2e418c0, event=event@entry=0x7eff645187a0) at kernel/qcoreapplication.cpp:915
#19 0x00007effa1b5f3f1 in sendEvent (event=0x7eff645187a0, receiver=0x2e418c0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#20 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x1ca22b0) at kernel/qcoreapplication.cpp:1539
#21 0x00007effa1b89a63 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#22 postEventSourceDispatch (s=0x1ccfbc0) at kernel/qeventdispatcher_glib.cpp:279
#23 0x00007eff9bf30ab5 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#24 0x00007eff9bf30de8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#25 0x00007eff9bf30ea4 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#26 0x00007effa1b89bf6 in QEventDispatcherGlib::processEvents (this=0x1ca3770, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#27 0x00007effa0471c1e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#28 0x00007effa1b5a2bf in QEventLoop::processEvents (this=this@entry=0x7fff5ae2d680, flags=...) at kernel/qeventloop.cpp:149
#29 0x00007effa1b5a548 in QEventLoop::exec (this=0x7fff5ae2d680, flags=...) at kernel/qeventloop.cpp:204
#30 0x00007effa1b5f708 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1187
#31 0x0000000000427372 in main (argc=6, argv=0x7fff5ae2d908) at ../../app/main.cpp:142

Possible duplicates by query: bug 308640, bug 307982, bug 297262.

Reported using DrKonqi
Comment 1 Jekyll Wu 2012-10-28 09:55:10 UTC

*** This bug has been marked as a duplicate of bug 297262 ***