| Summary: | Application crashes when attempting to first recognized face | ||
|---|---|---|---|
| Product: | [Applications] digikam | Reporter: | Kurt <garliceggs> |
| Component: | Faces-Recognition | Assignee: | Digikam Developers <digikam-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | metzpinguin |
| Priority: | NOR | ||
| Version First Reported In: | 8.4.0 | ||
| Target Milestone: | --- | ||
| Platform: | Mint (Ubuntu based) | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | 8.5.0 | |
| Sentry Crash Report: | |||
Fixed with Bug 493914. You have not yet downloaded the binary face model data or have not restarted digiKam afterwards. Maik |
SUMMARY App crashed when I attempted to make my first face recognition. STEPS TO REPRODUCE 1.I downloaded the app image and ran it. I accepted the defaults for install. I used ~/Pictures as my pictures folder. It scanned the images there and displayed them in the app. I selected one of them which is a CR2 file with two people in it. 2. I selected "scan for faces" with right click menu. The app correctly identified two faces. I went to the first and added a new name under "who is this?" I added a name "Tommy" and selected "create in people" 3. OBSERVED RESULT The app hung for a moment and then crashed. The console displayed the following info: Digikam::FaceDb::insertFaceVector: fail to insert face embedding, last query "INSERT INTO FaceMatrices (identity, `context`, embedding) VALUES (?,?,?);" bound values QList(QVariant(int, 1), QVariant(QString, "digikam"), QVariant(QByteArray, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xE0\xFF\xFF\xEFG\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01""ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/wxyz0123456789-_\x9F\x9F\x9F\x9F\x9F\x9F\x9F\x9F\x9F\x9F\x9F\x9F\x9F\x9F\x9F\x9F\x19\x19\x19\x19\x19\x19\x19\x19\x19\x19\x19\x19\x19\x19\x19\x19\xDF\xDF\xDF\xDF\xDF\xDF\xDF\xDF\xDF\xDF\xDF\xDF\xDF\xDF\xDF\xDF\xBF\xBF\xBF\xBF\xBF\xBF\xBF\xBF\xBF\xBF\xBF\xBF\xBF\xBF\xBF\xBF \x00\x01\x02\x03\x04\x05\x06\x07\b\t\n\x0B\f\r\x0E\x0F\x10\x11\x12\x13\x14\x15\x16\x17\x18\x19\x1A\x1B\x1C\x1D\x1E\x1F !\"#$%&'()*+,-./0123456789:;<=>?@abcdefghijklmnopqrstuvwxyz[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~\x7F\x80\x81\x82\x83\x84\x85\x86\x87\x88\x89\x8A\x8B\x8C\x8D\x8E\x8F\x90\x91\x92\x93\x94\x95\x96\x97\x98\x99\x9A\x9B\x9C\x9D\x9E\x9F\xA0\xA1\xA2\xA3\xA4\xA5\xA6\xA7\xA8\xA9\xAA\xAB\xAC\xAD\xAE\xAF\xB0\xB1\xB2\xB3\xB4\xB5\xB6\xB7\xB8\xB9\xBA\xBB\xBC\xBD\xBE\xBF\xE0\xE1\xE2\xE3\xE4\xE5\xE6\xE7\xE8\xE9\xEA\xEB\xEC\xED\xEE\xEF\xF0\xF1\xF2\xF3\xF4\xF5\xF6\xD7\xF8\xF9\xFA\xFB\xFC\xFD\xFE\xDF\xE0\xE1\xE2\xE3\xE4\xE5\xE6\xE7\xE8\xE9\xEA\xEB\xEC\xED\xEE\xEF\xF0\xF1\xF2\xF3\xF4\xF5\xF6\xF7\xF8\xF9\xFA\xFB\xFC\xFD\xFE\xFFLanguage\x00Script\x00""Country\x00MeasurementSystem\x00""FormatType\x00TagSeparato")) QSqlError("1299", "Unable to fetch row", "NOT NULL constraint failed: FaceMatrices.embedding") Digikam::OpenCVDNNFaceRecognizer::Private::insertData: error inserting face embedding to database unknown: ASSERT: "(nodePos.rows == 1) && (nodePos.cols == dimension) && (nodePos.type() == CV_32F)" in file /dktemp/digikam-v8.4.0/core/libs/facesengine/recognition/opencv-dnn/kd_node.cpp, line 116 /tmp/.mount_digiKa3giNbL/AppRun: line 238: 24372 Aborted (core dumped) digikam $@ EXPECTED RESULT Not crash. Record face info. SOFTWARE/OS VERSIONS Linux Mint 21/3 x86_64 ADDITIONAL INFORMATION