Bug 218860 - Digikam crashes when starting from krunner
Summary: Digikam crashes when starting from krunner
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Database-Scan (show other bugs)
Version: 1.0.0
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-12-16 00:14 UTC by Miguel Tadeu
Modified: 2019-12-25 17:20 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 7.0.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Miguel Tadeu 2009-12-16 00:14:50 UTC
Application: digikam (1.0.0-beta5)
KDE Platform Version: 4.3.80 (KDE 4.3.80 (KDE 4.4 Beta1))
Qt Version: 4.6.0
Operating System: Linux 2.6.31-16-generic i686
Distribution: Ubuntu 9.10

-- Information about the crash:
I'm tring to run digikam from krunner. Before if crashes, a message on the system tray is displayed saying:
Nepomuk Semantic Desktop needs the Virtuoso RDF server to store its data.....

Right after that, the crash report shows up. I can start it from the command line and it doesn't crash.

The crash can be reproduced everytime.

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

Thread 10 (Thread 0xb616cb70 (LWP 4666)):
#0  0x00cef422 in __kernel_vsyscall ()
#1  0x00d50e15 in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:122
#2  0x060f378d in __pthread_cond_wait (cond=0xa41c688, mutex=0xa41c670) at forward.c:139
#3  0x027dc307 in QWaitConditionPrivate::wait (this=0xa41c5a0, mutex=0xa41c59c, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#4  QWaitCondition::wait (this=0xa41c5a0, mutex=0xa41c59c, time=4294967295) at thread/qwaitcondition_unix.cpp:159
#5  0x0830a2d9 in Digikam::ScanController::run (this=0xa3fe800) at /build/buildd/digikam-1.0.0~beta5/digikam/scancontroller.cpp:499
#6  0x027db3ae in QThreadPrivate::start (arg=0xa3fe800) at thread/qthread_unix.cpp:244
#7  0x00d4c80e in start_thread (arg=0xb616cb70) at pthread_create.c:300
#8  0x060e67ee in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 9 (Thread 0xb58d3b70 (LWP 4669)):
#0  0x00cef422 in __kernel_vsyscall ()
#1  0x060d8ba6 in *__GI___poll (fds=0x6159ff4, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#2  0x092f553b in IA__g_poll (fds=0xa63d078, nfds=1, timeout=-1) at /build/buildd/glib2.0-2.22.2/glib/gpoll.c:127
#3  0x092e855b in g_main_context_poll (context=0xa6aa478, block=<value optimized out>, dispatch=1, self=0xa427aa8) at /build/buildd/glib2.0-2.22.2/glib/gmain.c:2904
#4  g_main_context_iterate (context=0xa6aa478, block=<value optimized out>, dispatch=1, self=0xa427aa8) at /build/buildd/glib2.0-2.22.2/glib/gmain.c:2586
#5  0x092e8853 in IA__g_main_context_iteration (context=0xa6aa478, may_block=1) at /build/buildd/glib2.0-2.22.2/glib/gmain.c:2654
#6  0x02908c0f in QEventDispatcherGlib::processEvents (this=0xa42be38, flags=...) at kernel/qeventdispatcher_glib.cpp:409
#7  0x028db4c9 in QEventLoop::processEvents (this=0xb58d3280, flags=) at kernel/qeventloop.cpp:149
#8  0x028db91a in QEventLoop::exec (this=0xb58d3280, flags=...) at kernel/qeventloop.cpp:201
#9  0x027d8558 in QThread::exec (this=0xa4661b0) at thread/qthread.cpp:487
#10 0x00a9fcbd in Digikam::ImageFilterModelWorker::Thread::run() () from /usr/lib/libdigikamdatabase.so.1
#11 0x027db3ae in QThreadPrivate::start (arg=0xa4661b0) at thread/qthread_unix.cpp:244
#12 0x00d4c80e in start_thread (arg=0xb58d3b70) at pthread_create.c:300
#13 0x060e67ee in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 8 (Thread 0xb4ff6b70 (LWP 4670)):
#0  pthread_mutex_unlock (mutex=0xa49067c) at forward.c:184
#1  0x092e7f6e in IA__g_main_context_prepare (context=0xa490678, priority=0xb4ff613c) at /build/buildd/glib2.0-2.22.2/glib/gmain.c:2278
#2  0x092e8341 in g_main_context_iterate (context=0xa490678, block=<value optimized out>, dispatch=1, self=0xa6319a8) at /build/buildd/glib2.0-2.22.2/glib/gmain.c:2571
#3  0x092e8853 in IA__g_main_context_iteration (context=0xa490678, may_block=1) at /build/buildd/glib2.0-2.22.2/glib/gmain.c:2654
#4  0x02908c0f in QEventDispatcherGlib::processEvents (this=0xa4943c8, flags=...) at kernel/qeventdispatcher_glib.cpp:409
#5  0x028db4c9 in QEventLoop::processEvents (this=0xb4ff6280, flags=) at kernel/qeventloop.cpp:149
#6  0x028db91a in QEventLoop::exec (this=0xb4ff6280, flags=...) at kernel/qeventloop.cpp:201
#7  0x027d8558 in QThread::exec (this=0xa4554c8) at thread/qthread.cpp:487
#8  0x00a9fcbd in Digikam::ImageFilterModelWorker::Thread::run() () from /usr/lib/libdigikamdatabase.so.1
#9  0x027db3ae in QThreadPrivate::start (arg=0xa4554c8) at thread/qthread_unix.cpp:244
#10 0x00d4c80e in start_thread (arg=0xb4ff6b70) at pthread_create.c:300
#11 0x060e67ee in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 7 (Thread 0xb4775b70 (LWP 4671)):
#0  0x00cef422 in __kernel_vsyscall ()
#1  0x00d50e15 in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:122
#2  0x060f378d in __pthread_cond_wait (cond=0xa6bb7f8, mutex=0xa6bb7e0) at forward.c:139
#3  0x027dc307 in QWaitConditionPrivate::wait (this=0xa6117f8, mutex=0xa6117f4, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#4  QWaitCondition::wait (this=0xa6117f8, mutex=0xa6117f4, time=4294967295) at thread/qwaitcondition_unix.cpp:159
#5  0x03733bfa in Digikam::LoadSaveThread::run (this=0xa6117e8) at /build/buildd/digikam-1.0.0~beta5/libs/threadimageio/loadsavethread.cpp:136
#6  0x027db3ae in QThreadPrivate::start (arg=0xa6117e8) at thread/qthread_unix.cpp:244
#7  0x00d4c80e in start_thread (arg=0xb4775b70) at pthread_create.c:300
#8  0x060e67ee in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130
The current source language is "auto; currently c".

Thread 6 (Thread 0xb3f74b70 (LWP 4672)):
#0  0x092e8489 in g_main_context_iterate (context=0xa6d62d8, block=<value optimized out>, dispatch=1, self=0xa634278) at /build/buildd/glib2.0-2.22.2/glib/gmain.c:2597
#1  0x092e8853 in IA__g_main_context_iteration (context=0xa6d62d8, may_block=1) at /build/buildd/glib2.0-2.22.2/glib/gmain.c:2654
#2  0x02908c0f in QEventDispatcherGlib::processEvents (this=0xa6b5ba0, flags=...) at kernel/qeventdispatcher_glib.cpp:409
#3  0x028db4c9 in QEventLoop::processEvents (this=0xb3f742a0, flags=) at kernel/qeventloop.cpp:149
#4  0x028db91a in QEventLoop::exec (this=0xb3f742a0, flags=...) at kernel/qeventloop.cpp:201
#5  0x027d8558 in QThread::exec (this=0xa675418) at thread/qthread.cpp:487
#6  0x027db3ae in QThreadPrivate::start (arg=0xa675418) at thread/qthread_unix.cpp:244
#7  0x00d4c80e in start_thread (arg=0xb3f74b70) at pthread_create.c:300
#8  0x060e67ee in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 5 (Thread 0xb3773b70 (LWP 4673)):
#0  __i686.get_pc_thunk.bx () at ../sysdeps/i386/i686/memcmp.S:52
#1  0x060f396b in pthread_mutex_unlock (mutex=0xa6ac634) at forward.c:184
#2  0x092e4d07 in IA__g_main_context_dispatch (context=0xa6ac630) at /build/buildd/glib2.0-2.22.2/glib/gmain.c:2516
#3  0x092e8720 in g_main_context_iterate (context=0xa6ac630, block=<value optimized out>, dispatch=1, self=0xa64aba8) at /build/buildd/glib2.0-2.22.2/glib/gmain.c:2591
#4  0x092e8853 in IA__g_main_context_iteration (context=0xa6ac630, may_block=1) at /build/buildd/glib2.0-2.22.2/glib/gmain.c:2654
#5  0x02908c0f in QEventDispatcherGlib::processEvents (this=0xa7168f0, flags=...) at kernel/qeventdispatcher_glib.cpp:409
#6  0x028db4c9 in QEventLoop::processEvents (this=0xb37732a0, flags=) at kernel/qeventloop.cpp:149
#7  0x028db91a in QEventLoop::exec (this=0xb37732a0, flags=...) at kernel/qeventloop.cpp:201
#8  0x027d8558 in QThread::exec (this=0xa620bf0) at thread/qthread.cpp:487
#9  0x027db3ae in QThreadPrivate::start (arg=0xa620bf0) at thread/qthread_unix.cpp:244
#10 0x00d4c80e in start_thread (arg=0xb3773b70) at pthread_create.c:300
#11 0x060e67ee in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 4 (Thread 0xb2f72b70 (LWP 4674)):
#0  0x00cef422 in __kernel_vsyscall ()
#1  0x00d50e15 in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:122
#2  0x060f378d in __pthread_cond_wait (cond=0xa6cbfa0, mutex=0xa6cbf88) at forward.c:139
#3  0x027dc307 in QWaitConditionPrivate::wait (this=0xa687220, mutex=0xa68721c, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#4  QWaitCondition::wait (this=0xa687220, mutex=0xa68721c, time=4294967295) at thread/qwaitcondition_unix.cpp:159
#5  0x03733bfa in Digikam::LoadSaveThread::run (this=0xa687210) at /build/buildd/digikam-1.0.0~beta5/libs/threadimageio/loadsavethread.cpp:136
#6  0x027db3ae in QThreadPrivate::start (arg=0xa687210) at thread/qthread_unix.cpp:244
#7  0x00d4c80e in start_thread (arg=0xb2f72b70) at pthread_create.c:300
#8  0x060e67ee in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130
The current source language is "auto; currently asm".

Thread 3 (Thread 0xb13b8b70 (LWP 4677)):
#0  0x00cef422 in __kernel_vsyscall ()
#1  0x00d50e15 in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:122
#2  0x060f378d in __pthread_cond_wait (cond=0xaae79c0, mutex=0xaae79a8) at forward.c:139
#3  0x027dc307 in QWaitConditionPrivate::wait (this=0xaad64a0, mutex=0xaad649c, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#4  QWaitCondition::wait (this=0xaad64a0, mutex=0xaad649c, time=4294967295) at thread/qwaitcondition_unix.cpp:159
#5  0x03733bfa in Digikam::LoadSaveThread::run (this=0xaad6490) at /build/buildd/digikam-1.0.0~beta5/libs/threadimageio/loadsavethread.cpp:136
#6  0x027db3ae in QThreadPrivate::start (arg=0xaad6490) at thread/qthread_unix.cpp:244
#7  0x00d4c80e in start_thread (arg=0xb13b8b70) at pthread_create.c:300
#8  0x060e67ee in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 2 (Thread 0xb0b0cb70 (LWP 4678)):
#0  0x00cef422 in __kernel_vsyscall ()
#1  0x060d6ecb in read () from /lib/tls/i686/cmov/libc.so.6
#2  0x060807d8 in _IO_file_xsgetn (fp=0xab15ed0, data=0xb2ce930, n=16384) at fileops.c:1464
#3  0x060827b8 in _IO_sgetn (fp=0xab15ed0, data=0xb2ce930, n=16384) at genops.c:500
#4  0x060763be in _IO_fread (buf=0xb2ce930, size=1, count=16384, fp=0xab15ed0) at iofread.c:44
#5  0x028ab432 in fread (this=0xab131b0, data=0xb2ce930 "", len=16384) at /usr/include/bits/stdio2.h:287
#6  QFSFileEnginePrivate::readFdFh (this=0xab131b0, data=0xb2ce930 "", len=16384) at io/qfsfileengine.cpp:639
#7  0x028b3cfa in QFSFileEnginePrivate::nativeRead (this=0xab131b0, data=0xb2ce930 "", len=16384) at io/qfsfileengine_unix.cpp:340
#8  0x028aa964 in QFSFileEngine::read (this=0xab158f0, data=0xb2ce930 "", maxlen=16384) at io/qfsfileengine.cpp:615
#9  0x02866706 in QFile::readData (this=0xb0b0c104, data=0xb2ce930 "", len=16384) at io/qfile.cpp:1513
#10 0x0286ec73 in QIODevice::read (this=0xb0b0c104, 
    data=0xb0b0bfec "\314\221\202\002\035\216\230\002\377\377\377\377(\300\260\260\364\037\237\002\f\301\260\260\254\300\260\260h\300\260\260\335\002\203\002\254\300\260\260D\300\260\260\377\377\377\377\032]\202\002", maxSize=4) at io/qiodevice.cpp:808
#11 0x0285525f in QDataStream::operator>> (this=0xb0b0c0ac, i=@0xb0b0c044) at io/qdatastream.cpp:728
#12 0x028302dd in QDataStream::operator>> (in=..., str=...) at ../../include/QtCore/../../src/corelib/io/qdatastream.h:222
#13 operator>> (in=..., str=...) at tools/qstring.cpp:7279
#14 0x09083cd0 in ?? () from /usr/lib/libmarblewidget.so.4
#15 0x0908513b in ?? () from /usr/lib/libmarblewidget.so.4
#16 0x027db3ae in QThreadPrivate::start (arg=0xb0b0c0c8) at thread/qthread_unix.cpp:244
#17 0x00d4c80e in start_thread (arg=0xb0b0cb70) at pthread_create.c:300
#18 0x060e67ee in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 1 (Thread 0xb770f760 (LWP 4665)):
[KCrash Handler]
#6  0x00cef422 in __kernel_vsyscall ()
#7  0x060444d1 in *__GI_raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#8  0x06047932 in *__GI_abort () at abort.c:92
#9  0x0607aee5 in __libc_message (do_abort=2, fmt=0x613e438 "*** glibc detected *** %s: %s: 0x%s ***\n") at ../sysdeps/unix/sysv/linux/libc_fatal.c:189
#10 0x06084ff1 in malloc_printerr (action=<value optimized out>, str=0x6 <Address 0x6 out of bounds>, ptr=0xb007da8) at malloc.c:6217
#11 0x06089806 in *__GI___libc_free (mem=0x6) at malloc.c:3677
#12 0x027d5a1d in qFree (ptr=0xb007da8) at global/qmalloc.cpp:60
#13 0x028258e0 in QString::free (d=0xb007da8) at tools/qstring.cpp:1108
#14 0x0163ffd9 in ~QString (this=0xa3a1b40, name=...) at /usr/include/qt4/QtCore/qstring.h:869
#15 KIconThemeDir::iconPath (this=0xa3a1b40, name=...) at ../../kdeui/icons/kicontheme.cpp:708
#16 0x01640171 in KIconTheme::iconPath (this=0xa39f180, name=..., size=16, match=KIconLoader::MatchBest) at ../../kdeui/icons/kicontheme.cpp:488
#17 0x0163765c in KIconLoaderPrivate::findMatchingIcon (this=0xa378168, name=..., size=16) at ../../kdeui/icons/kiconloader.cpp:818
#18 0x0163a897 in KIconLoaderPrivate::findMatchingIconWithGenericFallbacks (this=0xa378168, name=..., size=16) at ../../kdeui/icons/kiconloader.cpp:663
#19 0x0163bca3 in KIconLoader::loadIcon (this=0xa3799a8, _name=..., group=KIconLoader::Small, size=16, state=0, overlays=..., path_store=0x0, canReturnNull=false)
    at ../../kdeui/icons/kiconloader.cpp:1124
#20 0x0163dc5f in SmallIcon (name=..., force_size=0, state=0, overlays=...) at ../../kdeui/icons/kiconloader.cpp:1586
#21 0x0380c7e9 in ImagePropertiesSideBar (this=0xaa36228, parent=0xa45ebc8, splitter=0xa45e008, side=KMultiTabBar::Right, mimimizedDefault=<value optimized out>)
    at /build/buildd/digikam-1.0.0~beta5/libs/imageproperties/imagepropertiessidebar.cpp:85
#22 0x080b0a41 in ImagePropertiesSideBarDB (this=0xaa36228, parent=0xa45ebc8, splitter=0xa45e008, side=KMultiTabBar::Right, mimimizedDefault=<value optimized out>)
    at /build/buildd/digikam-1.0.0~beta5/libs/imageproperties/imagepropertiessidebardb.cpp:89
#23 0x082b57f9 in DigikamView (this=0xa45ebc8, parent=0xa556fc8) at /build/buildd/digikam-1.0.0~beta5/digikam/digikamview.cpp:220
#24 0x0829b110 in Digikam::DigikamApp::setupView (this=0xa556fc8) at /build/buildd/digikam-1.0.0~beta5/digikam/digikamapp.cpp:470
#25 0x082aa439 in DigikamApp (this=0xa556fc8, __in_chrg=<value optimized out>, __vtt_parm=<value optimized out>) at /build/buildd/digikam-1.0.0~beta5/digikam/digikamapp.cpp:209
#26 0x083a4b12 in main (argc=5, argv=0xbf866794) at /build/buildd/digikam-1.0.0~beta5/digikam/main.cpp:163

Possible duplicates by query: bug 206778, bug 187667.

Reported using DrKonqi
Comment 1 Dario Andres 2009-12-17 00:24:29 UTC
This is a glibc bug: bug 196207. Thanks

*** This bug has been marked as a duplicate of bug 196207 ***
Comment 2 caulier.gilles 2019-12-25 17:20:25 UTC
Not reproducible using digiKam 7.0.0 beta1.