[Digikam-devel] [Bug 207710] Crash while loading large file (Digikam::DImgScale::dimgScaleAARGB, Digikam::DImg::smoothScaleSection, Digikam::DImgInterface::paintOnDevice)

E. Kastelijn kde2 at kastelijn.nu
Fri Oct 23 05:48:52 BST 2009


https://bugs.kde.org/show_bug.cgi?id=207710





--- Comment #3 from E. Kastelijn <kde2 kastelijn nu>  2009-10-23 06:48:50 ---
Hi Marcel,

Thank you for looking at this problem.

To answer your question: Yes, I am able to reproduce my problem.
I only need to load a certain (stitched) photo to reproduce the crash.
This is the photo I used:
http://www.kastelijn.nu/egon/groothoek.jpg

If you want to know what the photo looks like: GwenView is able to read and
display the file.

kind regards,

   Egon

Here is my trace:
=============================================================
Application: showFoto (showfoto), signal: Segmentation fault
[Current thread is 1 (Thread 0xb7fcd780 (LWP 3303))]

Thread 5 (Thread 0xb6905b70 (LWP 3304)):
#0  0x00332422 in __kernel_vsyscall ()
#1  0x002defa5 in pthread_cond_wait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S:122
#2  0x04e53337 in QWaitConditionPrivate::wait (time=<value optimized out>,
this=<value optimized out>) at thread/qwaitcondition_unix.cpp:87
#3  QWaitCondition::wait (time=<value optimized out>, this=<value optimized
out>) at thread/qwaitcondition_unix.cpp:159
#4  0x06da8dea in Digikam::LoadSaveThread::run (this=0x944aac0) at
/usr/src/debug/digikam-0.10.0/libs/threadimageio/loadsavethread.cpp:131
#5  0x04e522f2 in QThreadPrivate::start (arg=0x944aac0) at
thread/qthread_unix.cpp:188
#6  0x002da935 in start_thread (arg=0xb6905b70) at pthread_create.c:297
#7  0x0020f94e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 4 (Thread 0xb5dffb70 (LWP 3305)):
#0  0x00332422 in __kernel_vsyscall ()
#1  0x002defa5 in pthread_cond_wait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S:122
#2  0x04e53337 in QWaitConditionPrivate::wait (time=<value optimized out>,
this=<value optimized out>) at thread/qwaitcondition_unix.cpp:87
#3  QWaitCondition::wait (time=<value optimized out>, this=<value optimized
out>) at thread/qwaitcondition_unix.cpp:159
#4  0x06da8dea in Digikam::LoadSaveThread::run (this=0x9370040) at
/usr/src/debug/digikam-0.10.0/libs/threadimageio/loadsavethread.cpp:131
#5  0x04e522f2 in QThreadPrivate::start (arg=0x9370040) at
thread/qthread_unix.cpp:188
#6  0x002da935 in start_thread (arg=0xb5dffb70) at pthread_create.c:297
#7  0x0020f94e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 3 (Thread 0xb51ffb70 (LWP 3306)):
#0  0x00332422 in __kernel_vsyscall ()
#1  0x002defa5 in pthread_cond_wait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S:122
#2  0x04e53337 in QWaitConditionPrivate::wait (time=<value optimized out>,
this=<value optimized out>) at thread/qwaitcondition_unix.cpp:87
#3  QWaitCondition::wait (time=<value optimized out>, this=<value optimized
out>) at thread/qwaitcondition_unix.cpp:159
#4  0x06da8dea in Digikam::LoadSaveThread::run (this=0x939f450) at
/usr/src/debug/digikam-0.10.0/libs/threadimageio/loadsavethread.cpp:131
#5  0x04e522f2 in QThreadPrivate::start (arg=0x939f450) at
thread/qthread_unix.cpp:188
#6  0x002da935 in start_thread (arg=0xb51ffb70) at pthread_create.c:297
#7  0x0020f94e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 2 (Thread 0xb45ffb70 (LWP 3316)):
#0  0x0030af86 in *__GI_clock_gettime (clock_id=3207156, tp=0xb45fef58) at
../sysdeps/unix/clock_gettime.c:100
#1  0x04f6f1b3 in QTimerInfoList::getTime (this=0x996c4ec, t=@0x996c510) at
kernel/qeventdispatcher_unix.cpp:339
#2  0x04f6f3a1 in QTimerInfoList::updateCurrentTime (this=0x996c4ec) at
kernel/qeventdispatcher_unix.cpp:297
#3  0x04f6fe2c in QTimerInfoList::timerWait (this=0x996c4ec, tm=@0xb45fefe4) at
kernel/qeventdispatcher_unix.cpp:420
#4  0x04f6d7d0 in timerSourcePrepare (source=0x996c4b8, timeout=0xb45ff04c) at
kernel/qeventdispatcher_glib.cpp:141
#5  0x04c47240 in IA__g_main_context_prepare (context=0x9967e68,
priority=0xb45ff0cc) at gmain.c:2144
#6  0x04c47601 in g_main_context_iterate (context=0x9967e68, block=<value
optimized out>, dispatch=1, self=0x99558f0) at gmain.c:2435
#7  0x04c47b13 in IA__g_main_context_iteration (context=0x9967e68, may_block=1)
at gmain.c:2518
#8  0x04f6d627 in QEventDispatcherGlib::processEvents (this=0x96cfa20, flags={i
= 36}) at kernel/qeventdispatcher_glib.cpp:329
#9  0x04f410d9 in QEventLoop::processEvents (this=0xb45ff214, flags={i = 36})
at kernel/qeventloop.cpp:149
#10 0x04f4152a in QEventLoop::exec (this=0xb45ff214, flags={i = 0}) at
kernel/qeventloop.cpp:201
#11 0x04e4eff3 in QThread::exec (this=0x99678f8) at thread/qthread.cpp:487
#12 0x00b78cdc in Marble::GpsdThread::run (this=0x99678f8) at
/usr/src/debug/kdeedu-4.3.1/marble/src/plugins/positionprovider/gpsd/GpsdThread.cpp:27
#13 0x04e522f2 in QThreadPrivate::start (arg=0x99678f8) at
thread/qthread_unix.cpp:188
#14 0x002da935 in start_thread (arg=0xb45ffb70) at pthread_create.c:297
#15 0x0020f94e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 1 (Thread 0xb7fcd780 (LWP 3303)):
[KCrash Handler]
#6  Digikam::DImgScale::dimgScaleAARGB (isi=0x9be5550, dest=0xa495d98, dxx=0,
dyy=0, dx=0, dy=0, dw=128, dh=31, dow=128, sow=48273) at
/usr/src/debug/digikam-0.10.0/libs/dimg/dimgscale.cpp:1212
#7  0x06d1640e in Digikam::DImg::smoothScaleSection (this=0x943b474, sx=0,
sy=0, sw=8108, sh=8108, dw=128, dh=31) at
/usr/src/debug/digikam-0.10.0/libs/dimg/dimgscale.cpp:261
#8  0x06e8a5c3 in Digikam::DImgInterface::paintOnDevice (this=0x943b420,
p=0xa373660, sx=0, sy=0, sw=8108, sh=8108, dx=0, dy=0, dw=128, dh=128)
    at
/usr/src/debug/digikam-0.10.0/utilities/imageeditor/canvas/dimginterface.cpp:837
#9  0x06e9428f in Digikam::Canvas::paintViewport (this=0x931f7c0,
er=@0xbfa470d0, antialias=<value optimized out>) at
/usr/src/debug/digikam-0.10.0/utilities/imageeditor/canvas/canvas.cpp:595
#10 0x06e94a99 in Digikam::Canvas::viewportPaintEvent (this=0x931f7c0,
e=0xbfa47504) at
/usr/src/debug/digikam-0.10.0/utilities/imageeditor/canvas/canvas.cpp:491
#11 0x044e6772 in Q3ScrollView::eventFilter(QObject*, QEvent*) () from
/usr/lib/libQt3Support.so.4
#12 0x04f41c9a in QCoreApplicationPrivate::sendThroughObjectEventFilters
(this=0x923d3a8, receiver=0x944ce70, event=0xbfa47504) at
kernel/qcoreapplication.cpp:726
#13 0x0554994c in QApplicationPrivate::notify_helper (this=0x923d3a8,
receiver=0x944ce70, e=0xbfa47504) at kernel/qapplication.cpp:4052
#14 0x0555103a in QApplication::notify (this=0xbfa48128, receiver=0x944ce70,
e=0xbfa47504) at kernel/qapplication.cpp:4021
#15 0x02dc760a in KApplication::notify (this=0xbfa48128, receiver=0x944ce70,
event=0xbfa47504) at
/usr/src/debug/kdelibs-4.3.1/kdeui/kernel/kapplication.cpp:302
#16 0x04f42b0b in QCoreApplication::notifyInternal (this=0xbfa48128,
receiver=0x944ce70, event=0xbfa47504) at kernel/qcoreapplication.cpp:610
#17 0x055a69cd in QCoreApplication::sendSpontaneousEvent (event=<value
optimized out>, receiver=<value optimized out>) at
../../src/corelib/kernel/qcoreapplication.h:216
#18 QWidgetPrivate::drawWidget (event=<value optimized out>, receiver=<value
optimized out>) at kernel/qwidget.cpp:5079
#19 0x057335a3 in QWidgetBackingStore::sync (this=0x9285b50) at
painting/qbackingstore.cpp:1261
#20 0x05597c26 in QWidgetPrivate::syncBackingStore (this=0x9298d08) at
kernel/qwidget.cpp:1603
#21 0x0559ed9d in QWidget::event (this=0x9286370, event=0x9bf6f98) at
kernel/qwidget.cpp:7827
#22 0x0596a127 in QMainWindow::event (this=0x9286370, event=0x9bf6f98) at
widgets/qmainwindow.cpp:1399
#23 0x02ead4bc in KMainWindow::event (this=0x9286370, ev=0x9bf6f98) at
/usr/src/debug/kdelibs-4.3.1/kdeui/widgets/kmainwindow.cpp:1094
#24 0x02ef3d1f in KXmlGuiWindow::event (this=0x9286370, ev=0x9bf6f98) at
/usr/src/debug/kdelibs-4.3.1/kdeui/xmlgui/kxmlguiwindow.cpp:131
#25 0x05549974 in QApplicationPrivate::notify_helper (this=0x923d3a8,
receiver=0x9286370, e=0x9bf6f98) at kernel/qapplication.cpp:4056
#26 0x0555103a in QApplication::notify (this=0xbfa48128, receiver=0x9286370,
e=0x9bf6f98) at kernel/qapplication.cpp:4021
#27 0x02dc760a in KApplication::notify (this=0xbfa48128, receiver=0x9286370,
event=0x9bf6f98) at
/usr/src/debug/kdelibs-4.3.1/kdeui/kernel/kapplication.cpp:302
#28 0x04f42b0b in QCoreApplication::notifyInternal (this=0xbfa48128,
receiver=0x9286370, event=0x9bf6f98) at kernel/qcoreapplication.cpp:610
#29 0x04f43732 in QCoreApplication::sendEvent (event=<value optimized out>,
receiver=<value optimized out>) at kernel/qcoreapplication.h:213
#30 QCoreApplicationPrivate::sendPostedEvents (event=<value optimized out>,
receiver=<value optimized out>) at kernel/qcoreapplication.cpp:1247
#31 0x04f438ed in QCoreApplication::sendPostedEvents (receiver=0x0,
event_type=0) at kernel/qcoreapplication.cpp:1140
#32 0x04f6d9bf in QCoreApplication::sendPostedEvents () at
kernel/qcoreapplication.h:218
#33 postEventSourceDispatch () at kernel/qeventdispatcher_glib.cpp:210
#34 0x04c44308 in g_main_dispatch (context=<value optimized out>) at
gmain.c:1824
#35 IA__g_main_context_dispatch (context=<value optimized out>) at gmain.c:2377
#36 0x04c479e0 in g_main_context_iterate (context=0x923f6f8, block=<value
optimized out>, dispatch=1, self=0x923d5f0) at gmain.c:2455
#37 0x04c47b13 in IA__g_main_context_iteration (context=0x923f6f8, may_block=1)
at gmain.c:2518
#38 0x04f6d5ec in QEventDispatcherGlib::processEvents (this=0x9218dd0, flags={i
= 36}) at kernel/qeventdispatcher_glib.cpp:327
#39 0x055e8cb5 in QGuiEventDispatcherGlib::processEvents (this=0x9218dd0,
flags={i = 36}) at kernel/qguieventdispatcher_glib.cpp:202
#40 0x04f410d9 in QEventLoop::processEvents (this=0xbfa48094, flags={i = 36})
at kernel/qeventloop.cpp:149
#41 0x04f4152a in QEventLoop::exec (this=0xbfa48094, flags={i = 0}) at
kernel/qeventloop.cpp:201
#42 0x04f439af in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#43 0x055497f7 in QApplication::exec () at kernel/qapplication.cpp:3525
#44 0x08075ae9 in main (argc=2, argv=0xbfa48424) at
/usr/src/debug/digikam-0.10.0/showfoto/main.cpp:87

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Digikam-devel mailing list