Bug 261826 - Crash in Album menu
Summary: Crash in Album menu
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Usability-Menus (show other bugs)
Version: 1.4.0
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-01 23:20 UTC by Johannes Midgren
Modified: 2017-07-29 06:22 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 5.0.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Johannes Midgren 2011-01-01 23:20:19 UTC
Application: digikam (1.4.0)
KDE Platform Version: 4.5.1 (KDE 4.5.1)
Qt Version: 4.7.0
Operating System: Linux 2.6.35-24-generic x86_64
Distribution: Ubuntu 10.10

-- Information about the crash:
- What I was doing when the application crashed:
I had just changed from using SQLite to MySQL for meta data storage and was checking my albums. The crash occurred when I was checking the Album menu, actually I think I was closing it. I home the trace can give more detailed information...

- Custom settings of the application:
Using MySQL for meta data storage.

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

Thread 15 (Thread 0x7f0697bc5700 (LWP 3074)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f06a9d65e3b in wait (this=<value optimized out>, mutex=0x2822360, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x2822360, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00000000006ee97b in Digikam::ScanController::run (this=0x28220d0) at /build/buildd/digikam-1.4.0/digikam/scancontroller.cpp:515
#4  0x00007f06a9d6527e in QThreadPrivate::start (arg=0x28220d0) at thread/qthread_unix.cpp:266
#5  0x00007f06a9ada971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#6  0x00007f06a85ad92d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 14 (Thread 0x7f06973c4700 (LWP 3076)):
#0  0x00007f06a9adc665 in __pthread_mutex_lock (mutex=0x2a14e38) at pthread_mutex_lock.c:61
#1  0x00007f06a542ba43 in g_main_context_prepare () from /lib/libglib-2.0.so.0
#2  0x00007f06a542be78 in ?? () from /lib/libglib-2.0.so.0
#3  0x00007f06a542c45c in g_main_context_iteration () from /lib/libglib-2.0.so.0
#4  0x00007f06a9e851e6 in QEventDispatcherGlib::processEvents (this=0x2b47970, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:417
#5  0x00007f06a9e57a02 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#6  0x00007f06a9e57dec in QEventLoop::exec (this=0x7f06973c3d90, flags=) at kernel/qeventloop.cpp:201
#7  0x00007f06a9d622fd in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:490
#8  0x00007f06a9d6527e in QThreadPrivate::start (arg=0x2b0b020) at thread/qthread_unix.cpp:266
#9  0x00007f06a9ada971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#10 0x00007f06a85ad92d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 13 (Thread 0x7f06969b6700 (LWP 3077)):
#0  __pthread_mutex_lock (mutex=0x2a0a738) at pthread_mutex_lock.c:50
#1  0x00007f06a542c444 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#2  0x00007f06a9e851e6 in QEventDispatcherGlib::processEvents (this=0x2b69e70, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:417
#3  0x00007f06a9e57a02 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#4  0x00007f06a9e57dec in QEventLoop::exec (this=0x7f06969b5d90, flags=) at kernel/qeventloop.cpp:201
#5  0x00007f06a9d622fd in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:490
#6  0x00007f06a9d6527e in QThreadPrivate::start (arg=0x2b39190) at thread/qthread_unix.cpp:266
#7  0x00007f06a9ada971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#8  0x00007f06a85ad92d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#9  0x0000000000000000 in ?? ()

Thread 12 (Thread 0x7f06961b5700 (LWP 3078)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f06a9d65e3b in wait (this=<value optimized out>, mutex=0x2b69ef8, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x2b69ef8, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00007f06add7f5e4 in Digikam::ParkingThread::run (this=0x2b69ee0) at /build/buildd/digikam-1.4.0/libs/threads/threadmanager.cpp:101
#4  0x00007f06a9d6527e in QThreadPrivate::start (arg=0x2b69ee0) at thread/qthread_unix.cpp:266
#5  0x00007f06a9ada971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#6  0x00007f06a85ad92d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 11 (Thread 0x7f06959b4700 (LWP 3079)):
#0  0x00007f06a9addc9d in __pthread_mutex_unlock_usercnt (mutex=0x3174a08) at pthread_mutex_unlock.c:52
#1  __pthread_mutex_unlock (mutex=0x3174a08) at pthread_mutex_unlock.c:290
#2  0x00007f06a5426b02 in g_main_context_query () from /lib/libglib-2.0.so.0
#3  0x00007f06a542befc in ?? () from /lib/libglib-2.0.so.0
#4  0x00007f06a542c45c in g_main_context_iteration () from /lib/libglib-2.0.so.0
#5  0x00007f06a9e851e6 in QEventDispatcherGlib::processEvents (this=0x2d34940, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:417
#6  0x00007f06a9e57a02 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#7  0x00007f06a9e57dec in QEventLoop::exec (this=0x7f06959b3d90, flags=) at kernel/qeventloop.cpp:201
#8  0x00007f06a9d622fd in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:490
#9  0x00007f06a9d6527e in QThreadPrivate::start (arg=0x2e10ec0) at thread/qthread_unix.cpp:266
#10 0x00007f06a9ada971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#11 0x00007f06a85ad92d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()

Thread 10 (Thread 0x7f06951b3700 (LWP 3080)):
#0  0x00007f06a9addc9d in __pthread_mutex_unlock_usercnt (mutex=0x316fb68) at pthread_mutex_unlock.c:52
#1  __pthread_mutex_unlock (mutex=0x316fb68) at pthread_mutex_unlock.c:290
#2  0x00007f06a542ba05 in g_main_context_prepare () from /lib/libglib-2.0.so.0
#3  0x00007f06a542be78 in ?? () from /lib/libglib-2.0.so.0
#4  0x00007f06a542c45c in g_main_context_iteration () from /lib/libglib-2.0.so.0
#5  0x00007f06a9e851e6 in QEventDispatcherGlib::processEvents (this=0x3172c10, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:417
#6  0x00007f06a9e57a02 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#7  0x00007f06a9e57dec in QEventLoop::exec (this=0x7f06951b2d90, flags=) at kernel/qeventloop.cpp:201
#8  0x00007f06a9d622fd in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:490
#9  0x00007f06a9d6527e in QThreadPrivate::start (arg=0x3069540) at thread/qthread_unix.cpp:266
#10 0x00007f06a9ada971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#11 0x00007f06a85ad92d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()

Thread 9 (Thread 0x7f06886e4700 (LWP 3081)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:212
#1  0x00007f06920870d1 in ?? () from /usr/lib/libxine.so.1
#2  0x00007f06a9ada971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#3  0x00007f06a85ad92d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 8 (Thread 0x7f06872a8700 (LWP 3082)):
#0  0x00007f06a85a62c3 in select () at ../sysdeps/unix/syscall-template.S:82
#1  0x00007f06920b0385 in xine_usec_sleep () from /usr/lib/libxine.so.1
#2  0x00007f0692094d09 in ?? () from /usr/lib/libxine.so.1
#3  0x00007f06a9ada971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#4  0x00007f06a85ad92d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 7 (Thread 0x7f0686aa7700 (LWP 3083)):
#0  __pthread_mutex_lock (mutex=0x37b9058) at pthread_mutex_lock.c:50
#1  0x00007f06a542c06e in ?? () from /lib/libglib-2.0.so.0
#2  0x00007f06a542c45c in g_main_context_iteration () from /lib/libglib-2.0.so.0
#3  0x00007f06a9e851e6 in QEventDispatcherGlib::processEvents (this=0x37b8f60, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:417
#4  0x00007f06a9e57a02 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#5  0x00007f06a9e57dec in QEventLoop::exec (this=0x7f0686aa6d30, flags=) at kernel/qeventloop.cpp:201
#6  0x00007f06a9d622fd in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:490
#7  0x00007f06922e32b0 in ?? () from /usr/lib/qt4/plugins/phonon_backend/phonon_xine.so
#8  0x00007f06a9d6527e in QThreadPrivate::start (arg=0x37b8940) at thread/qthread_unix.cpp:266
#9  0x00007f06a9ada971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#10 0x00007f06a85ad92d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7f06860a1700 (LWP 3084)):
#0  0x00007f06a82a1d0e in pa_mainloop_poll () from /usr/lib/libpulse.so.0
#1  0x00007f06a82a37f9 in pa_mainloop_iterate () from /usr/lib/libpulse.so.0
#2  0x00007f06a82a38b0 in pa_mainloop_run () from /usr/lib/libpulse.so.0
#3  0x00007f06a82b220b in ?? () from /usr/lib/libpulse.so.0
#4  0x00007f06a004bfb8 in ?? () from /usr/lib/libpulsecommon-0.9.21.so
#5  0x00007f06a9ada971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#6  0x00007f06a85ad92d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7f068189f700 (LWP 3085)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f0692097e83 in ?? () from /usr/lib/libxine.so.1
#2  0x00007f06a9ada971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#3  0x00007f06a85ad92d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f0681003700 (LWP 3086)):
#0  0x00007f06a54510df in g_thread_self () from /lib/libglib-2.0.so.0
#1  0x00007f06a542c449 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#2  0x00007f06a9e851e6 in QEventDispatcherGlib::processEvents (this=0x3aacca0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:417
#3  0x00007f06a9e57a02 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#4  0x00007f06a9e57dec in QEventLoop::exec (this=0x7f0681002d50, flags=) at kernel/qeventloop.cpp:201
#5  0x00007f06a9d622fd in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:490
#6  0x00007f06a9e375f8 in QInotifyFileSystemWatcherEngine::run (this=0x3aac6e0) at io/qfilesystemwatcher_inotify.cpp:248
#7  0x00007f06a9d6527e in QThreadPrivate::start (arg=0x3aac6e0) at thread/qthread_unix.cpp:266
#8  0x00007f06a9ada971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#9  0x00007f06a85ad92d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f067e730700 (LWP 3093)):
#0  0x00007f06a9addc9d in __pthread_mutex_unlock_usercnt (mutex=0x505da78) at pthread_mutex_unlock.c:52
#1  __pthread_mutex_unlock (mutex=0x505da78) at pthread_mutex_unlock.c:290
#2  0x00007f06a542a379 in g_main_context_acquire () from /lib/libglib-2.0.so.0
#3  0x00007f06a542bdf5 in ?? () from /lib/libglib-2.0.so.0
#4  0x00007f06a542c45c in g_main_context_iteration () from /lib/libglib-2.0.so.0
#5  0x00007f06a9e851e6 in QEventDispatcherGlib::processEvents (this=0x5053d50, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:417
#6  0x00007f06a9e57a02 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#7  0x00007f06a9e57dec in QEventLoop::exec (this=0x7f067e72fd50, flags=) at kernel/qeventloop.cpp:201
#8  0x00007f06a9d622fd in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:490
#9  0x00007f06a9e375f8 in QInotifyFileSystemWatcherEngine::run (this=0x504f7b0) at io/qfilesystemwatcher_inotify.cpp:248
#10 0x00007f06a9d6527e in QThreadPrivate::start (arg=0x504f7b0) at thread/qthread_unix.cpp:266
#11 0x00007f06a9ada971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#12 0x00007f06a85ad92d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#13 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f067c72c700 (LWP 3098)):
#0  0x00007f06a542b433 in g_main_context_check () from /lib/libglib-2.0.so.0
#1  0x00007f06a542c023 in ?? () from /lib/libglib-2.0.so.0
#2  0x00007f06a542c45c in g_main_context_iteration () from /lib/libglib-2.0.so.0
#3  0x00007f06a9e851e6 in QEventDispatcherGlib::processEvents (this=0x4cddaa0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:417
#4  0x00007f06a9e57a02 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#5  0x00007f06a9e57dec in QEventLoop::exec (this=0x7f067c72bd50, flags=) at kernel/qeventloop.cpp:201
#6  0x00007f06a9d622fd in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:490
#7  0x00007f06a9e375f8 in QInotifyFileSystemWatcherEngine::run (this=0x5350ff0) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007f06a9d6527e in QThreadPrivate::start (arg=0x5350ff0) at thread/qthread_unix.cpp:266
#9  0x00007f06a9ada971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#10 0x00007f06a85ad92d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f06b0d567c0 (LWP 3072)):
[KCrash Handler]
#6  findChar (str=0x2f003000300030, len=7602291, ch=..., from=0, cs=Qt::CaseSensitive) at tools/qstring.cpp:284
#7  0x00007f06aaecb4f4 in QMenu::initStyleOption (this=0x518a130, option=0x7fff3e3a6110, action=0x69ed8b0) at widgets/qmenu.cpp:1218
#8  0x00007f06aaecc7af in QMenuPrivate::updateActionRects (this=0x518a190) at widgets/qmenu.cpp:298
#9  0x00007f06aaecd602 in QMenu::popup (this=0x518a130, p=..., atAction=<value optimized out>) at widgets/qmenu.cpp:1816
#10 0x00007f06aaecfc16 in QMenu::internalDelayedPopup (this=0x500a4f0) at widgets/qmenu.cpp:3006
#11 0x00007f06aaed0174 in QMenu::timerEvent (this=0x500a4f0, e=<value optimized out>) at widgets/qmenu.cpp:2846
#12 0x00007f06a9e6a8f9 in QObject::event (this=0x500a4f0, e=0x740073) at kernel/qobject.cpp:1183
#13 0x00007f06aaabf6df in QWidget::event (this=0x500a4f0, event=0x7fff3e3a6f20) at kernel/qwidget.cpp:8646
#14 0x00007f06aaed290b in QMenu::event (this=0x500a4f0, e=0x7fff3e3a6f20) at widgets/qmenu.cpp:2410
#15 0x00007f06aaa69fdc in QApplicationPrivate::notify_helper (this=0x270a630, receiver=0x500a4f0, e=0x7fff3e3a6f20) at kernel/qapplication.cpp:4396
#16 0x00007f06aaa6faed in QApplication::notify (this=0x7fff3e3a7350, receiver=0x500a4f0, e=0x7fff3e3a6f20) at kernel/qapplication.cpp:4277
#17 0x00007f06ab7bc156 in KApplication::notify (this=0x7fff3e3a7350, receiver=0x500a4f0, event=0x7fff3e3a6f20) at ../../kdeui/kernel/kapplication.cpp:310
#18 0x00007f06a9e58cdc in QCoreApplication::notifyInternal (this=0x7fff3e3a7350, receiver=0x500a4f0, event=0x7fff3e3a6f20) at kernel/qcoreapplication.cpp:732
#19 0x00007f06a9e886f2 in sendEvent (this=0x270e390) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#20 QTimerInfoList::activateTimers (this=0x270e390) at kernel/qeventdispatcher_unix.cpp:602
#21 0x00007f06a9e854a4 in timerSourceDispatch (source=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:184
#22 0x00007f06a5428342 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#23 0x00007f06a542c2a8 in ?? () from /lib/libglib-2.0.so.0
#24 0x00007f06a542c45c in g_main_context_iteration () from /lib/libglib-2.0.so.0
#25 0x00007f06a9e85193 in QEventDispatcherGlib::processEvents (this=0x26cb280, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:415
#26 0x00007f06aab1ca4e in QGuiEventDispatcherGlib::processEvents (this=0x2f003000300030, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#27 0x00007f06a9e57a02 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#28 0x00007f06a9e57dec in QEventLoop::exec (this=0x7fff3e3a71c0, flags=) at kernel/qeventloop.cpp:201
#29 0x00007f06a9e5bebb in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#30 0x000000000077cc1d in main (argc=<value optimized out>, argv=<value optimized out>) at /build/buildd/digikam-1.4.0/digikam/main.cpp:195

Reported using DrKonqi
Comment 1 Johannes Midgren 2011-01-01 23:29:55 UTC
With "Album menu" I mean the first menu entry of the main window (i.e. not the context menu achieved by right clicking an album). I was closing the menu by clicking on "Album" in the main menu once more.

I tried to recreate the crash by selecting various level albums and playing around with the Album menu, but so far I have not experienced the same problem again.
Comment 2 caulier.gilles 2011-01-02 08:03:02 UTC
Not reproduclible here.

Please update to last 1.7.0 and try again. A lots of bugs/Crashes have been fixed since 1.4.0...

Gilles Caulier
Comment 3 Marcel Wiesweg 2011-01-18 16:02:56 UTC
This is either a crash at a random place due to memory corruption, or it's a Qt crash. No idea at the moment.
Comment 4 caulier.gilles 2011-07-06 11:01:18 UTC
We need feedback using a recent version. 2.0.0 RC is out, please test...

Thanks in advance

Gilles Caulier
Comment 5 caulier.gilles 2011-11-03 12:41:51 UTC
digiKam 2.2.0 is out since few weeks. Crash still valid with this version ?

Gilles Caulier
Comment 6 caulier.gilles 2015-07-02 05:06:26 UTC
New digiKam 4.11.0 is available.

https://www.digikam.org/node/740

Can you reproduce the problem with this release ?

Gilles Caulier
Comment 7 caulier.gilles 2016-07-03 06:39:32 UTC
With digiKam 5.0.0, this problem is not reproducible.

I close this file now. Re-open it if necessary.

Gilles Caulier