Bug 194341 - digikam crashed with seg fault
Summary: digikam crashed with seg fault
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Plugin-Generic-DigitalScanner (show other bugs)
Version: unspecified
Platform: Unlisted Binaries Linux
: NOR crash
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-27 21:24 UTC by cpeter1
Modified: 2021-03-29 10:40 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 7.3.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description cpeter1 2009-05-27 21:24:30 UTC
Application that crashed: digikam
Version of the application: 0.10.0
KDE Version: 4.2.85 (KDE 4.2.85 (KDE 4.3 Beta1))
Qt Version: 4.5.1
Operating System: Linux 2.6.30-6-generic x86_64
Distribution: Ubuntu karmic (development branch)

 -- 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 0 (LWP 4791)]

Thread 11 (Thread 0x7f3911259950 (LWP 4792)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007f3920c8183b in QWaitCondition::wait (this=<value optimized out>, mutex=0x1652da0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  0x000000000064bbb3 in ?? ()
#3  0x00007f3920c80781 in QThreadPrivate::start (arg=0x1652970) at thread/qthread_unix.cpp:189
#4  0x00007f391ef813ba in start_thread (arg=<value optimized out>) at pthread_create.c:297
#5  0x00007f39201e70bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#6  0x0000000000000000 in ?? ()

Thread 10 (Thread 0x7f390ff78950 (LWP 4796)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007f3920c8183b in QWaitCondition::wait (this=<value optimized out>, mutex=0x17eed38, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  0x00007f39245b062c in Digikam::LoadSaveThread::run () from /usr/lib/libdigikamcore.so.1
#3  0x00007f3920c80781 in QThreadPrivate::start (arg=0x17eed20) at thread/qthread_unix.cpp:189
#4  0x00007f391ef813ba in start_thread (arg=<value optimized out>) at pthread_create.c:297
#5  0x00007f39201e70bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#6  0x0000000000000000 in ?? ()

Thread 9 (Thread 0x7f390f652950 (LWP 4797)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007f3920c8183b in QWaitCondition::wait (this=<value optimized out>, mutex=0x1631478, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  0x00007f39245b062c in Digikam::LoadSaveThread::run () from /usr/lib/libdigikamcore.so.1
#3  0x00007f3920c80781 in QThreadPrivate::start (arg=0x1631460) at thread/qthread_unix.cpp:189
#4  0x00007f391ef813ba in start_thread (arg=<value optimized out>) at pthread_create.c:297
#5  0x00007f39201e70bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#6  0x0000000000000000 in ?? ()

Thread 8 (Thread 0x7f39080ae950 (LWP 4798)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:217
#1  0x00007f390cfc2f91 in ?? () from /usr/lib/libxine.so.1
#2  0x00007f391ef813ba in start_thread (arg=<value optimized out>) at pthread_create.c:297
#3  0x00007f39201e70bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 7 (Thread 0x7f3905fd5950 (LWP 4799)):
#0  0x00007f39201df832 in select () from /lib/libc.so.6
#1  0x00007f390cfec0a4 in xine_usec_sleep () from /usr/lib/libxine.so.1
#2  0x00007f390cfd0deb in ?? () from /usr/lib/libxine.so.1
#3  0x00007f391ef813ba in start_thread (arg=<value optimized out>) at pthread_create.c:297
#4  0x00007f39201e70bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7f39057d4950 (LWP 4800)):
#0  0x00007f39201dd586 in *__GI___poll (fds=0x15d93e0, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f391ae20522 in ?? () from /usr/lib/libglib-2.0.so.0
#2  0x00007f391ae2089c in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#3  0x00007f3920d9275e in QEventDispatcherGlib::processEvents (this=0x15de050, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:326
#4  0x00007f3920d67cc2 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#5  0x00007f3920d68094 in QEventLoop::exec (this=0x7f39057d4000, flags=) at kernel/qeventloop.cpp:200
#6  0x00007f3920c7d96b in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487
#7  0x00007f390d21e50e in ?? () from /usr/lib/kde4/plugins/phonon_backend/phonon_xine.so
#8  0x00007f3920c80781 in QThreadPrivate::start (arg=0x15d8cf0) at thread/qthread_unix.cpp:189
#9  0x00007f391ef813ba in start_thread (arg=<value optimized out>) at pthread_create.c:297
#10 0x00007f39201e70bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7f3903745950 (LWP 4825)):
#0  0x00007f39201dd586 in *__GI___poll (fds=0x7f3903744f90, nfds=1, timeout=333) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f38ff721969 in ?? () from /usr/lib/xine/plugins/1.26/xineplug_ao_out_alsa.so
#2  0x00007f391ef813ba in start_thread (arg=<value optimized out>) at pthread_create.c:297
#3  0x00007f39201e70bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

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

Thread 3 (Thread 0x7f3902eed950 (LWP 5103)):
[KCrash Handler]
#5  QThreadPrivate::finish (arg=<value optimized out>) at thread/qthread_unix.cpp:204
#6  0x00007f3920c80789 in QThreadPrivate::start (arg=0x6672860) at /usr/include/pthread.h:533
#7  0x00007f391ef813ba in start_thread (arg=<value optimized out>) at pthread_create.c:297
#8  0x00007f39201e70bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#9  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f390269d950 (LWP 5104)):
#0  0x00007f38e958b0b0 in avahi_simple_poll_run () from /usr/lib/libavahi-common.so.3
#1  0x00007f38e958b85d in avahi_simple_poll_iterate () from /usr/lib/libavahi-common.so.3
#2  0x00007f38e958b88d in avahi_simple_poll_loop () from /usr/lib/libavahi-common.so.3
#3  0x00007f38e958c3dc in ?? () from /usr/lib/libavahi-common.so.3
#4  0x00007f391ef813ba in start_thread (arg=<value optimized out>) at pthread_create.c:297
#5  0x00007f39201e70bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#6  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f39272a0760 (LWP 4791)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:217
#1  0x00007f3920c801f5 in thread_sleep (ti=0x7fffb7702ac0) at thread/qthread_unix.cpp:298
#2  0x00007f3920c80360 in QThread::msleep (msecs=<value optimized out>) at thread/qthread_unix.cpp:324
#3  0x00007f390d24272a in ?? () from /usr/lib/kde4/plugins/phonon_backend/phonon_xine.so
#4  0x00007f3926c5f496 in ~FactoryPrivate (this=0x1a33e20) at ../3rdparty/phonon/phonon/factory.cpp:199
#5  0x00007f39201376fd in *__GI_exit (status=1) at exit.c:75
#6  0x00007f392194b7c8 in qt_xio_errhandler () at kernel/qapplication_x11.cpp:707
#7  0x00007f3922d1bee8 in KApplication::xioErrhandler (this=0x7fffb7702f80, dpy=0x1457680) at ../../kdeui/kernel/kapplication.cpp:413
#8  0x00007f391f57c2ee in _XIOError () from /usr/lib/libX11.so.6
#9  0x00007f391f583eb5 in ?? () from /usr/lib/libX11.so.6
#10 0x00007f391f584777 in _XEventsQueued () from /usr/lib/libX11.so.6
#11 0x00007f391f56d203 in XEventsQueued () from /usr/lib/libX11.so.6
#12 0x00007f392198539c in x11EventSourceCheck (s=0x1437c20) at kernel/qguieventdispatcher_glib.cpp:87
#13 0x00007f391ae1fc1a in g_main_context_check () from /usr/lib/libglib-2.0.so.0
#14 0x00007f391ae20428 in ?? () from /usr/lib/libglib-2.0.so.0
#15 0x00007f391ae2089c in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#16 0x00007f3920d9275e in QEventDispatcherGlib::processEvents (this=0x1400d70, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:326
#17 0x00007f39219851de in QGuiEventDispatcherGlib::processEvents (this=0x7fffb7702a44, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202
#18 0x00007f3920d67cc2 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#19 0x00007f3920d68094 in QEventLoop::exec (this=0x7fffb7702ec0, flags=) at kernel/qeventloop.cpp:200
#20 0x00007f3920d6a189 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#21 0x0000000000671a37 in ?? ()
#22 0x00007f392011f5a6 in __libc_start_main (main=0x670690, argc=5, ubp_av=0x7fffb7703708, init=0x6733b0 <__libc_csu_init>, fini=<value optimized out>, rtld_fini=<value optimized out>, 
    stack_end=0x7fffb77036f8) at libc-start.c:220
#23 0x0000000000458839 in _start ()
217	in ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
Comment 1 cpeter1 2009-05-27 21:31:24 UTC
digikam crashed after selecting Import -> Scan Images... and pressing Cancel.
is reproducible.
Comment 2 caulier.gilles 2009-05-27 21:45:45 UTC
Install kipi-plugins 0.3.0 and try again...

Gilles Caulier
Comment 3 Christoph Feck 2009-05-28 06:03:45 UTC
Looks like an X11 error, maybe the one from XCB?
Comment 4 cpeter1 2009-05-28 09:50:28 UTC
Yes, I guess you are right. Seems not to be a digikam problem. 
I checked again and the crash only happens if I press "Cancel" while digikam is looking for a scanner -> "Looking for devices. Please wait". If I press "Cancel" after "Sorry. No devices found" has appeared, no crash happens.

Might be a bug in kubuntu 9.10 aplha. 
Sorry for reporting the bug.
Comment 5 Andi Clemens 2009-06-26 09:52:28 UTC
Ok I will close this one.
Comment 6 caulier.gilles 2021-03-29 10:40:28 UTC
Not reproducible with 7.3.0