Bug 282610 - digiKam crashes in view image mode (maybe only with face tags)
Summary: digiKam crashes in view image mode (maybe only with face tags)
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Faces-Engine (show other bugs)
Version: 2.0.0
Platform: Microsoft Windows Microsoft Windows
: NOR crash
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-23 10:00 UTC by Benoît Bâlon
Modified: 2016-07-07 21:50 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In: 2.5.0


Attachments
DebugView trace (988.54 KB, text/plain)
2011-09-26 07:50 UTC, Benoît Bâlon
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Benoît Bâlon 2011-09-23 10:00:10 UTC
Application: digikam (2.0.0)
KDE Platform Version: 4.7.00 (4.7.0)
Qt Version: 4.7.4
Operating System: WindowsNT Windows 7 i686

-- Information about the crash:
digiKam crashes in view image mode. It seems that only pictures having face tags (people recognition) are concerned.

digiKam 2.0.0 on Windows 7.

The crash can be reproduced every time.

-- Backtrace:
Application: digiKam (digikam.exe), signal: EXCEPTION_ACCESS_VIOLATION


ntdll.dll!KiFastSystemCallRet() [[unknown] @ -1] at 0x77ba6344
kernel32.dll!BaseThreadInitThunk() [[unknown] @ -1] at 0x77a71114
ntdll.dll!RtlInitializeExceptionChain() [[unknown] @ -1] at 0x77bbb429
ntdll.dll!RtlInitializeExceptionChain() [[unknown] @ -1] at 0x77bbb3fc


ntdll.dll!KiFastSystemCallRet() [[unknown] @ -1] at 0x77ba6344
KERNELBASE.dll!Sleep() [[unknown] @ -1] at 0x75fb1818
ole32.dll!CoRegisterMessageFilter() [[unknown] @ -1] at 0x7775580c
ole32.dll!CoGetTreatAsClass() [[unknown] @ -1] at 0x7775c8b3
kernel32.dll!BaseThreadInitThunk() [[unknown] @ -1] at 0x77a71114
ntdll.dll!RtlInitializeExceptionChain() [[unknown] @ -1] at 0x77bbb429
ntdll.dll!RtlInitializeExceptionChain() [[unknown] @ -1] at 0x77bbb3fc


ntdll.dll!KiFastSystemCallRet() [[unknown] @ -1] at 0x77ba6344
kernel32.dll!BaseThreadInitThunk() [[unknown] @ -1] at 0x77a71114
ntdll.dll!RtlInitializeExceptionChain() [[unknown] @ -1] at 0x77bbb429
ntdll.dll!RtlInitializeExceptionChain() [[unknown] @ -1] at 0x77bbb3fc


ntdll.dll!KiFastSystemCallRet() [[unknown] @ -1] at 0x77ba6344
kernel32.dll!BaseThreadInitThunk() [[unknown] @ -1] at 0x77a71114
ntdll.dll!RtlInitializeExceptionChain() [[unknown] @ -1] at 0x77bbb429
ntdll.dll!RtlInitializeExceptionChain() [[unknown] @ -1] at 0x77bbb3fc


ntdll.dll!KiFastSystemCallRet() [[unknown] @ -1] at 0x77ba6344
kernel32.dll!BaseThreadInitThunk() [[unknown] @ -1] at 0x77a71114
ntdll.dll!RtlInitializeExceptionChain() [[unknown] @ -1] at 0x77bbb429
ntdll.dll!RtlInitializeExceptionChain() [[unknown] @ -1] at 0x77bbb3fc


ntdll.dll!KiFastSystemCallRet() [[unknown] @ -1] at 0x77ba6344
kernel32.dll!WaitForSingleObjectEx() [[unknown] @ -1] at 0x77a6efa3
kernel32.dll!WaitForSingleObject() [[unknown] @ -1] at 0x77a6ef52
QtCore4.dll!QWaitCondition::wait() [[unknown] @ -1] at 0x6f787e46
digikam.exe!QMap<QString,QString>::unite() [[unknown] @ -1] at 0xb543fa


MSVCR100.dll!memcpy() [[unknown] @ -1] at 0x66391f77
QtGui4.dll!QPolygonF::QPolygonF() [[unknown] @ -1] at 0x5bdf4348
QtGui4.dll!QGraphicsOpacityEffect::draw() [[unknown] @ -1] at 0x5c23ab60
QtGui4.dll!operator<<() [[unknown] @ -1] at 0x5be831c2
QtGui4.dll!operator<<() [[unknown] @ -1] at 0x5be880e5
QtGui4.dll!operator<<() [[unknown] @ -1] at 0x5be87928
QtGui4.dll!QPainter::drawPixmap() [[unknown] @ -1] at 0x5be2b59d
digikamlib.dll!Digikam::CurvesWidget::slotCalculationFinished() [[unknown] @ -1] at 0x56b42b66
QtGui4.dll!QGraphicsScene::drawForeground() [[unknown] @ -1] at 0x5c1e6509
QtGui4.dll!QGraphicsScene::drawForeground() [[unknown] @ -1] at 0x5c1e5e12
USER32.dll!DefWindowProcW() [[unknown] @ -1] at 0x772d731c


ntdll.dll!KiFastSystemCallRet() [[unknown] @ -1] at 0x77ba6344
kernel32.dll!WaitForSingleObjectEx() [[unknown] @ -1] at 0x77a6efa3
kernel32.dll!WaitForSingleObject() [[unknown] @ -1] at 0x77a6ef52
QtCore4.dll!QWaitCondition::wait() [[unknown] @ -1] at 0x6f787e46
QtCore4.dll!QtConcurrent::internal::ExceptionStore::hasThrown() [[unknown] @ -1] at 0x6f7772ca
QtCore4.dll!QEventDispatcherWin32::`default constructor closure'() [[unknown] @ -1] at 0x6f786f28
MSVCR100.dll!__fls_getvalue() [[unknown] @ -1] at 0x663a10b1
kernel32.dll!BaseThreadInitThunk() [[unknown] @ -1] at 0x77a71114
ntdll.dll!RtlInitializeExceptionChain() [[unknown] @ -1] at 0x77bbb429
ntdll.dll!RtlInitializeExceptionChain() [[unknown] @ -1] at 0x77bbb3fc


ntdll.dll!KiFastSystemCallRet() [[unknown] @ -1] at 0x77ba6344
kernel32.dll!BaseThreadInitThunk() [[unknown] @ -1] at 0x77a71114
ntdll.dll!RtlInitializeExceptionChain() [[unknown] @ -1] at 0x77bbb429
ntdll.dll!RtlInitializeExceptionChain() [[unknown] @ -1] at 0x77bbb3fc


ntdll.dll!KiFastSystemCallRet() [[unknown] @ -1] at 0x77ba6344
kernel32.dll!BaseThreadInitThunk() [[unknown] @ -1] at 0x77a71114
ntdll.dll!RtlInitializeExceptionChain() [[unknown] @ -1] at 0x77bbb429
ntdll.dll!RtlInitializeExceptionChain() [[unknown] @ -1] at 0x77bbb3fc


ntdll.dll!KiFastSystemCallRet() [[unknown] @ -1] at 0x77ba6344
kernel32.dll!WaitForSingleObjectEx() [[unknown] @ -1] at 0x77a6efa3
kernel32.dll!WaitForSingleObject() [[unknown] @ -1] at 0x77a6ef52
QtCore4.dll!QWaitCondition::wait() [[unknown] @ -1] at 0x6f787e46
QtCore4.dll!QtConcurrent::internal::ExceptionStore::hasThrown() [[unknown] @ -1] at 0x6f7772ca
QtCore4.dll!QEventDispatcherWin32::`default constructor closure'() [[unknown] @ -1] at 0x6f786f28
MSVCR100.dll!__fls_getvalue() [[unknown] @ -1] at 0x663a10b1
kernel32.dll!BaseThreadInitThunk() [[unknown] @ -1] at 0x77a71114
ntdll.dll!RtlInitializeExceptionChain() [[unknown] @ -1] at 0x77bbb429
ntdll.dll!RtlInitializeExceptionChain() [[unknown] @ -1] at 0x77bbb3fc


ntdll.dll!KiFastSystemCallRet() [[unknown] @ -1] at 0x77ba6344
kernel32.dll!WaitForSingleObjectEx() [[unknown] @ -1] at 0x77a6efa3
kernel32.dll!WaitForSingleObject() [[unknown] @ -1] at 0x77a6ef52
QtCore4.dll!QWaitCondition::wait() [[unknown] @ -1] at 0x6f787e46
digikamlib.dll!Digikam::CurvesWidget::slotCalculationFinished() [[unknown] @ -1] at 0x56a99ddd
QtCore4.dll!QEventDispatcherWin32::`default constructor closure'() [[unknown] @ -1] at 0x6f786f28
MSVCR100.dll!freefls() [[unknown] @ -1] at 0x663a0fac


ntdll.dll!KiFastSystemCallRet() [[unknown] @ -1] at 0x77ba6344
kernel32.dll!WaitForSingleObjectEx() [[unknown] @ -1] at 0x77a6efa3
kernel32.dll!WaitForSingleObject() [[unknown] @ -1] at 0x77a6ef52
QtCore4.dll!QWaitCondition::wait() [[unknown] @ -1] at 0x6f787e46
QtCore4.dll!QtConcurrent::internal::ExceptionStore::hasThrown() [[unknown] @ -1] at 0x6f7772ca
QtCore4.dll!QEventDispatcherWin32::`default constructor closure'() [[unknown] @ -1] at 0x6f786f28
MSVCR100.dll!__fls_getvalue() [[unknown] @ -1] at 0x663a10b1
kernel32.dll!BaseThreadInitThunk() [[unknown] @ -1] at 0x77a71114
ntdll.dll!RtlInitializeExceptionChain() [[unknown] @ -1] at 0x77bbb429
ntdll.dll!RtlInitializeExceptionChain() [[unknown] @ -1] at 0x77bbb3fc


ntdll.dll!KiFastSystemCallRet() [[unknown] @ -1] at 0x77ba6344
kernel32.dll!WaitForSingleObjectEx() [[unknown] @ -1] at 0x77a6efa3
kernel32.dll!WaitForSingleObject() [[unknown] @ -1] at 0x77a6ef52
QtCore4.dll!QWaitCondition::wait() [[unknown] @ -1] at 0x6f787e46
QtCore4.dll!QtConcurrent::internal::ExceptionStore::hasThrown() [[unknown] @ -1] at 0x6f7772ca
QtCore4.dll!QEventDispatcherWin32::`default constructor closure'() [[unknown] @ -1] at 0x6f786f28
MSVCR100.dll!__fls_getvalue() [[unknown] @ -1] at 0x663a10b1
kernel32.dll!BaseThreadInitThunk() [[unknown] @ -1] at 0x77a71114
ntdll.dll!RtlInitializeExceptionChain() [[unknown] @ -1] at 0x77bbb429
ntdll.dll!RtlInitializeExceptionChain() [[unknown] @ -1] at 0x77bbb3fc


ntdll.dll!KiFastSystemCallRet() [[unknown] @ -1] at 0x77ba6344
kernel32.dll!WaitForMultipleObjectsEx() [[unknown] @ -1] at 0x77a6f0ca
kernel32.dll!WaitForMultipleObjects() [[unknown] @ -1] at 0x77a6f23e
QtCore4.dll!QFSFileEngine::fileTime() [[unknown] @ -1] at 0x6f847642
QtCore4.dll!QEventDispatcherWin32::`default constructor closure'() [[unknown] @ -1] at 0x6f78684c
QtCore4.dll!QThread::setTerminationEnabled() [[unknown] @ -1] at 0x6f78744d
MSVCR100.dll!__fls_getvalue() [[unknown] @ -1] at 0x663a10b1
kernel32.dll!BaseThreadInitThunk() [[unknown] @ -1] at 0x77a71114
ntdll.dll!RtlInitializeExceptionChain() [[unknown] @ -1] at 0x77bbb429
ntdll.dll!RtlInitializeExceptionChain() [[unknown] @ -1] at 0x77bbb3fc


ntdll.dll!KiFastSystemCallRet() [[unknown] @ -1] at 0x77ba6344
kernel32.dll!WaitForMultipleObjectsEx() [[unknown] @ -1] at 0x77a6f0ca
kernel32.dll!WaitForMultipleObjects() [[unknown] @ -1] at 0x77a6f23e
QtCore4.dll!QFSFileEngine::fileTime() [[unknown] @ -1] at 0x6f847642
QtCore4.dll!QEventDispatcherWin32::`default constructor closure'() [[unknown] @ -1] at 0x6f78684c
QtCore4.dll!QThread::setTerminationEnabled() [[unknown] @ -1] at 0x6f78744d
MSVCR100.dll!__fls_getvalue() [[unknown] @ -1] at 0x663a10b1
kernel32.dll!BaseThreadInitThunk() [[unknown] @ -1] at 0x77a71114
ntdll.dll!RtlInitializeExceptionChain() [[unknown] @ -1] at 0x77bbb429
ntdll.dll!RtlInitializeExceptionChain() [[unknown] @ -1] at 0x77bbb3fc


ntdll.dll!KiFastSystemCallRet() [[unknown] @ -1] at 0x77ba6344
kernel32.dll!WaitForMultipleObjectsEx() [[unknown] @ -1] at 0x77a6f0ca
kernel32.dll!WaitForMultipleObjects() [[unknown] @ -1] at 0x77a6f23e
QtCore4.dll!QFSFileEngine::fileTime() [[unknown] @ -1] at 0x6f847642
QtCore4.dll!QEventDispatcherWin32::`default constructor closure'() [[unknown] @ -1] at 0x6f78684c
QtCore4.dll!QThread::setTerminationEnabled() [[unknown] @ -1] at 0x6f78744d
MSVCR100.dll!__fls_getvalue() [[unknown] @ -1] at 0x663a10b1
kernel32.dll!BaseThreadInitThunk() [[unknown] @ -1] at 0x77a71114
ntdll.dll!RtlInitializeExceptionChain() [[unknown] @ -1] at 0x77bbb429
ntdll.dll!RtlInitializeExceptionChain() [[unknown] @ -1] at 0x77bbb3fc

Possible duplicates by query: bug 264010.

Reported using DrKonqi
Comment 1 Benoît Bâlon 2011-09-23 12:32:03 UTC
After checking with other pictures (yet in view mode), face tags seem to be independant : by opening legends/tags tab with a picture having no face recognition, digiKam crashes too.
Comment 2 Marcel Wiesweg 2011-09-24 12:00:59 UTC
Can someone advice Benoit how to get a proper backtrace on Windows?
Comment 3 caulier.gilles 2011-09-25 17:39:34 UTC
Sound like he use MSVC version of digiKam compiled with M$ IDE.

The best way is to run digiKam, and when it crash, if MSVC is installed (free to use version is enough), to load trace to IDE. There is a windows on the bottom with the backtrace. Just copy and paste the content here...

More info here :

http://techbase.kde.org/Development/Tutorials/Debugging/Debugging_on_MS_Windows

Also, with DebugView, tool, you can show all trace from the console as under Linux. Just run kdebugdialog first to configure digiKam debug spaces.

http://technet.microsoft.com/en-us/sysinternals/bb896647


Gilles Caulier
Comment 4 Benoît Bâlon 2011-09-26 07:50:47 UTC
Created attachment 63964 [details]
DebugView trace
Comment 5 caulier.gilles 2011-09-26 08:16:16 UTC
Not sure. But it sound like it crash when this picture is parsed :

C:/Users/admin/Pictures/11_09_17_cremaillere_mehdi_et_amelie/11_09_17_cremaillere_mehdi_045.JPG

Can you give us this file to check in local ? (create a link on a web is enough)

Also, please copy and paste the Help/Component info dialog contents.

Gilles Caulier
Comment 6 Ananta Palani 2011-10-02 19:01:38 UTC
digiKam always crashes for me in Windows 7 64-bit with the 2.0.0 version from sourceforge when switching to another program or switching to fullscreen while in 'View Image' mode, regardless of image tested (this is with a freshly scanned image library with no tags or facial recognition performed). Also sometimes happens simply by hovering the mouse over the image being viewed, or moving the mouse in to the image pane and then back to the thumbnail pane above.

Steps to reproduce:

1. Start in 'Thumbnails' view
2. Click on any image to switch to 'View Image' view
3. Either 'Alt-tab' to switch to another program or switch to fullscreen

Possibly related, moving the mouse over the little thumbnails at the top-left of the viewed image (rotate-left, rotate-right, etc) will either crash digiKam or become visually corrupted (usually just the background will be corrupted. Also, switching between 'Thumbnails' view and 'View Image' view by clicking on the image and then its thumbnail repeatedly either crashes digiKam or causes the image to be displayed as corrupted data (looks like horizontal line noise, like on a television).
Comment 7 caulier.gilles 2011-11-03 12:42:34 UTC
digiKam 2.2.0 is out since few weeks. Crash still valid with this version ?

Gilles Caulier
Comment 8 caulier.gilles 2011-12-13 10:13:05 UTC
2.3.0 for windows is available. Can you test with this version please ?

Gilles Caulier
Comment 9 Ananta Palani 2011-12-13 11:09:12 UTC
This crash doesn't seem to occur anymore. I could reproduce it in 2.0.0 but not in 2.3.0. Benoît, please re-open if you can reproduce it.
Comment 10 Benoît Bâlon 2011-12-13 11:56:00 UTC
Freshly tested on 2.3.0 : digikam doesn't crash anymore. Thank you very much.