[Digikam-devel] [Bug 285849] New: digikam crashes when resizing the crop area

Rudolf Leitgeb Rudolf.Leitgeb at gmx.at
Sat Nov 5 19:16:27 GMT 2011


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

           Summary: digikam crashes when resizing the crop area
           Product: digikam
           Version: 2.1.1
          Platform: Ubuntu Packages
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: crash
          Priority: NOR
         Component: general
        AssignedTo: digikam-devel at kde.org
        ReportedBy: Rudolf.Leitgeb at gmx.at


Application: digikam (2.1.1)
KDE Platform Version: 4.7.2 (4.7.2)
Qt Version: 4.7.4
Operating System: Linux 3.0.0-12-generic x86_64
Distribution: Ubuntu 11.10

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

1. pick image in digikam, hit F4 for editing
2. draw rectangle within image area for cropping
3. resize crop area by moving its vertical and/or horizontal boundary lines
with the mouse

It is hard to reproduce and (fortunatelyfor me as user) happens only
occasionally, but it's certainly annoying.

The crash can be reproduced some of the time.

-- Backtrace:
Application: digiKam (digikam), signal: Segmentation fault
[Current thread is 1 (Thread 0x7f54c0eaaa20 (LWP 24496))]

Thread 5 (Thread 0x7f549ff6e700 (LWP 24497)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f54bb8271ab in wait (time=18446744073709551615, this=0x17d1be0) at
thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x17dd528,
time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00000000005c2e20 in Digikam::ScanController::run (this=0x18472e0) at
/build/buildd/digikam-2.1.1/core/digikam/database/scancontroller.cpp:647
#4  0x00007f54bb826d05 in QThreadPrivate::start (arg=0x18472e0) at
thread/qthread_unix.cpp:331
#5  0x00007f54b6564efc in start_thread (arg=0x7f549ff6e700) at
pthread_create.c:304
#6  0x00007f54baac989d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f549f76d700 (LWP 24498)):
#0  0x00007f54baabd773 in __GI___poll (fds=<optimized out>, nfds=<optimized
out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f54b4641f68 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f54b4642429 in g_main_context_iteration () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f54bb938f3e in QEventDispatcherGlib::processEvents (this=0x18288b0,
flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#4  0x00007f54bb90ccf2 in QEventLoop::processEvents (this=<optimized out>,
flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f54bb90cef7 in QEventLoop::exec (this=0x7f549f76cb30, flags=...) at
kernel/qeventloop.cpp:201
#6  0x00007f54bb82427f in QThread::exec (this=<optimized out>) at
thread/qthread.cpp:498
#7  0x00007f54bb8efcbf in QInotifyFileSystemWatcherEngine::run (this=0x183e830)
at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007f54bb826d05 in QThreadPrivate::start (arg=0x183e830) at
thread/qthread_unix.cpp:331
#9  0x00007f54b6564efc in start_thread (arg=0x7f549f76d700) at
pthread_create.c:304
#10 0x00007f54baac989d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f549ef6c700 (LWP 24507)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f54bb8271ab in wait (time=18446744073709551615, this=0x20dc290) at
thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x20dbe18,
time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00007f54be76b737 in Digikam::ParkingThread::run (this=0x20dbe00) at
/build/buildd/digikam-2.1.1/core/libs/threads/threadmanager.cpp:119
#4  0x00007f54bb826d05 in QThreadPrivate::start (arg=0x20dbe00) at
thread/qthread_unix.cpp:331
#5  0x00007f54b6564efc in start_thread (arg=0x7f549ef6c700) at
pthread_create.c:304
#6  0x00007f54baac989d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f5497fff700 (LWP 24508)):
#0  0x00007f54baabd773 in __GI___poll (fds=<optimized out>, nfds=<optimized
out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f54b4641f68 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f54b4642429 in g_main_context_iteration () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f54bb938f3e in QEventDispatcherGlib::processEvents (this=0x2266570,
flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#4  0x00007f54bb90ccf2 in QEventLoop::processEvents (this=<optimized out>,
flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f54bb90cef7 in QEventLoop::exec (this=0x7f5497ffeb30, flags=...) at
kernel/qeventloop.cpp:201
#6  0x00007f54bb82427f in QThread::exec (this=<optimized out>) at
thread/qthread.cpp:498
#7  0x00007f54bb8efcbf in QInotifyFileSystemWatcherEngine::run (this=0x2265950)
at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007f54bb826d05 in QThreadPrivate::start (arg=0x2265950) at
thread/qthread_unix.cpp:331
#9  0x00007f54b6564efc in start_thread (arg=0x7f5497fff700) at
pthread_create.c:304
#10 0x00007f54baac989d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f54c0eaaa20 (LWP 24496)):
[KCrash Handler]
#6  Digikam::ImageHistogram::calculateInThread (this=0x0) at
/build/buildd/digikam-2.1.1/core/libs/dimg/filters/levels/imagehistogram.cpp:143
#7  0x00007f54be658566 in Digikam::HistogramWidget::updateSelectionData
(this=<optimized out>, s_data=<optimized out>, s_w=<optimized out>,
s_h=<optimized out>, i_sixteenBits=<optimized out>, showProgress=<optimized
out>) at
/build/buildd/digikam-2.1.1/core/libs/dimg/filters/levels/histogramwidget.cpp:260
#8  0x00007f54be806cd9 in Digikam::ImagePropertiesColorsTab::setSelection
(this=0x3966290, selectionArea=<optimized out>) at
/build/buildd/digikam-2.1.1/core/libs/imageproperties/imagepropertiescolorstab.cpp:543
#9  0x00007f54be7f76d7 in Digikam::ImagePropertiesSideBar::qt_metacall
(this=0x38fb090, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>,
_a=0x7fffa1c06cc0) at
/build/buildd/digikam-2.1.1/obj-x86_64-linux-gnu/core/digikam/imagepropertiessidebar.moc:77
#10 0x000000000049c360 in Digikam::ImagePropertiesSideBarDB::qt_metacall
(this=0x38fb090, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>,
_a=0x7fffa1c06cc0) at
/build/buildd/digikam-2.1.1/obj-x86_64-linux-gnu/core/digikam/imagepropertiessidebardb.moc:99
#11 0x00007f54bb920eba in QMetaObject::activate (sender=0x38c0900, m=<optimized
out>, local_signal_index=<optimized out>, argv=0x7fffa1c06cc0) at
kernel/qobject.cpp:3278
#12 0x00007f54be8511e2 in Digikam::EditorWindow::signalSelectionChanged
(this=<optimized out>, _t1=<optimized out>) at
/build/buildd/digikam-2.1.1/obj-x86_64-linux-gnu/core/digikam/editorwindow.moc:269
#13 0x00007f54be864cce in Digikam::EditorWindow::slotSelected (this=0x38c0900,
val=true) at
/build/buildd/digikam-2.1.1/core/utilities/imageeditor/editor/editorwindow.cpp:1701
#14 0x00007f54be868ef5 in Digikam::EditorWindow::qt_metacall (this=0x38c0900,
_c=QMetaObject::InvokeMetaMethod, _id=21, _a=0x7fffa1c06f30) at
/build/buildd/digikam-2.1.1/obj-x86_64-linux-gnu/core/digikam/editorwindow.moc:213
#15 0x00000000004910a0 in Digikam::ImageWindow::qt_metacall (this=0x38c0900,
_c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7fffa1c06f30) at
/build/buildd/digikam-2.1.1/obj-x86_64-linux-gnu/core/digikam/imagewindow.moc:132
#16 0x00007f54bb920eba in QMetaObject::activate (sender=0x38e76d0, m=<optimized
out>, local_signal_index=<optimized out>, argv=0x7fffa1c06f30) at
kernel/qobject.cpp:3278
#17 0x00007f54be83fca2 in Digikam::Canvas::signalSelected (this=<optimized
out>, _t1=true) at
/build/buildd/digikam-2.1.1/obj-x86_64-linux-gnu/core/digikam/canvas.moc:224
#18 0x00007f54be844bf0 in Digikam::Canvas::contentsMouseReleaseEvent
(this=0x38e76d0, e=0x7fffa1c06f90) at
/build/buildd/digikam-2.1.1/core/utilities/imageeditor/canvas/canvas.cpp:1007
#19 0x00007f54bdcc07f6 in Q3ScrollView::viewportMouseReleaseEvent(QMouseEvent*)
() from /usr/lib/x86_64-linux-gnu/libQt3Support.so.4
#20 0x00007f54bdcc0f37 in Q3ScrollView::eventFilter(QObject*, QEvent*) () from
/usr/lib/x86_64-linux-gnu/libQt3Support.so.4
#21 0x00007f54bb90dc88 in
QCoreApplicationPrivate::sendThroughObjectEventFilters (this=<optimized out>,
receiver=0x38e8170, event=0x7fffa1c074b0) at kernel/qcoreapplication.cpp:902
#22 0x00007f54bc30e3ef in notify_helper (e=0x7fffa1c074b0, receiver=0x38e8170,
this=0x16a0070) at kernel/qapplication.cpp:4482
#23 QApplicationPrivate::notify_helper (this=0x16a0070, receiver=0x38e8170,
e=0x7fffa1c074b0) at kernel/qapplication.cpp:4458
#24 0x00007f54bc313c6b in QApplication::notify (this=<optimized out>,
receiver=0x38e8170, e=0x7fffa1c074b0) at kernel/qapplication.cpp:4047
#25 0x00007f54bd022126 in KApplication::notify (this=0x7fffa1c08220,
receiver=0x38e8170, event=0x7fffa1c074b0) at
../../kdeui/kernel/kapplication.cpp:311
#26 0x00007f54bb90dafc in QCoreApplication::notifyInternal
(this=0x7fffa1c08220, receiver=0x38e8170, event=0x7fffa1c074b0) at
kernel/qcoreapplication.cpp:787
#27 0x00007f54bc30f3f2 in sendEvent (event=<optimized out>, receiver=<optimized
out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#28 QApplicationPrivate::sendMouseEvent (receiver=0x38e8170,
event=0x7fffa1c074b0, alienWidget=0x38e8170, nativeWidget=0x38cb0b0,
buttonDown=0x38e8170, lastMouseReceiver=..., spontaneous=true) at
kernel/qapplication.cpp:3146
#29 0x00007f54bc38e945 in QETWidget::translateMouseEvent (this=0x38cb0b0,
event=<optimized out>) at kernel/qapplication_x11.cpp:4568
#30 0x00007f54bc38d8be in QApplication::x11ProcessEvent (this=0x7fffa1c08220,
event=0x7fffa1c07cd0) at kernel/qapplication_x11.cpp:3690
#31 0x00007f54bc3b6412 in x11EventSourceDispatch (s=0x169de50, callback=0,
user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#32 0x00007f54b4641a5d in g_main_context_dispatch () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#33 0x00007f54b4642258 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#34 0x00007f54b4642429 in g_main_context_iteration () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#35 0x00007f54bb938ed6 in QEventDispatcherGlib::processEvents (this=0x1640270,
flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#36 0x00007f54bc3b607e in QGuiEventDispatcherGlib::processEvents
(this=<optimized out>, flags=<optimized out>) at
kernel/qguieventdispatcher_glib.cpp:204
#37 0x00007f54bb90ccf2 in QEventLoop::processEvents (this=<optimized out>,
flags=...) at kernel/qeventloop.cpp:149
#38 0x00007f54bb90cef7 in QEventLoop::exec (this=0x7fffa1c080a0, flags=...) at
kernel/qeventloop.cpp:201
#39 0x00007f54bb911789 in QCoreApplication::exec () at
kernel/qcoreapplication.cpp:1064
#40 0x00000000004893fd in main (argc=5, argv=<optimized out>) at
/build/buildd/digikam-2.1.1/core/digikam/main/main.cpp:232

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