Bug 284528 - digiKam crashes when browsing pictures with histogram displayed
Summary: digiKam crashes when browsing pictures with histogram displayed
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Portability-Runtime (show other bugs)
Version: 2.2.0
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-20 09:20 UTC by Tomas
Modified: 2021-12-29 13:53 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 7.5.0
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tomas 2011-10-20 09:20:28 UTC
Application: digikam (2.2.0)
KDE Platform Version: 4.7.1 (4.7.1)
Qt Version: 4.7.2
Operating System: Linux 2.6.38-11-generic i686
Distribution: Ubuntu 11.04

-- Information about the crash:
- What I was doing when the application crashed:
* Start digiKam
* Click on any picture to get to "View Image" mode
* On right panel open Colors tab with Histogram
* Hit Spacebar to see next picture -> digiKam is closed down immediately.

The crash can be reproduced every time.

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

Thread 6 (Thread 0xb3d6db70 (LWP 3612)):
#0  0x00d70416 in __kernel_vsyscall ()
#1  0x006d748c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i386-linux-gnu/libpthread.so.0
#2  0x038d53fd in pthread_cond_wait () from /lib/i386-linux-gnu/libc.so.6
#3  0x01871467 in wait (this=0xa3ca13c, mutex=0xa3ca138, time=4294967295) at thread/qwaitcondition_unix.cpp:88
#4  QWaitCondition::wait (this=0xa3ca13c, mutex=0xa3ca138, time=4294967295) at thread/qwaitcondition_unix.cpp:160
#5  0x081ebd89 in Digikam::ScanController::run (this=0xa3f6c80) at /build/buildd/digikam-2.2.0/core/digikam/database/scancontroller.cpp:647
#6  0x01870da2 in QThreadPrivate::start (arg=0xa3f6c80) at thread/qthread_unix.cpp:320
#7  0x0494270c in ?? () from /usr/lib/nvidia-current/libGL.so.1
#8  0x00000000 in ?? ()

Thread 5 (Thread 0xb356cb70 (LWP 3613)):
#0  0x00d70416 in __kernel_vsyscall ()
#1  0x038b8f76 in poll () from /lib/i386-linux-gnu/libc.so.6
#2  0x0359784b in g_poll () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0x035871af in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0x03587524 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0x01992577 in QEventDispatcherGlib::processEvents (this=0xa3d7aa0, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#6  0x01964289 in QEventLoop::processEvents (this=0xb356c020, flags=...) at kernel/qeventloop.cpp:149
#7  0x01964522 in QEventLoop::exec (this=0xb356c020, flags=...) at kernel/qeventloop.cpp:201
#8  0x0186e2a0 in QThread::exec (this=0xa3dd5c0) at thread/qthread.cpp:492
#9  0x01945fdb in QInotifyFileSystemWatcherEngine::run (this=0xa3dd5c0) at io/qfilesystemwatcher_inotify.cpp:248
#10 0x01870da2 in QThreadPrivate::start (arg=0xa3dd5c0) at thread/qthread_unix.cpp:320
#11 0x0494270c in ?? () from /usr/lib/nvidia-current/libGL.so.1
#12 0x00000000 in ?? ()

Thread 4 (Thread 0xb1158b70 (LWP 3625)):
#0  0x006d67a4 in __pthread_mutex_unlock_usercnt () from /lib/i386-linux-gnu/libpthread.so.0
#1  0x038d5656 in pthread_mutex_unlock () from /lib/i386-linux-gnu/libc.so.6
#2  0x03586961 in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0x03587270 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0x03587524 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0x01992577 in QEventDispatcherGlib::processEvents (this=0xa91b210, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#6  0x01964289 in QEventLoop::processEvents (this=0xb1158020, flags=...) at kernel/qeventloop.cpp:149
#7  0x01964522 in QEventLoop::exec (this=0xb1158020, flags=...) at kernel/qeventloop.cpp:201
#8  0x0186e2a0 in QThread::exec (this=0xa917c78) at thread/qthread.cpp:492
#9  0x01945fdb in QInotifyFileSystemWatcherEngine::run (this=0xa917c78) at io/qfilesystemwatcher_inotify.cpp:248
#10 0x01870da2 in QThreadPrivate::start (arg=0xa917c78) at thread/qthread_unix.cpp:320
#11 0x0494270c in ?? () from /usr/lib/nvidia-current/libGL.so.1
#12 0x00000000 in ?? ()

Thread 3 (Thread 0xabdbdb70 (LWP 3644)):
[KCrash Handler]
#7  Digikam::ImageHistogram::calculate (this=0xbdd1ea8) at /build/buildd/digikam-2.2.0/core/libs/dimg/filters/levels/imagehistogram.cpp:237
#8  0x070031cd in Digikam::ImageHistogram::run (this=0xbdd1ea8) at /build/buildd/digikam-2.2.0/core/libs/dimg/filters/levels/imagehistogram.cpp:174
#9  0x07129a60 in Digikam::DynamicThread::DynamicThreadPriv::run (this=0xbf60ad8) at /build/buildd/digikam-2.2.0/core/libs/threads/dynamicthread.cpp:328
#10 0x01864866 in QThreadPoolThread::run (this=0xbf69320) at concurrent/qthreadpool.cpp:106
#11 0x01870da2 in QThreadPrivate::start (arg=0xbf69320) at thread/qthread_unix.cpp:320
#12 0x0494270c in ?? () from /usr/lib/nvidia-current/libGL.so.1
#13 0x00000000 in ?? ()

Thread 2 (Thread 0xaa51fb70 (LWP 3647)):
#0  0x00a668de in ?? () from /usr/lib/i386-linux-gnu/libgomp.so.1
#1  0x00a66991 in ?? () from /usr/lib/i386-linux-gnu/libgomp.so.1
#2  0x00a65225 in ?? () from /usr/lib/i386-linux-gnu/libgomp.so.1
#3  0x0494270c in ?? () from /usr/lib/nvidia-current/libGL.so.1
#4  0x00000000 in ?? ()

Thread 1 (Thread 0xb49df8d0 (LWP 3611)):
#0  0x00d70416 in __kernel_vsyscall ()
#1  0x006d748c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i386-linux-gnu/libpthread.so.0
#2  0x038d53fd in pthread_cond_wait () from /lib/i386-linux-gnu/libc.so.6
#3  0x01871467 in wait (this=0xa6522dc, mutex=0xa6522c8, time=4294967295) at thread/qwaitcondition_unix.cpp:88
#4  QWaitCondition::wait (this=0xa6522dc, mutex=0xa6522c8, time=4294967295) at thread/qwaitcondition_unix.cpp:160
#5  0x01863f33 in QThreadPoolPrivate::waitForDone (this=0xa652278) at concurrent/qthreadpool.cpp:295
#6  0x01864e50 in QThreadPool::~QThreadPool (this=0xa652268, __in_chrg=<value optimized out>) at concurrent/qthreadpool.cpp:428
#7  0x01864eb2 in QThreadPool::~QThreadPool (this=0xa652268, __in_chrg=<value optimized out>) at concurrent/qthreadpool.cpp:430
#8  0x01978b87 in QObjectPrivate::deleteChildren (this=0xa6450c0) at kernel/qobject.cpp:1964
#9  0x0197d39f in QObject::~QObject (this=0xa573aa8, __in_chrg=<value optimized out>) at kernel/qobject.cpp:946
#10 0x07126fb8 in Digikam::ThreadManager::~ThreadManager (this=0xa573aa8, __in_chrg=<value optimized out>) at /build/buildd/digikam-2.2.0/core/libs/threads/threadmanager.cpp:257
#11 0x0712704a in ~ThreadManagerCreator () at /build/buildd/digikam-2.2.0/core/libs/threads/threadmanager.cpp:237
#12 destroy () at /build/buildd/digikam-2.2.0/core/libs/threads/threadmanager.cpp:241
#13 0x06f29ddb in KCleanUpGlobalStatic::~KCleanUpGlobalStatic (this=0x73368e4, __in_chrg=<value optimized out>) at /usr/include/kglobal.h:62
#14 0x03826a6f in ?? () from /lib/i386-linux-gnu/libc.so.6
#15 0x03826acf in exit () from /lib/i386-linux-gnu/libc.so.6
#16 0x02253fdb in qt_xio_errhandler () at kernel/qapplication_x11.cpp:781
#17 0x01ed899a in KApplication::xioErrhandler (this=0xbff907bc, dpy=0xa2d48d8) at ../../kdeui/kernel/kapplication.cpp:419
#18 0x01ed89d6 in kde_xio_errhandler (dpy=0xa2d48d8) at ../../kdeui/kernel/kapplication.cpp:126
#19 0x09320166 in _XIOError () from /usr/lib/i386-linux-gnu/libX11.so.6
#20 0x0931d81f in _XEventsQueued () from /usr/lib/i386-linux-gnu/libX11.so.6
#21 0x0930e4eb in XEventsQueued () from /usr/lib/i386-linux-gnu/libX11.so.6
#22 0x02294fc5 in x11EventSourceCheck (s=0xa2cb2a8) at kernel/qguieventdispatcher_glib.cpp:85
#23 0x0358671d in g_main_context_check () from /lib/i386-linux-gnu/libglib-2.0.so.0
#24 0x0358703a in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#25 0x03587524 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#26 0x0199253c in QEventDispatcherGlib::processEvents (this=0xa269350, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#27 0x022951e5 in QGuiEventDispatcherGlib::processEvents (this=0xa269350, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#28 0x01964289 in QEventLoop::processEvents (this=0xbff90684, flags=...) at kernel/qeventloop.cpp:149
#29 0x01964522 in QEventLoop::exec (this=0xbff90684, flags=...) at kernel/qeventloop.cpp:201
#30 0x01968ecc in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008
#31 0x021dc8e7 in QApplication::exec () at kernel/qapplication.cpp:3736
#32 0x082bf7e3 in main (argc=) at /build/buildd/digikam-2.2.0/core/digikam/main/main.cpp:232

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

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

Reported using DrKonqi
Comment 1 caulier.gilles 2011-10-20 09:53:25 UTC

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