Bug 302678

Summary: Crash in calculate histogram (when doing Color Effects)
Product: [Applications] digikam Reporter: Ismael <leamsi.setroc>
Component: Plugin-Editor-AutoColorsAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: crash CC: caulier.gilles
Priority: NOR    
Version: 2.7.0   
Target Milestone: ---   
Platform: Slackware   
OS: Linux   
Latest Commit: Version Fixed In: 7.5.0
Sentry Crash Report:

Description Ismael 2012-06-28 06:49:19 UTC
Application: digikam (2.7.0)
KDE Platform Version: 4.8.2 (4.8.2)
Qt Version: 4.8.1
Operating System: Linux 3.4.3-smp i686
Distribution (Platform): Slackware Packages

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

Trying to edit a picture using Color Effects. Digikam segfaulted as soon as I clicked on "Color Effects" in the menu.

Built from source @ 190b7d7.

-- Backtrace:
Application: digiKam (digikam), signal: Segmentation fault
Using host libthread_db library "/lib/libthread_db.so.1".
[Current thread is 1 (Thread 0xaff2f880 (LWP 17455))]

Thread 24 (Thread 0xaf09eb40 (LWP 17461)):
#0  0xb450265b in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0xb4584890 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/qt/lib/libQtCore.so.4
#2  0x0820ca4e in Digikam::ScanController::run (this=0x949c1a0) at /home/ismael/code/digikam-sc/core/digikam/database/scancontroller.cpp:698
#3  0xb4584320 in ?? () from /usr/lib/qt/lib/libQtCore.so.4
#4  0xb44feb5a in start_thread () from /lib/libpthread.so.0
#5  0xb41b24ae in clone () from /lib/libc.so.6

Thread 23 (Thread 0xae6ffb40 (LWP 17462)):
#0  0xb2b1702d in clock_gettime () from /lib/librt.so.1
#1  0xb45e2855 in ?? () from /usr/lib/qt/lib/libQtCore.so.4
#2  0xb46c615e in ?? () from /usr/lib/qt/lib/libQtCore.so.4
#3  0xae6fef68 in ?? ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Thread 22 (Thread 0xadcffb40 (LWP 17474)):
#0  0xb450265b in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0xb4584890 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/qt/lib/libQtCore.so.4
#2  0xb673e5bc in Digikam::ParkingThread::run (this=0x9634818) at /home/ismael/code/digikam-sc/core/libs/threads/threadmanager.cpp:119
#3  0xb4584320 in ?? () from /usr/lib/qt/lib/libQtCore.so.4
#4  0xb44feb5a in start_thread () from /lib/libpthread.so.0
#5  0xb41b24ae in clone () from /lib/libc.so.6

Thread 21 (Thread 0x9ffffb40 (LWP 19565)):
#0  0xb2d1e872 in ?? () from /usr/lib/libgomp.so.1
#1  0xb2d1e926 in ?? () from /usr/lib/libgomp.so.1
#2  0xb2d1cf0c in ?? () from /usr/lib/libgomp.so.1
#3  0xb44feb5a in start_thread () from /lib/libpthread.so.0
#4  0xb41b24ae in clone () from /lib/libc.so.6

Thread 20 (Thread 0x9dfffb40 (LWP 19566)):
#0  0xb2d1e872 in ?? () from /usr/lib/libgomp.so.1
#1  0xb2d1e926 in ?? () from /usr/lib/libgomp.so.1
#2  0xb2d1cf0c in ?? () from /usr/lib/libgomp.so.1
#3  0xb44feb5a in start_thread () from /lib/libpthread.so.0
#4  0xb41b24ae in clone () from /lib/libc.so.6

Thread 19 (Thread 0x9c7ffb40 (LWP 19567)):
#0  0xb2d1e872 in ?? () from /usr/lib/libgomp.so.1
#1  0xb2d1e926 in ?? () from /usr/lib/libgomp.so.1
#2  0xb2d1cf0c in ?? () from /usr/lib/libgomp.so.1
#3  0xb44feb5a in start_thread () from /lib/libpthread.so.0
#4  0xb41b24ae in clone () from /lib/libc.so.6

Thread 18 (Thread 0x9b7ffb40 (LWP 19568)):
#0  0xb2d1e872 in ?? () from /usr/lib/libgomp.so.1
#1  0xb2d1e926 in ?? () from /usr/lib/libgomp.so.1
#2  0xb2d1cf0c in ?? () from /usr/lib/libgomp.so.1
#3  0xb44feb5a in start_thread () from /lib/libpthread.so.0
#4  0xb41b24ae in clone () from /lib/libc.so.6

Thread 17 (Thread 0x9e7ffb40 (LWP 19569)):
#0  0xb2d1e872 in ?? () from /usr/lib/libgomp.so.1
#1  0xb2d1e926 in ?? () from /usr/lib/libgomp.so.1
#2  0xb2d1cf0c in ?? () from /usr/lib/libgomp.so.1
#3  0xb44feb5a in start_thread () from /lib/libpthread.so.0
#4  0xb41b24ae in clone () from /lib/libc.so.6

Thread 16 (Thread 0x9f7ffb40 (LWP 19570)):
#0  0xb2d1e872 in ?? () from /usr/lib/libgomp.so.1
#1  0xb2d1e926 in ?? () from /usr/lib/libgomp.so.1
#2  0xb2d1cf0c in ?? () from /usr/lib/libgomp.so.1
#3  0xb44feb5a in start_thread () from /lib/libpthread.so.0
#4  0xb41b24ae in clone () from /lib/libc.so.6

Thread 15 (Thread 0x9efffb40 (LWP 19571)):
#0  0xb2d1e872 in ?? () from /usr/lib/libgomp.so.1
#1  0xb2d1e926 in ?? () from /usr/lib/libgomp.so.1
#2  0xb2d1cf0c in ?? () from /usr/lib/libgomp.so.1
#3  0xb44feb5a in start_thread () from /lib/libpthread.so.0
#4  0xb41b24ae in clone () from /lib/libc.so.6

Thread 14 (Thread 0x9d7ffb40 (LWP 1149)):
#0  0xb2b1702d in clock_gettime () from /lib/librt.so.1
#1  0xb45e2855 in ?? () from /usr/lib/qt/lib/libQtCore.so.4
#2  0xb46c615e in ?? () from /usr/lib/qt/lib/libQtCore.so.4
#3  0x9d7fef58 in ?? ()
#4  0x00000000 in ?? ()

Thread 13 (Thread 0x96dc1b40 (LWP 1151)):
#0  0xb2b1702d in clock_gettime () from /lib/librt.so.1
#1  0xb45e2855 in ?? () from /usr/lib/qt/lib/libQtCore.so.4
#2  0xb46c615e in ?? () from /usr/lib/qt/lib/libQtCore.so.4
#3  0x96dc0f58 in ?? ()
#4  0x00000000 in ?? ()

Thread 12 (Thread 0xa544db40 (LWP 3399)):
[KCrash Handler]
#5  Digikam::ImageHistogram::calculate (this=0xb9fb808) at /home/ismael/code/digikam-sc/core/libs/dimg/filters/levels/imagehistogram.cpp:248
#6  0xb65fe44b in Digikam::ImageHistogram::run (this=0xb9fb808) at /home/ismael/code/digikam-sc/core/libs/dimg/filters/levels/imagehistogram.cpp:174
#7  0xb674009e in Digikam::DynamicThread::DynamicThreadPriv::run (this=0xcb716e8) at /home/ismael/code/digikam-sc/core/libs/threads/dynamicthread.cpp:186
#8  0xb4577054 in ?? () from /usr/lib/qt/lib/libQtCore.so.4
#9  0xb4584320 in ?? () from /usr/lib/qt/lib/libQtCore.so.4
#10 0xb44feb5a in start_thread () from /lib/libpthread.so.0
#11 0xb41b24ae in clone () from /lib/libc.so.6

Thread 11 (Thread 0xa5c4db40 (LWP 3400)):
#0  0xb2d1e872 in ?? () from /usr/lib/libgomp.so.1
#1  0xb2d1e926 in ?? () from /usr/lib/libgomp.so.1
#2  0xb2d1cf0c in ?? () from /usr/lib/libgomp.so.1
#3  0xb44feb5a in start_thread () from /lib/libpthread.so.0
#4  0xb41b24ae in clone () from /lib/libc.so.6

Thread 10 (Thread 0x901ffb40 (LWP 3401)):
#0  0xb2d1e872 in ?? () from /usr/lib/libgomp.so.1
#1  0xb2d1e926 in ?? () from /usr/lib/libgomp.so.1
#2  0xb2d1cf0c in ?? () from /usr/lib/libgomp.so.1
#3  0xb44feb5a in start_thread () from /lib/libpthread.so.0
#4  0xb41b24ae in clone () from /lib/libc.so.6

Thread 9 (Thread 0x92f55b40 (LWP 3402)):
#0  0xb2d1e872 in ?? () from /usr/lib/libgomp.so.1
#1  0xb2d1e926 in ?? () from /usr/lib/libgomp.so.1
#2  0xb2d1cf0c in ?? () from /usr/lib/libgomp.so.1
#3  0xb44feb5a in start_thread () from /lib/libpthread.so.0
#4  0xb41b24ae in clone () from /lib/libc.so.6

Thread 8 (Thread 0xa4c4db40 (LWP 3403)):
#0  0xb2d1e872 in ?? () from /usr/lib/libgomp.so.1
#1  0xb2d1e926 in ?? () from /usr/lib/libgomp.so.1
#2  0xb2d1cf0c in ?? () from /usr/lib/libgomp.so.1
#3  0xb44feb5a in start_thread () from /lib/libpthread.so.0
#4  0xb41b24ae in clone () from /lib/libc.so.6

Thread 7 (Thread 0xa444db40 (LWP 3404)):
#0  0xb2d1e872 in ?? () from /usr/lib/libgomp.so.1
#1  0xb2d1e926 in ?? () from /usr/lib/libgomp.so.1
#2  0xb2d1cf0c in ?? () from /usr/lib/libgomp.so.1
#3  0xb44feb5a in start_thread () from /lib/libpthread.so.0
#4  0xb41b24ae in clone () from /lib/libc.so.6

Thread 6 (Thread 0xa30feb40 (LWP 3405)):
#0  0xb2d1e872 in ?? () from /usr/lib/libgomp.so.1
#1  0xb2d1e926 in ?? () from /usr/lib/libgomp.so.1
#2  0xb2d1cf0c in ?? () from /usr/lib/libgomp.so.1
#3  0xb44feb5a in start_thread () from /lib/libpthread.so.0
#4  0xb41b24ae in clone () from /lib/libc.so.6

Thread 5 (Thread 0xa11ffb40 (LWP 3406)):
#0  0xb2d1e872 in ?? () from /usr/lib/libgomp.so.1
#1  0xb2d1e926 in ?? () from /usr/lib/libgomp.so.1
#2  0xb2d1cf0c in ?? () from /usr/lib/libgomp.so.1
#3  0xb44feb5a in start_thread () from /lib/libpthread.so.0
#4  0xb41b24ae in clone () from /lib/libc.so.6

Thread 4 (Thread 0x9a3ffb40 (LWP 3548)):
#0  0xb4502a45 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0xb458480d in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/qt/lib/libQtCore.so.4
#2  0xb457715c in ?? () from /usr/lib/qt/lib/libQtCore.so.4
#3  0xb4584320 in ?? () from /usr/lib/qt/lib/libQtCore.so.4
#4  0xb44feb5a in start_thread () from /lib/libpthread.so.0
#5  0xb41b24ae in clone () from /lib/libc.so.6

Thread 3 (Thread 0xa09ffb40 (LWP 3549)):
#0  0xb4502a45 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0xb458480d in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/qt/lib/libQtCore.so.4
#2  0xb457715c in ?? () from /usr/lib/qt/lib/libQtCore.so.4
#3  0xb4584320 in ?? () from /usr/lib/qt/lib/libQtCore.so.4
#4  0xb44feb5a in start_thread () from /lib/libpthread.so.0
#5  0xb41b24ae in clone () from /lib/libc.so.6

Thread 2 (Thread 0x9cfffb40 (LWP 3550)):
#0  0xb4502a45 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0xb458480d in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/qt/lib/libQtCore.so.4
#2  0xb457715c in ?? () from /usr/lib/qt/lib/libQtCore.so.4
#3  0xb4584320 in ?? () from /usr/lib/qt/lib/libQtCore.so.4
#4  0xb44feb5a in start_thread () from /lib/libpthread.so.0
#5  0xb41b24ae in clone () from /lib/libc.so.6

Thread 1 (Thread 0xaff2f880 (LWP 17455)):
#0  0xb450265b in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0xb4584890 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/qt/lib/libQtCore.so.4
#2  0xb673ea32 in Digikam::WorkerObject::wait (this=0x94f4278) at /home/ismael/code/digikam-sc/core/libs/threads/workerobject.cpp:95
#3  0x08254f75 in Digikam::FileActionMngr::shutDown (this=0x96315e8) at /home/ismael/code/digikam-sc/core/digikam/fileaction/fileactionmngr.cpp:110
#4  0x08254fad in Digikam::FileActionMngr::~FileActionMngr (this=0x96315e8, __in_chrg=<optimized out>) at /home/ismael/code/digikam-sc/core/digikam/fileaction/fileactionmngr.cpp:78
#5  0x08255037 in ~FileActionMngrCreator (this=0x96315e8, __in_chrg=<optimized out>) at /home/ismael/code/digikam-sc/core/digikam/fileaction/fileactionmngr.cpp:52
#6  destroy () at /home/ismael/code/digikam-sc/core/digikam/fileaction/fileactionmngr.cpp:59
#7  0xb4102ec1 in __run_exit_handlers () from /lib/libc.so.6
#8  0xb4102f4d in exit () from /lib/libc.so.6
#9  0xb4cf4158 in ?? () from /usr/lib/qt/lib/libQtGui.so.4
#10 0xb580b799 in KApplication::xioErrhandler(_XDisplay*) () from /usr/lib/libkdeui.so.5
#11 0xb580b7d4 in ?? () from /usr/lib/libkdeui.so.5
#12 0xb3efa5c4 in _XIOError () from /usr/lib/libX11.so.6
#13 0xb3ef843e in _XReply () from /usr/lib/libX11.so.6
#14 0xb3ef37bb in XSync () from /usr/lib/libX11.so.6
#15 0xb4ea756e in QRasterWindowSurface::syncX() () from /usr/lib/qt/lib/libQtGui.so.4
#16 0xb4ea7abe in QRasterWindowSurface::beginPaint(QRegion const&) () from /usr/lib/qt/lib/libQtGui.so.4
#17 0xb4ec15e1 in ?? () from /usr/lib/qt/lib/libQtGui.so.4
#18 0xb4ec7780 in ?? () from /usr/lib/qt/lib/libQtGui.so.4
#19 0xb4cc734b in QWidgetPrivate::syncBackingStore() () from /usr/lib/qt/lib/libQtGui.so.4
#20 0xb4cd7dff in QWidget::event(QEvent*) () from /usr/lib/qt/lib/libQtGui.so.4
#21 0xb5102c4c in QMainWindow::event(QEvent*) () from /usr/lib/qt/lib/libQtGui.so.4
#22 0xb58e2734 in KMainWindow::event(QEvent*) () from /usr/lib/libkdeui.so.5
#23 0xb59293d2 in KXmlGuiWindow::event(QEvent*) () from /usr/lib/libkdeui.so.5
#24 0xb4c7e0dc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/qt/lib/libQtGui.so.4
#25 0xb4c82c44 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/qt/lib/libQtGui.so.4
#26 0xb580cb81 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#27 0xb46939de in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/qt/lib/libQtCore.so.4
#28 0xb469771d in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/qt/lib/libQtCore.so.4
#29 0xb469799c in QCoreApplication::sendPostedEvents(QObject*, int) () from /usr/lib/qt/lib/libQtCore.so.4
#30 0xb46c55f4 in ?? () from /usr/lib/qt/lib/libQtCore.so.4
#31 0xb2ba6432 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#32 0xb2ba6c10 in ?? () from /usr/lib/libglib-2.0.so.0
#33 0xb2ba6ec4 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#34 0xb46c5771 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/qt/lib/libQtCore.so.4
#35 0xb4d2f77a in ?? () from /usr/lib/qt/lib/libQtGui.so.4
#36 0xb469279c in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/qt/lib/libQtCore.so.4
#37 0xb4692a91 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/qt/lib/libQtCore.so.4
#38 0xb4697a4a in QCoreApplication::exec() () from /usr/lib/qt/lib/libQtCore.so.4
#39 0xb4c7bf04 in QApplication::exec() () from /usr/lib/qt/lib/libQtGui.so.4
#40 0x080bffc8 in main (argc=1, argv=0xbfa67814) at /home/ismael/code/digikam-sc/core/digikam/main/main.cpp:232

This bug may be a duplicate of or related to bug 274555.

Possible duplicates by query: bug 290284, bug 288823, bug 286840, bug 284528, bug 281724.

Reported using DrKonqi
Comment 1 caulier.gilles 2012-06-28 07:07:55 UTC

*** This bug has been marked as a duplicate of bug 274555 ***
Comment 2 caulier.gilles 2021-12-29 13:53:30 UTC
Fixed with #274555