Bug 286840 - digikam crashes when try to use Color Effects from Image Editor
Summary: digikam crashes when try to use Color Effects from Image Editor
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Plugin-Editor-ColorFX (show other bugs)
Version: 2.1.1
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-17 12:16 UTC by Umidjon Almasov
Modified: 2021-12-29 13:53 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 7.5.0


Attachments
valgrind --tool=memcheck --leak-check=full --error-limit=no digikam output (45.69 KB, application/x-gzip)
2011-11-19 16:24 UTC, Umidjon Almasov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Umidjon Almasov 2011-11-17 12:16:12 UTC
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-13-generic i686
Distribution: Ubuntu 11.10

-- Information about the crash:
- What I was doing when the application crashed: Run digikam > select photo from My Albums> click Image Editor > Menu Effects > Color Effects...

The crash can be reproduced every time.

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

Thread 6 (Thread 0xb4644b70 (LWP 6938)):
#0  0x003a0416 in __kernel_vsyscall ()
#1  0x003aba5c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i386-linux-gnu/libpthread.so.0
#2  0x02da8cfc in pthread_cond_wait () from /lib/i386-linux-gnu/libc.so.6
#3  0x05cbbcc0 in wait (time=4294967295, this=0xa0ff6e8) at thread/qwaitcondition_unix.cpp:88
#4  QWaitCondition::wait (this=0xa0ff614, mutex=0xa0ff610, time=4294967295) at thread/qwaitcondition_unix.cpp:160
#5  0x081faf45 in Digikam::ScanController::run (this=0xa13fda8) at /build/buildd/digikam-2.1.1/core/digikam/database/scancontroller.cpp:647
#6  0x05cbb7b3 in QThreadPrivate::start (arg=0xa13fda8) at thread/qthread_unix.cpp:331
#7  0x003a7d31 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#8  0x02d9b0ce in clone () from /lib/i386-linux-gnu/libc.so.6
Backtrace stopped: Not enough registers or memory available to unwind further

Thread 5 (Thread 0xb3e43b70 (LWP 6939)):
#0  0x02aa7d10 in clock_gettime () from /lib/i386-linux-gnu/librt.so.1
#1  0x05d127d5 in do_gettime (frac=0xb3e42e70, sec=0xb3e42e68) at tools/qelapsedtimer_unix.cpp:123
#2  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#3  0x05de54b6 in QTimerInfoList::updateCurrentTime (this=0xa12b6bc) at kernel/qeventdispatcher_unix.cpp:339
#4  0x05de580a in QTimerInfoList::timerWait (this=0xa12b6bc, tm=...) at kernel/qeventdispatcher_unix.cpp:442
#5  0x05de4053 in timerSourcePrepareHelper (src=<optimized out>, timeout=0xb3e42f7c) at kernel/qeventdispatcher_glib.cpp:136
#6  0x05de40ed in timerSourcePrepare (source=0xa12b688, timeout=<optimized out>) at kernel/qeventdispatcher_glib.cpp:169
#7  0x0251888c in g_main_context_prepare () from /lib/i386-linux-gnu/libglib-2.0.so.0
#8  0x02519637 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#9  0x02519c2a in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#10 0x05de4b37 in QEventDispatcherGlib::processEvents (this=0xa12af08, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#11 0x05db51dd in QEventLoop::processEvents (this=0xb3e43100, flags=...) at kernel/qeventloop.cpp:149
#12 0x05db5421 in QEventLoop::exec (this=0xb3e43100, flags=...) at kernel/qeventloop.cpp:201
#13 0x05cb890b in QThread::exec (this=0xa129030) at thread/qthread.cpp:498
#14 0x05d95e2d in QInotifyFileSystemWatcherEngine::run (this=0xa129030) at io/qfilesystemwatcher_inotify.cpp:248
#15 0x05cbb7b3 in QThreadPrivate::start (arg=0xa129030) at thread/qthread_unix.cpp:331
#16 0x003a7d31 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#17 0x02d9b0ce in clone () from /lib/i386-linux-gnu/libc.so.6
Backtrace stopped: Not enough registers or memory available to unwind further

Thread 4 (Thread 0xb34ffb70 (LWP 6942)):
#0  0x003a0416 in __kernel_vsyscall ()
#1  0x003aba5c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i386-linux-gnu/libpthread.so.0
#2  0x02da8cfc in pthread_cond_wait () from /lib/i386-linux-gnu/libc.so.6
#3  0x05cbbcc0 in wait (time=4294967295, this=0xa37da28) at thread/qwaitcondition_unix.cpp:88
#4  QWaitCondition::wait (this=0xa37d6f8, mutex=0xa37d6f4, time=4294967295) at thread/qwaitcondition_unix.cpp:160
#5  0x04ceaf54 in Digikam::ParkingThread::run (this=0xa37d6e8) at /build/buildd/digikam-2.1.1/core/libs/threads/threadmanager.cpp:119
#6  0x05cbb7b3 in QThreadPrivate::start (arg=0xa37d6e8) at thread/qthread_unix.cpp:331
#7  0x003a7d31 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#8  0x02d9b0ce in clone () from /lib/i386-linux-gnu/libc.so.6
Backtrace stopped: Not enough registers or memory available to unwind further

Thread 3 (Thread 0xb1923b70 (LWP 6943)):
#0  0x003a0416 in __kernel_vsyscall ()
#1  0x02d8c40e in poll () from /lib/i386-linux-gnu/libc.so.6
#2  0x0252834b in g_poll () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0x02519896 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0x02519c2a in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0x05de4b37 in QEventDispatcherGlib::processEvents (this=0xa54b258, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#6  0x05db51dd in QEventLoop::processEvents (this=0xb1923100, flags=...) at kernel/qeventloop.cpp:149
#7  0x05db5421 in QEventLoop::exec (this=0xb1923100, flags=...) at kernel/qeventloop.cpp:201
#8  0x05cb890b in QThread::exec (this=0xa5226c8) at thread/qthread.cpp:498
#9  0x05d95e2d in QInotifyFileSystemWatcherEngine::run (this=0xa5226c8) at io/qfilesystemwatcher_inotify.cpp:248
#10 0x05cbb7b3 in QThreadPrivate::start (arg=0xa5226c8) at thread/qthread_unix.cpp:331
#11 0x003a7d31 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#12 0x02d9b0ce in clone () from /lib/i386-linux-gnu/libc.so.6
Backtrace stopped: Not enough registers or memory available to unwind further

Thread 2 (Thread 0xaa9ffb70 (LWP 6989)):
[KCrash Handler]
#7  Digikam::ImageHistogram::calculate (this=0xb54fc10) at /build/buildd/digikam-2.1.1/core/libs/dimg/filters/levels/imagehistogram.cpp:237
#8  0x04bbadcb in Digikam::ImageHistogram::run (this=0xb54fc10) at /build/buildd/digikam-2.1.1/core/libs/dimg/filters/levels/imagehistogram.cpp:174
#9  0x04cec8ee in Digikam::DynamicThread::DynamicThreadPriv::run (this=0xc3b51d0) at /build/buildd/digikam-2.1.1/core/libs/threads/dynamicthread.cpp:328
#10 0x05caf651 in QThreadPoolThread::run (this=0xaa31c28) at concurrent/qthreadpool.cpp:106
#11 0x05cbb7b3 in QThreadPrivate::start (arg=0xaa31c28) at thread/qthread_unix.cpp:331
#12 0x003a7d31 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#13 0x02d9b0ce in clone () from /lib/i386-linux-gnu/libc.so.6
Backtrace stopped: Not enough registers or memory available to unwind further

Thread 1 (Thread 0xb54cc8c0 (LWP 6937)):
#0  0x003a0416 in __kernel_vsyscall ()
#1  0x02d8c40e in poll () from /lib/i386-linux-gnu/libc.so.6
#2  0x08a5b000 in ?? () from /usr/lib/i386-linux-gnu/libxcb.so.1
#3  0x08a5b60c in ?? () from /usr/lib/i386-linux-gnu/libxcb.so.1
#4  0x08a5b6c1 in xcb_writev () from /usr/lib/i386-linux-gnu/libxcb.so.1
#5  0x056ec0d0 in _XSend () from /usr/lib/i386-linux-gnu/libX11.so.6
#6  0x056ec6da in _XReply () from /usr/lib/i386-linux-gnu/libX11.so.6
#7  0x056e7e76 in XSync () from /usr/lib/i386-linux-gnu/libX11.so.6
#8  0x06c7145e in syncX (this=0xb46b048) at painting/qwindowsurface_raster.cpp:127
#9  QRasterWindowSurface::syncX (this=0xb46b048) at painting/qwindowsurface_raster.cpp:123
#10 0x06c7197e in QRasterWindowSurface::beginPaint (this=0xb46b048, rgn=...) at painting/qwindowsurface_raster.cpp:136
#11 0x06c8c7c1 in QWidgetBackingStore::beginPaint (this=0xb4647f0, toClean=..., widget=0xb462718, windowSurface=0xb46b048, returnInfo=0xbfeebc0c, toCleanIsInTopLevelCoordinates=true) at painting/qbackingstore.cpp:360
#12 0x06c92733 in QWidgetBackingStore::sync (this=0xb4647f0) at painting/qbackingstore.cpp:1269
#13 0x06a9e6cb in QWidgetPrivate::syncBackingStore (this=0xb4628b0) at kernel/qwidget.cpp:1862
#14 0x06aac8cf in QWidget::event (this=0xb462718, event=0xb9c5d08) at kernel/qwidget.cpp:8588
#15 0x06ece4cc in QMainWindow::event (this=0xb462718, event=0xb9c5d08) at widgets/qmainwindow.cpp:1478
#16 0x02162174 in KMainWindow::event (this=0xb462718, ev=0xb9c5d08) at ../../kdeui/widgets/kmainwindow.cpp:1084
#17 0x021aa352 in KXmlGuiWindow::event (this=0xb462718, ev=0xb9c5d08) at ../../kdeui/xmlgui/kxmlguiwindow.cpp:126
#18 0x06a51d54 in notify_helper (e=0xb9c5d08, receiver=0xb462718, this=0xa0127a0) at kernel/qapplication.cpp:4486
#19 QApplicationPrivate::notify_helper (this=0xa0127a0, receiver=0xb462718, e=0xb9c5d08) at kernel/qapplication.cpp:4458
#20 0x06a571a8 in QApplication::notify (this=0xa0127a0, receiver=0xb462718, e=0xb9c5d08) at kernel/qapplication.cpp:4451
#21 0x02086681 in KApplication::notify (this=0xbfeec610, receiver=0xb462718, event=0xb9c5d08) at ../../kdeui/kernel/kapplication.cpp:311
#22 0x05db619e in QCoreApplication::notifyInternal (this=0xbfeec610, receiver=0xb462718, event=0xb9c5d08) at kernel/qcoreapplication.cpp:787
#23 0x05db9f93 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#24 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x9fc9340) at kernel/qcoreapplication.cpp:1428
#25 0x05dba0ec in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1321
#26 0x05de46a4 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#27 postEventSourceDispatch (s=0xa00e2b8) at kernel/qeventdispatcher_glib.cpp:277
#28 0x0251925f in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
#29 0x02519990 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#30 0x02519c2a in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#31 0x05de4ada in QEventDispatcherGlib::processEvents (this=0x9fca038, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#32 0x06b09e3a in QGuiEventDispatcherGlib::processEvents (this=0x9fca038, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#33 0x05db51dd in QEventLoop::processEvents (this=0xbfeec4f4, flags=...) at kernel/qeventloop.cpp:149
#34 0x05db5421 in QEventLoop::exec (this=0xbfeec4f4, flags=...) at kernel/qeventloop.cpp:201
#35 0x05dba19d in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1064
#36 0x06a4f8f4 in QApplication::exec () at kernel/qapplication.cpp:3760
#37 0x080b4b64 in main (argc=) at /build/buildd/digikam-2.1.1/core/digikam/main/main.cpp:232

Possible duplicates by query: bug 284528, bug 281724, bug 278748, bug 275299, bug 274555.

Reported using DrKonqi
Comment 1 caulier.gilles 2011-11-17 12:26:47 UTC

*** This bug has been marked as a duplicate of bug 274555 ***
Comment 2 Marcel Wiesweg 2011-11-19 11:13:25 UTC
This bug is being reported quite often. Unfortunately none of the developers can reproduce, so we need someone who can reproduce this bug and runs digikam under valgrind while crashing. This may give us more information.
Comment 3 Umidjon Almasov 2011-11-19 16:24:09 UTC
Created attachment 65842 [details]
valgrind --tool=memcheck --leak-check=full --error-limit=no digikam output
Comment 4 Umidjon Almasov 2011-11-19 16:26:18 UTC
Comment on attachment 65842 [details]
valgrind --tool=memcheck --leak-check=full --error-limit=no digikam output

digiKam did not crash when run 
valgrind --tool=memcheck --leak-check=full --error-limit=no digikam 
So I'm not shure if attached output useful
Comment 5 caulier.gilles 2011-12-31 22:41:02 UTC
*** Bug 290284 has been marked as a duplicate of this bug. ***
Comment 6 caulier.gilles 2021-12-29 13:53:29 UTC
Fixed with #274555