Bug 344521 - digiKam crashes when trying to define one more face
Summary: digiKam crashes when trying to define one more face
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Faces-Engine (show other bugs)
Version: 4.6.0
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-02-24 10:29 UTC by antoni
Modified: 2015-08-21 09:19 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 4.13.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description antoni 2015-02-24 10:29:54 UTC
Digikam 4.6.0 running in Fedora 21, in a Virtual box machine on Windows 7 PC. 
Photo folders in the Windows folders connected with cifs.

When I try to assign a face label the program writes it but when doing a second one the program crash.
after all the degub installs, run in gdb and getting this:

ntoni@localhost ~]$ gdb digikam
GNU gdb (GDB) Fedora 7.8.2-38.fc21
Copyright (C) 2014 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
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-redhat-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from digikam...Reading symbols from /usr/lib/debug/usr/bin/digikam.debug...done.
done.
(gdb) catch throw
Catchpoint 1 (throw)
(gdb) run
Starting program: /usr/bin/digikam 
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
[New Thread 0x7fffc9b04700 (LWP 1386)]
[New Thread 0x7fffc3078700 (LWP 1387)]
[New Thread 0x7fffc2877700 (LWP 1388)]
[New Thread 0x7fffc2076700 (LWP 1389)]
[Thread 0x7fffc2076700 (LWP 1389) exited]
[New Thread 0x7fffc2076700 (LWP 1391)]
[New Thread 0x7fffafb89700 (LWP 1392)]
[Thread 0x7fffafb89700 (LWP 1392) exited]
[New Thread 0x7fffafb89700 (LWP 1393)]
[Thread 0x7fffafb89700 (LWP 1393) exited]
[New Thread 0x7fffafb89700 (LWP 1394)]
[New Thread 0x7fffaeab6700 (LWP 1395)]
[New Thread 0x7fffae2b5700 (LWP 1396)]
[New Thread 0x7fffadab4700 (LWP 1397)]
[New Thread 0x7fffad2b3700 (LWP 1398)]
[New Thread 0x7fffacab2700 (LWP 1399)]
[New Thread 0x7fffac2b1700 (LWP 1400)]
[New Thread 0x7fffabab0700 (LWP 1401)]                                                                                                                                                                                                       
[New Thread 0x7fffa960b700 (LWP 1402)]                                                                                                                                                                                                       
[New Thread 0x7fffa8e0a700 (LWP 1403)]                                                                                                                                                                                                       
[New Thread 0x7fff93fff700 (LWP 1404)]                                                                                                                                                                                                       
[New Thread 0x7fff937fe700 (LWP 1405)]                                                                                                                                                                                                       
[New Thread 0x7fff92ffd700 (LWP 1406)]                                                                                                                                                                                                       
[New Thread 0x7fff927fc700 (LWP 1407)]                                                                                                                                                                                                       
[New Thread 0x7fff91ffb700 (LWP 1408)]                                                                                                                                                                                                       
[New Thread 0x7fff917fa700 (LWP 1409)]                                                                                                                                                                                                       
[New Thread 0x7fff90ff9700 (LWP 1410)]                                                                                                                                                                                                       
[New Thread 0x7fff907f8700 (LWP 1411)]                                                                                                                                                                                                       
[New Thread 0x7fff8fff7700 (LWP 1412)]                                                                                                                                                                                                       
[New Thread 0x7fff8f7f6700 (LWP 1413)]                                                                                                                                                                                                       
[New Thread 0x7fff8eff5700 (LWP 1414)]                                                                                                                                                                                                       
[New Thread 0x7fff8e7f4700 (LWP 1415)]                                                                                                                                                                                                       
[New Thread 0x7fff8dff3700 (LWP 1416)]                                                                                                                                                                                                       
[New Thread 0x7fff8d7f2700 (LWP 1417)]                                                                                                                                                                                                       
[New Thread 0x7fff8cff1700 (LWP 1418)]                                                                                                                                                                                                       
[Thread 0x7fff8fff7700 (LWP 1412) exited]                                                                                                                                                                                                    
[Thread 0x7fff907f8700 (LWP 1411) exited]
[Thread 0x7fff8f7f6700 (LWP 1413) exited]
[Thread 0x7fffa8e0a700 (LWP 1403) exited]
[Thread 0x7fffaeab6700 (LWP 1395) exited]
[Thread 0x7fffabab0700 (LWP 1401) exited]
[Thread 0x7fff90ff9700 (LWP 1410) exited]
[Thread 0x7fff8e7f4700 (LWP 1415) exited]
[Thread 0x7fffae2b5700 (LWP 1396) exited]
[Thread 0x7fff927fc700 (LWP 1407) exited]
[Thread 0x7fffac2b1700 (LWP 1400) exited]
[Thread 0x7fffa960b700 (LWP 1402) exited]
[Thread 0x7fff937fe700 (LWP 1405) exited]
[Thread 0x7fff93fff700 (LWP 1404) exited]
[Thread 0x7fffadab4700 (LWP 1397) exited]
[Thread 0x7fff8cff1700 (LWP 1418) exited]
[Thread 0x7fffafb89700 (LWP 1394) exited]
[Thread 0x7fff8d7f2700 (LWP 1417) exited]
[Thread 0x7fffacab2700 (LWP 1399) exited]
[Thread 0x7fff8dff3700 (LWP 1416) exited]
[Thread 0x7fffad2b3700 (LWP 1398) exited]
[Thread 0x7fff8eff5700 (LWP 1414) exited]
[Thread 0x7fff917fa700 (LWP 1409) exited]
[Thread 0x7fff91ffb700 (LWP 1408) exited]
[Thread 0x7fff92ffd700 (LWP 1406) exited]
[New Thread 0x7fff92ffd700 (LWP 1615)]
[New Thread 0x7fff91ffb700 (LWP 1633)]
[New Thread 0x7fff917fa700 (LWP 1634)]
[New Thread 0x7fff8eff5700 (LWP 1635)]
[Thread 0x7fff92ffd700 (LWP 1615) exited]
[Thread 0x7fff8eff5700 (LWP 1635) exited]
[Thread 0x7fff917fa700 (LWP 1634) exited]
[Thread 0x7fff91ffb700 (LWP 1633) exited]
[New Thread 0x7fff91ffb700 (LWP 1647)]
[New Thread 0x7fff917fa700 (LWP 1648)]
[New Thread 0x7fff8eff5700 (LWP 1653)]
[New Thread 0x7fff92ffd700 (LWP 1654)]
[New Thread 0x7fff88ec4700 (LWP 1655)]
[New Thread 0x7fff886c3700 (LWP 1656)]
[New Thread 0x7fff87ec2700 (LWP 1657)]
[New Thread 0x7fff876c1700 (LWP 1659)]
[New Thread 0x7fff86ec0700 (LWP 1660)]
[Thread 0x7fff876c1700 (LWP 1659) exited]
[Thread 0x7fff86ec0700 (LWP 1660) exited]
[Thread 0x7fff87ec2700 (LWP 1657) exited]
[Thread 0x7fff886c3700 (LWP 1656) exited]
[Thread 0x7fff88ec4700 (LWP 1655) exited]
[Thread 0x7fff92ffd700 (LWP 1654) exited]
[Thread 0x7fff8eff5700 (LWP 1653) exited]
[Thread 0x7fff917fa700 (LWP 1648) exited]
[Thread 0x7fff91ffb700 (LWP 1647) exited]
[Thread 0x7fffc2076700 (LWP 1391) exited]
[Thread 0x7fffc2877700 (LWP 1388) exited]
[Thread 0x7fffc9b04700 (LWP 1386) exited]
[Thread 0x7ffff7f30b00 (LWP 1382) exited]

Program terminated with signal SIGKILL, Killed.
The program no longer exists.
(gdb) bt
No stack.
(gdb) 


Reproducible: Always

Steps to Reproduce:
1. run digikam
2.open a folder
3.assign a face tag
4 assign a second face tag

Actual Results:  
The first tag is recorded. The second not. and crashes

Expected Results:  
Assign diferent faces tags withou problem
Comment 1 caulier.gilles 2015-02-24 10:35:40 UTC
There is no debug symbols visible in your backtrace.

Install debug packages, and re-run digiKam in GDB as explained in this page :

https://www.digikam.org/contrib

Gilles Caulier
Comment 2 caulier.gilles 2015-06-24 16:16:32 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 3 antoni 2015-06-25 08:01:19 UTC
Gilles,

Thanks for the remark. 4.11 is not yet available in fedora 22. I will
wait some days.

Presently I solved the problem doing the following things:

Modify all the names for folders and tags to utf8 (means changing all
the caracters as accents, -, ., รง, etc. I used Renamefiles2.3b.exe. 

The folders files are in the host windows machine and digikam 4.10 in a
guest fedora 22 machine with Virtual box.

Delete any duplicate name of a tag.

Delete all the metadata in the picture files using EXIFtool.

Modify configuration not to save metadata to files.

Delete all the sidefiles.

Convert all Raw to Dng.

Convert bmp, gif and other formats to jpg or tif.

Rebuilding db with sqlite3 -line digikam4.db 'pragma integrity_check
and vaccum for the thumbnail.bd also.

Delete all the existing faces. 

Delete database file in libkface.

Restart digikam 4.10 and all the face naming works manually and finding
faces.

May be I did steps non necessary but I preferred to clean the
historical errors.

The only thing that did not work is the recognition. I have to
investigate a bit more about it.


antoni





El dc 24 de 06 de 2015 a les 16:16 +0000, en/na Gilles Caulier va
escriure:
> https://bugs.kde.org/show_bug.cgi?id=344521
> 
> --- Comment #2 from Gilles Caulier <caulier.gilles@gmail.com> ---
> New digiKam 4.11.0 is available :
> 
> https://www.digikam.org/node/740
> 
> Can you reproduce the problem with this release ?
> 
> Gilles Caulier
>
Comment 4 caulier.gilles 2015-06-25 08:14:11 UTC
The recognition is fixed since 4.9.0 release.

So please try 4.1.0 release and give us a feedback

Gilles Caulier
Comment 5 caulier.gilles 2015-06-25 08:14:26 UTC
4.11.0 release i want mean
Comment 6 caulier.gilles 2015-08-17 11:26:24 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 7 antoni 2015-08-21 09:12:08 UTC
Gilles,

Version 4.12 works well in the face definition.

It is by large the best version published.

Still some doubts in the face recognition. Bur,I need to test it
further.

Thanks.


El dl 17 de 08 de 2015 a les 11:26 +0000, en/na Gilles Caulier va
escriure:
> https://bugs.kde.org/show_bug.cgi?id=344521
> 
> --- Comment #6 from Gilles Caulier <caulier.gilles@gmail.com> ---
> 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
>