Bug 271707 - crash when starting after sleeping mode - previous task: rebuild all fingerprints
Summary: crash when starting after sleeping mode - previous task: rebuild all fingerpr...
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Searches-Similarity (show other bugs)
Version: 2.0.0
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-04-25 19:58 UTC by Axel Krebs
Modified: 2017-07-10 08:40 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 2.5.0


Attachments
out-of-memory-situation? (89.91 KB, image/png)
2011-05-03 08:04 UTC, Axel Krebs
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Axel Krebs 2011-04-25 19:58:39 UTC
Application: digikam (2.0.0-beta4)
KDE Platform Version: 4.6.2 (4.6.2)
Qt Version: 4.7.0
Operating System: Linux 2.6.35-28-generic-pae i686
Distribution: Ubuntu 10.10

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

- rebulding all fingerprints (as necessary for searching duplicates) takes very longs time. 

- the task reserves nearly 100% of CPU-time

- when done completely, a "quick check",  re-run goes through in some minutes.

- after deleting approx. 200 out of 110000 pics, re-building takes again hours... missing marking per each pic?

- after sleeping mode, the task will not run again, instaed of this exspected reaction, DK crashes.

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

Thread 6 (Thread 0xaf2b9b70 (LWP 11937)):
#0  0xb7828424 in __kernel_vsyscall ()
#1  0xb4207df6 in poll () from /lib/libc.so.6
#2  0xb2ff7a1b in g_poll () from /lib/libglib-2.0.so.0
#3  0xb2fea43c in ?? () from /lib/libglib-2.0.so.0
#4  0xb2feaba7 in g_main_loop_run () from /lib/libglib-2.0.so.0
#5  0xb25a89c4 in ?? () from /usr/lib/libgio-2.0.so.0
#6  0xb301148f in ?? () from /lib/libglib-2.0.so.0
#7  0xb3214cc9 in start_thread () from /lib/libpthread.so.0
#8  0xb421669e in clone () from /lib/libc.so.6

Thread 5 (Thread 0xac929b70 (LWP 11938)):
#0  0xb7828424 in __kernel_vsyscall ()
#1  0xb32194dc in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb4223d9d in pthread_cond_wait () from /lib/libc.so.6
#3  0xb45a59c7 in wait (this=0x8e2018c, mutex=0x8e20188, time=4294967295) at thread/qwaitcondition_unix.cpp:88
#4  QWaitCondition::wait (this=0x8e2018c, mutex=0x8e20188, time=4294967295) at thread/qwaitcondition_unix.cpp:160
#5  0x08237d09 in Digikam::ScanController::run (this=0x8e27fc0) at /build/buildd/digikam2-2.0.0~beta4+maverick~ppa4kde46/digikam/database/scancontroller.cpp:602
#6  0xb45a4df9 in QThreadPrivate::start (arg=0x8e27fc0) at thread/qthread_unix.cpp:266
#7  0xb3214cc9 in start_thread () from /lib/libpthread.so.0
#8  0xb421669e in clone () from /lib/libc.so.6

Thread 4 (Thread 0xac128b70 (LWP 11939)):
#0  0xb2bf7e36 in clock_gettime () from /lib/librt.so.1
#1  0xb460050b in do_gettime () at tools/qelapsedtimer_unix.cpp:105
#2  qt_gettime () at tools/qelapsedtimer_unix.cpp:119
#3  0xb46d76e5 in QTimerInfoList::updateCurrentTime (this=0xae900654) at kernel/qeventdispatcher_unix.cpp:339
#4  0xb46d772a in QTimerInfoList::timerWait (this=0xae900654, tm=...) at kernel/qeventdispatcher_unix.cpp:442
#5  0xb46d57a8 in timerSourcePrepareHelper (src=<value optimized out>, timeout=0xac127f2c) at kernel/qeventdispatcher_glib.cpp:136
#6  0xb46d583d in timerSourcePrepare (source=0x0, timeout=0xb2bfbff4) at kernel/qeventdispatcher_glib.cpp:169
#7  0xb2fe9e6a in g_main_context_prepare () from /lib/libglib-2.0.so.0
#8  0xb2fea279 in ?? () from /lib/libglib-2.0.so.0
#9  0xb2fea848 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#10 0xb46d559f in QEventDispatcherGlib::processEvents (this=0x8e22138, flags=...) at kernel/qeventdispatcher_glib.cpp:417
#11 0xb46a5609 in QEventLoop::processEvents (this=0xac128100, flags=) at kernel/qeventloop.cpp:149
#12 0xb46a5a8a in QEventLoop::exec (this=0xac128100, flags=...) at kernel/qeventloop.cpp:201
#13 0xb45a1b7e in QThread::exec (this=0x8e20be0) at thread/qthread.cpp:490
#14 0xb468435b in QInotifyFileSystemWatcherEngine::run (this=0x8e20be0) at io/qfilesystemwatcher_inotify.cpp:248
#15 0xb45a4df9 in QThreadPrivate::start (arg=0x8e20be0) at thread/qthread_unix.cpp:266
#16 0xb3214cc9 in start_thread () from /lib/libpthread.so.0
#17 0xb421669e in clone () from /lib/libc.so.6

Thread 3 (Thread 0xab927b70 (LWP 11941)):
#0  0xb7828424 in __kernel_vsyscall ()
#1  0xb32194dc in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb4223d9d in pthread_cond_wait () from /lib/libc.so.6
#3  0xb45a59c7 in wait (this=0x8f6f858, mutex=0x8f6f854, time=4294967295) at thread/qwaitcondition_unix.cpp:88
#4  QWaitCondition::wait (this=0x8f6f858, mutex=0x8f6f854, time=4294967295) at thread/qwaitcondition_unix.cpp:160
#5  0xb65b871a in Digikam::ParkingThread::run (this=0x8f6f848) at /build/buildd/digikam2-2.0.0~beta4+maverick~ppa4kde46/libs/threads/threadmanager.cpp:119
#6  0xb45a4df9 in QThreadPrivate::start (arg=0x8f6f848) at thread/qthread_unix.cpp:266
#7  0xb3214cc9 in start_thread () from /lib/libpthread.so.0
#8  0xb421669e in clone () from /lib/libc.so.6

Thread 2 (Thread 0xa3dc0b70 (LWP 12345)):
[KCrash Handler]
#7  0xb7828424 in __kernel_vsyscall ()
#8  0xb4170941 in raise () from /lib/libc.so.6
#9  0xb4173e42 in abort () from /lib/libc.so.6
#10 0xb4394055 in __gnu_cxx::__verbose_terminate_handler() () from /usr/lib/libstdc++.so.6
#11 0xb4391f35 in ?? () from /usr/lib/libstdc++.so.6
#12 0xb4391f72 in std::terminate() () from /usr/lib/libstdc++.so.6
#13 0xb4391f95 in ?? () from /usr/lib/libstdc++.so.6
#14 0xb4391a15 in __cxa_call_unexpected () from /usr/lib/libstdc++.so.6
#15 0xb65b3e28 in CSubband::PlaceTile (this=0x329fdea8, decoder=..., quantParam=3, tile=false, tileX=0, tileY=0) at /build/buildd/digikam2-2.0.0~beta4+maverick~ppa4kde46/libs/3rdparty/libpgf/Subband.cpp:200
#16 0xb65b217b in CPGFImage::Read (this=0xa3dbf750, level=0, cb=0, data=0x0) at /build/buildd/digikam2-2.0.0~beta4+maverick~ppa4kde46/libs/3rdparty/libpgf/PGFimage.cpp:296
#17 0xb65b6166 in Digikam::readPGFImageData (data=..., img=...) at /build/buildd/digikam2-2.0.0~beta4+maverick~ppa4kde46/libs/threadimageio/pgfutils.cpp:68
#18 0xb658adc2 in Digikam::ThumbnailCreator::loadFromDatabase (this=0xb309920, info=...) at /build/buildd/digikam2-2.0.0~beta4+maverick~ppa4kde46/libs/threadimageio/thumbnailcreator.cpp:886
#19 0xb658d3ab in Digikam::ThumbnailCreator::load (this=0xb309920, path=..., rect=..., pregenerate=false) at /build/buildd/digikam2-2.0.0~beta4+maverick~ppa4kde46/libs/threadimageio/thumbnailcreator.cpp:245
#20 0xb658db1b in Digikam::ThumbnailCreator::load (this=0xb309920, path=...) at /build/buildd/digikam2-2.0.0~beta4+maverick~ppa4kde46/libs/threadimageio/thumbnailcreator.cpp:196
#21 0xb6598865 in Digikam::ThumbnailLoadingTask::execute (this=0x625f51b8) at /build/buildd/digikam2-2.0.0~beta4+maverick~ppa4kde46/libs/threadimageio/thumbnailtask.cpp:169
#22 0xb656c3d3 in Digikam::LoadSaveThread::run (this=0xe3aa138) at /build/buildd/digikam2-2.0.0~beta4+maverick~ppa4kde46/libs/threadimageio/loadsavethread.cpp:117
#23 0xb65ba5c0 in Digikam::DynamicThread::DynamicThreadPriv::run (this=0xe3c29d8) at /build/buildd/digikam2-2.0.0~beta4+maverick~ppa4kde46/libs/threads/dynamicthread.cpp:328
#24 0xb4599523 in QThreadPoolThread::run (this=0xe8d2e88) at concurrent/qthreadpool.cpp:106
#25 0xb45a4df9 in QThreadPrivate::start (arg=0xe8d2e88) at thread/qthread_unix.cpp:266
#26 0xb3214cc9 in start_thread () from /lib/libpthread.so.0
#27 0xb421669e in clone () from /lib/libc.so.6

Thread 1 (Thread 0xaf7318a0 (LWP 11936)):
#0  0xb7828424 in __kernel_vsyscall ()
#1  0xb4207df6 in poll () from /lib/libc.so.6
#2  0xb2bd2d90 in ?? () from /usr/lib/libxcb.so.1
#3  0xb2bd331b in ?? () from /usr/lib/libxcb.so.1
#4  0xb2bd36b7 in xcb_writev () from /usr/lib/libxcb.so.1
#5  0xb3f67dec in _XSend () from /usr/lib/libX11.so.6
#6  0xb3f67f90 in _XReply () from /usr/lib/libX11.so.6
#7  0xb3f44779 in XGetImage () from /usr/lib/libX11.so.6
#8  0xb4d1ea8d in QX11PixmapData::transformed (this=0xe97cbc0, transform=..., mode=Qt::FastTransformation) at image/qpixmap_x11.cpp:1922
#9  0xb4d03c2d in QPixmap::transformed (this=0xbff71258, transform=..., mode=Qt::FastTransformation) at image/qpixmap.cpp:1557
#10 0xb4d03fc7 in QPixmap::scaled (this=0xbff71258, s=..., aspectMode=Qt::KeepAspectRatio, mode=Qt::FastTransformation) at image/qpixmap.cpp:1473
#11 0x081adbe7 in scaled (this=0xe3d20a0, desc=..., pix=...) at /usr/include/qt4/QtGui/qpixmap.h:126
#12 Digikam::FindDuplicatesView::slotThumbnailLoaded (this=0xe3d20a0, desc=..., pix=...) at /build/buildd/digikam2-2.0.0~beta4+maverick~ppa4kde46/utilities/fuzzysearch/findduplicatesview.cpp:387
#13 0x081af151 in Digikam::FindDuplicatesView::qt_metacall (this=0xe3d20a0, _c=QMetaObject::InvokeMetaMethod, _id=41, _a=0xbff70e24) at /build/buildd/digikam2-2.0.0~beta4+maverick~ppa4kde46/obj-i686-linux-gnu/digikam/findduplicatesview.moc:121
#14 0xb46ac8ca in QMetaObject::metacall (object=0xe3d20a0, cl=QMetaObject::ReadProperty, idx=41, argv=0xbff70e24) at kernel/qmetaobject.cpp:237
#15 0xb46bf6ad in QMetaObject::activate (sender=0xe3aa138, m=0xb67e83e4, local_signal_index=0, argv=0x1) at kernel/qobject.cpp:3280
#16 0xb658ec19 in Digikam::ThumbnailLoadThread::signalThumbnailLoaded (this=0xe3aa138, _t1=..., _t2=...) at /build/buildd/digikam2-2.0.0~beta4+maverick~ppa4kde46/obj-i686-linux-gnu/digikam/thumbnailloadthread.moc:109
#17 0xb65955e8 in Digikam::ThumbnailLoadThread::find (this=0xe3aa138, filePath=..., size=256, retPixmap=0x0, emitSignal=true, detailRect=...) at /build/buildd/digikam2-2.0.0~beta4+maverick~ppa4kde46/libs/threadimageio/thumbnailloadthread.cpp:488
#18 0xb659593e in Digikam::ThumbnailLoadThread::find (this=0xe3aa138, filePath=..., size=256) at /build/buildd/digikam2-2.0.0~beta4+maverick~ppa4kde46/libs/threadimageio/thumbnailloadthread.cpp:527
#19 0xb659597e in Digikam::ThumbnailLoadThread::find (this=0xe3aa138, filePath=...) at /build/buildd/digikam2-2.0.0~beta4+maverick~ppa4kde46/libs/threadimageio/thumbnailloadthread.cpp:522
#20 0x081ad7b5 in Digikam::FindDuplicatesView::slotAlbumAdded (this=0xe3d20a0, a=0x625f9530) at /build/buildd/digikam2-2.0.0~beta4+maverick~ppa4kde46/utilities/fuzzysearch/findduplicatesview.cpp:323
#21 0x081aeffc in Digikam::FindDuplicatesView::qt_metacall (this=0xe3d20a0, _c=QMetaObject::InvokeMetaMethod, _id=31, _a=0xbff71468) at /build/buildd/digikam2-2.0.0~beta4+maverick~ppa4kde46/obj-i686-linux-gnu/digikam/findduplicatesview.moc:111
#22 0xb46ac8ca in QMetaObject::metacall (object=0xe3d20a0, cl=QMetaObject::ReadProperty, idx=31, argv=0xbff71468) at kernel/qmetaobject.cpp:237
#23 0xb46bf6ad in QMetaObject::activate (sender=0x8e1f3e0, m=0x8473ba8, local_signal_index=1, argv=0x1) at kernel/qobject.cpp:3280
#24 0x081fc465 in Digikam::AlbumManager::signalAlbumAdded (this=0x8e1f3e0, _t1=0x625f9530) at /build/buildd/digikam2-2.0.0~beta4+maverick~ppa4kde46/obj-i686-linux-gnu/digikam/albummanager.moc:240
#25 0x08200ab1 in Digikam::AlbumManager::scanSAlbums (this=0x8e1f3e0) at /build/buildd/digikam2-2.0.0~beta4+maverick~ppa4kde46/digikam/album/albummanager.cpp:1776
#26 0x0820d72d in Digikam::AlbumManager::qt_metacall (this=0x8e1f3e0, _c=QMetaObject::InvokeMetaMethod, _id=50, _a=0xbff7164c) at /build/buildd/digikam2-2.0.0~beta4+maverick~ppa4kde46/obj-i686-linux-gnu/digikam/albummanager.moc:217
#27 0xb46ac8ca in QMetaObject::metacall (object=0x8e1f3e0, cl=QMetaObject::ReadProperty, idx=50, argv=0xbff7164c) at kernel/qmetaobject.cpp:237
#28 0xb46bf6ad in QMetaObject::activate (sender=0x8e1fa38, m=0xb47d95a4, local_signal_index=0, argv=0x1) at kernel/qobject.cpp:3280
#29 0xb47111e7 in QTimer::timeout (this=0x8e1fa38) at .moc/release-shared/moc_qtimer.cpp:134
#30 0xb46c51ce in QTimer::timerEvent (this=0x8e1fa38, e=0xbff71b80) at kernel/qtimer.cpp:271
#31 0xb46b9504 in QObject::event (this=0x8e1fa38, e=0xffffffff) at kernel/qobject.cpp:1183
#32 0xb4c07fdc in QApplicationPrivate::notify_helper (this=0x8db6010, receiver=0x8e1fa38, e=0xbff71b80) at kernel/qapplication.cpp:4396
#33 0xb4c0e04e in QApplication::notify (this=0xbff71f60, receiver=0x8e1fa38, e=0xbff71b80) at kernel/qapplication.cpp:3798
#34 0xb57af82a in KApplication::notify (this=0xbff71f60, receiver=0x8e1fa38, event=0xbff71b80) at ../../kdeui/kernel/kapplication.cpp:311
#35 0xb46a6b3b in QCoreApplication::notifyInternal (this=0xbff71f60, receiver=0x8e1fa38, event=0xbff71b80) at kernel/qcoreapplication.cpp:732
#36 0xb46d8ad6 in sendEvent (this=0x8db9234) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#37 QTimerInfoList::activateTimers (this=0x8db9234) at kernel/qeventdispatcher_unix.cpp:602
#38 0xb46d5874 in timerSourceDispatch (source=0x8db9200) at kernel/qeventdispatcher_glib.cpp:184
#39 0xb2fe6855 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#40 0xb2fea668 in ?? () from /lib/libglib-2.0.so.0
#41 0xb2fea848 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#42 0xb46d5565 in QEventDispatcherGlib::processEvents (this=0x8d6b588, flags=...) at kernel/qeventdispatcher_glib.cpp:415
#43 0xb4cc9be5 in QGuiEventDispatcherGlib::processEvents (this=0x8d6b588, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#44 0xb46a5609 in QEventLoop::processEvents (this=0xbff71e44, flags=) at kernel/qeventloop.cpp:149
#45 0xb46a5a8a in QEventLoop::exec (this=0xbff71e44, flags=...) at kernel/qeventloop.cpp:201
#46 0xb46aa00f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#47 0xb4c06e07 in QApplication::exec () at kernel/qapplication.cpp:3672
#48 0x0832cbdb in main (argc=5, argv=0xbff72204) at /build/buildd/digikam2-2.0.0~beta4+maverick~ppa4kde46/digikam/main/main.cpp:232

Possible duplicates by query: bug 210580, bug 202430, bug 201302.

Reported using DrKonqi
Comment 1 Marcel Wiesweg 2011-04-30 21:53:26 UTC
Crash in libpgf, could be an out-of-memory error though.
Comment 2 Axel Krebs 2011-05-03 08:04:01 UTC
Created attachment 59566 [details]
out-of-memory-situation?
Comment 3 caulier.gilles 2011-06-22 09:52:49 UTC
libpgf have been updated to current implementation from git master (next 2.0.0 rc). Please try again with this version...

Gilles Caulier
Comment 4 Axel Krebs 2011-06-22 20:29:04 UTC
(In reply to comment #3)
> libpgf have been updated to current implementation from git master (next 2.0.0
> rc). Please try again with this version...
> 
> Gilles Caulier



ok, I´ll try and get back to you. Axel
Comment 5 caulier.gilles 2011-07-02 10:02:18 UTC
digiKam 2.0.0 RC is out. Please check if crash is reproducible with this version.

Thanks in advance

Gilles Caulier
Comment 6 Axel Krebs 2011-07-03 14:46:32 UTC
I´ll try to; newest KDE libraries seem to prevent re-starting from
sleeping-mode, however. Need to keep my comp running all the time...

Axel

P.S.: Ubuntu Maverick 10.10, 64 bit.
---
Am 02.07.2011 12:02, schrieb Gilles Caulier:
> https://bugs.kde.org/show_bug.cgi?id=271707
> 
> 
> 
> 
> 
> --- Comment #5 from Gilles Caulier <caulier gilles gmail com>  2011-07-02 10:02:18 ---
> digiKam 2.0.0 RC is out. Please check if crash is reproducible with this
> version.
> 
> Thanks in advance
> 
> Gilles Caulier
>
Comment 7 caulier.gilles 2011-11-03 12:42:14 UTC
digiKam 2.2.0 is out since few weeks. Crash still valid with this version ?

Gilles Caulier
Comment 8 Axel Krebs 2011-12-12 20:28:41 UTC
With

"digiKam - Version 2.1.1 - Unter KDE 4.7.2 (4.7.2)"
appearently problems has gone.

Axel

Am 12.12.2011 21:15, schrieb Gilles Caulier:
> https://bugs.kde.org/show_bug.cgi?id=271707
> 
> 
> Gilles Caulier <caulier.gilles@gmail.com> changed:
> 
>            What    |Removed                     |Added
> ----------------------------------------------------------------------------
>              Status|UNCONFIRMED                 |RESOLVED
>          Resolution|                            |WAITINGFORINFO
> 
> 
> 
>