Bug 200124 - crashed after clicking cancel for the "Scan for files" device dialog
Summary: crashed after clicking cancel for the "Scan for files" device dialog
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Setup-Collections (show other bugs)
Version: 1.0.0
Platform: Unlisted Binaries Linux
: NOR crash
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-07-14 05:15 UTC by Craig Magina
Modified: 2017-08-10 08:31 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 1.0.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Craig Magina 2009-07-14 05:15:55 UTC
Application that crashed: digikam
Version of the application: 1.0.0-beta1
KDE Version: 4.2.96 (KDE 4.2.96 (KDE 4.3 RC2))
Qt Version: 4.5.2
Operating System: Linux 2.6.30-8-generic x86_64
Distribution: Ubuntu karmic (development branch)

What I was doing when the application crashed:
Digikam crashed after I clicked cancel for the "Scan for files" device dialog.
At the time, digikam was scanning my new photos I had added to the directory using dolphin.

 -- Backtrace:
Application: digiKam (digikam), signal: Segmentation fault
pthread_cond_timedwait@@GLIBC_2.3.2 ()
    at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:217
	in ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
[Current thread is 1 (Thread 0x7ff189971760 (LWP 9929))]

Thread 14 (Thread 0x7ff170bbe950 (LWP 9933)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007ff18334149b in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x1247760, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x1247760, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00000000006abb1b in Digikam::ScanController::run (this=0x122d040) at /build/buildd/digikam-1.0.0~beta1/digikam/scancontroller.cpp:455
#4  0x00007ff1833403e5 in QThreadPrivate::start (arg=0x122d040) at thread/qthread_unix.cpp:188
#5  0x00007ff1816383ba in start_thread (arg=<value optimized out>) at pthread_create.c:297
#6  0x00007ff1828a81bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 13 (Thread 0x7ff16bfff950 (LWP 9935)):
#0  0x00007ff18163b200 in __pthread_mutex_unlock_usercnt (mutex=0x7ff16c0186d8, decr=1) at pthread_mutex_unlock.c:64
#1  0x00007ff17d23270f in g_main_context_acquire () from /usr/lib/libglib-2.0.so.0
#2  0x00007ff17d233f42 in ?? () from /usr/lib/libglib-2.0.so.0
#3  0x00007ff17d2344f0 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#4  0x00007ff18344f24e in QEventDispatcherGlib::processEvents (this=0x7ff16c02a950, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:329
#5  0x00007ff183425572 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#6  0x00007ff183425944 in QEventLoop::exec (this=0x7ff16bfff050, flags=) at kernel/qeventloop.cpp:201
#7  0x00007ff18333d66b in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487
#8  0x00007ff1833403e5 in QThreadPrivate::start (arg=0x15c8750) at thread/qthread_unix.cpp:188
#9  0x00007ff1816383ba in start_thread (arg=<value optimized out>) at pthread_create.c:297
#10 0x00007ff1828a81bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 12 (Thread 0x7ff16b7fe950 (LWP 9936)):
#0  0x00007ff181639a78 in __pthread_mutex_lock (mutex=0x1247d68) at pthread_mutex_lock.c:86
#1  0x00007ff17d233a8f in g_main_context_prepare () from /usr/lib/libglib-2.0.so.0
#2  0x00007ff17d233fc1 in ?? () from /usr/lib/libglib-2.0.so.0
#3  0x00007ff17d2344f0 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#4  0x00007ff18344f24e in QEventDispatcherGlib::processEvents (this=0x1247c90, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:329
#5  0x00007ff183425572 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#6  0x00007ff183425944 in QEventLoop::exec (this=0x7ff16b7fe050, flags=) at kernel/qeventloop.cpp:201
#7  0x00007ff18333d66b in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487
#8  0x00007ff1833403e5 in QThreadPrivate::start (arg=0x123eb60) at thread/qthread_unix.cpp:188
#9  0x00007ff1816383ba in start_thread (arg=<value optimized out>) at pthread_create.c:297
#10 0x00007ff1828a81bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 11 (Thread 0x7ff16affd950 (LWP 9937)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007ff18334149b in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x13227b8, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x13227b8, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007ff186c6cd42 in Digikam::LoadSaveThread::run (this=0x13227a0) at /build/buildd/digikam-1.0.0~beta1/libs/threadimageio/loadsavethread.cpp:136
#4  0x00007ff1833403e5 in QThreadPrivate::start (arg=0x13227a0) at thread/qthread_unix.cpp:188
#5  0x00007ff1816383ba in start_thread (arg=<value optimized out>) at pthread_create.c:297
#6  0x00007ff1828a81bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 10 (Thread 0x7ff16a7fc950 (LWP 9938)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007ff18334149b in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x124b668, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x124b668, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007ff186c6cd42 in Digikam::LoadSaveThread::run (this=0x124b650) at /build/buildd/digikam-1.0.0~beta1/libs/threadimageio/loadsavethread.cpp:136
#4  0x00007ff1833403e5 in QThreadPrivate::start (arg=0x124b650) at thread/qthread_unix.cpp:188
#5  0x00007ff1816383ba in start_thread (arg=<value optimized out>) at pthread_create.c:297
#6  0x00007ff1828a81bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 9 (Thread 0x7ff16657e950 (LWP 9939)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:217
#1  0x00007ff1682c9f91 in ?? () from /usr/lib/libxine.so.1
#2  0x00007ff1816383ba in start_thread (arg=<value optimized out>) at pthread_create.c:297
#3  0x00007ff1828a81bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 8 (Thread 0x7ff1644a6950 (LWP 9940)):
#0  0x00007ff1828a0932 in select () from /lib/libc.so.6
#1  0x00007ff1682f30a4 in xine_usec_sleep () from /usr/lib/libxine.so.1
#2  0x00007ff1682d7deb in ?? () from /usr/lib/libxine.so.1
#3  0x00007ff1816383ba in start_thread (arg=<value optimized out>) at pthread_create.c:297
#4  0x00007ff1828a81bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 7 (Thread 0x7ff163ca5950 (LWP 9941)):
#0  0x00007ff18289e686 in *__GI___poll (fds=0x25d9150, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007ff17d2341ac in ?? () from /usr/lib/libglib-2.0.so.0
#2  0x00007ff17d2344f0 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#3  0x00007ff18344f24e in QEventDispatcherGlib::processEvents (this=0x25d7620, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:329
#4  0x00007ff183425572 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#5  0x00007ff183425944 in QEventLoop::exec (this=0x7ff163ca5000, flags=) at kernel/qeventloop.cpp:201
#6  0x00007ff18333d66b in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487
#7  0x00007ff16852550e in ?? () from /usr/lib/kde4/plugins/phonon_backend/phonon_xine.so
#8  0x00007ff1833403e5 in QThreadPrivate::start (arg=0x25d7020) at thread/qthread_unix.cpp:188
#9  0x00007ff1816383ba in start_thread (arg=<value optimized out>) at pthread_create.c:297
#10 0x00007ff1828a81bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7ff15f092950 (LWP 9979)):
#0  0x00007ff1687b1a80 in ?? () from /usr/lib/libasound.so.2
#1  0x00007ff1687ac7a8 in snd_hctl_handle_events () from /usr/lib/libasound.so.2
#2  0x00007ff1687b6519 in snd_mixer_handle_events () from /usr/lib/libasound.so.2
#3  0x00007ff16329f9a8 in ?? () from /usr/lib/xine/plugins/1.26/xineplug_ao_out_alsa.so
#4  0x00007ff1816383ba in start_thread (arg=<value optimized out>) at pthread_create.c:297
#5  0x00007ff1828a81bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#6  0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7ff15e891950 (LWP 9980)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007ff1682db353 in ?? () from /usr/lib/libxine.so.1
#2  0x00007ff1816383ba in start_thread (arg=<value optimized out>) at pthread_create.c:297
#3  0x00007ff1828a81bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7ff14765d950 (LWP 9996)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007ff18334149b in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x4684eb8, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x4684eb8, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x0000000000504fd3 in Digikam::CameraController::run (this=0x4682c90) at /build/buildd/digikam-1.0.0~beta1/utilities/cameragui/cameracontroller.cpp:327
#4  0x00007ff1833403e5 in QThreadPrivate::start (arg=0x4682c90) at thread/qthread_unix.cpp:188
#5  0x00007ff1816383ba in start_thread (arg=<value optimized out>) at pthread_create.c:297
#6  0x00007ff1828a81bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7ff13d5aa950 (LWP 10000)):
#0  0x00007ff18289e686 in *__GI___poll (fds=0x491d020, nfds=2, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007ff13d7c458a in ?? () from /usr/lib/libavahi-common.so.3
#2  0x00007ff13d7c30ae in avahi_simple_poll_run () from /usr/lib/libavahi-common.so.3
#3  0x00007ff13d7c385d in avahi_simple_poll_iterate () from /usr/lib/libavahi-common.so.3
#4  0x00007ff13d7c388d in avahi_simple_poll_loop () from /usr/lib/libavahi-common.so.3
#5  0x00007ff13d7c43dc in ?? () from /usr/lib/libavahi-common.so.3
#6  0x00007ff1816383ba in start_thread (arg=<value optimized out>) at pthread_create.c:297
#7  0x00007ff1828a81bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#8  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7ff14c50b950 (LWP 10530)):
[KCrash Handler]
#5  QMutex::lock (this=0x80) at thread/qmutex.cpp:152
#6  0x00007ff183340528 in QMutexLocker::relock (arg=<value optimized out>) at ../../include/QtCore/../../src/corelib/thread/qmutex.h:120
#7  QMutexLocker (arg=<value optimized out>) at ../../include/QtCore/../../src/corelib/thread/qmutex.h:102
#8  QThreadPrivate::finish (arg=<value optimized out>) at thread/qthread_unix.cpp:198
#9  0x00007ff1833403ed in ~__pthread_cleanup_class (arg=0x4892880) at /usr/include/pthread.h:533
#10 QThreadPrivate::start (arg=0x4892880) at thread/qthread_unix.cpp:190
#11 0x00007ff1816383ba in start_thread (arg=<value optimized out>) at pthread_create.c:297
#12 0x00007ff1828a81bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#13 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7ff189971760 (LWP 9929)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:217
#1  0x00007ff18333fe75 in thread_sleep (ti=0x7fffdf98af90) at thread/qthread_unix.cpp:297
#2  0x00007ff18333ffe0 in QThread::msleep (msecs=<value optimized out>) at thread/qthread_unix.cpp:323
#3  0x00007ff16854972a in ?? () from /usr/lib/kde4/plugins/phonon_backend/phonon_xine.so
#4  0x00007ff189324e16 in ~FactoryPrivate (this=0x2125d10, __in_chrg=<value optimized out>) at ../3rdparty/phonon/phonon/factory.cpp:199
#5  0x00007ff1827f875d in *__GI_exit (status=1) at exit.c:75
#6  0x00007ff18400c9c8 in qt_xio_errhandler () at kernel/qapplication_x11.cpp:707
#7  0x00007ff1853a0dd8 in KApplication::xioErrhandler (this=0x7fffdf98b480, dpy=0x11f3290) at ../../kdeui/kernel/kapplication.cpp:408
#8  0x00007ff181c3df6e in _XIOError () from /usr/lib/libX11.so.6
#9  0x00007ff181c45845 in ?? () from /usr/lib/libX11.so.6
#10 0x00007ff181c460f7 in _XEventsQueued () from /usr/lib/libX11.so.6
#11 0x00007ff181c2efbb in XEventsQueued () from /usr/lib/libX11.so.6
#12 0x00007ff184045c8c in x11EventSourceCheck (s=0x11d65b0) at kernel/qguieventdispatcher_glib.cpp:87
#13 0x00007ff17d2338da in g_main_context_check () from /usr/lib/libglib-2.0.so.0
#14 0x00007ff17d2340c0 in ?? () from /usr/lib/libglib-2.0.so.0
#15 0x00007ff17d2344f0 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#16 0x00007ff18344f1f6 in QEventDispatcherGlib::processEvents (this=0x11a13c0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:327
#17 0x00007ff184045ace in QGuiEventDispatcherGlib::processEvents (this=0x7fffdf98af14, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202
#18 0x00007ff183425572 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#19 0x00007ff183425944 in QEventLoop::exec (this=0x7fffdf98b390, flags=) at kernel/qeventloop.cpp:201
#20 0x00007ff183427af9 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#21 0x00000000006e0fe2 in main (argc=<value optimized out>, argv=<value optimized out>) at /build/buildd/digikam-1.0.0~beta1/digikam/main.cpp:184

Reported using DrKonqi
Comment 1 caulier.gilles 2009-07-14 06:26:40 UTC
I cannot see why digiKam crash here. 

Try with beta 2 and running digiKam under gdb...

Gilles Caulier
Comment 2 Marcel Wiesweg 2009-08-04 15:48:48 UTC
Was this the dialog that is shown at startup (when splash screen is disabled)?
Or did you add the files in dolphin while digikam was running?
Comment 3 Craig Magina 2009-08-04 20:52:55 UTC
I added the files while digikam was running.
Comment 4 Marcel Wiesweg 2009-08-06 16:11:33 UTC
What is the '"Scan for files" device dialog.'? When you add images to digikam while running it does not show any dialog.
Comment 5 Craig Magina 2009-08-07 03:26:38 UTC
I wish I could remember.  I just took a look at digikam and I couldn't find the dialog, but it might have been the camera file dialog that I was canceling out of.
Comment 6 caulier.gilles 2009-08-15 10:56:00 UTC
And with beta3, problem still reproducible ?

Gilles Caulier
Comment 7 Marcel Wiesweg 2009-11-27 19:47:30 UTC
Assuming this is fixed, no response for a long time and very old beta.