[Digikam-devel] [Bug 276770] New: ShowFoto crashes when changing the zoom factor of an image

Leonhard Landrock 1977-Hamlet at gmx.at
Wed Jun 29 20:51:01 BST 2011


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

           Summary: ShowFoto crashes when changing the zoom factor of an
                    image
           Product: showfoto
           Version: 1.2.0
          Platform: Debian stable
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: crash
          Priority: NOR
         Component: general
        AssignedTo: digikam-devel at kde.org
        ReportedBy: 1977-Hamlet at gmx.at


Application: showfoto (1.2.0)
KDE Platform Version: 4.4.5 (KDE 4.4.5)
Qt Version: 4.6.3
Operating System: Linux 2.6.32-5-amd64 x86_64
Distribution: Debian GNU/Linux 6.0.2 (squeeze)

-- Information about the crash:
I've open a panorama picture through digiKam in showFoto. The picture is of
type tiff an has a size of 409 MiB (429 136 546). Its dimensions are 48 344 x 3
877 (187,43 Mpx).

The picture is opened by showFoto without a problem. But when I try to change
it zoom factor showFoto crashes.

The crash can be reproduced every time.

 -- Backtrace:
Application: showFoto (showfoto), signal: Segmentation fault
The current source language is "auto; currently asm".
[Current thread is 1 (Thread 0x7fe2c4ba27c0 (LWP 10474))]

Thread 6 (Thread 0x7fe2ae015700 (LWP 10475)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fe2c1e6ce6b in QWaitConditionPrivate::wait (this=<value optimized
out>, mutex=0x201ce38, time=18446744073709551615) at
thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x201ce38,
time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007fe2c459fcc4 in Digikam::LoadSaveThread::run (this=0x201ce20) at
/home/mark/src/kde-extras/build-area/digikam-1.2.0/libs/threadimageio/loadsavethread.cpp:131
#4  0x00007fe2c1e6be15 in QThreadPrivate::start (arg=0x201ce20) at
thread/qthread_unix.cpp:248
#5  0x00007fe2bde218ba in start_thread (arg=<value optimized out>) at
pthread_create.c:300
#6  0x00007fe2c014802d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7fe2ad814700 (LWP 10476)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fe2c1e6ce6b in QWaitConditionPrivate::wait (this=<value optimized
out>, mutex=0x209dea8, time=18446744073709551615) at
thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x209dea8,
time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007fe2c459fcc4 in Digikam::LoadSaveThread::run (this=0x209de90) at
/home/mark/src/kde-extras/build-area/digikam-1.2.0/libs/threadimageio/loadsavethread.cpp:131
#4  0x00007fe2c1e6be15 in QThreadPrivate::start (arg=0x209de90) at
thread/qthread_unix.cpp:248
#5  0x00007fe2bde218ba in start_thread (arg=<value optimized out>) at
pthread_create.c:300
#6  0x00007fe2c014802d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7fe2a6f93700 (LWP 10477)):
#0  0x00007fe2c013d113 in *__GI___poll (fds=<value optimized out>, nfds=<value
optimized out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007fe2bc3c02c9 in ?? () from /lib/libglib-2.0.so.0
#2  0x00007fe2bc3c071c in g_main_context_iteration () from
/lib/libglib-2.0.so.0
#3  0x00007fe2c1f84706 in QEventDispatcherGlib::processEvents (this=0x2224ce0,
flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:414
#4  0x00007fe2c1f599c2 in QEventLoop::processEvents (this=<value optimized
out>, flags=) at kernel/qeventloop.cpp:149
#5  0x00007fe2c1f59d9c in QEventLoop::exec (this=0x7fe2a6f92d50, flags=) at
kernel/qeventloop.cpp:201
#6  0x00007fe2c1e6977b in QThread::exec (this=<value optimized out>) at
thread/qthread.cpp:487
#7  0x00007fe2ac5fd82d in ?? () from
/usr/lib/kde4/plugins/marble/GpsdPositionProviderPlugin.so
#8  0x00007fe2c1e6be15 in QThreadPrivate::start (arg=0x2207000) at
thread/qthread_unix.cpp:248
#9  0x00007fe2bde218ba in start_thread (arg=<value optimized out>) at
pthread_create.c:300
#10 0x00007fe2c014802d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7fe2a6792700 (LWP 10478)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fe2c1e6ce6b in QWaitConditionPrivate::wait (this=<value optimized
out>, mutex=0x22afae8, time=18446744073709551615) at
thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x22afae8,
time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007fe2c459fcc4 in Digikam::LoadSaveThread::run (this=0x22afad0) at
/home/mark/src/kde-extras/build-area/digikam-1.2.0/libs/threadimageio/loadsavethread.cpp:131
#4  0x00007fe2c1e6be15 in QThreadPrivate::start (arg=0x22afad0) at
thread/qthread_unix.cpp:248
#5  0x00007fe2bde218ba in start_thread (arg=<value optimized out>) at
pthread_create.c:300
#6  0x00007fe2c014802d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()
The current source language is "auto; currently c".

Thread 2 (Thread 0x7fe29effd700 (LWP 10485)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fe2c1e6ce6b in QWaitConditionPrivate::wait (this=<value optimized
out>, mutex=0x23a5098, time=18446744073709551615) at
thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x23a5098,
time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007fe2c459fcc4 in Digikam::LoadSaveThread::run (this=0x23a5080) at
/home/mark/src/kde-extras/build-area/digikam-1.2.0/libs/threadimageio/loadsavethread.cpp:131
#4  0x00007fe2c1e6be15 in QThreadPrivate::start (arg=0x23a5080) at
thread/qthread_unix.cpp:248
#5  0x00007fe2bde218ba in start_thread (arg=<value optimized out>) at
pthread_create.c:300
#6  0x00007fe2c014802d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()
The current source language is "auto; currently asm".

Thread 1 (Thread 0x7fe2c4ba27c0 (LWP 10474)):
[KCrash Handler]
#5  Digikam::DImgScale::dimgScaleAARGBA (isi=<value optimized out>, dest=0x4f,
dxx=<value optimized out>, dyy=<value optimized out>, dx=911, dy=<value
optimized out>, dw=128, dh=128, 
    dow=<value optimized out>, sow=<value optimized out>) at
/home/mark/src/kde-extras/build-area/digikam-1.2.0/libs/dimg/dimgscale.cpp:817
#6  0x00007fe2c446f1e9 in Digikam::DImg::smoothScaleSection (this=<value
optimized out>, sx=0, sy=0, sw=153, sh=<value optimized out>, dw=128, dh=128)
    at
/home/mark/src/kde-extras/build-area/digikam-1.2.0/libs/dimg/dimgscale.cpp:251
#7  0x00007fe2c46c17b3 in Digikam::DImgInterface::paintOnDevice
(this=0x20a3dc0, p=0x38b6020, sx=0, sy=0, sw=<value optimized out>, sh=<value
optimized out>, dx=0, dy=0, dw=128, dh=128)
    at
/home/mark/src/kde-extras/build-area/digikam-1.2.0/utilities/imageeditor/canvas/dimginterface.cpp:704
#8  0x00007fe2c46cd92b in Digikam::Canvas::paintViewport (this=0x20a20f0,
er=<value optimized out>, antialias=<value optimized out>)
    at
/home/mark/src/kde-extras/build-area/digikam-1.2.0/utilities/imageeditor/canvas/canvas.cpp:647
#9  0x00007fe2c46ce0f7 in Digikam::Canvas::viewportPaintEvent (this=0x20a20f0,
e=<value optimized out>)
    at
/home/mark/src/kde-extras/build-area/digikam-1.2.0/utilities/imageeditor/canvas/canvas.cpp:540
#10 0x00007fe2c33ba8f8 in Q3ScrollView::eventFilter (this=0x20a20f0,
obj=0x209f640, e=0x7fff0511e460) at widgets/q3scrollview.cpp:1465
#11 0x00007fe2c1f5a4b7 in
QCoreApplicationPrivate::sendThroughObjectEventFilters (this=<value optimized
out>, receiver=0x209f640, event=0x7fff0511e460) at
kernel/qcoreapplication.cpp:841
#12 0x00007fe2c0d7e2fc in QApplicationPrivate::notify_helper (this=0x1d19670,
receiver=0x209f640, e=0x7fff0511e460) at kernel/qapplication.cpp:4298
#13 0x00007fe2c0d8480b in QApplication::notify (this=0x7fff05120a60,
receiver=0x209f640, e=0x7fff0511e460) at kernel/qapplication.cpp:4185
#14 0x00007fe2c2e17796 in KApplication::notify (this=0x7fff05120a60,
receiver=0x209f640, event=0x7fff0511e460) at
../../kdeui/kernel/kapplication.cpp:302
#15 0x00007fe2c1f5b09c in QCoreApplication::notifyInternal
(this=0x7fff05120a60, receiver=0x209f640, event=0x7fff0511e460) at
kernel/qcoreapplication.cpp:726
#16 0x00007fe2c0ddc80d in QCoreApplication::sendSpontaneousEvent
(this=0x20a2910, pdev=<value optimized out>, rgn=..., offset=<value optimized
out>, flags=<value optimized out>, sharedPainter=0x0, 
    backingStore=0x1eae410) at
../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#17 QWidgetPrivate::drawWidget (this=0x20a2910, pdev=<value optimized out>,
rgn=..., offset=<value optimized out>, flags=<value optimized out>,
sharedPainter=0x0, backingStore=0x1eae410)
    at kernel/qwidget.cpp:5363
#18 0x00007fe2c0f969a6 in QWidgetBackingStore::sync (this=0x1eae410) at
painting/qbackingstore.cpp:1292
#19 0x00007fe2c0dce170 in QWidgetPrivate::syncBackingStore (this=0x1e2c0a0) at
kernel/qwidget.cpp:1688
#20 0x00007fe2c0dd4915 in QWidget::event (this=0x1e2a650, event=0x7fff0511f2f0)
at kernel/qwidget.cpp:8337
#21 0x00007fe2c11970fb in QMainWindow::event (this=0x1e2a650,
event=0x7fff0511f2f0) at widgets/qmainwindow.cpp:1414
#22 0x00007fe2c2f2e2d3 in KXmlGuiWindow::event (this=0x53, ev=0x4f) at
../../kdeui/xmlgui/kxmlguiwindow.cpp:131
#23 0x00007fe2c0d7e32c in QApplicationPrivate::notify_helper (this=0x1d19670,
receiver=0x1e2a650, e=0x7fff0511f2f0) at kernel/qapplication.cpp:4302
#24 0x00007fe2c0d8480b in QApplication::notify (this=0x7fff05120a60,
receiver=0x1e2a650, e=0x7fff0511f2f0) at kernel/qapplication.cpp:4185
#25 0x00007fe2c2e17796 in KApplication::notify (this=0x7fff05120a60,
receiver=0x1e2a650, event=0x7fff0511f2f0) at
../../kdeui/kernel/kapplication.cpp:302
#26 0x00007fe2c1f5b09c in QCoreApplication::notifyInternal
(this=0x7fff05120a60, receiver=0x1e2a650, event=0x7fff0511f2f0) at
kernel/qcoreapplication.cpp:726
#27 0x00007fe2c0f93d57 in QCoreApplication::sendEvent (widget=0x1e2a650,
updateImmediately=<value optimized out>) at
../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#28 sendUpdateRequest (widget=0x1e2a650, updateImmediately=<value optimized
out>) at painting/qbackingstore.cpp:507
#29 0x00007fe2c0f97206 in QWidgetBackingStore::markDirty (this=0x1eae410,
rect=..., widget=0x2410b60, updateImmediately=true, invalidateBuffer=6) at
painting/qbackingstore.cpp:671
#30 0x00007fe2c0dd052b in QWidget::repaint (this=0x2410b60, rect=...) at
kernel/qwidget.cpp:10080
#31 0x00007fe2c0dd05f3 in QWidget::repaint (this=0x53) at
kernel/qwidget.cpp:10036
#32 0x00007fe2c1134658 in QAbstractButtonPrivate::click (this=0x2411240) at
widgets/qabstractbutton.cpp:534
#33 0x00007fe2c11348ec in QAbstractButton::mouseReleaseEvent (this=0x2410b60,
e=0x7fff0511ff30) at widgets/qabstractbutton.cpp:1121
#34 0x00007fe2c1200eda in QToolButton::mouseReleaseEvent (this=0x53, e=0x4f) at
widgets/qtoolbutton.cpp:721
#35 0x00007fe2c0dd4632 in QWidget::event (this=0x2410b60, event=0x7fff0511ff30)
at kernel/qwidget.cpp:8044
#36 0x00007fe2c0d7e32c in QApplicationPrivate::notify_helper (this=0x1d19670,
receiver=0x2410b60, e=0x7fff0511ff30) at kernel/qapplication.cpp:4302
#37 0x00007fe2c0d84fdb in QApplication::notify (this=0x7fff05120a60,
receiver=0x2410b60, e=0x7fff0511ff30) at kernel/qapplication.cpp:3867
#38 0x00007fe2c2e17796 in KApplication::notify (this=0x7fff05120a60,
receiver=0x2410b60, event=0x7fff0511ff30) at
../../kdeui/kernel/kapplication.cpp:302
#39 0x00007fe2c1f5b09c in QCoreApplication::notifyInternal
(this=0x7fff05120a60, receiver=0x2410b60, event=0x7fff0511ff30) at
kernel/qcoreapplication.cpp:726
#40 0x00007fe2c0d841be in QCoreApplication::sendEvent (receiver=0x2410b60,
event=0x7fff0511ff30, alienWidget=0x2410b60, nativeWidget=0x22cbf20,
buttonDown=<value optimized out>, 
    lastMouseReceiver=<value optimized out>, spontaneous=true) at
../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#41 QApplicationPrivate::sendMouseEvent (receiver=0x2410b60,
event=0x7fff0511ff30, alienWidget=0x2410b60, nativeWidget=0x22cbf20,
buttonDown=<value optimized out>, 
    lastMouseReceiver=<value optimized out>, spontaneous=true) at
kernel/qapplication.cpp:2967
#42 0x00007fe2c0e0407b in QETWidget::translateMouseEvent (this=0x22cbf20,
event=<value optimized out>) at kernel/qapplication_x11.cpp:4380
#43 0x00007fe2c0e029dc in QApplication::x11ProcessEvent (this=<value optimized
out>, event=0x7fff051206b0) at kernel/qapplication_x11.cpp:3513
#44 0x00007fe2c0e2e5a2 in x11EventSourceDispatch (s=0x1d1d350, callback=<value
optimized out>, user_data=<value optimized out>) at
kernel/qguieventdispatcher_glib.cpp:146
#45 0x00007fe2bc3bc6f2 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#46 0x00007fe2bc3c0568 in ?? () from /lib/libglib-2.0.so.0
#47 0x00007fe2bc3c071c in g_main_context_iteration () from
/lib/libglib-2.0.so.0
#48 0x00007fe2c1f846b3 in QEventDispatcherGlib::processEvents (this=0x1ce05d0,
flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#49 0x00007fe2c0e2e19e in QGuiEventDispatcherGlib::processEvents (this=0x53,
flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#50 0x00007fe2c1f599c2 in QEventLoop::processEvents (this=<value optimized
out>, flags=) at kernel/qeventloop.cpp:149
#51 0x00007fe2c1f59d9c in QEventLoop::exec (this=0x7fff051209d0, flags=) at
kernel/qeventloop.cpp:201
#52 0x00007fe2c1f5ea2b in QCoreApplication::exec () at
kernel/qcoreapplication.cpp:1003
#53 0x0000000000437a63 in main (argc=<value optimized out>, argv=<value
optimized out>) at
/home/mark/src/kde-extras/build-area/digikam-1.2.0/showfoto/main.cpp:87

Reported using DrKonqi

-- 
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