[digikam] [Bug 411763] When I enter in "Tags" tab in "No tags" mode, the program is crashing every time

2020-08-01 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=411763

caulier.gil...@gmail.com changed:

   What|Removed |Added

 Resolution|DUPLICATE   |FIXED
   Version Fixed In||7.1.0

--- Comment #15 from caulier.gil...@gmail.com ---
Problem fixed as reported in bug #406979

-- 
You are receiving this mail because:
You are watching all bug changes.

[digikam] [Bug 411763] When I enter in "Tags" tab in "No tags" mode, the program is crashing every time

2020-08-10 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=411763

caulier.gil...@gmail.com changed:

   What|Removed |Added

   Severity|normal  |crash

-- 
You are receiving this mail because:
You are watching all bug changes.

[digikam] [Bug 411763] When I enter in "Tags" tab in "No tags" mode, the program is crashing every time

2019-09-09 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=411763

caulier.gil...@gmail.com changed:

   What|Removed |Added

 CC||caulier.gil...@gmail.com

--- Comment #1 from caulier.gil...@gmail.com ---
>From your trace :

085634.62976456 [5300] digikam.dbengine: Detected locked
database file. There is an active transaction. Waited but giving up now.   
085734.62999725 [5300] digikam.dbengine: Failure executing
query:   
085834.62999725 [5300]  "SELECT tagid FROM ImageTags WHERE
imageID=:a;" 
085934.62999725 [5300] Error messages: "Unable to fetch row"
"database table is locked: ImageTags" "6" 1
086034.62999725 [5300] Bound values:  (QVariant(qlonglong,
24640))  
086134.63032150 [5300] digikam.dbengine: Database is locked.
Waited 0   
086234.66988754 [5300] digikam.dbengine: Database is locked.
Waited 9750
086334.88820267 [5300] digikam.dbengine: Database is locked.
Waited 250 
086434.92834854 [5300] digikam.dbengine: Database is locked.
Waited 1   
086534.93808365 [5300] digikam.dbengine: Detected locked
database file. There is an active transaction. Waited but giving up now.   
086634.93822098 [5300] digikam.dbengine: Failure executing
query:   
086734.93822098 [5300]  "SELECT name, category,
modificationDate, fileSize FROM Images WHERE id=:a;"
086834.93822098 [5300] Error messages: "Unable to fetch row"
"database table is locked: Images" "6" 1   
086934.93822098 [5300] Bound values:  (QVariant(qlonglong,
16277))  
087034.93863678 [5300] digikam.dbengine: Database is locked.
Waited 0   
087135.10963821 [5300] digikam.database: items to tag ()
087235.11095428 [5300] digikam.database: Complete scan took:
13122 msecs.   
087335.16640472 [5300] ASSERT failure in QList::at: "index
out of range", file
../../../../../../../../mnt/devel/GIT/6.x/project/bundles/mxe/build.win64/usr/x86_64-w64-mingw32.shared/qt5/include/QtCore/qlist.h,
line 560

I remember something about an empty list exception crash fixed by Maik with
6.3.0, if i'm not too wrong.

Event if we don't publish yet the release announcement, 6.3.0 windows
installers are on line in official download area. Please try with this version
to see if problem is reproducible.

https://download.kde.org/stable/digikam/6.3.0/

Thanks in advance

Gilles Caulier

-- 
You are receiving this mail because:
You are watching all bug changes.

[digikam] [Bug 411763] When I enter in "Tags" tab in "No tags" mode, the program is crashing every time

2019-09-09 Thread Maik Qualmann
https://bugs.kde.org/show_bug.cgi?id=411763

--- Comment #2 from Maik Qualmann  ---
Git commit f8da3b703f1b1c27d525e4f62626b4382d979ccf by Maik Qualmann.
Committed on 09/09/2019 at 19:52.
Pushed by mqualmann into branch 'master'.

prevent possible crash in getImagesFields()

M  +13   -3core/libs/database/coredb/coredb.cpp

https://invent.kde.org/kde/digikam/commit/f8da3b703f1b1c27d525e4f62626b4382d979ccf

-- 
You are receiving this mail because:
You are watching all bug changes.

[digikam] [Bug 411763] When I enter in "Tags" tab in "No tags" mode, the program is crashing every time

2019-09-09 Thread anegro
https://bugs.kde.org/show_bug.cgi?id=411763

--- Comment #3 from anegro  ---
I installed this  new version, but crash again Log file attached.I used
digikam years, it is a great program. This is the first problem I met... 
bugzilla_nore...@kde.org írta:
>https://bugs.kde.org/show_bug.cgi?id=411763
>
>caulier.gil...@gmail.com changed:
>
>   What|Removed |Added
>
> CC||caulier.gil...@gmail.com
>
>--- Comment #1 from caulier.gil...@gmail.com ---
>From your trace :
>
>085634.62976456 [5300] digikam.dbengine: Detected locked
>database file. There is an active transaction. Waited but giving up now.   
>085734.62999725 [5300] digikam.dbengine: Failure executing
>query:   
>085834.62999725 [5300]  "SELECT tagid FROM ImageTags WHERE
>imageID=:a;" 
>085934.62999725 [5300] Error messages: "Unable to fetch row"
>"database table is locked: ImageTags" "6" 1
>086034.62999725 [5300] Bound values:  (QVariant(qlonglong,
>24640))  
>086134.63032150 [5300] digikam.dbengine: Database is locked.
>Waited 0   
>086234.66988754 [5300] digikam.dbengine: Database is locked.
>Waited 9750
>086334.88820267 [5300] digikam.dbengine: Database is locked.
>Waited 250 
>086434.92834854 [5300] digikam.dbengine: Database is locked.
>Waited 1   
>086534.93808365 [5300] digikam.dbengine: Detected locked
>database file. There is an active transaction. Waited but giving up now.   
>086634.93822098 [5300] digikam.dbengine: Failure executing
>query:   
>086734.93822098 [5300]  "SELECT name, category,
>modificationDate, fileSize FROM Images WHERE id=:a;"
>086834.93822098 [5300] Error messages: "Unable to fetch row"
>"database table is locked: Images" "6" 1   
>086934.93822098 [5300] Bound values:  (QVariant(qlonglong,
>16277))  
>087034.93863678 [5300] digikam.dbengine: Database is locked.
>Waited 0   
>087135.10963821 [5300] digikam.database: items to tag ()   
> 
>087235.11095428 [5300] digikam.database: Complete scan took:
>13122 msecs.   
>087335.16640472 [5300] ASSERT failure in QList::at: "index
>out of range", file
>../../../../../../../../mnt/devel/GIT/6.x/project/bundles/mxe/build.win64/usr/x86_64-w64-mingw32.shared/qt5/include/QtCore/qlist.h,
>line 560
>
>I remember something about an empty list exception crash fixed by Maik with
>6.3.0, if i'm not too wrong.
>
>Event if we don't publish yet the release announcement, 6.3.0 windows
>installers are on line in official download area. Please try with this version
>to see if problem is reproducible.
>
>https://download.kde.org/stable/digikam/6.3.0/
>
>Thanks in advance
>
>Gilles Caulier
>
>-- 
>You are receiving this mail because:
>You reported the bug.

-- 
You are receiving this mail because:
You are watching all bug changes.

[digikam] [Bug 411763] When I enter in "Tags" tab in "No tags" mode, the program is crashing every time

2019-09-09 Thread Maik Qualmann
https://bugs.kde.org/show_bug.cgi?id=411763

Maik Qualmann  changed:

   What|Removed |Added

 CC||metzping...@gmail.com

--- Comment #4 from Maik Qualmann  ---
Is there a "digikam_crash.log" file under "C:\Users\%USERNAME%\AppData\Local"?
Please post here.

Maik

-- 
You are receiving this mail because:
You are watching all bug changes.

[digikam] [Bug 411763] When I enter in "Tags" tab in "No tags" mode, the program is crashing every time

2019-09-10 Thread anegro
https://bugs.kde.org/show_bug.cgi?id=411763

--- Comment #5 from anegro  ---
There is no log file in the "Local" folder. I observed a new thing: when I
enter in "No tags" mode, and one of the extenal hard drives is not connected to
my computer, digikam is not  crashing. I tried on my laptop with windows 10 and
digikam 6.1, and I opened "No tags" mode without crashing with and without the
hard drive connected. After that I updated to 6.3, and now in windows 10
digikam is  crashing again in that mode only if the external hard drive is
connected...

-- 
You are receiving this mail because:
You are watching all bug changes.

[digikam] [Bug 411763] When I enter in "Tags" tab in "No tags" mode, the program is crashing every time

2019-09-10 Thread Maik Qualmann
https://bugs.kde.org/show_bug.cgi?id=411763

--- Comment #6 from Maik Qualmann  ---
Can you try to start digikam in the debugger?
Launch cmd.exe and copy and paste this command:

"C:\Program Files\digiKam\gdb" "C:\Program Files\digiKam\digikam.exe"

Press "r" + Enter to start.
After the crash enter "bt" + Enter. Please post the messages.

Maik

-- 
You are receiving this mail because:
You are watching all bug changes.

[digikam] [Bug 411763] When I enter in "Tags" tab in "No tags" mode, the program is crashing every time

2019-09-10 Thread anegro
https://bugs.kde.org/show_bug.cgi?id=411763

--- Comment #7 from anegro  ---
Something not working, this is the result in cmd window:

C:\Program Files\digiKam\gdb.exe: warning: Couldn't determine a path for the
ind
ex cache directory.
GNU gdb (GDB) 8.3
Copyright (C) 2019 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later 
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-w64-mingw32.shared".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
.
Find the GDB manual and other documentation resources online at:
.

For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from C:\Program Files\digiKam\digikam.exe...
(gdb)

-- 
You are receiving this mail because:
You are watching all bug changes.

[digikam] [Bug 411763] When I enter in "Tags" tab in "No tags" mode, the program is crashing every time

2019-09-10 Thread Maik Qualmann
https://bugs.kde.org/show_bug.cgi?id=411763

--- Comment #8 from Maik Qualmann  ---
That looks good. Now write in the CMD console an "r" and press the enter key to
start digikam in the debugger.
After the crash you can spend the backtrace with "bt" + enter key.

Maik

-- 
You are receiving this mail because:
You are watching all bug changes.

[digikam] [Bug 411763] When I enter in "Tags" tab in "No tags" mode, the program is crashing every time

2019-09-11 Thread anegro
https://bugs.kde.org/show_bug.cgi?id=411763

--- Comment #9 from anegro  ---
Ok, thanks. Here is the last part of the content from cmd window:

warning: digikam.general: Trying to load Embedded preview with libraw
warning: digikam.rawengine: Failed to load embedded RAW preview
warning: digikam.general: Trying to load half preview with libraw
warning: digikam.general: Trying to load Embedded preview with Exiv2
warning: digikam.metaengine: Cannot load metadata using Exiv2   (Error # 11 : 
K
:/=Image
Arhivalt=/Vegyes/2015.05.[Marco-Polo_Peli.Barna]/PANO_20150521_190848.j
pg: The file contains data of an unknown image type
warning: digikam.dimg: "K:/=Image
Arhivalt=/Vegyes/2015.05.[Marco-Polo_Peli.Barn
a]/PANO_20150521_190848.jpg"  : JPEG file identified
warning: digikam.dimg: "K:/=Image
Arhivalt=/Vegyes/2015.05.[Marco-Polo_Peli.Barn
a]/PANO_20150521_190848.jpg"  : Try to load with ImageMagick
warning: digikam.dimg: Try to load image with ImageMagick codecs
warning: digikam.dimg: ImageMagick exception [ "K:/=Image
Arhivalt=/Vegyes/2015.
05.[Marco-Polo_Peli.Barna]/PANO_20150521_190848.jpg" ] digikam.exe: Not a JPEG
f
ile: starts with 0x00 0x00 `K:/=Image
Arhivalt=/Vegyes/2015.05.[Marco-Polo_Peli.
Barna]/PANO_20150521_190848.jpg' @ error/jpeg.c/JPEGErrorHandler/322
warning: digikam.dimg: "K:/=Image
Arhivalt=/Vegyes/2015.05.[Marco-Polo_Peli.Barn
a]/PANO_20150521_190848.jpg"  : Try to load with QImage
warning: digikam.dimg.qimage: Can not load " "K:/=Image
Arhivalt=/Vegyes/2015.05
.[Marco-Polo_Peli.Barna]/PANO_20150521_190848.jpg" " using DImg::QImageLoader!
warning: digikam.dimg.qimage: Error message from loader: "Unsupported image
form
at"
warning: digikam.general: Trying to load video preview with FFmpeg
warning: digikam.general: Failed to decode video frame: bytesDecoded < 0
warning: digikam.general: decodeVideoFrame() failed: frame not finished
warning: digikam.general: Cannot create thumbnail for  "K:/=Image
Arhivalt=/Vegy
es/2015.05.[Marco-Polo_Peli.Barna]/PANO_20150521_190848.jpg"
warning: digikam.general: Thumbnail is null for  "K:/=Image
Arhivalt=/Vegyes/201
5.05.[Marco-Polo_Peli.Barna]/PANO_20150521_190848.jpg"
warning: digikam.dimg: "K:/=Image Arhivalt=/ART/Sajat Anyagok/=Doktoris
munkak/E
xpo Moara/Plakat&meghivo/Imagini despre imagini.png"  : PNG file identified
warning: KMemoryInfo: Platform identified :  "WINDOWS"
warning: KMemoryInfo: AvailableRam:  21120684032  (cache:  0 )
warning: KMemoryInfo: AvailableSwap:  24511291392

Thread 63 received signal SIGSEGV, Segmentation fault.
[Switching to Thread 3692.0x240]
0x7fffe2315809 in ntdll!RtlUnwindEx () from C:\Windows\SYSTEM32\ntdll.dll
(gdb) bt
#0  0x7fffe2315809 in ntdll!RtlUnwindEx ()
   from C:\Windows\SYSTEM32\ntdll.dll
#1  0x7fffe102da6a in msvcrt!longjmp ()
   from C:\Windows\system32\msvcrt.dll
#2  0x68b48144 in png_longjmp ()
   from C:\Program Files\digiKam\libpng16-16.dll
#3  0x68b7ce5b in ?? () from C:\Program Files\digiKam\libpng16-16.dll
#4  0x7fffa1ada0b0 in
Digikam::DImgLoaderObserver::progressInfo(Digikam::DIm
g*, float) () from C:\Program Files\digiKam\libdigikamcore.dll
#5  0x00a8338cdfa0 in ?? ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)
(gdb)

-- 
You are receiving this mail because:
You are watching all bug changes.

[digikam] [Bug 411763] When I enter in "Tags" tab in "No tags" mode, the program is crashing every time

2019-09-11 Thread Maik Qualmann
https://bugs.kde.org/show_bug.cgi?id=411763

--- Comment #10 from Maik Qualmann  ---
Ok, problem is clear. It crashes in the PNG loader. It jumps into the
msvcrt.dll with an exception. This is a compiler error. We can not fix it right
now. Why it does not crash in digiKam-6.1.0 is a bit surprising to me now.
Remove the faulty "Imagini despre imagini.png" file. Alternatively, you could
also use the 32-bit digiKam Windows version, it would not crash.

Maik

-- 
You are receiving this mail because:
You are watching all bug changes.

[digikam] [Bug 411763] When I enter in "Tags" tab in "No tags" mode, the program is crashing every time

2019-09-11 Thread Maik Qualmann
https://bugs.kde.org/show_bug.cgi?id=411763

Maik Qualmann  changed:

   What|Removed |Added

 Resolution|--- |DUPLICATE
 Status|REPORTED|RESOLVED

--- Comment #11 from Maik Qualmann  ---


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

-- 
You are receiving this mail because:
You are watching all bug changes.

[digikam] [Bug 411763] When I enter in "Tags" tab in "No tags" mode, the program is crashing every time

2019-09-11 Thread Maik Qualmann
https://bugs.kde.org/show_bug.cgi?id=411763

--- Comment #12 from Maik Qualmann  ---
You also have JPG files ("PANO_20150521_190848.jpg") that have corrupted
headers. The cause could be a defective hard drive.

Maik

-- 
You are receiving this mail because:
You are watching all bug changes.

[digikam] [Bug 411763] When I enter in "Tags" tab in "No tags" mode, the program is crashing every time

2019-09-11 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=411763

--- Comment #13 from caulier.gil...@gmail.com ---
Maik,

between 6.1.0 and 6.3.0, MXE have been rebuild all from scratch, and probably
plenty of changes/versions/rules have been updated (as libpng, compiler, etc.).

Gilles

-- 
You are receiving this mail because:
You are watching all bug changes.

[digikam] [Bug 411763] When I enter in "Tags" tab in "No tags" mode, the program is crashing every time

2019-09-11 Thread anegro
https://bugs.kde.org/show_bug.cgi?id=411763

--- Comment #14 from anegro  ---
I found and deleted more corrupt images on that external hard drive, which were
copied from a damaged hard disk. Now the problem is gone :)

-- 
You are receiving this mail because:
You are watching all bug changes.