Bug 299211

Summary: Gwenview crashes while browsing images which are not supported
Product: [Applications] gwenview Reporter: GenuZ <genuz>
Component: generalAssignee: Gwenview Bugs <gwenview-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: crash CC: adaptee
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Debian testing   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description GenuZ 2012-05-02 00:34:42 UTC
Application: gwenview (2.8.2)
KDE Platform Version: 4.8.2 (4.8.2)
Qt Version: 4.8.1
Operating System: Linux 3.0.0-19-generic x86_64
Distribution: Linux Mint 12 KDE

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

I've scroll (by middle mouse button-scroller) jpg images in "editor mode" in window view (not fullscreen). In this folder also was contained *.ldf images (lura document file images) created earlier by xnview in windows. Gwenview showed "unsupported type" nag screen on this image, and after scrolling on next *.ldf  image show second nag screen and immediatly crashes.

-- Backtrace:
Application: Gwenview (gwenview), signal: Segmentation fault
[Current thread is 1 (Thread 0x7faf4d1127c0 (LWP 1026))]

Thread 5 (Thread 0x7faf36ad6700 (LWP 1030)):
#0  0x00007faf4617cff2 in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007faf4617ddfd in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007faf4617e429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007faf4bf7c5a6 in QEventDispatcherGlib::processEvents (this=0x276fcb0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007faf4bf4bd82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007faf4bf4bfd7 in QEventLoop::exec (this=0x7faf36ad5cd0, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007faf4be4b077 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#7  0x00007faf4bf2baff in QInotifyFileSystemWatcherEngine::run (this=0x2741af0) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007faf4be4e09b in QThreadPrivate::start (arg=0x2741af0) at thread/qthread_unix.cpp:298
#9  0x00007faf4345b56c in ?? () from /usr/lib/nvidia-current-updates/libGL.so.1
#10 0x00007faf46a47efc in start_thread (arg=0x7faf36ad6700) at pthread_create.c:304
#11 0x00007faf49b1e59d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7faf3581d700 (LWP 1033)):
#0  0x00007faf49b12473 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007faf4617df68 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007faf4617e429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007faf4bf7c5a6 in QEventDispatcherGlib::processEvents (this=0x24e4980, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007faf4bf4bd82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007faf4bf4bfd7 in QEventLoop::exec (this=0x7faf3581ccd0, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007faf4be4b077 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#7  0x00007faf4bf2baff in QInotifyFileSystemWatcherEngine::run (this=0x27fccb0) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007faf4be4e09b in QThreadPrivate::start (arg=0x27fccb0) at thread/qthread_unix.cpp:298
#9  0x00007faf4345b56c in ?? () from /usr/lib/nvidia-current-updates/libGL.so.1
#10 0x00007faf46a47efc in start_thread (arg=0x7faf3581d700) at pthread_create.c:304
#11 0x00007faf49b1e59d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7faf2eefe700 (LWP 1040)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007faf4be4e5ab in wait (time=18446744073709551615, this=0x269fcf0) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x2696688, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007faf4ca643e7 in Gwenview::SemanticInfoThread::run (this=0x2696670) at ../../lib/semanticinfo/nepomuksemanticinfobackend.cpp:145
#4  0x00007faf4be4e09b in QThreadPrivate::start (arg=0x2696670) at thread/qthread_unix.cpp:298
#5  0x00007faf4345b56c in ?? () from /usr/lib/nvidia-current-updates/libGL.so.1
#6  0x00007faf46a47efc in start_thread (arg=0x7faf2eefe700) at pthread_create.c:304
#7  0x00007faf49b1e59d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#8  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7faf3501c700 (LWP 1173)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:216
#1  0x00007faf4be4e50f in wait (time=30000, this=0x2f3f400) at thread/qwaitcondition_unix.cpp:84
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x2f3f3a8, time=30000) at thread/qwaitcondition_unix.cpp:158
#3  0x00007faf4be4168f in QThreadPoolThread::run (this=0x323dfb0) at concurrent/qthreadpool.cpp:141
#4  0x00007faf4be4e09b in QThreadPrivate::start (arg=0x323dfb0) at thread/qthread_unix.cpp:298
#5  0x00007faf4345b56c in ?? () from /usr/lib/nvidia-current-updates/libGL.so.1
#6  0x00007faf46a47efc in start_thread (arg=0x7faf3501c700) at pthread_create.c:304
#7  0x00007faf49b1e59d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#8  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7faf4d1127c0 (LWP 1026)):
[KCrash Handler]
#6  Gwenview::LoadingDocumentImpl::loadImage (this=0x0, invertedZoom=2) at ../../lib/document/loadingdocumentimpl.cpp:347
#7  0x00007faf4c9fcc94 in scheduleImageLoading (invertedZoom=2, this=<optimized out>) at ../../lib/document/document.cpp:72
#8  Gwenview::Document::prepareDownSampledImageForZoom (this=0x38c4240, zoom=<optimized out>) at ../../lib/document/document.cpp:391
#9  0x00000000004532cc in doPreload (this=0x26d9f60) at ../../app/preloader.cpp:93
#10 Gwenview::Preloader::doPreload (this=0x26d9f60) at ../../app/preloader.cpp:79
#11 0x00000000004533f3 in Gwenview::Preloader::preload (this=0x26d9f60, url=<optimized out>, size=...) at ../../app/preloader.cpp:75
#12 0x000000000044db75 in Gwenview::MainWindow::preloadNextUrl (this=0x2694380) at ../../app/mainwindow.cpp:1543
#13 0x000000000044f313 in Gwenview::MainWindow::qt_metacall (this=0x2694380, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7fff47d00940) at ./mainwindow.moc:164
#14 0x00007faf4bf61589 in QMetaObject::activate (sender=0x417b810, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3566
#15 0x00007faf4bf6ab4f in QSingleShotTimer::timerEvent (this=0x417b810) at kernel/qtimer.cpp:317
#16 0x00007faf4bf66279 in QObject::event (this=0x417b810, e=<optimized out>) at kernel/qobject.cpp:1157
#17 0x00007faf4a77f2e4 in notify_helper (e=0x7fff47d01060, receiver=0x417b810, this=0x250f7b0) at kernel/qapplication.cpp:4559
#18 QApplicationPrivate::notify_helper (this=0x250f7b0, receiver=0x417b810, e=0x7fff47d01060) at kernel/qapplication.cpp:4531
#19 0x00007faf4a784163 in QApplication::notify (this=0x7fff47d01390, receiver=0x417b810, e=0x7fff47d01060) at kernel/qapplication.cpp:4420
#20 0x00007faf4b4b1bf6 in KApplication::notify (this=0x7fff47d01390, receiver=0x417b810, event=0x7fff47d01060) at ../../kdeui/kernel/kapplication.cpp:311
#21 0x00007faf4bf4cf9c in QCoreApplication::notifyInternal (this=0x7fff47d01390, receiver=0x417b810, event=0x7fff47d01060) at kernel/qcoreapplication.cpp:876
#22 0x00007faf4bf7e342 in sendEvent (event=0x7fff47d01060, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#23 QTimerInfoList::activateTimers (this=0x2515690) at kernel/qeventdispatcher_unix.cpp:611
#24 0x00007faf4bf7bd0d in timerSourceDispatch (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:186
#25 timerSourceDispatch (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:180
#26 0x00007faf4617da5d in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#27 0x00007faf4617e258 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#28 0x00007faf4617e429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#29 0x00007faf4bf7c53f in QEventDispatcherGlib::processEvents (this=0x24ae770, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#30 0x00007faf4a8244ee in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=<optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#31 0x00007faf4bf4bd82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#32 0x00007faf4bf4bfd7 in QEventLoop::exec (this=0x7fff47d012f0, flags=...) at kernel/qeventloop.cpp:204
#33 0x00007faf4bf51067 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1148
#34 0x00000000004268d5 in main (argc=6, argv=0x7fff47d016b8) at ../../app/main.cpp:142

This bug may be a duplicate of or related to bug 281292, bug 240371.

Possible duplicates by query: bug 281292, bug 261309, bug 240371.

Reported using DrKonqi
Comment 1 Jekyll Wu 2012-05-02 01:56:22 UTC

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