[digikam] [Bug 415685] digiKam crashes when scanning faces

2020-01-26 Thread Vitalii Tymchyshyn
https://bugs.kde.org/show_bug.cgi?id=415685

Vitalii Tymchyshyn  changed:

   What|Removed |Added

 Resolution|--- |FIXED
 Status|REOPENED|RESOLVED

--- Comment #16 from Vitalii Tymchyshyn  ---
Seems to work just fine for me now

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

[digikam] [Bug 415685] digiKam crashes when scanning faces

2020-01-15 Thread Maik Qualmann
https://bugs.kde.org/show_bug.cgi?id=415685

--- Comment #15 from Maik Qualmann  ---
Git commit c2e12bc149e632ac6d1ba1365929b6bb2fcdce52 by Maik Qualmann.
Committed on 15/01/2020 at 20:53.
Pushed by mqualmann into branch 'master'.

move create m_data back to the constructor body

M  +4-2core/libs/database/item/containers/iteminfo.cpp

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

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

[digikam] [Bug 415685] digiKam crashes when scanning faces

2020-01-15 Thread Maik Qualmann
https://bugs.kde.org/show_bug.cgi?id=415685

--- Comment #14 from Maik Qualmann  ---
Hmm, we have never seen a crash here, m_data does not have to be valid, even
though we are under lock condition. I'm going to undo a recent change as a
test.

Maik

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

[digikam] [Bug 415685] digiKam crashes when scanning faces

2020-01-15 Thread Vitalii Tymchyshyn
https://bugs.kde.org/show_bug.cgi?id=415685

--- Comment #13 from Vitalii Tymchyshyn  ---
One more backtrace, now during recognizing:
[New Thread 0x7fff397fa700 (LWP 24504)]
[New Thread 0x7fff40a37700 (LWP 24505)]

Thread 1 "digikam" received signal SIGSEGV, Segmentation fault.
0x74342730 in QString::operator=(QString const&) () from
/tmp/.mount_digika64EwnA/usr/lib/libQt5Core.so.5
(gdb) bt
#0  0x74342730 in QString::operator=(QString const&) () from
/tmp/.mount_digika64EwnA/usr/lib/libQt5Core.so.5
#1  0x7708b374 in Digikam::ItemInfo::ItemInfo (this=0x7fffbee8,
record=...)
at
/b/dktemp/digikam-master/core/libs/database/item/containers/iteminfo.cpp:45
#2  0x76af01a0 in Digikam::ItemInfoJob::slotData (this=0x1d6b868,
records=...)
at /b/dktemp/digikam-master/core/utilities/maintenance/iteminfojob.cpp:174
#3  0x744c6a56 in ?? () from
/tmp/.mount_digika64EwnA/usr/lib/libQt5Core.so.5
#4  0x7712d175 in Digikam::DBJobsThread::data (this=,
_t1=...)
at
/b/dktemp/digikam-master/build/core/libs/database/digikamdatabase_src_automoc.dir/moc_dbjobsthread_36KIDXXBTBIVQQ.cpp:162
#5  0x744bef73 in QObject::event(QEvent*) () from
/tmp/.mount_digika64EwnA/usr/lib/libQt5Core.so.5
#6  0x7503d29c in QApplicationPrivate::notify_helper(QObject*, QEvent*)
()
   from /tmp/.mount_digika64EwnA/usr/lib/libQt5Widgets.so.5
#7  0x750444c0 in QApplication::notify(QObject*, QEvent*) () from
/tmp/.mount_digika64EwnA/usr/lib/libQt5Widgets.so.5
#8  0x74490868 in QCoreApplication::notifyInternal2(QObject*, QEvent*)
()
   from /tmp/.mount_digika64EwnA/usr/lib/libQt5Core.so.5
#9  0x744937fa in QCoreApplicationPrivate::sendPostedEvents(QObject*,
int, QThreadData*) ()
   from /tmp/.mount_digika64EwnA/usr/lib/libQt5Core.so.5
#10 0x744e8de3 in ?? () from
/tmp/.mount_digika64EwnA/usr/lib/libQt5Core.so.5
#11 0x7fffee5a9417 in g_main_context_dispatch () from
/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#12 0x7fffee5a9650 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#13 0x7fffee5a96dc in g_main_context_iteration () from
/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#14 0x744e847c in
QEventDispatcherGlib::processEvents(QFlags) ()
   from /tmp/.mount_digika64EwnA/usr/lib/libQt5Core.so.5
#15 0x7448f262 in
QEventLoop::exec(QFlags) ()
   from /tmp/.mount_digika64EwnA/usr/lib/libQt5Core.so.5
#16 0x74498080 in QCoreApplication::exec() () from
/tmp/.mount_digika64EwnA/usr/lib/libQt5Core.so.5
#17 0x0040580d in main (argc=1, argv=) at
/b/dktemp/digikam-master/core/app/main/main.cpp:336

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

[digikam] [Bug 415685] digiKam crashes when scanning faces

2020-01-10 Thread Vitalii Tymchyshyn
https://bugs.kde.org/show_bug.cgi?id=415685

--- Comment #12 from Vitalii Tymchyshyn  ---
Created attachment 125020
  --> https://bugs.kde.org/attachment.cgi?id=125020=edit
oom log

OK, digikam-7.0.0-beta2-20200110T055935-x86-64.appimage ate all my memory

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

[digikam] [Bug 415685] digiKam crashes when scanning faces

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

--- Comment #11 from caulier.gil...@gmail.com ---
bundles have been updated today at this place :

https://files.kde.org/digikam/

Best

Gilles Caulier

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

[digikam] [Bug 415685] digiKam crashes when scanning faces

2020-01-10 Thread Vitalii Tymchyshyn
https://bugs.kde.org/show_bug.cgi?id=415685

--- Comment #10 from Vitalii Tymchyshyn  ---
Yep, 
CPU: Intel® Core™ i7-4510U CPU @ 2.00GHz × 4 
Ubuntu 18.04.3 LTS
Thanks for fast fix! How do I know which snapshot did it make to to try?

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

[digikam] [Bug 415685] digiKam crashes when scanning faces

2020-01-09 Thread Maik Qualmann
https://bugs.kde.org/show_bug.cgi?id=415685

--- Comment #9 from Maik Qualmann  ---
@Vitalii only for my stats. Do you have an Intel CPU?

Maik

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

[digikam] [Bug 415685] digiKam crashes when scanning faces

2020-01-09 Thread Maik Qualmann
https://bugs.kde.org/show_bug.cgi?id=415685

--- Comment #8 from Maik Qualmann  ---
Git commit 498089011eeb2ea4c347df19ffaf39efb87cfde7 by Maik Qualmann.
Committed on 10/01/2020 at 07:00.
Pushed by mqualmann into branch 'master'.

try to fix the crash in getUniqueHashV2()

M  +2-2core/libs/dimg/dimg.h
M  +8-8core/libs/dimg/dimg_metadata.cpp

https://invent.kde.org/kde/digikam/commit/498089011eeb2ea4c347df19ffaf39efb87cfde7

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

[digikam] [Bug 415685] digiKam crashes when scanning faces

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

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

Since digikam-7.0.0-beta2-20200109T110832-x86-64.appimage, we use now Qt5.14.0
and OpenCV 3.5.9 in AppImage.

Gilles

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

[digikam] [Bug 415685] digiKam crashes when scanning faces

2020-01-09 Thread Vitalii Tymchyshyn
https://bugs.kde.org/show_bug.cgi?id=415685

Vitalii Tymchyshyn  changed:

   What|Removed |Added

 Ever confirmed|0   |1
 Resolution|FIXED   |---
 Status|RESOLVED|REOPENED

--- Comment #6 from Vitalii Tymchyshyn  ---
Still see it on digikam-7.0.0-beta2-20200109T110832-x86-64.appimage

Thread 2154 "Thread (pooled)" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fff7700 (LWP 32005)]
0x74343e57 in operator<(QString const&, QString const&) ()
   from /tmp/.mount_digikaTdgkjC/usr/lib/libQt5Core.so.5
(gdb) bt
#0  0x74343e57 in operator<(QString const&, QString const&) ()
   from /tmp/.mount_digikaTdgkjC/usr/lib/libQt5Core.so.5
#1  0x774c9ba0 in qMapLessThanKey (key2=..., key1=...)
at ././/include/QtCore/qmap.h:68
#2  QMapNode::lowerBound (akey=..., this=)
at ././/include/QtCore/qmap.h:152
#3  QMapData::findNode (this=, akey=...)
at ././/include/QtCore/qmap.h:284
#4  0x77629323 in QMap::contains (akey=..., 
this=) at ././/include/QtCore/qmap.h:693
#5  Digikam::DImg::hasAttribute (this=this@entry=0x7202ee8, key=...)
at /b/dktemp/digikam-master/core/libs/dimg/dimg_props.cpp:236
#6  0x7762510a in Digikam::DImg::getUniqueHashV2 (this=0x7202ee8)
at /b/dktemp/digikam-master/core/libs/dimg/dimg_metadata.cpp:72
#7  0x77626a90 in Digikam::DImg::createHistoryImageId (
this=, filePath=..., 
type=type@entry=Digikam::HistoryImageId::Current)
at /b/dktemp/digikam-master/core/libs/dimg/dimg_metadata.cpp:312
#8  0x774d8985 in Digikam::DImgLoader::readMetadata (
this=0x7fff6069ab90, filePath=...)
at /b/dktemp/digikam-master/core/libs/dimg/loaders/dimgloader.cpp:225
#9  0x7fffbfe33f99 in DigikamJPEGDImgPlugin::DImgJPEGLoader::load (
this=0x7fff6069ab90, filePath=..., observer=0x7202d10)
---Type  to continue, or q  to quit---
at
/b/dktemp/digikam-master/core/dplugins/dimg/jpeg/dimgjpegloader_load.cpp:56
#10 0x776219d4 in Digikam::DImg::load (this=this@entry=0x7202ee8, 
filePath=..., loadFlagsInt=loadFlagsInt@entry=63, 
observer=observer@entry=0x7202d10, rawDecodingSettings=...)
at /b/dktemp/digikam-master/core/libs/dimg/dimg_fileio.cpp:138
#11 0x77622a90 in Digikam::DImg::load (this=this@entry=0x7202ee8, 
filePath=..., observer=observer@entry=0x7202d10, rawDecodingSettings=...)
at /b/dktemp/digikam-master/core/libs/dimg/dimg_fileio.cpp:63
#12 0x776f2c15 in Digikam::PreviewLoadingTask::execute (this=0x7202d00)
at
/b/dktemp/digikam-master/core/libs/threadimageio/preview/previewtask.cpp:290
#13 0x777085ee in Digikam::LoadSaveThread::run (this=0x1b3be30)
at
/b/dktemp/digikam-master/core/libs/threadimageio/fileio/loadsavethread.cpp:133
#14 0x7772d11e in Digikam::DynamicThread::Private::run (this=0x19f2680)
at /b/dktemp/digikam-master/core/libs/threads/dynamicthread.cpp:183
#15 0x742a5f47 in ?? ()
   from /tmp/.mount_digikaTdgkjC/usr/lib/libQt5Core.so.5
#16 0x742a24f5 in ?? ()
   from /tmp/.mount_digikaTdgkjC/usr/lib/libQt5Core.so.5
#17 0x7342c6db in start_thread (arg=0x7fff7700)
at pthread_create.c:463
---Type  to continue, or q  to quit---
#18 0x7315588f in clone ()
at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

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

[digikam] [Bug 415685] digiKam crashes when scanning faces

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

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

   What|Removed |Added

Summary|Digikam crashes when|digiKam crashes when
   |scanning faces  |scanning faces

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

[digikam] [Bug 415685] Digikam crashes when scanning faces

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

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

   What|Removed |Added

 Resolution|DUPLICATE   |FIXED
   Version Fixed In||7.0.0
 CC||caulier.gil...@gmail.com

--- Comment #5 from caulier.gil...@gmail.com ---
Fixed with bug #415643

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

[digikam] [Bug 415685] Digikam crashes when scanning faces

2019-12-29 Thread Maik Qualmann
https://bugs.kde.org/show_bug.cgi?id=415685

Maik Qualmann  changed:

   What|Removed |Added

 CC||metzping...@gmail.com
 Status|REPORTED|RESOLVED
 Resolution|--- |DUPLICATE

--- Comment #4 from Maik Qualmann  ---


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

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

[digikam] [Bug 415685] Digikam crashes when scanning faces

2019-12-29 Thread Vitalii Tymchyshyn
https://bugs.kde.org/show_bug.cgi?id=415685

--- Comment #3 from Vitalii Tymchyshyn  ---
CPU: Intel® Core™ i7-4510U CPU @ 2.00GHz × 4 
Ubuntu 18.04.3 LTS
558219304 Dec 26 09:03 /home/tivv/Downloads/digikam-7.0.0-beta1-x86-64.appimage

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

[digikam] [Bug 415685] Digikam crashes when scanning faces

2019-12-29 Thread Vitalii Tymchyshyn
https://bugs.kde.org/show_bug.cgi?id=415685

--- Comment #2 from Vitalii Tymchyshyn  ---
Note: I will leave it open in gdb for some time. Let me know if any additional
gdb command is needed

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

[digikam] [Bug 415685] Digikam crashes when scanning faces

2019-12-29 Thread Vitalii Tymchyshyn
https://bugs.kde.org/show_bug.cgi?id=415685

--- Comment #1 from Vitalii Tymchyshyn  ---
Last few lines from console:
ESC[34mDigikam::PreviewLoadingTask::executeESC[0m: Cannot extract preview for
"/home/tivv/Drive/foto/incoming/20161014/DCIM/Camera/VID_20150731_235809.mp4"
ESC[34mDigikam::PreviewLoadingTask::executeESC[0m: Try to get preview from
"/home/tivv/Drive/foto/incoming/20161014/DCIM/Camera/VID_20150801_081329.mp4"
ESC[34mDigikam::PreviewLoadingTask::executeESC[0m: Preview quality:  1
ESC[34mDigikam::DImg::loadESC[0m:
"/home/tivv/Drive/foto/incoming/20161014/DCIM/Camera/VID_20150801_081329.mp4" :
Unknown image format !!!
ESC[34mDigikam::PreviewLoadingTask::executeESC[0m: Cannot extract preview for
"/home/tivv/Drive/foto/incoming/20161014/DCIM/Camera/VID_20150801_081329.mp4"
ESC[34mDigikam::PreviewLoadingTask::executeESC[0m: Try to get preview from
"/home/tivv/Drive/foto/incoming/20161014/DCIM/Camera/VID_20150801_081445.mp4"
ESC[34mDigikam::PreviewLoadingTask::executeESC[0m: Preview quality:  1
ESC[34mDigikam::DImg::loadESC[0m:
"/home/tivv/Drive/foto/incoming/20161014/DCIM/Camera/VID_20150801_081445.mp4" :
Unknown image format !!!
ESC[34mDigikam::PreviewLoadingTask::executeESC[0m: Cannot extract preview for
"/home/tivv/Drive/foto/incoming/20161014/DCIM/Camera/VID_20150801_081445.mp4"
ESC[34mDigikam::PreviewLoadingTask::executeESC[0m: Try to get preview from
"/home/tivv/Drive/foto/incoming/20161014/DCIM/Camera/VID_20150801_081653.mp4"
ESC[34mDigikam::PreviewLoadingTask::executeESC[0m: Preview quality:  1
ESC[34mDigikam::DImg::loadESC[0m:
"/home/tivv/Drive/foto/incoming/20161014/DCIM/Camera/VID_20150801_081653.mp4" :
Unknown image format !!!
ESC[34mDigikam::PreviewLoadingTask::executeESC[0m: Cannot extract preview for
"/home/tivv/Drive/foto/incoming/20161014/DCIM/Camera/VID_20150801_081653.mp4"
ESC[34mDigikam::PreviewLoadingTask::executeESC[0m: Try to get preview from
"/home/tivv/Drive/foto/incoming/20161014/DCIM/Camera/VID_20150802_054803.mp4"
ESC[34mDigikam::PreviewLoadingTask::executeESC[0m: Preview quality:  1

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