[digikam] [Bug 348042] New: Crash if scan or update the files from a network share

classic Classic list List threaded Threaded
16 messages Options
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 348042] New: Crash if scan or update the files from a network share

bug_rep
https://bugs.kde.org/show_bug.cgi?id=348042

            Bug ID: 348042
           Summary: Crash if scan or update the files from a network share
           Product: digikam
           Version: 4.10.0
          Platform: unspecified
                OS: other
            Status: UNCONFIRMED
          Severity: crash
          Priority: NOR
         Component: Import
          Assignee: [hidden email]
          Reporter: [hidden email]

The Application crash if i scan for new pictures on a smb share every time at
65% progress

Executable: digikam.exe PID: 5000 Signal: EXCEPTION_INT_DIVIDE_BY_ZERO
(0xc0000094)


Reproducible: Always

Steps to Reproduce:
1. Start Application
2. Scan Files in Network share
3.

Actual Results:  
crash


Application: digiKam (digikam.exe), signal: EXCEPTION_INT_DIVIDE_BY_ZERO


ntdll.dll!NtRemoveIoCompletion() [[unknown] @ -1] at 0x7788f955
kernel32.dll!BaseThreadInitThunk() [[unknown] @ -1] at 0x76ff336a
ntdll.dll!RtlInitializeExceptionChain() [[unknown] @ -1] at 0x778a92b2
ntdll.dll!RtlInitializeExceptionChain() [[unknown] @ -1] at 0x778a9285


ntdll.dll!ZwWaitForMultipleObjects() [[unknown] @ -1] at 0x77890159
kernel32.dll!BaseThreadInitThunk() [[unknown] @ -1] at 0x76ff336a
ntdll.dll!RtlInitializeExceptionChain() [[unknown] @ -1] at 0x778a92b2
ntdll.dll!RtlInitializeExceptionChain() [[unknown] @ -1] at 0x778a9285


QtGui4.dll!QPixmap::fromWinHICON() [[unknown] @ -1] at 0x6579f202
QtGui4.dll!QPixmap::fromWinHICON() [[unknown] @ -1] at 0x657a0510
QtGui4.dll!QImageReader::read() [[unknown] @ -1] at 0x65782180
QtGui4.dll!QImage::load() [[unknown] @ -1] at 0x657768be
QtGui4.dll!QImage::QImage() [[unknown] @ -1] at 0x6576e7be
QtCore4.dll!QHashData::allocateNode() [[unknown] @ -1] at 0x66b21f53
MSVCR100.dll!unlock() [[unknown] @ -1] at 0x66f30949
MSVCR100.dll!unlock_file() [[unknown] @ -1] at 0x66f3a48a
MSVCR100.dll!fclose() [[unknown] @ -1] at 0x66f3a8e2
digikamlib.dll!Digikam::GreycstorationContainer::GreycstorationContainer()
[[unknown] @ -1] at 0x67466b3e
digikamlib.dll!Digikam::GreycstorationContainer::GreycstorationContainer()
[[unknown] @ -1] at 0x6746660e
digikamlib.dll!Digikam::GreycstorationContainer::GreycstorationContainer()
[[unknown] @ -1] at 0x6718742e


ntdll.dll!ZwWaitForMultipleObjects() [[unknown] @ -1] at 0x77890159
kernel32.dll!WaitForMultipleObjectsEx() [[unknown] @ -1] at 0x76ff19fc
kernel32.dll!WaitForMultipleObjects() [[unknown] @ -1] at 0x76ff41d8
QtCore4.dll!QString::contains() [[unknown] @ -1] at 0x66bd4313
QtCore4.dll!QThread::setTerminationEnabled() [[unknown] @ -1] at 0x66b07ddd
QtCore4.dll!QEventDispatcherWin32::`default constructor closure'() [[unknown] @
-1] at 0x66b076fd


ntdll.dll!ZwWaitForMultipleObjects() [[unknown] @ -1] at 0x77890159
kernel32.dll!WaitForMultipleObjectsEx() [[unknown] @ -1] at 0x76ff19fc
USER32.dll!PeekMessageW() [[unknown] @ -1] at 0x75d5086a
QtCore4.dll!QEventDispatcherWin32::processEvents() [[unknown] @ -1] at
0x66c171a6
QtGui4.dll!qt_getRegisteredWndClass() [[unknown] @ -1] at 0x6574a59f
digikam.exe!QMap<QString,QString>::unite() [[unknown] @ -1] at 0x1360fdd
QtGui4.dll!QApplicationPrivate::notify_helper() [[unknown] @ -1] at 0x656f04cd
kdeui.dll!QList<KSortableItem<QString,int> >::value() [[unknown] @ -1] at
0x66068c10
kdeui.dll!QList<KSortableItem<QString,int> >::value() [[unknown] @ -1] at
0x6621931b
QtCore4.dll!QCoreApplication::sendEvent() [[unknown] @ -1] at 0x66bf3cf6
QtCore4.dll!winGetMessage() [[unknown] @ -1] at 0x66c16389
USER32.dll!gapfnScSendMessage() [[unknown] @ -1] at 0x75d462fa
USER32.dll!CharPrevW() [[unknown] @ -1] at 0x75d477c4
USER32.dll!DispatchMessageW() [[unknown] @ -1] at 0x75d4788a
QtGui4.dll!qt_getRegisteredWndClass() [[unknown] @ -1] at 0x6574a59f
QtCore4.dll!QCoreApplication::exec() [[unknown] @ -1] at 0x66bf08cc
digikam.exe!QMap<QString,QString>::unite() [[unknown] @ -1] at 0x142de91
digikam.exe![unknown]() [[unknown] @ -1] at 0x1251125
kernel32.dll!BaseThreadInitThunk() [[unknown] @ -1] at 0x76ff336a
ntdll.dll!RtlInitializeExceptionChain() [[unknown] @ -1] at 0x778a9285
digikam.exe!QMap<QString,QString>::unite() [[unknown] @ -1] at 0x15396a4
[unknown]![unknown]() [[unknown] @ -1] at 0x7efde000


ntdll.dll!ZwWaitForMultipleObjects() [[unknown] @ -1] at 0x77890159
kernel32.dll!WaitForMultipleObjectsEx() [[unknown] @ -1] at 0x76ff19fc
kernel32.dll!WaitForMultipleObjects() [[unknown] @ -1] at 0x76ff41d8
QtCore4.dll!QString::contains() [[unknown] @ -1] at 0x66bd4313
QtCore4.dll!QThread::setTerminationEnabled() [[unknown] @ -1] at 0x66b07ddd
QtCore4.dll!QEventDispatcherWin32::`default constructor closure'() [[unknown] @
-1] at 0x66b076fd


ntdll.dll!NtWaitForWorkViaWorkerFactory() [[unknown] @ -1] at 0x77891f42
kernel32.dll!BaseThreadInitThunk() [[unknown] @ -1] at 0x76ff336a
ntdll.dll!RtlInitializeExceptionChain() [[unknown] @ -1] at 0x778a92b2
ntdll.dll!RtlInitializeExceptionChain() [[unknown] @ -1] at 0x778a9285


ntdll.dll!ZwWaitForMultipleObjects() [[unknown] @ -1] at 0x77890159
kernel32.dll!WaitForMultipleObjectsEx() [[unknown] @ -1] at 0x76ff19fc
kernel32.dll!WaitForMultipleObjects() [[unknown] @ -1] at 0x76ff41d8
QtCore4.dll!QString::contains() [[unknown] @ -1] at 0x66bd4313
QtCore4.dll!QThread::setTerminationEnabled() [[unknown] @ -1] at 0x66b07ddd
QtCore4.dll!QEventDispatcherWin32::`default constructor closure'() [[unknown] @
-1] at 0x66b076fd


ntdll.dll!ZwWaitForMultipleObjects() [[unknown] @ -1] at 0x77890159
kernel32.dll!BaseThreadInitThunk() [[unknown] @ -1] at 0x76ff336a
ntdll.dll!RtlInitializeExceptionChain() [[unknown] @ -1] at 0x778a92b2
ntdll.dll!RtlInitializeExceptionChain() [[unknown] @ -1] at 0x778a9285


ntdll.dll!ZwWaitForSingleObject() [[unknown] @ -1] at 0x7788f8cd
kernel32.dll!WaitForSingleObjectEx() [[unknown] @ -1] at 0x76ff1194
kernel32.dll!WaitForSingleObject() [[unknown] @ -1] at 0x76ff1148
QtCore4.dll!QWaitCondition::wait() [[unknown] @ -1] at 0x66b0881b
digikamlib.dll!Digikam::GreycstorationContainer::GreycstorationContainer()
[[unknown] @ -1] at 0x67358f6d
QtCore4.dll!QEventDispatcherWin32::`default constructor closure'() [[unknown] @
-1] at 0x66b076fd

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 348042] Crash if scan or update the files from a network share

bug_rep
https://bugs.kde.org/show_bug.cgi?id=348042

[hidden email] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 OS|other                       |MS Windows

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 348042] Division by zero while scan or update the files from a network share

Gilles Caulier-4
In reply to this post by bug_rep
https://bugs.kde.org/show_bug.cgi?id=348042

Gilles Caulier <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Platform|unspecified                 |MS Windows
            Summary|Crash if scan or update the |Division by zero while scan
                   |files from a network share  |or update the files from a
                   |                            |network share
                 CC|                            |[hidden email]
                 OS|MS Windows                  |other

--- Comment #1 from Gilles Caulier <[hidden email]> ---
There is no debug symbols in your trace. It's difficults to indentify where is
the problem.

It's clear that a 0 div make a exception.

I know that share library Exiv2 has this problem with video files. Do you have
this kind of files (mp4, avi, mkv, mpeg, etc) in your collection to scan.

If yes, please follow instruction in this page using debugview .exe program to
see what's wrong at startup.

https://www.digikam.org/contrib

Gilles Caulier

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 348042] Division by zero while scan or update the files from a network share

Gilles Caulier-4
In reply to this post by bug_rep
https://bugs.kde.org/show_bug.cgi?id=348042

Gilles Caulier <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
          Component|Import                      |Database
         Resolution|---                         |WAITINGFORINFO

--- Comment #2 from Gilles Caulier <[hidden email]> ---
Also, what's happen if file are in local harddrive ?

Gilles Caulier

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 348042] Division by zero while scan or update the files from a network share

bug_rep
In reply to this post by bug_rep
https://bugs.kde.org/show_bug.cgi?id=348042

[hidden email] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|WAITINGFORINFO              |FIXED

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 348042] Division by zero while scan or update the files from a network share

bug_rep
In reply to this post by bug_rep
https://bugs.kde.org/show_bug.cgi?id=348042

[hidden email] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 OS|other                       |MS Windows

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 348042] Division by zero while scan or update the files from a network share

bug_rep
In reply to this post by bug_rep
https://bugs.kde.org/show_bug.cgi?id=348042

--- Comment #3 from [hidden email] ---
I found the Problem. It was an .xcf and .bmp file they make the problems,
deleted and it works! I dont no why there is a problem with this files?! The
file size was bigger then 35 MB.

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 348042] Division by zero while scan or update the files from a network share

Gilles Caulier-4
In reply to this post by bug_rep
https://bugs.kde.org/show_bug.cgi?id=348042

--- Comment #4 from Gilles Caulier <[hidden email]> ---
I suspect a problem with Exiv2. Here i use XCF without crash, but Exiv2 is last
implementation from source repository. With Windows package, i think Exiv2 is
an older release.

Please check in Help/Components info dialog for details.

Did you try to get a debug trace with debugview.exe ?

Gilles Caulier

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 348042] Division by zero while scan or update the files from a network share

bug_rep
In reply to this post by bug_rep
https://bugs.kde.org/show_bug.cgi?id=348042

--- Comment #5 from [hidden email] ---
The LibExiv2 version : 0.24

Yes i look with debugview so i found the .xcf file, the bmp have i found with
the access log from the NAS.

in Debugview are a loot of messages like this:
[7360] QFileSystemWatcher: failed to add paths: X:/Pic/other
is this a Problem?

Thank you for Help.

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 348042] Division by zero while scan or update the files from a network share

Gilles Caulier-4
In reply to this post by bug_rep
https://bugs.kde.org/show_bug.cgi?id=348042

--- Comment #6 from Gilles Caulier <[hidden email]> ---
>[7360] QFileSystemWatcher: failed to add paths: X:/Pic/other
>is this a Problem?

No. It's a warning. At least file will be ingnored.

Can you share the XCF file on the web to try here ?

You talk about BMP file. You have also a .bmp on your collection ?

Gilles

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 348042] Division by zero while scan or update the files from a network share

Gilles Caulier-4
In reply to this post by bug_rep
https://bugs.kde.org/show_bug.cgi?id=348042

--- Comment #7 from Gilles Caulier <[hidden email]> ---
If you import your XCF in a local collection, scan crash again ?

Gilles Caulier

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 348042] Division by zero while scan or update the files from a network share

bug_rep
In reply to this post by bug_rep
https://bugs.kde.org/show_bug.cgi?id=348042

--- Comment #8 from [hidden email] ---
Yes, i create a new local folder with the .xcf file an digikam crash.

[3480] digikam(3480)/KEXIV2: Cannot load metadata from file   (Error # 11 :
D:/testBild/IMG_7686.xcf: The file contains data of an unknown image type
[3480] digikam(3480)/KEXIV2: Cannot load metadata using Exiv2   (Error # 11 :
D:/testBild/IMG_7686.xcf: The file contains data of an unknown image type
[3480] digikam(3480) bool __thiscall XCFImageFormat::readXCF(class QIODevice
*,class QImage *): gimp xcf file   3000   4000   0

the bmp file is the export from the xcf file.

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 348042] Division by zero while scan or update the files from a network share

Gilles Caulier-4
In reply to this post by bug_rep
https://bugs.kde.org/show_bug.cgi?id=348042

Gilles Caulier <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|FIXED                       |DUPLICATE

--- Comment #9 from Gilles Caulier <[hidden email]> ---
The problem is not the XCF file. It's the BMP which crash Qt image loader...

Gilles Caulier

*** This bug has been marked as a duplicate of bug 310798 ***

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 348042] Division by zero while scan or update the files from a network share

bug_rep
In reply to this post by bug_rep
https://bugs.kde.org/show_bug.cgi?id=348042

[hidden email] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|DUPLICATE                   |FIXED

--- Comment #10 from [hidden email] ---
Thats right, the xcf alone works.

but now i can not open any picture. digikam freeze if i select a folder in the
treeview.
no Message in Debugview. I delete the testfolder with the xcf and bmp.

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 348042] Division by zero while scan or update the files from a network share

bugzilla_noreply
In reply to this post by bug_rep
https://bugs.kde.org/show_bug.cgi?id=348042

[hidden email] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|Database                    |Database-Scan

--
You are receiving this mail because:
You are the assignee for the bug.
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 348042] Division by zero while scan or update the files from a network share

bugzilla_noreply
In reply to this post by bug_rep
https://bugs.kde.org/show_bug.cgi?id=348042

[hidden email] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|Database-Scan               |Database-Media

--
You are receiving this mail because:
You are the assignee for the bug.