Bug 317342 - digikam crashes on closing
Summary: digikam crashes on closing
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Geolocation-Engine (show other bugs)
Version: 3.1.0
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-03-25 17:08 UTC by monts
Modified: 2017-08-18 19:52 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 monts 2013-03-25 17:08:17 UTC
Application: digikam (3.1.0-git)
KDE Platform Version: 4.10.1
Qt Version: 4.8.4
Operating System: Linux 3.9.0-0.rc4.git0.2.fc20.x86_64 x86_64
Distribution: "Fedora release 18 (Spherical Cow)"

-- Information about the crash:
- What I was doing when the application crashed:

Did a full debug compile of digiKam 3.1.x git .. all deps are installed the programs compiles successfully ...
tested via launching from local build folder ... each time digiKam is closed it crashes ... back trace attached ..

The crash can be reproduced every time.

-- Backtrace:
Application: digiKam (digikam), signal: Aborted
Using host libthread_db library "/lib64/libthread_db.so.1".
81	T_PSEUDO (SYSCALL_SYMBOL, SYSCALL_NAME, SYSCALL_NARGS)
[Current thread is 1 (Thread 0x7f41389aea40 (LWP 7519))]

Thread 4 (Thread 0x7f412e121700 (LWP 7521)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:165
#1  0x000000300807bebb in wait (time=18446744073709551615, this=0x26a58a0) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x26a5798, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00000000005f8971 in Digikam::ScanController::run (this=0x2670ff0) at /root/Documents/code/digikam-sc/core/digikam/database/scancontroller.cpp:705
#4  0x000000300807b95c in QThreadPrivate::start (arg=0x2670ff0) at thread/qthread_unix.cpp:338
#5  0x0000003000c07d15 in start_thread (arg=0x7f412e121700) at pthread_create.c:308
#6  0x00000030004f248d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:114

Thread 3 (Thread 0x7f412d920700 (LWP 7522)):
#0  0x00007fff8c9fea2f in clock_gettime ()
#1  0x000000300140413d in __GI_clock_gettime (clock_id=<optimized out>, tp=<optimized out>) at ../sysdeps/unix/clock_gettime.c:115
#2  0x00000030080d18d4 in do_gettime (frac=0x7f412d91f868, sec=0x7f412d91f860) at tools/qelapsedtimer_unix.cpp:123
#3  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#4  0x00000030081a6a2d in QTimerInfoList::updateCurrentTime (this=this@entry=0x7f4120002660) at kernel/qeventdispatcher_unix.cpp:354
#5  0x00000030081a6d73 in QTimerInfoList::timerWait (this=0x7f4120002660, tm=...) at kernel/qeventdispatcher_unix.cpp:461
#6  0x00000030081a57dc in timerSourcePrepareHelper (src=<optimized out>, timeout=0x7f412d91f954) at kernel/qeventdispatcher_glib.cpp:136
#7  0x00000030081a5885 in timerSourcePrepare (source=<optimized out>, timeout=timeout@entry=0x7f412d91f954) at kernel/qeventdispatcher_glib.cpp:169
#8  0x00000030024475b8 in g_main_context_prepare (context=context@entry=0x7f41200009a0, priority=priority@entry=0x7f412d91f9b8) at gmain.c:2986
#9  0x0000003002447c4b in g_main_context_iterate (context=context@entry=0x7f41200009a0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3270
#10 0x0000003002447e44 in g_main_context_iteration (context=0x7f41200009a0, may_block=1) at gmain.c:3351
#11 0x00000030081a6126 in QEventDispatcherGlib::processEvents (this=0x7f41200008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#12 0x000000300817680f in QEventLoop::processEvents (this=this@entry=0x7f412d91fb10, flags=...) at kernel/qeventloop.cpp:149
#13 0x0000003008176a98 in QEventLoop::exec (this=0x7f412d91fb10, flags=...) at kernel/qeventloop.cpp:204
#14 0x0000003008078980 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:542
#15 0x000000300815703f in QInotifyFileSystemWatcherEngine::run (this=0x266ced0) at io/qfilesystemwatcher_inotify.cpp:256
#16 0x000000300807b95c in QThreadPrivate::start (arg=0x266ced0) at thread/qthread_unix.cpp:338
#17 0x0000003000c07d15 in start_thread (arg=0x7f412d920700) at pthread_create.c:308
#18 0x00000030004f248d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:114

Thread 2 (Thread 0x7f412d11f700 (LWP 7526)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:165
#1  0x000000300807bebb in wait (time=18446744073709551615, this=0x29eac80) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x29bcdb8, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f4139255a75 in Digikam::ParkingThread::run (this=0x29bcda0) at /root/Documents/code/digikam-sc/core/libs/threads/threadmanager.cpp:119
#4  0x000000300807b95c in QThreadPrivate::start (arg=0x29bcda0) at thread/qthread_unix.cpp:338
#5  0x0000003000c07d15 in start_thread (arg=0x7f412d11f700) at pthread_create.c:308
#6  0x00000030004f248d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:114

Thread 1 (Thread 0x7f41389aea40 (LWP 7519)):
[KCrash Handler]
#6  0x0000003000435ba5 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:63
#7  0x0000003000437358 in __GI_abort () at abort.c:90
#8  0x000000300047559b in __libc_message (do_abort=do_abort@entry=2, fmt=fmt@entry=0x3000579ba8 "*** glibc detected *** %s: %s: 0x%s ***\n") at ../sysdeps/unix/sysv/linux/libc_fatal.c:197
#9  0x000000300047ca8e in malloc_printerr (ptr=0x385f288, str=0x3000577a01 "free(): invalid pointer", action=3) at malloc.c:4969
#10 _int_free (av=0x30007b1740 <main_arena>, p=0x385f278, have_lock=0) at malloc.c:3826
#11 0x00007f413974c1f3 in KGeoMap::AbstractMarkerTiler::tileDeleteInternal (this=0x385f100, tile=0x385f288) at /root/Documents/code/digikam-sc/extra/libkgeomap/libkgeomap/abstractmarkertiler.cpp:439
#12 0x00007f413974c1c1 in KGeoMap::AbstractMarkerTiler::tileDelete (this=0x385f100, tile=0x385f288) at /root/Documents/code/digikam-sc/extra/libkgeomap/libkgeomap/abstractmarkertiler.cpp:434
#13 0x00007f413974c362 in KGeoMap::AbstractMarkerTiler::clear (this=0x385f100) at /root/Documents/code/digikam-sc/extra/libkgeomap/libkgeomap/abstractmarkertiler.cpp:473
#14 0x000000000057f440 in Digikam::GPSMarkerTiler::~GPSMarkerTiler (this=0x385f100, __in_chrg=<optimized out>) at /root/Documents/code/digikam-sc/core/utilities/gpssearch/gpsmarkertiler.cpp:150
#15 0x000000000057f4cc in Digikam::GPSMarkerTiler::~GPSMarkerTiler (this=0x385f100, __in_chrg=<optimized out>) at /root/Documents/code/digikam-sc/core/utilities/gpssearch/gpsmarkertiler.cpp:153
#16 0x000000300818a112 in QObjectPrivate::deleteChildren (this=0x384ba70) at kernel/qobject.cpp:1907
#17 0x0000003008c141c4 in QWidget::~QWidget (this=0x384ba20, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1681
#18 0x000000000057cbbb in Digikam::GPSSearchView::~GPSSearchView (this=0x384ba20, __in_chrg=<optimized out>) at /root/Documents/code/digikam-sc/core/utilities/gpssearch/gpssearchview.cpp:274
#19 0x000000000057cc36 in Digikam::GPSSearchView::~GPSSearchView (this=0x384ba20, __in_chrg=<optimized out>) at /root/Documents/code/digikam-sc/core/utilities/gpssearch/gpssearchview.cpp:277
#20 0x000000300818a112 in QObjectPrivate::deleteChildren (this=0x38a36a0) at kernel/qobject.cpp:1907
#21 0x0000003008c141c4 in QWidget::~QWidget (this=0x384bd20, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1681
#22 0x0000003008c14519 in QWidget::~QWidget (this=0x384bd20, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1705
#23 0x000000300818a112 in QObjectPrivate::deleteChildren (this=0x38a3390) at kernel/qobject.cpp:1907
#24 0x0000003008c141c4 in QWidget::~QWidget (this=0x38a3360, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1681
#25 0x0000003009047159 in QScrollArea::~QScrollArea (this=0x38a3360, __in_chrg=<optimized out>) at widgets/qscrollarea.cpp:176
#26 0x000000300818a112 in QObjectPrivate::deleteChildren (this=0x384b700) at kernel/qobject.cpp:1907
#27 0x0000003008c141c4 in QWidget::~QWidget (this=0x37a55e0, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1681
#28 0x00000000006884c6 in Digikam::SidebarWidget::~SidebarWidget (this=0x37a55e0, __in_chrg=<optimized out>) at /root/Documents/code/digikam-sc/core/digikam/utils/sidebarwidget.cpp:34
#29 0x00000000006a4b05 in Digikam::GPSSearchSideBarWidget::~GPSSearchSideBarWidget (this=0x37a55e0, __in_chrg=<optimized out>) at /root/Documents/code/digikam-sc/core/digikam/views/leftsidebarwidgets.cpp:1065
#30 0x00000000006a4b44 in Digikam::GPSSearchSideBarWidget::~GPSSearchSideBarWidget (this=0x37a55e0, __in_chrg=<optimized out>) at /root/Documents/code/digikam-sc/core/digikam/views/leftsidebarwidgets.cpp:1068
#31 0x000000300818a112 in QObjectPrivate::deleteChildren (this=0x2b57e40) at kernel/qobject.cpp:1907
#32 0x0000003008c141c4 in QWidget::~QWidget (this=0x2b824d0, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1681
#33 0x000000300901e109 in QStackedWidget::~QStackedWidget (this=0x2b824d0, __in_chrg=<optimized out>) at widgets/qstackedwidget.cpp:196
#34 0x000000300818a112 in QObjectPrivate::deleteChildren (this=0x2b82240) at kernel/qobject.cpp:1907
#35 0x0000003008c141c4 in QWidget::~QWidget (this=0x2b5b3e0, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1681
#36 0x00007f4139280083 in Digikam::SidebarSplitter::~SidebarSplitter (this=0x2b5b3e0, __in_chrg=<optimized out>) at /root/Documents/code/digikam-sc/core/libs/widgets/common/sidebar.cpp:494
#37 0x00007f41392800f8 in Digikam::SidebarSplitter::~SidebarSplitter (this=0x2b5b3e0, __in_chrg=<optimized out>) at /root/Documents/code/digikam-sc/core/libs/widgets/common/sidebar.cpp:503
#38 0x000000300818a112 in QObjectPrivate::deleteChildren (this=0x2b81e10) at kernel/qobject.cpp:1907
#39 0x0000003008c141c4 in QWidget::~QWidget (this=0x290a0b0, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1681
#40 0x000000000068e1d0 in Digikam::DigikamView::~DigikamView (this=0x290a0b0, __in_chrg=<optimized out>) at /root/Documents/code/digikam-sc/core/digikam/views/digikamview.cpp:355
#41 0x000000000068e22c in Digikam::DigikamView::~DigikamView (this=0x290a0b0, __in_chrg=<optimized out>) at /root/Documents/code/digikam-sc/core/digikam/views/digikamview.cpp:361
#42 0x000000000059bed7 in Digikam::DigikamApp::~DigikamApp (this=0x26e5ae0, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at /root/Documents/code/digikam-sc/core/digikam/main/digikamapp.cpp:334
#43 0x000000000059c0f4 in Digikam::DigikamApp::~DigikamApp (this=0x26e5ae0, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at /root/Documents/code/digikam-sc/core/digikam/main/digikamapp.cpp:360
#44 0x000000300818c3f8 in QObject::event (this=0x26e5ae0, e=<optimized out>) at kernel/qobject.cpp:1175
#45 0x0000003008c1968a in QWidget::event (this=0x26e5ae0, event=0x70ed6c0) at kernel/qwidget.cpp:8845
#46 0x0000003008fddf2b in QMainWindow::event (this=0x26e5ae0, event=0x70ed6c0) at widgets/qmainwindow.cpp:1478
#47 0x0000003013139758 in KXmlGuiWindow::event (this=0x26e5ae0, ev=0x70ed6c0) at /usr/src/debug/kdelibs-4.10.1/kdeui/xmlgui/kxmlguiwindow.cpp:126
#48 0x0000003008bca5cc in QApplicationPrivate::notify_helper (this=0x24ee520, receiver=0x26e5ae0, e=0x70ed6c0) at kernel/qapplication.cpp:4562
#49 0x0000003008bcea4a in QApplication::notify (this=0x7fff8c98d4f0, receiver=0x26e5ae0, e=0x70ed6c0) at kernel/qapplication.cpp:4423
#50 0x00000030130473c6 in KApplication::notify (this=0x7fff8c98d4f0, receiver=0x26e5ae0, event=0x70ed6c0) at /usr/src/debug/kdelibs-4.10.1/kdeui/kernel/kapplication.cpp:311
#51 0x0000003008177abe in QCoreApplication::notifyInternal (this=0x7fff8c98d4f0, receiver=receiver@entry=0x26e5ae0, event=event@entry=0x70ed6c0) at kernel/qcoreapplication.cpp:946
#52 0x000000300817b571 in sendEvent (event=0x70ed6c0, receiver=0x26e5ae0) at kernel/qcoreapplication.h:231
#53 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x2473950) at kernel/qcoreapplication.cpp:1570
#54 0x00000030081a5f73 in sendPostedEvents () at kernel/qcoreapplication.h:236
#55 postEventSourceDispatch (s=s@entry=0x24e6870) at kernel/qeventdispatcher_glib.cpp:279
#56 0x0000003002447a55 in g_main_dispatch (context=0x24ea200) at gmain.c:2715
#57 g_main_context_dispatch (context=context@entry=0x24ea200) at gmain.c:3219
#58 0x0000003002447d88 in g_main_context_iterate (context=context@entry=0x24ea200, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3290
#59 0x0000003002447e44 in g_main_context_iteration (context=0x24ea200, may_block=1) at gmain.c:3351
#60 0x00000030081a6106 in QEventDispatcherGlib::processEvents (this=0x24752b0, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#61 0x0000003008c6a73e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:207
#62 0x000000300817680f in QEventLoop::processEvents (this=this@entry=0x7fff8c98d370, flags=...) at kernel/qeventloop.cpp:149
#63 0x0000003008176a98 in QEventLoop::exec (this=0x7fff8c98d370, flags=...) at kernel/qeventloop.cpp:204
#64 0x000000300817b888 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1218
#65 0x00000000006e0a8a in main (argc=1, argv=0x7fff8c98dc08) at /root/Documents/code/digikam-sc/core/digikam/main/main.cpp:234

Possible duplicates by query: bug 314055, bug 313389, bug 311589, bug 309216, bug 308575.

Reported using DrKonqi
Comment 1 caulier.gilles 2013-10-30 15:51:41 UTC
digiKam 3.5.0 is out.

Can you give a fresh feedback about your report ? Crash still reproducible ?

Thanks in advance

Gilles Caulier
Comment 2 caulier.gilles 2013-12-05 23:30:02 UTC
Monts,

Do you see my previous message ?

Gilles Caulier
Comment 3 caulier.gilles 2015-06-25 13:11:43 UTC
New digiKam 4.11.0 is available with official PKG installer for OSX.

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

Can you reproduce the problem with this release ?
Comment 4 caulier.gilles 2015-08-20 06:52:57 UTC
digiKam 4.12.0 is out :

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

We need a fresh feedback using this release please...
Thanks in advance.

Gilles Caulier
Comment 5 caulier.gilles 2016-07-02 19:00:56 UTC
With digiKam 5.0.0, this problem is not reproducible.

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

Gilles Caulier