Bug 338561 - "Add Image" crashes everytime
Summary: "Add Image" crashes everytime
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Bundle-Windows (show other bugs)
Version: 4.2.0
Platform: Microsoft Windows Microsoft Windows
: NOR major
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-08-26 01:15 UTC by Yoshitaka Goto
Modified: 2017-08-16 10:52 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In: 5.0.0


Attachments
kcrash file generated by the program (12.51 KB, text/plain)
2014-08-26 12:57 UTC, Yoshitaka Goto
Details
kcrash file generated by the program (8.40 KB, text/plain)
2015-01-30 09:58 UTC, Moritz Kobel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Yoshitaka Goto 2014-08-26 01:15:35 UTC
Application: digikam (4.2.0)
KDE Platform Version: 4.10.2
Qt Version: 4.8.4
Operating System: WindowsNT Windows 7 i686

-- Information about the crash:
- What I was doing when the application crashed:
When I pick "Add Image" in the Import menu, the dialog actually makes me pick a directory/folder instead. It crashes every time, no matter what folder.
Incidentally, "Add Folder" makes me pick a file. The filetype is locked to "folder ()" but I can select an image file, which imports fine...

The crash can be reproduced every time.

Note: The in-program bag report did not work, so I am submitting manually here.

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


ntdll.dll!ZwWaitForMultipleObjects() [[unknown] @ -1] at 0x7779015d
kernel32.dll!WaitForMultipleObjectsEx() [[unknown] @ -1] at 0x75d319f8
USER32.dll!PeekMessageW() [[unknown] @ -1] at 0x74f3086a
USER32.dll!MsgWaitForMultipleObjects() [[unknown] @ -1] at 0x74f30b69
SHELL32.dll!DAD_SetDragImage() [[unknown] @ -1] at 0x76178abf
SHELL32.dll!DAD_SetDragImage() [[unknown] @ -1] at 0x76178c2e
SHELL32.dll!DAD_SetDragImage() [[unknown] @ -1] at 0x76178b2b
SHELL32.dll!DAD_SetDragImage() [[unknown] @ -1] at 0x76178cab
SHLWAPI.dll!PathBuildRootW() [[unknown] @ -1] at 0x74ecb2b1
ntdll.dll!vsnprintf() [[unknown] @ -1] at 0x777d9512
ntdll.dll!TpCallbackIndependent() [[unknown] @ -1] at 0x777c4429
kernel32.dll!BaseThreadInitThunk() [[unknown] @ -1] at 0x75d3338a
ntdll.dll!RtlInitializeExceptionChain() [[unknown] @ -1] at 0x777a9f72
ntdll.dll!RtlInitializeExceptionChain() [[unknown] @ -1] at 0x777a9f45


ntdll.dll!NtWaitForWorkViaWorkerFactory() [[unknown] @ -1] at 0x77791f46
kernel32.dll!BaseThreadInitThunk() [[unknown] @ -1] at 0x75d3338a
ntdll.dll!RtlInitializeExceptionChain() [[unknown] @ -1] at 0x777a9f72
ntdll.dll!RtlInitializeExceptionChain() [[unknown] @ -1] at 0x777a9f45


ntdll.dll!NtWaitForWorkViaWorkerFactory() [[unknown] @ -1] at 0x77791f46
kernel32.dll!BaseThreadInitThunk() [[unknown] @ -1] at 0x75d3338a
ntdll.dll!RtlInitializeExceptionChain() [[unknown] @ -1] at 0x777a9f72
ntdll.dll!RtlInitializeExceptionChain() [[unknown] @ -1] at 0x777a9f45


ntdll.dll!NtWaitForWorkViaWorkerFactory() [[unknown] @ -1] at 0x77791f46
kernel32.dll!BaseThreadInitThunk() [[unknown] @ -1] at 0x75d3338a
ntdll.dll!RtlInitializeExceptionChain() [[unknown] @ -1] at 0x777a9f72
ntdll.dll!RtlInitializeExceptionChain() [[unknown] @ -1] at 0x777a9f45


ntdll.dll!NtWaitForWorkViaWorkerFactory() [[unknown] @ -1] at 0x77791f46
kernel32.dll!BaseThreadInitThunk() [[unknown] @ -1] at 0x75d3338a
ntdll.dll!RtlInitializeExceptionChain() [[unknown] @ -1] at 0x777a9f72
ntdll.dll!RtlInitializeExceptionChain() [[unknown] @ -1] at 0x777a9f45


ntdll.dll!ZwWaitForMultipleObjects() [[unknown] @ -1] at 0x7779015d
kernel32.dll!WaitForMultipleObjectsEx() [[unknown] @ -1] at 0x75d319f8
USER32.dll!PeekMessageW() [[unknown] @ -1] at 0x74f3086a
USER32.dll!MsgWaitForMultipleObjects() [[unknown] @ -1] at 0x74f30b69
SHELL32.dll!DAD_SetDragImage() [[unknown] @ -1] at 0x76178abf
SHELL32.dll!DAD_SetDragImage() [[unknown] @ -1] at 0x76178c2e
SHELL32.dll!DAD_SetDragImage() [[unknown] @ -1] at 0x76178b2b
SHELL32.dll!DAD_SetDragImage() [[unknown] @ -1] at 0x76178cab
SHLWAPI.dll!PathBuildRootW() [[unknown] @ -1] at 0x74ecb2b1
ntdll.dll!vsnprintf() [[unknown] @ -1] at 0x777d9512
ntdll.dll!TpCallbackIndependent() [[unknown] @ -1] at 0x777c4429
kernel32.dll!BaseThreadInitThunk() [[unknown] @ -1] at 0x75d3338a
ntdll.dll!RtlInitializeExceptionChain() [[unknown] @ -1] at 0x777a9f72
ntdll.dll!RtlInitializeExceptionChain() [[unknown] @ -1] at 0x777a9f45


USER32.dll!DispatchMessageW() [[unknown] @ -1] at 0x74f278d7
SHELL32.dll!DllCanUnloadNow() [[unknown] @ -1] at 0x76189a5f
SHLWAPI.dll!IUnknown_QueryService() [[unknown] @ -1] at 0x74ec43c0
kernel32.dll!BaseThreadInitThunk() [[unknown] @ -1] at 0x75d3338a
ntdll.dll!RtlInitializeExceptionChain() [[unknown] @ -1] at 0x777a9f72
ntdll.dll!RtlInitializeExceptionChain() [[unknown] @ -1] at 0x777a9f45


ntdll.dll!NtWaitForWorkViaWorkerFactory() [[unknown] @ -1] at 0x77791f46
kernel32.dll!BaseThreadInitThunk() [[unknown] @ -1] at 0x75d3338a
ntdll.dll!RtlInitializeExceptionChain() [[unknown] @ -1] at 0x777a9f72
ntdll.dll!RtlInitializeExceptionChain() [[unknown] @ -1] at 0x777a9f45


digikamlib.dll!Digikam::ICCPreviewWidget::qt_static_metacall() [[unknown] @ -1] at 0x36f021c
kdeui.dll!QList<KSortableItem<QString,int> >::value() [[unknown] @ -1] at 0xf768c10
QtGui4.dll!QFont::operator==() [[unknown] @ -1] at 0x64a4ac8e
QtGui4.dll!QWidgetPrivate::resolveFont() [[unknown] @ -1] at 0x648eecae
QtGui4.dll!QWidgetPrivate::updateFont() [[unknown] @ -1] at 0x648eef37
QtGui4.dll!QWidgetPrivate::resolveFont() [[unknown] @ -1] at 0x648eecae
QtGui4.dll!QWidget::event() [[unknown] @ -1] at 0x648f6036
QtGui4.dll!QAbstractScrollArea::event() [[unknown] @ -1] at 0x64c4e318
QtGui4.dll!QAbstractItemView::event() [[unknown] @ -1] at 0x64cc6ab5
QtGui4.dll!QApplicationPrivate::notify_helper() [[unknown] @ -1] at 0x648b04cd
kdeui.dll!QList<KSortableItem<QString,int> >::value() [[unknown] @ -1] at 0xf768c10
QtCore4.dll!QCoreApplication::sendEvent() [[unknown] @ -1] at 0x55873cf6
QtGui4.dll!QWidget::raise() [[unknown] @ -1] at 0x648fa878


ntdll.dll!ZwWaitForSingleObject() [[unknown] @ -1] at 0x7778f8d1
kernel32.dll!WaitForSingleObjectEx() [[unknown] @ -1] at 0x75d31194
kernel32.dll!WaitForSingleObject() [[unknown] @ -1] at 0x75d31148
QtCore4.dll!QWaitCondition::wait() [[unknown] @ -1] at 0x5578881b
QtCore4.dll!QEventDispatcherWin32::`default constructor closure'() [[unknown] @ -1] at 0x55786fbc
QtCore4.dll!QEventDispatcherWin32::`default constructor closure'() [[unknown] @ -1] at 0x557876fd
QtCore4.dll!QEventDispatcherWin32::`default constructor closure'() [[unknown] @ -1] at 0x55787709
MSVCR100.dll!endthreadex() [[unknown] @ -1] at 0x695fc600
kernel32.dll!BaseThreadInitThunk() [[unknown] @ -1] at 0x75d3338a
ntdll.dll!RtlInitializeExceptionChain() [[unknown] @ -1] at 0x777a9f72
ntdll.dll!RtlInitializeExceptionChain() [[unknown] @ -1] at 0x777a9f45


ntdll.dll!NtWaitForWorkViaWorkerFactory() [[unknown] @ -1] at 0x77791f46
kernel32.dll!BaseThreadInitThunk() [[unknown] @ -1] at 0x75d3338a
ntdll.dll!RtlInitializeExceptionChain() [[unknown] @ -1] at 0x777a9f72
ntdll.dll!RtlInitializeExceptionChain() [[unknown] @ -1] at 0x777a9f45


ntdll.dll!NtWaitForWorkViaWorkerFactory() [[unknown] @ -1] at 0x77791f46
kernel32.dll!BaseThreadInitThunk() [[unknown] @ -1] at 0x75d3338a
ntdll.dll!RtlInitializeExceptionChain() [[unknown] @ -1] at 0x777a9f72
ntdll.dll!RtlInitializeExceptionChain() [[unknown] @ -1] at 0x777a9f45


ntdll.dll!ZwWaitForSingleObject() [[unknown] @ -1] at 0x7778f8d1
kernel32.dll!WaitForSingleObjectEx() [[unknown] @ -1] at 0x75d31194
kernel32.dll!WaitForSingleObject() [[unknown] @ -1] at 0x75d31148
QtCore4.dll!QWaitCondition::wait() [[unknown] @ -1] at 0x5578881b
QtCore4.dll!QEventDispatcherWin32::`default constructor closure'() [[unknown] @ -1] at 0x55787709


ntdll.dll!ZwWaitForMultipleObjects() [[unknown] @ -1] at 0x7779015d
kernel32.dll!BaseThreadInitThunk() [[unknown] @ -1] at 0x75d3338a
ntdll.dll!RtlInitializeExceptionChain() [[unknown] @ -1] at 0x777a9f72
ntdll.dll!RtlInitializeExceptionChain() [[unknown] @ -1] at 0x777a9f45


ntdll.dll!NtWaitForWorkViaWorkerFactory() [[unknown] @ -1] at 0x77791f46
kernel32.dll!BaseThreadInitThunk() [[unknown] @ -1] at 0x75d3338a
ntdll.dll!RtlInitializeExceptionChain() [[unknown] @ -1] at 0x777a9f72
ntdll.dll!RtlInitializeExceptionChain() [[unknown] @ -1] at 0x777a9f45


ntdll.dll!NtWaitForWorkViaWorkerFactory() [[unknown] @ -1] at 0x77791f46
kernel32.dll!BaseThreadInitThunk() [[unknown] @ -1] at 0x75d3338a
ntdll.dll!RtlInitializeExceptionChain() [[unknown] @ -1] at 0x777a9f72
ntdll.dll!RtlInitializeExceptionChain() [[unknown] @ -1] at 0x777a9f45


ntdll.dll!NtDelayExecution() [[unknown] @ -1] at 0x7778fd91
KERNELBASE.dll!Sleep() [[unknown] @ -1] at 0x753d44a5
ole32.dll!CoGetTreatAsClass() [[unknown] @ -1] at 0x75e5d98d
ole32.dll!CoGetTreatAsClass() [[unknown] @ -1] at 0x75e5d87a
kernel32.dll!BaseThreadInitThunk() [[unknown] @ -1] at 0x75d3338a
ntdll.dll!RtlInitializeExceptionChain() [[unknown] @ -1] at 0x777a9f72
ntdll.dll!RtlInitializeExceptionChain() [[unknown] @ -1] at 0x777a9f45


ntdll.dll!NtWaitForWorkViaWorkerFactory() [[unknown] @ -1] at 0x77791f46
kernel32.dll!BaseThreadInitThunk() [[unknown] @ -1] at 0x75d3338a
ntdll.dll!RtlInitializeExceptionChain() [[unknown] @ -1] at 0x777a9f72
ntdll.dll!RtlInitializeExceptionChain() [[unknown] @ -1] at 0x777a9f45


ntdll.dll!NtWaitForWorkViaWorkerFactory() [[unknown] @ -1] at 0x77791f46
kernel32.dll!BaseThreadInitThunk() [[unknown] @ -1] at 0x75d3338a
ntdll.dll!RtlInitializeExceptionChain() [[unknown] @ -1] at 0x777a9f72
ntdll.dll!RtlInitializeExceptionChain() [[unknown] @ -1] at 0x777a9f45


ntdll.dll!NtWaitForWorkViaWorkerFactory() [[unknown] @ -1] at 0x77791f46
kernel32.dll!BaseThreadInitThunk() [[unknown] @ -1] at 0x75d3338a
ntdll.dll!RtlInitializeExceptionChain() [[unknown] @ -1] at 0x777a9f72
ntdll.dll!RtlInitializeExceptionChain() [[unknown] @ -1] at 0x777a9f45


ntdll.dll!NtRemoveIoCompletion() [[unknown] @ -1] at 0x7778f959
kernel32.dll!BaseThreadInitThunk() [[unknown] @ -1] at 0x75d3338a
ntdll.dll!RtlInitializeExceptionChain() [[unknown] @ -1] at 0x777a9f72
ntdll.dll!RtlInitializeExceptionChain() [[unknown] @ -1] at 0x777a9f45


ntdll.dll!NtWaitForWorkViaWorkerFactory() [[unknown] @ -1] at 0x77791f46
kernel32.dll!BaseThreadInitThunk() [[unknown] @ -1] at 0x75d3338a
ntdll.dll!RtlInitializeExceptionChain() [[unknown] @ -1] at 0x777a9f72
ntdll.dll!RtlInitializeExceptionChain() [[unknown] @ -1] at 0x777a9f45


ntdll.dll!NtWaitForWorkViaWorkerFactory() [[unknown] @ -1] at 0x77791f46
kernel32.dll!BaseThreadInitThunk() [[unknown] @ -1] at 0x75d3338a
ntdll.dll!RtlInitializeExceptionChain() [[unknown] @ -1] at 0x777a9f72
ntdll.dll!RtlInitializeExceptionChain() [[unknown] @ -1] at 0x777a9f45


ntdll.dll!NtWaitForWorkViaWorkerFactory() [[unknown] @ -1] at 0x77791f46
kernel32.dll!BaseThreadInitThunk() [[unknown] @ -1] at 0x75d3338a
ntdll.dll!RtlInitializeExceptionChain() [[unknown] @ -1] at 0x777a9f72
ntdll.dll!RtlInitializeExceptionChain() [[unknown] @ -1] at 0x777a9f45


ntdll.dll!ZwWaitForSingleObject() [[unknown] @ -1] at 0x7778f8d1
kernel32.dll!WaitForSingleObjectEx() [[unknown] @ -1] at 0x75d31194
kernel32.dll!WaitForSingleObject() [[unknown] @ -1] at 0x75d31148
QtCore4.dll!QWaitCondition::wait() [[unknown] @ -1] at 0x5578881b
digikamlib.dll!Digikam::ICCPreviewWidget::qt_static_metacall() [[unknown] @ -1] at 0x36a450d
QtCore4.dll!QEventDispatcherWin32::`default constructor closure'() [[unknown] @ -1] at 0x55787709
MSVCR100.dll!endthreadex() [[unknown] @ -1] at 0x695fc556
MSVCR100.dll!endthreadex() [[unknown] @ -1] at 0x695fc600
kernel32.dll!BaseThreadInitThunk() [[unknown] @ -1] at 0x75d3338a
ntdll.dll!RtlInitializeExceptionChain() [[unknown] @ -1] at 0x777a9f72
ntdll.dll!RtlInitializeExceptionChain() [[unknown] @ -1] at 0x777a9f45


ntdll.dll!NtWaitForWorkViaWorkerFactory() [[unknown] @ -1] at 0x77791f46
kernel32.dll!BaseThreadInitThunk() [[unknown] @ -1] at 0x75d3338a
ntdll.dll!RtlInitializeExceptionChain() [[unknown] @ -1] at 0x777a9f72
ntdll.dll!RtlInitializeExceptionChain() [[unknown] @ -1] at 0x777a9f45


ntdll.dll!ZwWaitForMultipleObjects() [[unknown] @ -1] at 0x7779015d
kernel32.dll!BaseThreadInitThunk() [[unknown] @ -1] at 0x75d3338a
ntdll.dll!RtlInitializeExceptionChain() [[unknown] @ -1] at 0x777a9f72
ntdll.dll!RtlInitializeExceptionChain() [[unknown] @ -1] at 0x777a9f45


ntdll.dll!ZwWaitForMultipleObjects() [[unknown] @ -1] at 0x7779015d
kernel32.dll!WaitForMultipleObjectsEx() [[unknown] @ -1] at 0x75d319f8
kernel32.dll!WaitForMultipleObjects() [[unknown] @ -1] at 0x75d34200
QtCore4.dll!QString::contains() [[unknown] @ -1] at 0x55854313
QtCore4.dll!QThread::setTerminationEnabled() [[unknown] @ -1] at 0x55787ddd
QtCore4.dll!QEventDispatcherWin32::`default constructor closure'() [[unknown] @ -1] at 0x557876fd


ntdll.dll!ZwWaitForMultipleObjects() [[unknown] @ -1] at 0x7779015d
kernel32.dll!WaitForMultipleObjectsEx() [[unknown] @ -1] at 0x75d319f8
USER32.dll!PeekMessageW() [[unknown] @ -1] at 0x74f3086a
QtCore4.dll!QEventDispatcherWin32::processEvents() [[unknown] @ -1] at 0x558971a6
QtCore4.dll!QEventLoop::exec() [[unknown] @ -1] at 0x5586eab9
digikamlib.dll!Digikam::ICCPreviewWidget::qt_static_metacall() [[unknown] @ -1] at 0x36a420a
QtCore4.dll!QtConcurrent::internal::ExceptionStore::hasThrown() [[unknown] @ -1] at 0x557781a9


ntdll.dll!NtWaitForWorkViaWorkerFactory() [[unknown] @ -1] at 0x77791f46
kernel32.dll!BaseThreadInitThunk() [[unknown] @ -1] at 0x75d3338a
ntdll.dll!RtlInitializeExceptionChain() [[unknown] @ -1] at 0x777a9f72
ntdll.dll!RtlInitializeExceptionChain() [[unknown] @ -1] at 0x777a9f45

Report to https://bugs.kde.org/
Comment 1 caulier.gilles 2014-08-26 11:52:22 UTC
The trace given do not give any information about source code relevant from digiKam where crash appears...

Please follow instructions given here to get a better backtrace unde Windows :

https://www.digikam.org/contrib

Gilles Caulier
Comment 2 Yoshitaka Goto 2014-08-26 12:57:54 UTC
Created attachment 88436 [details]
kcrash file generated by the program
Comment 3 Yoshitaka Goto 2014-08-26 13:04:41 UTC
I'm a huge newbie at this stuff.
To me it seems like the instruction here are the easiest way to create a better backtrace, is this true?
https://techbase.kde.org/Development/Tutorials/Debugging/Debugging_on_MS_Windows#MinGW_debugging_hints

Making digiKam crash again, I found this link through the KDE crash reporter, but I guess this doesn't help for windows?
https://techbase.kde.org/Development/Tutorials/Debugging/How_to_create_useful_crash_reports
Comment 4 caulier.gilles 2014-08-27 13:31:31 UTC
No it do not help. Your backtrace do not conain any digiKam source code to hack...

Gilles Caulier
Comment 5 Yoshitaka Goto 2014-08-27 13:40:24 UTC
(In reply to Gilles Caulier from comment #4)
> No it do not help. Your backtrace do not conain any digiKam source code to
> hack...
> 
> Gilles Caulier

Neither of the links I provided are the ways to create a better backtrace? Like I said, I am not experienced with this stuff; I'm trying to use digiKam for a solution for my workplace and would love to have this "bug" fixed. I'm willing to help with whatever is necessary, but I would need to know how I can help.
Comment 6 caulier.gilles 2014-08-31 08:31:44 UTC
*** Bug 338685 has been marked as a duplicate of this bug. ***
Comment 7 caulier.gilles 2014-10-02 19:22:32 UTC
Do you use Color management feature ?

In your backtrace, we can see :

Digikam::ICCPreviewWidget::qt_static_metacall()

Gilles Caulier
Comment 8 caulier.gilles 2014-10-02 19:23:15 UTC
*** Bug 339615 has been marked as a duplicate of this bug. ***
Comment 9 Moritz Kobel 2015-01-30 09:58:04 UTC
Created attachment 90809 [details]
kcrash file generated by the program
Comment 10 caulier.gilles 2015-06-24 16:16:40 UTC
New digiKam 4.11.0 is available :

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

Can you reproduce the problem with this release ?

Gilles Caulier
Comment 11 Yoshitaka Goto 2015-07-05 13:36:40 UTC
I'll try it once the windows installer is up. I don't know how to compile or anything like that...
Comment 12 caulier.gilles 2015-08-17 11:28:19 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 13 caulier.gilles 2016-05-28 18:23:43 UTC
With next digiKam 5.0.0, we will provide a fully cross-compiled version Windows under Linux where a lots of problems have been fixed.

https://www.flickr.com/photos/digikam/27033685570/in/dateposted-public/

The Windows installer is available here to test :

https://drive.google.com/open?id=0B7yq-xFihT0_SzhxVzF1RDhPbFE

Gilles Caulier