Summary: | Face detect crashes every time | ||
---|---|---|---|
Product: | [Applications] digikam | Reporter: | DMW <derek> |
Component: | Faces-Detection | Assignee: | Digikam Developers <digikam-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | caulier.gilles, lunitic, metzpinguin, nonobio |
Priority: | NOR | ||
Version: | 6.0.0 | ||
Target Milestone: | --- | ||
Platform: | Microsoft Windows | ||
OS: | Microsoft Windows | ||
Latest Commit: | Version Fixed In: | 6.1.0 |
Description
DMW
2018-11-20 22:29:38 UTC
It crashes in QString, more specifically in QLocale().toString() in the digiKam function that prints the album date in the category header. We have never seen this kind of crash. You may have a problem with the KF5 system locale or the album date is invalid and libKF5I18n has a problem with it. Maik Or the bactrace is not valid due to a memory corruption in face workflow which give strange result... Gilles Are there any changes to settings I could make to see if it affects this behavior? My system locale is currently en_US.UTF-8 The crash here is caused by exit() called in Thread 18, which in turn is caused by failed dlopen from OpenGL. s/OpenCL Can you reproduce the dysfunction using the last digiKam 6.0.0-beta3 just released ? https://www.digikam.org/news/2018-12-30-6.0.0-beta3_release_announcement/ (In reply to caulier.gilles from comment #6) > Can you reproduce the dysfunction using the last digiKam 6.0.0-beta3 just > released ? > > https://www.digikam.org/news/2018-12-30-6.0.0-beta3_release_announcement/ I have been running the function at full throttle for several hours and so far it has not crashed. It definitely would have by now if the problem still existed. Is there a log that would show details of the face detection run? I have just started to test out Digikam to see if I like the workflow. However my Face detect still crashes in BETA 3 as it did in BETA 2. I have tested it with both a local database, Centralised MySQL enviroment. Tested it on 2 different Windows 10 and also installed a xUbuntu 18.04 and all of them crashes in BETA 3. I then tested in 5.9 and it seems stable (not had that much time). If you guys need help with debugging just give me a shout. I have both windows / Linux machine running. Hi, Since i updated Digikam to version 6.0.0 on my WIndows 7 64 bits PC, face detection crash every time after 2 seconds. This is the "digikam.exe" window error : "Signature du problème : Nom d’événement de problème: APPCRASH Nom de l’application: digikam.exe Version de l’application: 0.0.0.0 Horodatage de l’application: 5c5ef93f Nom du module par défaut: amdocl64.dll Version du module par défaut: 10.0.1084.4 Horodateur du module par défaut: 50d22720 Code de l’exception: c0000005 Décalage de l’exception: 0000000000062e07 Version du système: 6.1.7601.2.1.0.256.1 Identificateur de paramètres régionaux: 1036 Information supplémentaire n° 1: 17b6 Information supplémentaire n° 2: 17b6b391de35b17c5f9dde022539096a Information supplémentaire n° 3: d9b7 Information supplémentaire n° 4: d9b7a0578ee4cc0b845afb8aea4d8693 " Thanks Gilles, is the Windows OpenCV version built with OpenCL support? The listed in the crash "amdocl64.dll" suggests it. Maik OpenCV is build through my scripts. Configuration is here and as you can see, OpenCL is disabled : https://cgit.kde.org/digikam.git/tree/project/bundles/3rdparty/ext_opencv/CMakeLists.txt?h=development/dplugins#n51 But... OpenCV is monster. Who can be sure that the configuration is well respected at compilation time. Be curious and look how the OpenCV options are managed with CMake. A lots of settings are not documented or hidden. The complexity of all combinaisons make the puzzle unreadable : https://github.com/opencv/opencv/blob/3.4/CMakeLists.txt If you understand all, let's me hear... Note : i don't take a look to OpenCV 4 to see if options management have been simplified. Gilles Oh, what a CMakeLists.txt... I suspect that this too must be disabled: WITH_OPENCLAMDFFT, WITH_OPENCLAMDBLAS, and WITH_VA_INTEL. After Google: https://stackoverflow.com/questions/30727588/disable-opencl-in-opencv-completely Maik Git commit 2d12ab1662363f680c6ab68e68c892146b5e45c2 by Gilles Caulier. Committed on 28/02/2019 at 05:08. Pushed by cgilles into branch 'development/dplugins'. disable all OpenCL options from OpenCV embeded in bundles M +4 -1 project/bundles/3rdparty/ext_opencv/CMakeLists.txt https://commits.kde.org/digikam/2d12ab1662363f680c6ab68e68c892146b5e45c2 Hi, Today i tried to manually add a face tag on a photo (waiting that the bug is resolved) : digikam crash. This is the windows error (maybe the same than with automatic face detection crash) : Signature du problème : Nom d’événement de problème: APPCRASH Nom de l’application: digikam.exe Version de l’application: 0.0.0.0 Horodatage de l’application: 5c5ef93f Nom du module par défaut: amdocl64.dll Version du module par défaut: 10.0.1084.4 Horodateur du module par défaut: 50d22720 Code de l’exception: c0000005 Décalage de l’exception: 0000000000062e07 Version du système: 6.1.7601.2.1.0.256.1 Identificateur de paramètres régionaux: 1036 Information supplémentaire n° 1: 533e Information supplémentaire n° 2: 533e55d718dc7010f87c7d6e1c17c6f5 Information supplémentaire n° 3: cd70 Information supplémentaire n° 4: cd700fed3ea05d0b98c8e9b3babc5e1d Lire notre déclaration de confidentialité en ligne : http://go.microsoft.com/fwlink/?linkid=104288&clcid=0x040c Si la déclaration de confidentialité en ligne n’est pas disponible, lisez la version hors connexion : C:\Windows\system32\fr-FR\erofflps.txt I started the 6.1.0 pre-version bundles compilation this morning. This take few hours to be online. Gilles Caulier Will it be available here ? : https://download.kde.org/unstable/digikam/ No, the weekly snapshots are uploaded here: https://files.kde.org/digikam/ The new Windows bundle is not yet online. Maik Ok thanks :) The new windows installers are not yet ready, as something is broken in cross compiler. In fact, i cleaned all MXE build env. and rebuild all from scratch. I figure a dysfunction in Eigen package : https://github.com/mxe/mxe/issues/2288 I hope that it will be fixed while this week end... Gilles Maik, In opencv, i found a python script to configure the library where i found more hidden options to turn off. Seriously, OpenCV is a uncontrolled monster ! https://github.com/opencv/opencv/blob/master/platforms/js/build_js.py#L80 Note : with 4.x version look like DNN has an undocumented option to turn of/on DNN support... Gilles Nonobio, 6.1.0 pre release installers for Windows are now updated with minimal OpenCV support, especially about video card matrix computation extensions. At least, the crash about Cuda or OpenCL must disappear... Gilles Caulier Hi, It works ! Thanks a lot :) Thanks for the feedback. Maik Maik, I think we have plenty of crashes with Face workflow due to Cuda and OpenCL call from OpenCV. I always thing that user space code too much dependent of video card devices was an error prone. This is true for Windows (now fixed), but also under MacOS (i need to rebuild all from scratch), and Linux with AppImage (not yet fixed due to fontconfig problem with Qt 5.11.3). For Linux native build, i have no idea if Cuda or OpenCL can be disabled at run-time. I hope, and if it's the case, this must be done. Gilles Yes, I also think that our strange crashes in the code of some users depend on it. Maik |