Bug 270020

Summary: crash on Exit event
Product: [Applications] marble Reporter: Jonas Stein <news>
Component: generalAssignee: marble-bugs
Status: RESOLVED DUPLICATE    
Severity: crash CC: caulier.gilles, nienhueser
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Debian testing   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Jonas Stein 2011-04-03 18:49:01 UTC
Application: digikam (1.2.0)
KDE Platform Version: 4.4.5 (KDE 4.4.5)
Qt Version: 4.7.2
Operating System: Linux 2.6.32-5-686 i686
Distribution: Debian GNU/Linux testing (wheezy)

-- Information about the crash:
reproduce on debian testing:
add new user with adduser test
start digikam
click next next next
then exit digikam
with the exit event digikam crashes.

It crashes too if there is already a digikam profile in home present.

The crash can be reproduced every time.

 -- Backtrace:
Application: digiKam (digikam), signal: Aborted
[Current thread is 1 (Thread 0xb1e43ac0 (LWP 2794))]

Thread 16 (Thread 0xb058eb70 (LWP 2795)):
#0  0xb77f3424 in __kernel_vsyscall ()
#1  0xb43acf7f in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i686/cmov/libpthread.so.0
#2  0xb4863e0d in pthread_cond_wait () from /lib/i686/cmov/libc.so.6
#3  0xb4aef6af in wait (this=0x96b5fc0, mutex=0x96b5fbc, time=4294967295) at thread/qwaitcondition_unix.cpp:88
#4  QWaitCondition::wait (this=0x96b5fc0, mutex=0x96b5fbc, time=4294967295) at thread/qwaitcondition_unix.cpp:160
#5  0x0831d344 in Digikam::ScanController::run (this=0x96bd580) at /build/buildd-digikam_1.2.0-7-i386-LMHLd9/digikam-1.2.0/digikam/scancontroller.cpp:516
#6  0xb4aeefd2 in QThreadPrivate::start (arg=0x96bd580) at thread/qthread_unix.cpp:320
#7  0xb43a8955 in start_thread () from /lib/i686/cmov/libpthread.so.0
#8  0xb4856e7e in clone () from /lib/i686/cmov/libc.so.6

Thread 15 (Thread 0xae997b70 (LWP 2861)):
#0  0xb77f3424 in __kernel_vsyscall ()
#1  0xb43acf7f in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i686/cmov/libpthread.so.0
#2  0xb4863e0d in pthread_cond_wait () from /lib/i686/cmov/libc.so.6
#3  0xb4aef6af in wait (this=0x98b0ff8, mutex=0x98b0ff4, time=4294967295) at thread/qwaitcondition_unix.cpp:88
#4  QWaitCondition::wait (this=0x98b0ff8, mutex=0x98b0ff4, time=4294967295) at thread/qwaitcondition_unix.cpp:160
#5  0xb68e4eb2 in Digikam::LoadSaveThread::run (this=0x98b0fe8) at /build/buildd-digikam_1.2.0-7-i386-LMHLd9/digikam-1.2.0/libs/threadimageio/loadsavethread.cpp:131
#6  0xb4aeefd2 in QThreadPrivate::start (arg=0x98b0fe8) at thread/qthread_unix.cpp:320
#7  0xb43a8955 in start_thread () from /lib/i686/cmov/libpthread.so.0
#8  0xb4856e7e in clone () from /lib/i686/cmov/libc.so.6

Thread 14 (Thread 0xae196b70 (LWP 2862)):
#0  socketNotifierSourceCheck (source=0x997a6e0) at kernel/qeventdispatcher_glib.cpp:83
#1  0xb4176fe7 in g_main_context_check () from /lib/libglib-2.0.so.0
#2  0xb417792a in ?? () from /lib/libglib-2.0.so.0
#3  0xb4177e14 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#4  0xb4c12367 in QEventDispatcherGlib::processEvents (this=0x97f3cf0, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#5  0xb4be3da9 in QEventLoop::processEvents (this=0xae1962b0, flags=...) at kernel/qeventloop.cpp:149
#6  0xb4be404a in QEventLoop::exec (this=0xae1962b0, flags=...) at kernel/qeventloop.cpp:201
#7  0xb4aec4a3 in QThread::exec (this=0x9a0d020) at thread/qthread.cpp:492
#8  0xb4aeefd2 in QThreadPrivate::start (arg=0x9a0d020) at thread/qthread_unix.cpp:320
#9  0xb43a8955 in start_thread () from /lib/i686/cmov/libpthread.so.0
#10 0xb4856e7e in clone () from /lib/i686/cmov/libc.so.6

Thread 13 (Thread 0xad995b70 (LWP 2863)):
#0  0xb77f3424 in __kernel_vsyscall ()
#1  0xb4849696 in poll () from /lib/i686/cmov/libc.so.6
#2  0xb418808b in g_poll () from /lib/libglib-2.0.so.0
#3  0xb4177a9f in ?? () from /lib/libglib-2.0.so.0
#4  0xb4177e14 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#5  0xb4c12367 in QEventDispatcherGlib::processEvents (this=0x97f3d00, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#6  0xb4be3da9 in QEventLoop::processEvents (this=0xad9952b0, flags=...) at kernel/qeventloop.cpp:149
#7  0xb4be404a in QEventLoop::exec (this=0xad9952b0, flags=...) at kernel/qeventloop.cpp:201
#8  0xb4aec4a3 in QThread::exec (this=0x9912de8) at thread/qthread.cpp:492
#9  0xb4aeefd2 in QThreadPrivate::start (arg=0x9912de8) at thread/qthread_unix.cpp:320
#10 0xb43a8955 in start_thread () from /lib/i686/cmov/libpthread.so.0
#11 0xb4856e7e in clone () from /lib/i686/cmov/libc.so.6

Thread 12 (Thread 0xabd0bb70 (LWP 2864)):
#0  0xb77f3424 in __kernel_vsyscall ()
#1  0xb4864163 in ?? () from /lib/i686/cmov/libc.so.6
#2  0xb47fc387 in ?? () from /lib/i686/cmov/libc.so.6
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 11 (Thread 0xa6ab9b70 (LWP 2880)):
#0  0xb77f3424 in __kernel_vsyscall ()
#1  0xb43ad482 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/i686/cmov/libpthread.so.0
#2  0xb4863e64 in pthread_cond_timedwait () from /lib/i686/cmov/libc.so.6
#3  0xab2cbc4f in ?? () from /usr/lib/libxine.so.1
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Thread 10 (Thread 0xa72bab70 (LWP 2881)):
#0  0xb77f3424 in __kernel_vsyscall ()
#1  0xb4850011 in select () from /lib/i686/cmov/libc.so.6
#2  0xab2f5570 in xine_usec_sleep () from /usr/lib/libxine.so.1
#3  0x00000000 in ?? ()

Thread 9 (Thread 0xa9cc5b70 (LWP 2882)):
#0  0xb77f3424 in __kernel_vsyscall ()
#1  0xb4864163 in ?? () from /lib/i686/cmov/libc.so.6
#2  0xb47fc49f in ?? () from /lib/i686/cmov/libc.so.6
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 8 (Thread 0xa94bcb70 (LWP 2885)):
#0  0xabd47b04 in snd_mixer_handle_events () from /usr/lib/libasound.so.2
#1  0xa94c0aa8 in ?? () from /usr/lib/xine/plugins/1.29/xineplug_ao_out_alsa.so
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Thread 7 (Thread 0xa8cbbb70 (LWP 2886)):
#0  0xb77f3424 in __kernel_vsyscall ()
#1  0xb43acf7f in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i686/cmov/libpthread.so.0
#2  0xb4863e0d in pthread_cond_wait () from /lib/i686/cmov/libc.so.6
#3  0xab2dc912 in ?? () from /usr/lib/libxine.so.1
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Thread 6 (Thread 0xa7c0ab70 (LWP 2888)):
#0  0xb77f3424 in __kernel_vsyscall ()
#1  0xb43acf7f in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i686/cmov/libpthread.so.0
#2  0xb4863e0d in pthread_cond_wait () from /lib/i686/cmov/libc.so.6
#3  0xb4aef6af in wait (this=0xa20d610, mutex=0xa20d60c, time=4294967295) at thread/qwaitcondition_unix.cpp:88
#4  QWaitCondition::wait (this=0xa20d610, mutex=0xa20d60c, time=4294967295) at thread/qwaitcondition_unix.cpp:160
#5  0xb68e4eb2 in Digikam::LoadSaveThread::run (this=0xa20d600) at /build/buildd-digikam_1.2.0-7-i386-LMHLd9/digikam-1.2.0/libs/threadimageio/loadsavethread.cpp:131
#6  0xb4aeefd2 in QThreadPrivate::start (arg=0xa20d600) at thread/qthread_unix.cpp:320
#7  0xb43a8955 in start_thread () from /lib/i686/cmov/libpthread.so.0
#8  0xb4856e7e in clone () from /lib/i686/cmov/libc.so.6

Thread 5 (Thread 0xa52b6b70 (LWP 2894)):
#0  0xb77f3424 in __kernel_vsyscall ()
#1  0xb43acf7f in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i686/cmov/libpthread.so.0
#2  0xb4863e0d in pthread_cond_wait () from /lib/i686/cmov/libc.so.6
#3  0xb4aef6af in wait (this=0xa47bf78, mutex=0xa47bf74, time=4294967295) at thread/qwaitcondition_unix.cpp:88
#4  QWaitCondition::wait (this=0xa47bf78, mutex=0xa47bf74, time=4294967295) at thread/qwaitcondition_unix.cpp:160
#5  0xb68e4eb2 in Digikam::LoadSaveThread::run (this=0xa47bf68) at /build/buildd-digikam_1.2.0-7-i386-LMHLd9/digikam-1.2.0/libs/threadimageio/loadsavethread.cpp:131
#6  0xb4aeefd2 in QThreadPrivate::start (arg=0xa47bf68) at thread/qthread_unix.cpp:320
#7  0xb43a8955 in start_thread () from /lib/i686/cmov/libpthread.so.0
#8  0xb4856e7e in clone () from /lib/i686/cmov/libc.so.6

Thread 4 (Thread 0xa62b8b70 (LWP 2895)):
[KCrash Handler]
#6  0xb77f3424 in __kernel_vsyscall ()
#7  0xb47b5751 in raise () from /lib/i686/cmov/libc.so.6
#8  0xb47b8b82 in abort () from /lib/i686/cmov/libc.so.6
#9  0xb47ec18d in ?? () from /lib/i686/cmov/libc.so.6
#10 0xb47f6281 in ?? () from /lib/i686/cmov/libc.so.6
#11 0xb47f7ad8 in ?? () from /lib/i686/cmov/libc.so.6
#12 0xb47fabbd in free () from /lib/i686/cmov/libc.so.6
#13 0xa846785e in gps_close () from /usr/lib/libgps.so.19
#14 0xa846bca4 in gpsmm::~gpsmm() () from /usr/lib/libgps.so.19
#15 0xa8492d4e in ?? () from /usr/lib/kde4/plugins/marble/GpsdPositionProviderPlugin.so
#16 0xb4aeefd2 in QThreadPrivate::start (arg=0xa4de718) at thread/qthread_unix.cpp:320
#17 0xb43a8955 in start_thread () from /lib/i686/cmov/libpthread.so.0
#18 0xb4856e7e in clone () from /lib/i686/cmov/libc.so.6

Thread 3 (Thread 0xa5ab7b70 (LWP 2896)):
#0  0xb77f3424 in __kernel_vsyscall ()
#1  0xb43acf7f in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i686/cmov/libpthread.so.0
#2  0xb4863e0d in pthread_cond_wait () from /lib/i686/cmov/libc.so.6
#3  0xb4aef6af in wait (this=0xa569840, mutex=0xa56983c, time=4294967295) at thread/qwaitcondition_unix.cpp:88
#4  QWaitCondition::wait (this=0xa569840, mutex=0xa56983c, time=4294967295) at thread/qwaitcondition_unix.cpp:160
#5  0xb68e4eb2 in Digikam::LoadSaveThread::run (this=0xa569830) at /build/buildd-digikam_1.2.0-7-i386-LMHLd9/digikam-1.2.0/libs/threadimageio/loadsavethread.cpp:131
#6  0xb4aeefd2 in QThreadPrivate::start (arg=0xa569830) at thread/qthread_unix.cpp:320
#7  0xb43a8955 in start_thread () from /lib/i686/cmov/libpthread.so.0
#8  0xb4856e7e in clone () from /lib/i686/cmov/libc.so.6

Thread 2 (Thread 0xa42b4b70 (LWP 2898)):
#0  0xb77f3424 in __kernel_vsyscall ()
#1  0xb4864163 in ?? () from /lib/i686/cmov/libc.so.6
#2  0xb47fc387 in ?? () from /lib/i686/cmov/libc.so.6
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 1 (Thread 0xb1e43ac0 (LWP 2794)):
#0  0xb77f3424 in __kernel_vsyscall ()
#1  0xb4864163 in ?? () from /lib/i686/cmov/libc.so.6
#2  0xb47fc387 in ?? () from /lib/i686/cmov/libc.so.6
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Reported using DrKonqi
Comment 1 Dennis Nienhüser 2011-04-04 00:21:33 UTC
The crash seems to occur in libgps when closing the gps device. That sounds a bit odd as I wouldn't think that digikam was using/activating the gpsd plugin of Marble.

There'll be no more releases of KDE 4.4 (same for 4.5), but I'll leave this bug open because the plugin itself hasn't changed much. Possibly it still applies in the current version.

Can you post which libgps19 version is installed on your system, please?
apt-cache policy libgps19
tells you. Thanks.
Comment 2 Bernhard Beschow 2011-08-19 20:03:14 UTC

*** This bug has been marked as a duplicate of bug 234311 ***