Bug 240371 - Gwenview crashes when showing/browsing TIFF files [Gwenview::LoadingDocumentImpl::loadImage, Gwenview::DocumentPrivate::scheduleImageLoading, Gwenview::Document::prepareDownSampledImageForZoom]
Summary: Gwenview crashes when showing/browsing TIFF files [Gwenview::LoadingDocumentI...
Status: RESOLVED INTENTIONAL
Alias: None
Product: gwenview
Classification: Applications
Component: general (other bugs)
Version First Reported In: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Gwenview Bugs
URL:
Keywords:
: 261309 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-06-01 18:51 UTC by mozg
Modified: 2013-06-12 16:01 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description mozg 2010-06-01 18:51:31 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-22-generic i686
Distribution: Ubuntu 10.04 LTS

-- Information about the crash:
i browsing directory with tif images it shows it's not images.. when i try to open it but programm shows error message (loading image error). when i try to open next few images it's crashes.

The crash can be reproduced some of the time.

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

Thread 3 (Thread 0xb6114b70 (LWP 2415)):
#0  0x0071f422 in __kernel_vsyscall ()
#1  0x006c7015 in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:122
#2  0x045d09dd in __pthread_cond_wait (cond=0x9318de8, mutex=0x9318dd0) at forward.c:139
#3  0x00d68287 in QWaitConditionPrivate::wait (this=0x9307bd8, mutex=0x9307bd4, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#4  QWaitCondition::wait (this=0x9307bd8, mutex=0x9307bd4, time=4294967295) at thread/qwaitcondition_unix.cpp:159
#5  0x0084dba2 in Gwenview::SemanticInfoThread::run (this=0x9307bc8) at ../../../gwenview/lib/semanticinfo/nepomuksemanticinfobackend.cpp:132
#6  0x00d6732e in QThreadPrivate::start (arg=0x9307bc8) at thread/qthread_unix.cpp:248
#7  0x006c296e in start_thread (arg=0xb6114b70) at pthread_create.c:300
#8  0x045c3a4e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 2 (Thread 0xb5628b70 (LWP 2416)):
#0  0x0071f422 in __kernel_vsyscall ()
#1  0x006c7342 in pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_timedwait.S:179
#2  0x045d0a34 in __pthread_cond_timedwait (cond=0x9579be8, mutex=0x9579bd0, abstime=0xb56282a0) at forward.c:152
#3  0x00d6820f in QWaitConditionPrivate::wait (this=0x9581984, mutex=0x9581980, time=30000) at thread/qwaitcondition_unix.cpp:85
#4  QWaitCondition::wait (this=0x9581984, mutex=0x9581980, time=30000) at thread/qwaitcondition_unix.cpp:159
#5  0x00d5c2eb in QThreadPoolThread::run (this=0x9579670) at concurrent/qthreadpool.cpp:140
#6  0x00d6732e in QThreadPrivate::start (arg=0x9579670) at thread/qthread_unix.cpp:248
#7  0x006c296e in start_thread (arg=0xb5628b70) at pthread_create.c:300
#8  0x045c3a4e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 1 (Thread 0xb77bcaa0 (LWP 2414)):
[KCrash Handler]
#6  Gwenview::LoadingDocumentImpl::loadImage (this=0x0, invertedZoom=2) at ../../../gwenview/lib/document/loadingdocumentimpl.cpp:323
#7  0x007ecdd8 in Gwenview::DocumentPrivate::scheduleImageLoading (this=0x9774168, zoom=0.27854812398042417) at ../../../gwenview/lib/document/document.cpp:62
#8  Gwenview::Document::prepareDownSampledImageForZoom (this=0x9774168, zoom=0.27854812398042417) at ../../../gwenview/lib/document/document.cpp:364
#9  0x08090039 in Gwenview::Preloader::doPreload (this=0x92e3c08) at ../../../gwenview/app/preloader.cpp:91
#10 0x080902f3 in Gwenview::Preloader::preload (this=0x92e3c08, url=..., size=...) at ../../../gwenview/app/preloader.cpp:73
#11 0x080874d3 in Gwenview::MainWindow::preloadNextUrl (this=0x92f9180) at ../../../gwenview/app/mainwindow.cpp:1477
#12 0x0808b9b3 in Gwenview::MainWindow::qt_metacall (this=0x92f9180, _c=QMetaObject::InvokeMetaMethod, _id=81, _a=0xbf95196c) at ./mainwindow.moc:168
#13 0x00e6ec9a in QMetaObject::metacall (object=0x92f9180, cl=8806388, idx=81, argv=0xbf95196c) at kernel/qmetaobject.cpp:237
#14 0x00e7d3d5 in QMetaObject::activate (sender=0x96a4378, m=0xf7c188, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3293
#15 0x00e84fe7 in QSingleShotTimer::timeout (this=0x96a4378) at .moc/release-shared/qtimer.moc:82
#16 0x00e850fc in QSingleShotTimer::timerEvent (this=0x96a4378) at kernel/qtimer.cpp:308
#17 0x00e7a254 in QObject::event (this=0x96a4378, e=0x9774168) at kernel/qobject.cpp:1212
#18 0x010b44dc in QApplicationPrivate::notify_helper (this=0x9250980, receiver=0x96a4378, e=0xbf951ea0) at kernel/qapplication.cpp:4300
#19 0x010bb05e in QApplication::notify (this=0xbf952200, receiver=0x96a4378, e=0xbf951ea0) at kernel/qapplication.cpp:3704
#20 0x00a47f2a in KApplication::notify (this=0xbf952200, receiver=0x96a4378, event=0xbf951ea0) at ../../kdeui/kernel/kapplication.cpp:302
#21 0x00e69a3b in QCoreApplication::notifyInternal (this=0xbf952200, receiver=0x96a4378, event=0xbf951ea0) at kernel/qcoreapplication.cpp:704
#22 0x00e98d66 in QCoreApplication::sendEvent (this=0x9253b34) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#23 QTimerInfoList::activateTimers (this=0x9253b34) at kernel/qeventdispatcher_unix.cpp:603
#24 0x00e95917 in timerSourceDispatch (source=0x9253b68) at kernel/qeventdispatcher_glib.cpp:184
#25 idleTimerSourceDispatch (source=0x9253b68) at kernel/qeventdispatcher_glib.cpp:231
#26 0x05c395e5 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#27 0x05c3d2d8 in ?? () from /lib/libglib-2.0.so.0
#28 0x05c3d4b8 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#29 0x00e955d5 in QEventDispatcherGlib::processEvents (this=0x923bbd0, flags=...) at kernel/qeventdispatcher_glib.cpp:412
#30 0x01174135 in QGuiEventDispatcherGlib::processEvents (this=0x923bbd0, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#31 0x00e68059 in QEventLoop::processEvents (this=0xbf952164, flags=) at kernel/qeventloop.cpp:149
#32 0x00e684aa in QEventLoop::exec (this=0xbf952164, flags=...) at kernel/qeventloop.cpp:201
#33 0x00e6c69f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#34 0x010b4577 in QApplication::exec () at kernel/qapplication.cpp:3579
#35 0x08085618 in main (argc=6, argv=0xbf952384) at ../../../gwenview/app/main.cpp:101

Reported using DrKonqi
Comment 1 Dario Andres 2010-12-27 13:13:20 UTC
*** Bug 261309 has been marked as a duplicate of this bug. ***
Comment 2 Aurelien Gateau 2010-12-28 00:18:41 UTC
Thanks for your report. Can you attach an image which causes the crash?
Comment 3 mozg 2010-12-28 12:19:55 UTC
2010/12/28 Aurelien Gateau <agateau@kde.org>

> https://bugs.kde.org/show_bug.cgi?id=240371
>
> --- Comment #2 from Aurelien Gateau <agateau kde org>  2010-12-28 00:18:41
> ---
> Thanks for your report. Can you attach an image which causes the crash?
>
> Sorry, i cant (((. It was deleted. I can say you that files was corrupted
or something like it.. GIMP fixes it after resaving. After gimp proccessing
it works correctly. So i think first of all trouble in file corruptions..
Comment 4 Aurelien Gateau 2010-12-28 18:11:38 UTC
I am afraid I can't do anything without the faulty image :/
Comment 5 mozg 2010-12-29 00:44:51 UTC
>
> --- Comment #4 from Aurelien Gateau <agateau kde org>  2010-12-28 18:11:38
> ---
> I am afraid I can't do anything without the faulty image :/
>

I will send it if i get it (too low chances). Thanks a lot for support :)
Comment 6 Benni Hill 2013-06-12 16:01:35 UTC
Closing, due to no response.