Bug 261309

Summary: Crash if browsing tif Files
Product: [Applications] gwenview Reporter: photo.graef
Component: generalAssignee: Gwenview Bugs <gwenview-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: crash CC: andresbajotierra
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description photo.graef 2010-12-26 19:37:43 UTC
Application: gwenview (2.4.2)
KDE Platform Version: 4.4.2 (KDE 4.4.2)
Qt Version: 4.6.2
Operating System: Linux 2.6.32-27-generic i686
Distribution: Ubuntu 10.04.1 LTS

-- Information about the crash:
When browsing tif files with gwenview the programm crashes

The crash can be reproduced every time.

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

Thread 10 (Thread 0xb60d4b70 (LWP 2122)):
#0  0x0021e422 in __kernel_vsyscall ()
#1  0x00248015 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0x007679dd in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3  0x00354287 in QWaitConditionPrivate::wait (this=0x8d31028, mutex=0x8d31024, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#4  QWaitCondition::wait (this=0x8d31028, mutex=0x8d31024, time=4294967295) at thread/qwaitcondition_unix.cpp:159
#5  0x008f0ba2 in Gwenview::SemanticInfoThread::run (this=0x8d31018) at ../../../gwenview/lib/semanticinfo/nepomuksemanticinfobackend.cpp:132
#6  0x0035332e in QThreadPrivate::start (arg=0x8d31018) at thread/qthread_unix.cpp:248
#7  0x0024396e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#8  0x0075aa4e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 9 (Thread 0xb4594b70 (LWP 2123)):
#0  0x0021e422 in __kernel_vsyscall ()
#1  0x0074cb86 in poll () from /lib/tls/i686/cmov/libc.so.6
#2  0x00dea4eb in g_poll () from /lib/libglib-2.0.so.0
#3  0x00ddd0ac in ?? () from /lib/libglib-2.0.so.0
#4  0x00ddd4b8 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#5  0x0048160f in QEventDispatcherGlib::processEvents (this=0x900e9d0, flags=...) at kernel/qeventdispatcher_glib.cpp:414
#6  0x00454059 in QEventLoop::processEvents (this=0xb4594290, flags=) at kernel/qeventloop.cpp:149
#7  0x004544aa in QEventLoop::exec (this=0xb4594290, flags=...) at kernel/qeventloop.cpp:201
#8  0x003505a8 in QThread::exec (this=0x9042110) at thread/qthread.cpp:487
#9  0x00433c1b in QInotifyFileSystemWatcherEngine::run (this=0x9042110) at io/qfilesystemwatcher_inotify.cpp:248
#10 0x0035332e in QThreadPrivate::start (arg=0x9042110) at thread/qthread_unix.cpp:248
#11 0x0024396e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#12 0x0075aa4e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 8 (Thread 0xb3d93b70 (LWP 2124)):
#0  0x0021e422 in __kernel_vsyscall ()
#1  0x00248015 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0x007679dd in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3  0x00354287 in QWaitConditionPrivate::wait (this=0x906aae8, mutex=0x906aae4, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#4  QWaitCondition::wait (this=0x906aae8, mutex=0x906aae4, time=4294967295) at thread/qwaitcondition_unix.cpp:159
#5  0x008f0ba2 in Gwenview::SemanticInfoThread::run (this=0x906aad8) at ../../../gwenview/lib/semanticinfo/nepomuksemanticinfobackend.cpp:132
#6  0x0035332e in QThreadPrivate::start (arg=0x906aad8) at thread/qthread_unix.cpp:248
#7  0x0024396e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#8  0x0075aa4e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 7 (Thread 0xb3592b70 (LWP 2125)):
#0  0x0021e422 in __kernel_vsyscall ()
#1  0x00248015 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0x007679dd in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3  0x00354287 in QWaitConditionPrivate::wait (this=0xb5707710, mutex=0xb570770c, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#4  QWaitCondition::wait (this=0xb5707710, mutex=0xb570770c, time=4294967295) at thread/qwaitcondition_unix.cpp:159
#5  0x008f0ba2 in Gwenview::SemanticInfoThread::run (this=0xb5707700) at ../../../gwenview/lib/semanticinfo/nepomuksemanticinfobackend.cpp:132
#6  0x0035332e in QThreadPrivate::start (arg=0xb5707700) at thread/qthread_unix.cpp:248
#7  0x0024396e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#8  0x0075aa4e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 6 (Thread 0xb2d91b70 (LWP 2126)):
#0  0x0021e422 in __kernel_vsyscall ()
#1  0x00248015 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0x007679dd in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3  0x00354287 in QWaitConditionPrivate::wait (this=0x9069e10, mutex=0x9069e0c, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#4  QWaitCondition::wait (this=0x9069e10, mutex=0x9069e0c, time=4294967295) at thread/qwaitcondition_unix.cpp:159
#5  0x008f0ba2 in Gwenview::SemanticInfoThread::run (this=0x9069e00) at ../../../gwenview/lib/semanticinfo/nepomuksemanticinfobackend.cpp:132
#6  0x0035332e in QThreadPrivate::start (arg=0x9069e00) at thread/qthread_unix.cpp:248
#7  0x0024396e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#8  0x0075aa4e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 5 (Thread 0xb2590b70 (LWP 2127)):
#0  0x0021e422 in __kernel_vsyscall ()
#1  0x00248015 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0x007679dd in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3  0x00354287 in QWaitConditionPrivate::wait (this=0xb5708fe8, mutex=0xb5708fe4, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#4  QWaitCondition::wait (this=0xb5708fe8, mutex=0xb5708fe4, time=4294967295) at thread/qwaitcondition_unix.cpp:159
#5  0x008f0ba2 in Gwenview::SemanticInfoThread::run (this=0xb5708fd8) at ../../../gwenview/lib/semanticinfo/nepomuksemanticinfobackend.cpp:132
#6  0x0035332e in QThreadPrivate::start (arg=0xb5708fd8) at thread/qthread_unix.cpp:248
#7  0x0024396e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#8  0x0075aa4e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 4 (Thread 0xb1d8fb70 (LWP 2128)):
#0  0x0021e422 in __kernel_vsyscall ()
#1  0x00248015 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0x007679dd in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3  0x00354287 in QWaitConditionPrivate::wait (this=0x907c2d8, mutex=0x907c2d4, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#4  QWaitCondition::wait (this=0x907c2d8, mutex=0x907c2d4, time=4294967295) at thread/qwaitcondition_unix.cpp:159
#5  0x008f0ba2 in Gwenview::SemanticInfoThread::run (this=0x907c2c8) at ../../../gwenview/lib/semanticinfo/nepomuksemanticinfobackend.cpp:132
#6  0x0035332e in QThreadPrivate::start (arg=0x907c2c8) at thread/qthread_unix.cpp:248
#7  0x0024396e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#8  0x0075aa4e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 3 (Thread 0xb158eb70 (LWP 2129)):
#0  0x0021e422 in __kernel_vsyscall ()
#1  0x00248015 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0x007679dd in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3  0x00354287 in QWaitConditionPrivate::wait (this=0x90add10, mutex=0x90add0c, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#4  QWaitCondition::wait (this=0x90add10, mutex=0x90add0c, time=4294967295) at thread/qwaitcondition_unix.cpp:159
#5  0x008f0ba2 in Gwenview::SemanticInfoThread::run (this=0x90add00) at ../../../gwenview/lib/semanticinfo/nepomuksemanticinfobackend.cpp:132
#6  0x0035332e in QThreadPrivate::start (arg=0x90add00) at thread/qthread_unix.cpp:248
#7  0x0024396e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#8  0x0075aa4e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 2 (Thread 0xb054cb70 (LWP 2138)):
#0  0x0021e422 in __kernel_vsyscall ()
#1  0x00248015 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0x007679dd in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3  0x00354287 in QWaitConditionPrivate::wait (this=0x912ef34, mutex=0x912ef30, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#4  QWaitCondition::wait (this=0x912ef34, mutex=0x912ef30, time=4294967295) at thread/qwaitcondition_unix.cpp:159
#5  0x008d3b97 in Gwenview::ThumbnailThread::run (this=0x912eefc) at ../../../gwenview/lib/thumbnailloadjob.cpp:194
#6  0x0035332e in QThreadPrivate::start (arg=0x912eefc) at thread/qthread_unix.cpp:248
#7  0x0024396e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#8  0x0075aa4e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 1 (Thread 0xb7729aa0 (LWP 2120)):
[KCrash Handler]
#6  Gwenview::LoadingDocumentImpl::loadImage (this=0x0, invertedZoom=2) at ../../../gwenview/lib/document/loadingdocumentimpl.cpp:323
#7  0x0088fdd8 in Gwenview::DocumentPrivate::scheduleImageLoading (this=0x9127250, zoom=0.39175686927560366) at ../../../gwenview/lib/document/document.cpp:62
#8  Gwenview::Document::prepareDownSampledImageForZoom (this=0x9127250, zoom=0.39175686927560366) at ../../../gwenview/lib/document/document.cpp:364
#9  0x08090039 in Gwenview::Preloader::doPreload (this=0xb5706cc8) at ../../../gwenview/app/preloader.cpp:91
#10 0x080902f3 in Gwenview::Preloader::preload (this=0xb5706cc8, url=..., size=...) at ../../../gwenview/app/preloader.cpp:73
#11 0x080874d3 in Gwenview::MainWindow::preloadNextUrl (this=0x8d1aef0) at ../../../gwenview/app/mainwindow.cpp:1477
#12 0x0808b9b3 in Gwenview::MainWindow::qt_metacall (this=0x8d1aef0, _c=QMetaObject::InvokeMetaMethod, _id=81, _a=0xbf968a1c) at ./mainwindow.moc:168
#13 0x0045ac9a in QMetaObject::metacall (object=0x8d1aef0, cl=9474036, idx=81, argv=0xbf968a1c) at kernel/qmetaobject.cpp:237
#14 0x004693d5 in QMetaObject::activate (sender=0x9103c78, m=0x568188, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3293
#15 0x00470fe7 in QSingleShotTimer::timeout (this=0x9103c78) at .moc/release-shared/qtimer.moc:82
#16 0x004710fc in QSingleShotTimer::timerEvent (this=0x9103c78) at kernel/qtimer.cpp:308
#17 0x00466254 in QObject::event (this=0x9103c78, e=0x9127250) at kernel/qobject.cpp:1212
#18 0x013974dc in QApplicationPrivate::notify_helper (this=0x8c8b320, receiver=0x9103c78, e=0xbf968f50) at kernel/qapplication.cpp:4300
#19 0x0139e05e in QApplication::notify (this=0xbf9692b0, receiver=0x9103c78, e=0xbf968f50) at kernel/qapplication.cpp:3704
#20 0x0108af2a in KApplication::notify (this=0xbf9692b0, receiver=0x9103c78, event=0xbf968f50) at ../../kdeui/kernel/kapplication.cpp:302
#21 0x00455a3b in QCoreApplication::notifyInternal (this=0xbf9692b0, receiver=0x9103c78, event=0xbf968f50) at kernel/qcoreapplication.cpp:704
#22 0x00484d66 in QCoreApplication::sendEvent (this=0x8c8e0bc) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#23 QTimerInfoList::activateTimers (this=0x8c8e0bc) at kernel/qeventdispatcher_unix.cpp:603
#24 0x004818e4 in timerSourceDispatch (source=0x8c8e088) at kernel/qeventdispatcher_glib.cpp:184
#25 0x00dd95e5 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#26 0x00ddd2d8 in ?? () from /lib/libglib-2.0.so.0
#27 0x00ddd4b8 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#28 0x004815d5 in QEventDispatcherGlib::processEvents (this=0x8c766b0, flags=...) at kernel/qeventdispatcher_glib.cpp:412
#29 0x01457135 in QGuiEventDispatcherGlib::processEvents (this=0x8c766b0, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#30 0x00454059 in QEventLoop::processEvents (this=0xbf969214, flags=) at kernel/qeventloop.cpp:149
#31 0x004544aa in QEventLoop::exec (this=0xbf969214, flags=...) at kernel/qeventloop.cpp:201
#32 0x0045869f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#33 0x01397577 in QApplication::exec () at kernel/qapplication.cpp:3579
#34 0x08085618 in main (argc=5, argv=0xbf969434) at ../../../gwenview/app/main.cpp:101

Possible duplicates by query: bug 240371.

Reported using DrKonqi
Comment 1 Dario Andres 2010-12-27 13:13:20 UTC
[Comment from a bug triager]
This issue is now being tracked at bug 240371. Merging.

- Can you identify which TIFF file causes Gwenview to crash ?

Thanks

*** This bug has been marked as a duplicate of bug 240371 ***
Comment 2 photo.graef 2010-12-28 14:20:34 UTC
Am 27.12.2010 13:13, schrieb Dario Andres:
> https://bugs.kde.org/show_bug.cgi?id=261309
>
>
> Dario Andres<andresbajotierra@gmail.com>  changed:
>
>             What    |Removed                     |Added
> ----------------------------------------------------------------------------
>               Status|UNCONFIRMED                 |RESOLVED
>                   CC|                            |andresbajotierra@gmail.com
>           Resolution|                            |DUPLICATE
>
>
>
>
> --- Comment #1 from Dario Andres<andresbajotierra gmail com>   2010-12-27 13:13:20 ---
> [Comment from a bug triager]
> This issue is now being tracked at bug 240371. Merging.
>
> - Can you identify which TIFF file causes Gwenview to crash ?
>
> Thanks
>
> *** This bug has been marked as a duplicate of bug 240371 ***
>
Yes, if I want to open the folder, containing the corrupted tiff file 
Gwenview crashed. It was a tif file I just before opened with gimp. Now 
Gwenview open this folder properly, but the corrupted file is striped (?)

Kind regards Uli
Comment 3 Aurelien Gateau 2010-12-28 18:11:07 UTC
I am afraid I can't do anything without the faulty image :/