[digiKam-users] Segmentation fault when parsing entire collection

classic Classic list List threaded Threaded
14 messages Options
Reply | Threaded
Open this post in threaded view
|

[digiKam-users] Segmentation fault when parsing entire collection

Dougie Nisbet

Enjoying playing with Face Detection. I think I'm getting the hang of it now.

If I try scanning my entire collection it faults at some point. e.g.

Digikam::DImg::load: "/store/media/images/2007/06/29/Jack Scott - Houghall Arb -- Fri 29 Jun 2007 16-56-12 BST.jpg" : "JPEG" file identified
Digikam::DNNFaceDetectorBase::selectBbox: Good rect =  QRect(65,108 26x40) , conf =  0.858195
Digikam::DetectionWorker::process: Found 1 faces in "Jack Scott - Houghall Arb -- Fri 29 Jun 2007 13-31-10 BST.jpg" QSize(2048, 1536) QSize(2048, 1536)
Digikam::DMetadata::getIccProfile: Exif color-space tag is sRGB. Using default sRGB ICC profile.
Digikam::DNNFaceDetectorBase::selectBbox: Good rect =  QRect(160,116 56x82) , conf =  0.992359
Digikam::DNNFaceDetectorBase::selectBbox: Good rect =  QRect(87,135 27x45) , conf =  0.988683
Digikam::DetectionWorker::process: Found 2 faces in "Jack Scott - Houghall Arb -- Fri 29 Jun 2007 16-45-12 BST.jpg" QSize(2048, 1536) QSize(2048, 1536)
Digikam::DatabaseWriter::process: Removing old entries ()
Digikam::FacePipeline::Private::checkFinished: Check for finish:  7 packages, 0 infos to filter, hasFinished() false
/tmp/.mount_digikadpkQOx/AppRun: line 151: 13672 Segmentation fault      digikam $@

I'm not too alarmed about this. My collection is 100K+ and is not perfect, so quite possibly problems with my photos.

I've not noticed whether it faults on the same photo each time. I'll try it again overnight tonight and find out.

The file: /tmp/.mount_digikadpkQOx/AppRun does not exist so no useful information in there.

As I say this isn't a problem for me. Just part of being in beta. I've just manually scanned the last photo mentioned above before the crash and it was fine.

If I can provide more info please let me know.

Dougie

Reply | Threaded
Open this post in threaded view
|

Re: Segmentation fault when parsing entire collection

Gilles Caulier-4
/tmp/.mount_digikadpkQOx/AppRun is just the virtual entry point in AppImage executable. It disappear at end (so when it crash).

Useful info can be get if you run AppImage with debugger. There is a dedicated option to pass to appimage for that : "debug".


Gilles Caulier

Le ven. 3 janv. 2020 à 15:20, Dougie Nisbet <[hidden email]> a écrit :

Enjoying playing with Face Detection. I think I'm getting the hang of it now.

If I try scanning my entire collection it faults at some point. e.g.

Digikam::DImg::load: "/store/media/images/2007/06/29/Jack Scott - Houghall Arb -- Fri 29 Jun 2007 16-56-12 BST.jpg" : "JPEG" file identified
Digikam::DNNFaceDetectorBase::selectBbox: Good rect =  QRect(65,108 26x40) , conf =  0.858195
Digikam::DetectionWorker::process: Found 1 faces in "Jack Scott - Houghall Arb -- Fri 29 Jun 2007 13-31-10 BST.jpg" QSize(2048, 1536) QSize(2048, 1536)
Digikam::DMetadata::getIccProfile: Exif color-space tag is sRGB. Using default sRGB ICC profile.
Digikam::DNNFaceDetectorBase::selectBbox: Good rect =  QRect(160,116 56x82) , conf =  0.992359
Digikam::DNNFaceDetectorBase::selectBbox: Good rect =  QRect(87,135 27x45) , conf =  0.988683
Digikam::DetectionWorker::process: Found 2 faces in "Jack Scott - Houghall Arb -- Fri 29 Jun 2007 16-45-12 BST.jpg" QSize(2048, 1536) QSize(2048, 1536)
Digikam::DatabaseWriter::process: Removing old entries ()
Digikam::FacePipeline::Private::checkFinished: Check for finish:  7 packages, 0 infos to filter, hasFinished() false
/tmp/.mount_digikadpkQOx/AppRun: line 151: 13672 Segmentation fault      digikam $@

I'm not too alarmed about this. My collection is 100K+ and is not perfect, so quite possibly problems with my photos.

I've not noticed whether it faults on the same photo each time. I'll try it again overnight tonight and find out.

The file: /tmp/.mount_digikadpkQOx/AppRun does not exist so no useful information in there.

As I say this isn't a problem for me. Just part of being in beta. I've just manually scanned the last photo mentioned above before the crash and it was fine.

If I can provide more info please let me know.

Dougie

Reply | Threaded
Open this post in threaded view
|

Re: Segmentation fault when parsing entire collection

Dougie Nisbet
On 03/01/2020 21:45, Gilles Caulier wrote:
Useful info can be get if you run AppImage with debugger. There is a dedicated option to pass to appimage for that : "debug".

Thanks. I've just restarted it and doing a full scan with debug arg. Going to bed now.

Dougie

Reply | Threaded
Open this post in threaded view
|

Re: Segmentation fault when parsing entire collection

Dougie Nisbet
On 03/01/2020 22:00, Dougie Nisbet wrote:
On 03/01/2020 21:45, Gilles Caulier wrote:
Useful info can be get if you run AppImage with debugger. There is a dedicated option to pass to appimage for that : "debug".

Thanks. I've just restarted it and doing a full scan with debug arg. Going to bed now.

Dougie

Ok, crashed again. Not sure what to do that might be useful.

Digikam::DImg::load: "/store/media/images/2010/11/13/runroute.jpg" : "JPEG" file identified
Digikam::DetectionWorker::process: Found 0 faces in "Roseberry Topping 01-09-2009, Heart rate - Time.jpg" QSize(2000, 1200) QSize(2000, 1200)
Digikam::DetectionWorker::process: Found 0 faces in "photo by david aspin -- 13-11-2010 16-43-30.jpg" QSize(1024, 768) QSize(1024, 768)
Digikam::DatabaseWriter::process: Removing old entries ()
Digikam::FacePipeline::Private::checkFinished: Check for finish:  14 packages, 0 infos to filter, hasFinished() false
Digikam::DetectionWorker::process: Found 0 faces in "Roseberry Topping 01-09-2009, Elevation - Distance.jpg" QSize(2000, 1200) QSize(2000, 1200)
Digikam::DetectionWorker::process: Found 0 faces in "Roseberry Topping 01-09-2009, Pace - Time.jpg" QSize(2000, 1200) QSize(2000, 1200)
Digikam::FacePipeline::Private::checkFinished: Check for finish:  13 packages, 0 infos to filter, hasFinished() false
Digikam::DatabaseWriter::process: Removing old entries ()
Digikam::ActionThreadBase::setMaximumNumberOfThreads: Using  8  CPU core to run threads
[New Thread 0x7fff6a7fc700 (LWP 23763)]
Digikam::ActionThreadBase::setMaximumNumberOfThreads: Using  8  CPU core to run threads
Digikam::ActionThreadBase::run: Action Thread run  1  new jobs
[New Thread 0x7fff9b7fe700 (LWP 23765)]
[New Thread 0x7fff6b7fe700 (LWP 23764)]
Digikam::ActionThreadBase::run: Action Thread run  1  new jobs
[New Thread 0x7fff69ffb700 (LWP 23766)]
Digikam::FacePipeline::Private::checkFinished: Check for finish:  12 packages, 0 infos to filter, hasFinished() false

Thread 21537 "Thread (pooled)" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fff99ffb700 (LWP 1110)]
0x00007ffff4361fd8 in QMutex::lock() () from /tmp/.mount_digikatLEdZE/usr/lib/libQt5Core.so.5
(gdb)

Reply | Threaded
Open this post in threaded view
|

Re: Segmentation fault when parsing entire collection

Gilles Caulier-4
Ok, 

When it crash, just enter "bt" in gdb prompt to get a backtrace.

We explain all in this page :


Gilles Caulier

Le sam. 4 janv. 2020 à 05:08, Dougie Nisbet <[hidden email]> a écrit :
On 03/01/2020 22:00, Dougie Nisbet wrote:
On 03/01/2020 21:45, Gilles Caulier wrote:
Useful info can be get if you run AppImage with debugger. There is a dedicated option to pass to appimage for that : "debug".

Thanks. I've just restarted it and doing a full scan with debug arg. Going to bed now.

Dougie

Ok, crashed again. Not sure what to do that might be useful.

Digikam::DImg::load: "/store/media/images/2010/11/13/runroute.jpg" : "JPEG" file identified
Digikam::DetectionWorker::process: Found 0 faces in "Roseberry Topping 01-09-2009, Heart rate - Time.jpg" QSize(2000, 1200) QSize(2000, 1200)
Digikam::DetectionWorker::process: Found 0 faces in "photo by david aspin -- 13-11-2010 16-43-30.jpg" QSize(1024, 768) QSize(1024, 768)
Digikam::DatabaseWriter::process: Removing old entries ()
Digikam::FacePipeline::Private::checkFinished: Check for finish:  14 packages, 0 infos to filter, hasFinished() false
Digikam::DetectionWorker::process: Found 0 faces in "Roseberry Topping 01-09-2009, Elevation - Distance.jpg" QSize(2000, 1200) QSize(2000, 1200)
Digikam::DetectionWorker::process: Found 0 faces in "Roseberry Topping 01-09-2009, Pace - Time.jpg" QSize(2000, 1200) QSize(2000, 1200)
Digikam::FacePipeline::Private::checkFinished: Check for finish:  13 packages, 0 infos to filter, hasFinished() false
Digikam::DatabaseWriter::process: Removing old entries ()
Digikam::ActionThreadBase::setMaximumNumberOfThreads: Using  8  CPU core to run threads
[New Thread 0x7fff6a7fc700 (LWP 23763)]
Digikam::ActionThreadBase::setMaximumNumberOfThreads: Using  8  CPU core to run threads
Digikam::ActionThreadBase::run: Action Thread run  1  new jobs
[New Thread 0x7fff9b7fe700 (LWP 23765)]
[New Thread 0x7fff6b7fe700 (LWP 23764)]
Digikam::ActionThreadBase::run: Action Thread run  1  new jobs
[New Thread 0x7fff69ffb700 (LWP 23766)]
Digikam::FacePipeline::Private::checkFinished: Check for finish:  12 packages, 0 infos to filter, hasFinished() false

Thread 21537 "Thread (pooled)" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fff99ffb700 (LWP 1110)]
0x00007ffff4361fd8 in QMutex::lock() () from /tmp/.mount_digikatLEdZE/usr/lib/libQt5Core.so.5
(gdb)

Reply | Threaded
Open this post in threaded view
|

Re: Segmentation fault when parsing entire collection

Maik Qualmann
Based on the QMutex lock, I can imagine where the position in the code is. I
added a recursive QMutex, we'll see if it helps.

Maik

Am Samstag, 4. Januar 2020, 12:50:27 CET schrieb Gilles Caulier:

> Ok,
>
> When it crash, just enter "bt" in gdb prompt to get a backtrace.
>
> We explain all in this page :
>
> https://www.digikam.org/contribute/
>
> Gilles Caulier
>
> Le sam. 4 janv. 2020 à 05:08, Dougie Nisbet <[hidden email]> a écrit :
> > On 03/01/2020 22:00, Dougie Nisbet wrote:
> >
> > On 03/01/2020 21:45, Gilles Caulier wrote:
> >
> > Useful info can be get if you run AppImage with debugger. There is a
> > dedicated option to pass to appimage for that : "debug".
> >
> > Thanks. I've just restarted it and doing a full scan with debug arg. Going
> > to bed now.
> >
> > Dougie
> >
> > Ok, crashed again. Not sure what to do that might be useful.
> >
> > Digikam::DImg::load: "/store/media/images/2010/11/13/runroute.jpg" :
> > "JPEG" file identified
> > Digikam::DetectionWorker::process: Found 0 faces in "Roseberry Topping
> > 01-09-2009, Heart rate - Time.jpg" QSize(2000, 1200) QSize(2000, 1200)
> > Digikam::DetectionWorker::process: Found 0 faces in "photo by david aspin
> > -- 13-11-2010 16-43-30.jpg" QSize(1024, 768) QSize(1024, 768)
> > Digikam::DatabaseWriter::process: Removing old entries ()
> > Digikam::FacePipeline::Private::checkFinished: Check for finish:  14
> > packages, 0 infos to filter, hasFinished() false
> > Digikam::DetectionWorker::process: Found 0 faces in "Roseberry Topping
> > 01-09-2009, Elevation - Distance.jpg" QSize(2000, 1200) QSize(2000, 1200)
> > Digikam::DetectionWorker::process: Found 0 faces in "Roseberry Topping
> > 01-09-2009, Pace - Time.jpg" QSize(2000, 1200) QSize(2000, 1200)
> > Digikam::FacePipeline::Private::checkFinished: Check for finish:  13
> > packages, 0 infos to filter, hasFinished() false
> > Digikam::DatabaseWriter::process: Removing old entries ()
> > Digikam::ActionThreadBase::setMaximumNumberOfThreads: Using  8  CPU core
> > to run threads
> > [New Thread 0x7fff6a7fc700 (LWP 23763)]
> > Digikam::ActionThreadBase::setMaximumNumberOfThreads: Using  8  CPU core
> > to run threads
> > Digikam::ActionThreadBase::run: Action Thread run  1  new jobs
> > [New Thread 0x7fff9b7fe700 (LWP 23765)]
> > [New Thread 0x7fff6b7fe700 (LWP 23764)]
> > Digikam::ActionThreadBase::run: Action Thread run  1  new jobs
> > [New Thread 0x7fff69ffb700 (LWP 23766)]
> > Digikam::FacePipeline::Private::checkFinished: Check for finish:  12
> > packages, 0 infos to filter, hasFinished() false
> >
> > Thread 21537 "Thread (pooled)" received signal SIGSEGV, Segmentation
> > fault.
> > [Switching to Thread 0x7fff99ffb700 (LWP 1110)]
> > 0x00007ffff4361fd8 in QMutex::lock() () from
> > /tmp/.mount_digikatLEdZE/usr/lib/libQt5Core.so.5
> > (gdb)




Reply | Threaded
Open this post in threaded view
|

Re: Segmentation fault when parsing entire collection

Gilles Caulier-4
... and the 64 bits AppImage have been updated this morning. Please try again with 7.0.0 beta2 pre release...

Gilles Caulier

Le sam. 4 janv. 2020 à 11:12, Maik Qualmann <[hidden email]> a écrit :
Based on the QMutex lock, I can imagine where the position in the code is. I
added a recursive QMutex, we'll see if it helps.

Maik

Am Samstag, 4. Januar 2020, 12:50:27 CET schrieb Gilles Caulier:
> Ok,
>
> When it crash, just enter "bt" in gdb prompt to get a backtrace.
>
> We explain all in this page :
>
> https://www.digikam.org/contribute/
>
> Gilles Caulier
>
> Le sam. 4 janv. 2020 à 05:08, Dougie Nisbet <[hidden email]> a écrit :
> > On 03/01/2020 22:00, Dougie Nisbet wrote:
> >
> > On 03/01/2020 21:45, Gilles Caulier wrote:
> >
> > Useful info can be get if you run AppImage with debugger. There is a
> > dedicated option to pass to appimage for that : "debug".
> >
> > Thanks. I've just restarted it and doing a full scan with debug arg. Going
> > to bed now.
> >
> > Dougie
> >
> > Ok, crashed again. Not sure what to do that might be useful.
> >
> > Digikam::DImg::load: "/store/media/images/2010/11/13/runroute.jpg" :
> > "JPEG" file identified
> > Digikam::DetectionWorker::process: Found 0 faces in "Roseberry Topping
> > 01-09-2009, Heart rate - Time.jpg" QSize(2000, 1200) QSize(2000, 1200)
> > Digikam::DetectionWorker::process: Found 0 faces in "photo by david aspin
> > -- 13-11-2010 16-43-30.jpg" QSize(1024, 768) QSize(1024, 768)
> > Digikam::DatabaseWriter::process: Removing old entries ()
> > Digikam::FacePipeline::Private::checkFinished: Check for finish:  14
> > packages, 0 infos to filter, hasFinished() false
> > Digikam::DetectionWorker::process: Found 0 faces in "Roseberry Topping
> > 01-09-2009, Elevation - Distance.jpg" QSize(2000, 1200) QSize(2000, 1200)
> > Digikam::DetectionWorker::process: Found 0 faces in "Roseberry Topping
> > 01-09-2009, Pace - Time.jpg" QSize(2000, 1200) QSize(2000, 1200)
> > Digikam::FacePipeline::Private::checkFinished: Check for finish:  13
> > packages, 0 infos to filter, hasFinished() false
> > Digikam::DatabaseWriter::process: Removing old entries ()
> > Digikam::ActionThreadBase::setMaximumNumberOfThreads: Using  8  CPU core
> > to run threads
> > [New Thread 0x7fff6a7fc700 (LWP 23763)]
> > Digikam::ActionThreadBase::setMaximumNumberOfThreads: Using  8  CPU core
> > to run threads
> > Digikam::ActionThreadBase::run: Action Thread run  1  new jobs
> > [New Thread 0x7fff9b7fe700 (LWP 23765)]
> > [New Thread 0x7fff6b7fe700 (LWP 23764)]
> > Digikam::ActionThreadBase::run: Action Thread run  1  new jobs
> > [New Thread 0x7fff69ffb700 (LWP 23766)]
> > Digikam::FacePipeline::Private::checkFinished: Check for finish:  12
> > packages, 0 infos to filter, hasFinished() false
> >
> > Thread 21537 "Thread (pooled)" received signal SIGSEGV, Segmentation
> > fault.
> > [Switching to Thread 0x7fff99ffb700 (LWP 1110)]
> > 0x00007ffff4361fd8 in QMutex::lock() () from
> > /tmp/.mount_digikatLEdZE/usr/lib/libQt5Core.so.5
> > (gdb)




Reply | Threaded
Open this post in threaded view
|

Re: Segmentation fault when parsing entire collection

Maik Qualmann
My QMutex change won't be in the bundle until tomorrow...

Maik

Am Samstag, 4. Januar 2020, 17:24:16 CET schrieb Gilles Caulier:

> ... and the 64 bits AppImage have been updated this morning. Please try
> again with 7.0.0 beta2 pre release...
>
> Gilles Caulier
>
> Le sam. 4 janv. 2020 à 11:12, Maik Qualmann <[hidden email]> a
>
> écrit :
> > Based on the QMutex lock, I can imagine where the position in the code is.
> > I
> > added a recursive QMutex, we'll see if it helps.
> >
> > Maik
> >
> > Am Samstag, 4. Januar 2020, 12:50:27 CET schrieb Gilles Caulier:
> > > Ok,
> > >
> > > When it crash, just enter "bt" in gdb prompt to get a backtrace.
> > >
> > > We explain all in this page :
> > >
> > > https://www.digikam.org/contribute/
> > >
> > > Gilles Caulier
> > >
> > > Le sam. 4 janv. 2020 à 05:08, Dougie Nisbet <[hidden email]> a écrit
> > >
> > > > On 03/01/2020 22:00, Dougie Nisbet wrote:
> > > >
> > > > On 03/01/2020 21:45, Gilles Caulier wrote:
> > > >
> > > > Useful info can be get if you run AppImage with debugger. There is a
> > > > dedicated option to pass to appimage for that : "debug".
> > > >
> > > > Thanks. I've just restarted it and doing a full scan with debug arg.
> >
> > Going
> >
> > > > to bed now.
> > > >
> > > > Dougie
> > > >
> > > > Ok, crashed again. Not sure what to do that might be useful.
> > > >
> > > > Digikam::DImg::load: "/store/media/images/2010/11/13/runroute.jpg" :
> > > > "JPEG" file identified
> > > > Digikam::DetectionWorker::process: Found 0 faces in "Roseberry Topping
> > > > 01-09-2009, Heart rate - Time.jpg" QSize(2000, 1200) QSize(2000, 1200)
> > > > Digikam::DetectionWorker::process: Found 0 faces in "photo by david
> >
> > aspin
> >
> > > > -- 13-11-2010 16-43-30.jpg" QSize(1024, 768) QSize(1024, 768)
> > > > Digikam::DatabaseWriter::process: Removing old entries ()
> > > > Digikam::FacePipeline::Private::checkFinished: Check for finish:  14
> > > > packages, 0 infos to filter, hasFinished() false
> > > > Digikam::DetectionWorker::process: Found 0 faces in "Roseberry Topping
> > > > 01-09-2009, Elevation - Distance.jpg" QSize(2000, 1200) QSize(2000,
> >
> > 1200)
> >
> > > > Digikam::DetectionWorker::process: Found 0 faces in "Roseberry Topping
> > > > 01-09-2009, Pace - Time.jpg" QSize(2000, 1200) QSize(2000, 1200)
> > > > Digikam::FacePipeline::Private::checkFinished: Check for finish:  13
> > > > packages, 0 infos to filter, hasFinished() false
> > > > Digikam::DatabaseWriter::process: Removing old entries ()
> > > > Digikam::ActionThreadBase::setMaximumNumberOfThreads: Using  8  CPU
> >
> > core
> >
> > > > to run threads
> > > > [New Thread 0x7fff6a7fc700 (LWP 23763)]
> > > > Digikam::ActionThreadBase::setMaximumNumberOfThreads: Using  8  CPU
> >
> > core
> >
> > > > to run threads
> > > > Digikam::ActionThreadBase::run: Action Thread run  1  new jobs
> > > > [New Thread 0x7fff9b7fe700 (LWP 23765)]
> > > > [New Thread 0x7fff6b7fe700 (LWP 23764)]
> > > > Digikam::ActionThreadBase::run: Action Thread run  1  new jobs
> > > > [New Thread 0x7fff69ffb700 (LWP 23766)]
> > > > Digikam::FacePipeline::Private::checkFinished: Check for finish:  12
> > > > packages, 0 infos to filter, hasFinished() false
> > > >
> > > > Thread 21537 "Thread (pooled)" received signal SIGSEGV, Segmentation
> > > > fault.
> > > > [Switching to Thread 0x7fff99ffb700 (LWP 1110)]
> > > > 0x00007ffff4361fd8 in QMutex::lock() () from
> > > > /tmp/.mount_digikatLEdZE/usr/lib/libQt5Core.so.5
> > > > (gdb)




Reply | Threaded
Open this post in threaded view
|

Re: Segmentation fault when parsing entire collection

Gilles Caulier-4
Well i restart Windows bundle build stage now... (:=)))...

Gilles

Le sam. 4 janv. 2020 à 11:32, Maik Qualmann <[hidden email]> a écrit :
My QMutex change won't be in the bundle until tomorrow...

Maik

Am Samstag, 4. Januar 2020, 17:24:16 CET schrieb Gilles Caulier:
> ... and the 64 bits AppImage have been updated this morning. Please try
> again with 7.0.0 beta2 pre release...
>
> Gilles Caulier
>
> Le sam. 4 janv. 2020 à 11:12, Maik Qualmann <[hidden email]> a
>
> écrit :
> > Based on the QMutex lock, I can imagine where the position in the code is.
> > I
> > added a recursive QMutex, we'll see if it helps.
> >
> > Maik
> >
> > Am Samstag, 4. Januar 2020, 12:50:27 CET schrieb Gilles Caulier:
> > > Ok,
> > >
> > > When it crash, just enter "bt" in gdb prompt to get a backtrace.
> > >
> > > We explain all in this page :
> > >
> > > https://www.digikam.org/contribute/
> > >
> > > Gilles Caulier
> > >
> > > Le sam. 4 janv. 2020 à 05:08, Dougie Nisbet <[hidden email]> a écrit
> > >
> > > > On 03/01/2020 22:00, Dougie Nisbet wrote:
> > > >
> > > > On 03/01/2020 21:45, Gilles Caulier wrote:
> > > >
> > > > Useful info can be get if you run AppImage with debugger. There is a
> > > > dedicated option to pass to appimage for that : "debug".
> > > >
> > > > Thanks. I've just restarted it and doing a full scan with debug arg.
> >
> > Going
> >
> > > > to bed now.
> > > >
> > > > Dougie
> > > >
> > > > Ok, crashed again. Not sure what to do that might be useful.
> > > >
> > > > Digikam::DImg::load: "/store/media/images/2010/11/13/runroute.jpg" :
> > > > "JPEG" file identified
> > > > Digikam::DetectionWorker::process: Found 0 faces in "Roseberry Topping
> > > > 01-09-2009, Heart rate - Time.jpg" QSize(2000, 1200) QSize(2000, 1200)
> > > > Digikam::DetectionWorker::process: Found 0 faces in "photo by david
> >
> > aspin
> >
> > > > -- 13-11-2010 16-43-30.jpg" QSize(1024, 768) QSize(1024, 768)
> > > > Digikam::DatabaseWriter::process: Removing old entries ()
> > > > Digikam::FacePipeline::Private::checkFinished: Check for finish:  14
> > > > packages, 0 infos to filter, hasFinished() false
> > > > Digikam::DetectionWorker::process: Found 0 faces in "Roseberry Topping
> > > > 01-09-2009, Elevation - Distance.jpg" QSize(2000, 1200) QSize(2000,
> >
> > 1200)
> >
> > > > Digikam::DetectionWorker::process: Found 0 faces in "Roseberry Topping
> > > > 01-09-2009, Pace - Time.jpg" QSize(2000, 1200) QSize(2000, 1200)
> > > > Digikam::FacePipeline::Private::checkFinished: Check for finish:  13
> > > > packages, 0 infos to filter, hasFinished() false
> > > > Digikam::DatabaseWriter::process: Removing old entries ()
> > > > Digikam::ActionThreadBase::setMaximumNumberOfThreads: Using  8  CPU
> >
> > core
> >
> > > > to run threads
> > > > [New Thread 0x7fff6a7fc700 (LWP 23763)]
> > > > Digikam::ActionThreadBase::setMaximumNumberOfThreads: Using  8  CPU
> >
> > core
> >
> > > > to run threads
> > > > Digikam::ActionThreadBase::run: Action Thread run  1  new jobs
> > > > [New Thread 0x7fff9b7fe700 (LWP 23765)]
> > > > [New Thread 0x7fff6b7fe700 (LWP 23764)]
> > > > Digikam::ActionThreadBase::run: Action Thread run  1  new jobs
> > > > [New Thread 0x7fff69ffb700 (LWP 23766)]
> > > > Digikam::FacePipeline::Private::checkFinished: Check for finish:  12
> > > > packages, 0 infos to filter, hasFinished() false
> > > >
> > > > Thread 21537 "Thread (pooled)" received signal SIGSEGV, Segmentation
> > > > fault.
> > > > [Switching to Thread 0x7fff99ffb700 (LWP 1110)]
> > > > 0x00007ffff4361fd8 in QMutex::lock() () from
> > > > /tmp/.mount_digikatLEdZE/usr/lib/libQt5Core.so.5
> > > > (gdb)




Reply | Threaded
Open this post in threaded view
|

Re: Segmentation fault when parsing entire collection

Dougie Nisbet
In reply to this post by Gilles Caulier-4
I've read the rest of the this thread and understand I should update and try again. But for info:

(gdb) bt
#0  0x00007ffff4361fd8 in QMutex::lock() () from /tmp/.mount_digikatLEdZE/usr/lib/libQt5Core.so.5
#1  0x00007ffff7822ba1 in QMutexLocker::QMutexLocker (m=0x9f26860, this=<synthetic pointer>) at ././/include/QtCore/qmutex.h:206
#2  Digikam::DImg::setMetadata (this=0x9ef3428, data=...) at /b/dktemp/digikam-v7.0.0-beta1/core/libs/dimg/dimg_props.cpp:178
#3  0x00007ffff76d35f1 in Digikam::DImgLoader::readMetadata (this=0x7fff84186240, filePath=...) at /b/dktemp/digikam-v7.0.0-beta1/core/libs/dimg/loaders/dimgloader.cpp:220
#4  0x00007fffc902af99 in DigikamJPEGDImgPlugin::DImgJPEGLoader::load (this=0x7fff84186240, filePath=..., observer=0x9ef3250)
    at /b/dktemp/digikam-v7.0.0-beta1/core/dplugins/dimg/jpeg/dimgjpegloader_load.cpp:56
#5  0x00007ffff781c464 in Digikam::DImg::load (this=this@entry=0x9ef3428, filePath=..., loadFlagsInt=loadFlagsInt@entry=63, observer=observer@entry=0x9ef3250, rawDecodingSettings=...)
    at /b/dktemp/digikam-v7.0.0-beta1/core/libs/dimg/dimg_fileio.cpp:138
#6  0x00007ffff781d520 in Digikam::DImg::load (this=this@entry=0x9ef3428, filePath=..., observer=observer@entry=0x9ef3250, rawDecodingSettings=...)
    at /b/dktemp/digikam-v7.0.0-beta1/core/libs/dimg/dimg_fileio.cpp:63
#7  0x00007ffff78ed8c5 in Digikam::PreviewLoadingTask::execute (this=0x9ef3240) at /b/dktemp/digikam-v7.0.0-beta1/core/libs/threadimageio/preview/previewtask.cpp:286
#8  0x00007ffff79032be in Digikam::LoadSaveThread::run (this=0x4c0d4a0) at /b/dktemp/digikam-v7.0.0-beta1/core/libs/threadimageio/fileio/loadsavethread.cpp:133
#9  0x00007ffff7927dee in Digikam::DynamicThread::Private::run (this=0x3dd8ef0) at /b/dktemp/digikam-v7.0.0-beta1/core/libs/threads/dynamicthread.cpp:183
#10 0x00007ffff4365a27 in ?? () from /tmp/.mount_digikatLEdZE/usr/lib/libQt5Core.so.5
#11 0x00007ffff4361ca3 in ?? () from /tmp/.mount_digikatLEdZE/usr/lib/libQt5Core.so.5
#12 0x00007ffff3d2ffa3 in start_thread (arg=<optimized out>) at pthread_create.c:486
#13 0x00007ffff3c604cf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95


On 04/01/2020 11:50, Gilles Caulier wrote:
Ok, 

When it crash, just enter "bt" in gdb prompt to get a backtrace.

We explain all in this page :


Gilles Caulier

Le sam. 4 janv. 2020 à 05:08, Dougie Nisbet <[hidden email]> a écrit :
On 03/01/2020 22:00, Dougie Nisbet wrote:
On 03/01/2020 21:45, Gilles Caulier wrote:
Useful info can be get if you run AppImage with debugger. There is a dedicated option to pass to appimage for that : "debug".

Thanks. I've just restarted it and doing a full scan with debug arg. Going to bed now.

Dougie

Ok, crashed again. Not sure what to do that might be useful.

Digikam::DImg::load: "/store/media/images/2010/11/13/runroute.jpg" : "JPEG" file identified
Digikam::DetectionWorker::process: Found 0 faces in "Roseberry Topping 01-09-2009, Heart rate - Time.jpg" QSize(2000, 1200) QSize(2000, 1200)
Digikam::DetectionWorker::process: Found 0 faces in "photo by david aspin -- 13-11-2010 16-43-30.jpg" QSize(1024, 768) QSize(1024, 768)
Digikam::DatabaseWriter::process: Removing old entries ()
Digikam::FacePipeline::Private::checkFinished: Check for finish:  14 packages, 0 infos to filter, hasFinished() false
Digikam::DetectionWorker::process: Found 0 faces in "Roseberry Topping 01-09-2009, Elevation - Distance.jpg" QSize(2000, 1200) QSize(2000, 1200)
Digikam::DetectionWorker::process: Found 0 faces in "Roseberry Topping 01-09-2009, Pace - Time.jpg" QSize(2000, 1200) QSize(2000, 1200)
Digikam::FacePipeline::Private::checkFinished: Check for finish:  13 packages, 0 infos to filter, hasFinished() false
Digikam::DatabaseWriter::process: Removing old entries ()
Digikam::ActionThreadBase::setMaximumNumberOfThreads: Using  8  CPU core to run threads
[New Thread 0x7fff6a7fc700 (LWP 23763)]
Digikam::ActionThreadBase::setMaximumNumberOfThreads: Using  8  CPU core to run threads
Digikam::ActionThreadBase::run: Action Thread run  1  new jobs
[New Thread 0x7fff9b7fe700 (LWP 23765)]
[New Thread 0x7fff6b7fe700 (LWP 23764)]
Digikam::ActionThreadBase::run: Action Thread run  1  new jobs
[New Thread 0x7fff69ffb700 (LWP 23766)]
Digikam::FacePipeline::Private::checkFinished: Check for finish:  12 packages, 0 infos to filter, hasFinished() false

Thread 21537 "Thread (pooled)" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fff99ffb700 (LWP 1110)]
0x00007ffff4361fd8 in QMutex::lock() () from /tmp/.mount_digikatLEdZE/usr/lib/libQt5Core.so.5
(gdb)


Reply | Threaded
Open this post in threaded view
|

Re: Segmentation fault when parsing entire collection

Gilles Caulier-4
Dougie,

New DK 7.0.0-beta2 Windows installer is ready to use at usual place. This version include Mutex patch from Maik...


Gilles Caulier

Le sam. 4 janv. 2020 à 14:22, Dougie Nisbet <[hidden email]> a écrit :
I've read the rest of the this thread and understand I should update and try again. But for info:

(gdb) bt
#0  0x00007ffff4361fd8 in QMutex::lock() () from /tmp/.mount_digikatLEdZE/usr/lib/libQt5Core.so.5
#1  0x00007ffff7822ba1 in QMutexLocker::QMutexLocker (m=0x9f26860, this=<synthetic pointer>) at ././/include/QtCore/qmutex.h:206
#2  Digikam::DImg::setMetadata (this=0x9ef3428, data=...) at /b/dktemp/digikam-v7.0.0-beta1/core/libs/dimg/dimg_props.cpp:178
#3  0x00007ffff76d35f1 in Digikam::DImgLoader::readMetadata (this=0x7fff84186240, filePath=...) at /b/dktemp/digikam-v7.0.0-beta1/core/libs/dimg/loaders/dimgloader.cpp:220
#4  0x00007fffc902af99 in DigikamJPEGDImgPlugin::DImgJPEGLoader::load (this=0x7fff84186240, filePath=..., observer=0x9ef3250)
    at /b/dktemp/digikam-v7.0.0-beta1/core/dplugins/dimg/jpeg/dimgjpegloader_load.cpp:56
#5  0x00007ffff781c464 in Digikam::DImg::load (this=this@entry=0x9ef3428, filePath=..., loadFlagsInt=loadFlagsInt@entry=63, observer=observer@entry=0x9ef3250, rawDecodingSettings=...)
    at /b/dktemp/digikam-v7.0.0-beta1/core/libs/dimg/dimg_fileio.cpp:138
#6  0x00007ffff781d520 in Digikam::DImg::load (this=this@entry=0x9ef3428, filePath=..., observer=observer@entry=0x9ef3250, rawDecodingSettings=...)
    at /b/dktemp/digikam-v7.0.0-beta1/core/libs/dimg/dimg_fileio.cpp:63
#7  0x00007ffff78ed8c5 in Digikam::PreviewLoadingTask::execute (this=0x9ef3240) at /b/dktemp/digikam-v7.0.0-beta1/core/libs/threadimageio/preview/previewtask.cpp:286
#8  0x00007ffff79032be in Digikam::LoadSaveThread::run (this=0x4c0d4a0) at /b/dktemp/digikam-v7.0.0-beta1/core/libs/threadimageio/fileio/loadsavethread.cpp:133
#9  0x00007ffff7927dee in Digikam::DynamicThread::Private::run (this=0x3dd8ef0) at /b/dktemp/digikam-v7.0.0-beta1/core/libs/threads/dynamicthread.cpp:183
#10 0x00007ffff4365a27 in ?? () from /tmp/.mount_digikatLEdZE/usr/lib/libQt5Core.so.5
#11 0x00007ffff4361ca3 in ?? () from /tmp/.mount_digikatLEdZE/usr/lib/libQt5Core.so.5
#12 0x00007ffff3d2ffa3 in start_thread (arg=<optimized out>) at pthread_create.c:486
#13 0x00007ffff3c604cf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95


On 04/01/2020 11:50, Gilles Caulier wrote:
Ok, 

When it crash, just enter "bt" in gdb prompt to get a backtrace.

We explain all in this page :


Gilles Caulier

Le sam. 4 janv. 2020 à 05:08, Dougie Nisbet <[hidden email]> a écrit :
On 03/01/2020 22:00, Dougie Nisbet wrote:
On 03/01/2020 21:45, Gilles Caulier wrote:
Useful info can be get if you run AppImage with debugger. There is a dedicated option to pass to appimage for that : "debug".

Thanks. I've just restarted it and doing a full scan with debug arg. Going to bed now.

Dougie

Ok, crashed again. Not sure what to do that might be useful.

Digikam::DImg::load: "/store/media/images/2010/11/13/runroute.jpg" : "JPEG" file identified
Digikam::DetectionWorker::process: Found 0 faces in "Roseberry Topping 01-09-2009, Heart rate - Time.jpg" QSize(2000, 1200) QSize(2000, 1200)
Digikam::DetectionWorker::process: Found 0 faces in "photo by david aspin -- 13-11-2010 16-43-30.jpg" QSize(1024, 768) QSize(1024, 768)
Digikam::DatabaseWriter::process: Removing old entries ()
Digikam::FacePipeline::Private::checkFinished: Check for finish:  14 packages, 0 infos to filter, hasFinished() false
Digikam::DetectionWorker::process: Found 0 faces in "Roseberry Topping 01-09-2009, Elevation - Distance.jpg" QSize(2000, 1200) QSize(2000, 1200)
Digikam::DetectionWorker::process: Found 0 faces in "Roseberry Topping 01-09-2009, Pace - Time.jpg" QSize(2000, 1200) QSize(2000, 1200)
Digikam::FacePipeline::Private::checkFinished: Check for finish:  13 packages, 0 infos to filter, hasFinished() false
Digikam::DatabaseWriter::process: Removing old entries ()
Digikam::ActionThreadBase::setMaximumNumberOfThreads: Using  8  CPU core to run threads
[New Thread 0x7fff6a7fc700 (LWP 23763)]
Digikam::ActionThreadBase::setMaximumNumberOfThreads: Using  8  CPU core to run threads
Digikam::ActionThreadBase::run: Action Thread run  1  new jobs
[New Thread 0x7fff9b7fe700 (LWP 23765)]
[New Thread 0x7fff6b7fe700 (LWP 23764)]
Digikam::ActionThreadBase::run: Action Thread run  1  new jobs
[New Thread 0x7fff69ffb700 (LWP 23766)]
Digikam::FacePipeline::Private::checkFinished: Check for finish:  12 packages, 0 infos to filter, hasFinished() false

Thread 21537 "Thread (pooled)" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fff99ffb700 (LWP 1110)]
0x00007ffff4361fd8 in QMutex::lock() () from /tmp/.mount_digikatLEdZE/usr/lib/libQt5Core.so.5
(gdb)


Reply | Threaded
Open this post in threaded view
|

Re: Segmentation fault when parsing entire collection

Dougie Nisbet
Thanks Gilles,

I'm on Linux so I'll wait for that update.

Dougie



On 04/01/2020 22:14, Gilles Caulier wrote:
Dougie,

New DK 7.0.0-beta2 Windows installer is ready to use at usual place. This version include Mutex patch from Maik...


Gilles Caulier

Le sam. 4 janv. 2020 à 14:22, Dougie Nisbet <[hidden email]> a écrit :
I've read the rest of the this thread and understand I should update and try again. But for info:

(gdb) bt
#0  0x00007ffff4361fd8 in QMutex::lock() () from /tmp/.mount_digikatLEdZE/usr/lib/libQt5Core.so.5
#1  0x00007ffff7822ba1 in QMutexLocker::QMutexLocker (m=0x9f26860, this=<synthetic pointer>) at ././/include/QtCore/qmutex.h:206
#2  Digikam::DImg::setMetadata (this=0x9ef3428, data=...) at /b/dktemp/digikam-v7.0.0-beta1/core/libs/dimg/dimg_props.cpp:178
#3  0x00007ffff76d35f1 in Digikam::DImgLoader::readMetadata (this=0x7fff84186240, filePath=...) at /b/dktemp/digikam-v7.0.0-beta1/core/libs/dimg/loaders/dimgloader.cpp:220
#4  0x00007fffc902af99 in DigikamJPEGDImgPlugin::DImgJPEGLoader::load (this=0x7fff84186240, filePath=..., observer=0x9ef3250)
    at /b/dktemp/digikam-v7.0.0-beta1/core/dplugins/dimg/jpeg/dimgjpegloader_load.cpp:56
#5  0x00007ffff781c464 in Digikam::DImg::load (this=this@entry=0x9ef3428, filePath=..., loadFlagsInt=loadFlagsInt@entry=63, observer=observer@entry=0x9ef3250, rawDecodingSettings=...)
    at /b/dktemp/digikam-v7.0.0-beta1/core/libs/dimg/dimg_fileio.cpp:138
#6  0x00007ffff781d520 in Digikam::DImg::load (this=this@entry=0x9ef3428, filePath=..., observer=observer@entry=0x9ef3250, rawDecodingSettings=...)
    at /b/dktemp/digikam-v7.0.0-beta1/core/libs/dimg/dimg_fileio.cpp:63
#7  0x00007ffff78ed8c5 in Digikam::PreviewLoadingTask::execute (this=0x9ef3240) at /b/dktemp/digikam-v7.0.0-beta1/core/libs/threadimageio/preview/previewtask.cpp:286
#8  0x00007ffff79032be in Digikam::LoadSaveThread::run (this=0x4c0d4a0) at /b/dktemp/digikam-v7.0.0-beta1/core/libs/threadimageio/fileio/loadsavethread.cpp:133
#9  0x00007ffff7927dee in Digikam::DynamicThread::Private::run (this=0x3dd8ef0) at /b/dktemp/digikam-v7.0.0-beta1/core/libs/threads/dynamicthread.cpp:183
#10 0x00007ffff4365a27 in ?? () from /tmp/.mount_digikatLEdZE/usr/lib/libQt5Core.so.5
#11 0x00007ffff4361ca3 in ?? () from /tmp/.mount_digikatLEdZE/usr/lib/libQt5Core.so.5
#12 0x00007ffff3d2ffa3 in start_thread (arg=<optimized out>) at pthread_create.c:486
#13 0x00007ffff3c604cf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95


On 04/01/2020 11:50, Gilles Caulier wrote:
Ok, 

When it crash, just enter "bt" in gdb prompt to get a backtrace.

We explain all in this page :


Gilles Caulier

Le sam. 4 janv. 2020 à 05:08, Dougie Nisbet <[hidden email]> a écrit :
On 03/01/2020 22:00, Dougie Nisbet wrote:
On 03/01/2020 21:45, Gilles Caulier wrote:
Useful info can be get if you run AppImage with debugger. There is a dedicated option to pass to appimage for that : "debug".

Thanks. I've just restarted it and doing a full scan with debug arg. Going to bed now.

Dougie

Ok, crashed again. Not sure what to do that might be useful.

Digikam::DImg::load: "/store/media/images/2010/11/13/runroute.jpg" : "JPEG" file identified
Digikam::DetectionWorker::process: Found 0 faces in "Roseberry Topping 01-09-2009, Heart rate - Time.jpg" QSize(2000, 1200) QSize(2000, 1200)
Digikam::DetectionWorker::process: Found 0 faces in "photo by david aspin -- 13-11-2010 16-43-30.jpg" QSize(1024, 768) QSize(1024, 768)
Digikam::DatabaseWriter::process: Removing old entries ()
Digikam::FacePipeline::Private::checkFinished: Check for finish:  14 packages, 0 infos to filter, hasFinished() false
Digikam::DetectionWorker::process: Found 0 faces in "Roseberry Topping 01-09-2009, Elevation - Distance.jpg" QSize(2000, 1200) QSize(2000, 1200)
Digikam::DetectionWorker::process: Found 0 faces in "Roseberry Topping 01-09-2009, Pace - Time.jpg" QSize(2000, 1200) QSize(2000, 1200)
Digikam::FacePipeline::Private::checkFinished: Check for finish:  13 packages, 0 infos to filter, hasFinished() false
Digikam::DatabaseWriter::process: Removing old entries ()
Digikam::ActionThreadBase::setMaximumNumberOfThreads: Using  8  CPU core to run threads
[New Thread 0x7fff6a7fc700 (LWP 23763)]
Digikam::ActionThreadBase::setMaximumNumberOfThreads: Using  8  CPU core to run threads
Digikam::ActionThreadBase::run: Action Thread run  1  new jobs
[New Thread 0x7fff9b7fe700 (LWP 23765)]
[New Thread 0x7fff6b7fe700 (LWP 23764)]
Digikam::ActionThreadBase::run: Action Thread run  1  new jobs
[New Thread 0x7fff69ffb700 (LWP 23766)]
Digikam::FacePipeline::Private::checkFinished: Check for finish:  12 packages, 0 infos to filter, hasFinished() false

Thread 21537 "Thread (pooled)" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fff99ffb700 (LWP 1110)]
0x00007ffff4361fd8 in QMutex::lock() () from /tmp/.mount_digikatLEdZE/usr/lib/libQt5Core.so.5
(gdb)



Reply | Threaded
Open this post in threaded view
|

Re: Segmentation fault when parsing entire collection

Gilles Caulier-4
It will arrive today, in 2 hours. computation is running.

Gilles Caulier

Le dim. 5 janv. 2020 à 09:36, Dougie Nisbet <[hidden email]> a écrit :
Thanks Gilles,

I'm on Linux so I'll wait for that update.

Dougie



On 04/01/2020 22:14, Gilles Caulier wrote:
Dougie,

New DK 7.0.0-beta2 Windows installer is ready to use at usual place. This version include Mutex patch from Maik...


Gilles Caulier

Le sam. 4 janv. 2020 à 14:22, Dougie Nisbet <[hidden email]> a écrit :
I've read the rest of the this thread and understand I should update and try again. But for info:

(gdb) bt
#0  0x00007ffff4361fd8 in QMutex::lock() () from /tmp/.mount_digikatLEdZE/usr/lib/libQt5Core.so.5
#1  0x00007ffff7822ba1 in QMutexLocker::QMutexLocker (m=0x9f26860, this=<synthetic pointer>) at ././/include/QtCore/qmutex.h:206
#2  Digikam::DImg::setMetadata (this=0x9ef3428, data=...) at /b/dktemp/digikam-v7.0.0-beta1/core/libs/dimg/dimg_props.cpp:178
#3  0x00007ffff76d35f1 in Digikam::DImgLoader::readMetadata (this=0x7fff84186240, filePath=...) at /b/dktemp/digikam-v7.0.0-beta1/core/libs/dimg/loaders/dimgloader.cpp:220
#4  0x00007fffc902af99 in DigikamJPEGDImgPlugin::DImgJPEGLoader::load (this=0x7fff84186240, filePath=..., observer=0x9ef3250)
    at /b/dktemp/digikam-v7.0.0-beta1/core/dplugins/dimg/jpeg/dimgjpegloader_load.cpp:56
#5  0x00007ffff781c464 in Digikam::DImg::load (this=this@entry=0x9ef3428, filePath=..., loadFlagsInt=loadFlagsInt@entry=63, observer=observer@entry=0x9ef3250, rawDecodingSettings=...)
    at /b/dktemp/digikam-v7.0.0-beta1/core/libs/dimg/dimg_fileio.cpp:138
#6  0x00007ffff781d520 in Digikam::DImg::load (this=this@entry=0x9ef3428, filePath=..., observer=observer@entry=0x9ef3250, rawDecodingSettings=...)
    at /b/dktemp/digikam-v7.0.0-beta1/core/libs/dimg/dimg_fileio.cpp:63
#7  0x00007ffff78ed8c5 in Digikam::PreviewLoadingTask::execute (this=0x9ef3240) at /b/dktemp/digikam-v7.0.0-beta1/core/libs/threadimageio/preview/previewtask.cpp:286
#8  0x00007ffff79032be in Digikam::LoadSaveThread::run (this=0x4c0d4a0) at /b/dktemp/digikam-v7.0.0-beta1/core/libs/threadimageio/fileio/loadsavethread.cpp:133
#9  0x00007ffff7927dee in Digikam::DynamicThread::Private::run (this=0x3dd8ef0) at /b/dktemp/digikam-v7.0.0-beta1/core/libs/threads/dynamicthread.cpp:183
#10 0x00007ffff4365a27 in ?? () from /tmp/.mount_digikatLEdZE/usr/lib/libQt5Core.so.5
#11 0x00007ffff4361ca3 in ?? () from /tmp/.mount_digikatLEdZE/usr/lib/libQt5Core.so.5
#12 0x00007ffff3d2ffa3 in start_thread (arg=<optimized out>) at pthread_create.c:486
#13 0x00007ffff3c604cf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95


On 04/01/2020 11:50, Gilles Caulier wrote:
Ok, 

When it crash, just enter "bt" in gdb prompt to get a backtrace.

We explain all in this page :


Gilles Caulier

Le sam. 4 janv. 2020 à 05:08, Dougie Nisbet <[hidden email]> a écrit :
On 03/01/2020 22:00, Dougie Nisbet wrote:
On 03/01/2020 21:45, Gilles Caulier wrote:
Useful info can be get if you run AppImage with debugger. There is a dedicated option to pass to appimage for that : "debug".

Thanks. I've just restarted it and doing a full scan with debug arg. Going to bed now.

Dougie

Ok, crashed again. Not sure what to do that might be useful.

Digikam::DImg::load: "/store/media/images/2010/11/13/runroute.jpg" : "JPEG" file identified
Digikam::DetectionWorker::process: Found 0 faces in "Roseberry Topping 01-09-2009, Heart rate - Time.jpg" QSize(2000, 1200) QSize(2000, 1200)
Digikam::DetectionWorker::process: Found 0 faces in "photo by david aspin -- 13-11-2010 16-43-30.jpg" QSize(1024, 768) QSize(1024, 768)
Digikam::DatabaseWriter::process: Removing old entries ()
Digikam::FacePipeline::Private::checkFinished: Check for finish:  14 packages, 0 infos to filter, hasFinished() false
Digikam::DetectionWorker::process: Found 0 faces in "Roseberry Topping 01-09-2009, Elevation - Distance.jpg" QSize(2000, 1200) QSize(2000, 1200)
Digikam::DetectionWorker::process: Found 0 faces in "Roseberry Topping 01-09-2009, Pace - Time.jpg" QSize(2000, 1200) QSize(2000, 1200)
Digikam::FacePipeline::Private::checkFinished: Check for finish:  13 packages, 0 infos to filter, hasFinished() false
Digikam::DatabaseWriter::process: Removing old entries ()
Digikam::ActionThreadBase::setMaximumNumberOfThreads: Using  8  CPU core to run threads
[New Thread 0x7fff6a7fc700 (LWP 23763)]
Digikam::ActionThreadBase::setMaximumNumberOfThreads: Using  8  CPU core to run threads
Digikam::ActionThreadBase::run: Action Thread run  1  new jobs
[New Thread 0x7fff9b7fe700 (LWP 23765)]
[New Thread 0x7fff6b7fe700 (LWP 23764)]
Digikam::ActionThreadBase::run: Action Thread run  1  new jobs
[New Thread 0x7fff69ffb700 (LWP 23766)]
Digikam::FacePipeline::Private::checkFinished: Check for finish:  12 packages, 0 infos to filter, hasFinished() false

Thread 21537 "Thread (pooled)" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fff99ffb700 (LWP 1110)]
0x00007ffff4361fd8 in QMutex::lock() () from /tmp/.mount_digikatLEdZE/usr/lib/libQt5Core.so.5
(gdb)



Reply | Threaded
Open this post in threaded view
|

Re: Segmentation fault when parsing entire collection

Dougie Nisbet
I can live with that :-)

Thank you.

Dougie

On 05/01/2020 14:35, Gilles Caulier wrote:
It will arrive today, in 2 hours. computation is running.

Gilles Caulier

Le dim. 5 janv. 2020 à 09:36, Dougie Nisbet <[hidden email]> a écrit :
Thanks Gilles,

I'm on Linux so I'll wait for that update.

Dougie



On 04/01/2020 22:14, Gilles Caulier wrote:
Dougie,

New DK 7.0.0-beta2 Windows installer is ready to use at usual place. This version include Mutex patch from Maik...


Gilles Caulier

Le sam. 4 janv. 2020 à 14:22, Dougie Nisbet <[hidden email]> a écrit :
I've read the rest of the this thread and understand I should update and try again. But for info:

(gdb) bt
#0  0x00007ffff4361fd8 in QMutex::lock() () from /tmp/.mount_digikatLEdZE/usr/lib/libQt5Core.so.5
#1  0x00007ffff7822ba1 in QMutexLocker::QMutexLocker (m=0x9f26860, this=<synthetic pointer>) at ././/include/QtCore/qmutex.h:206
#2  Digikam::DImg::setMetadata (this=0x9ef3428, data=...) at /b/dktemp/digikam-v7.0.0-beta1/core/libs/dimg/dimg_props.cpp:178
#3  0x00007ffff76d35f1 in Digikam::DImgLoader::readMetadata (this=0x7fff84186240, filePath=...) at /b/dktemp/digikam-v7.0.0-beta1/core/libs/dimg/loaders/dimgloader.cpp:220
#4  0x00007fffc902af99 in DigikamJPEGDImgPlugin::DImgJPEGLoader::load (this=0x7fff84186240, filePath=..., observer=0x9ef3250)
    at /b/dktemp/digikam-v7.0.0-beta1/core/dplugins/dimg/jpeg/dimgjpegloader_load.cpp:56
#5  0x00007ffff781c464 in Digikam::DImg::load (this=this@entry=0x9ef3428, filePath=..., loadFlagsInt=loadFlagsInt@entry=63, observer=observer@entry=0x9ef3250, rawDecodingSettings=...)
    at /b/dktemp/digikam-v7.0.0-beta1/core/libs/dimg/dimg_fileio.cpp:138
#6  0x00007ffff781d520 in Digikam::DImg::load (this=this@entry=0x9ef3428, filePath=..., observer=observer@entry=0x9ef3250, rawDecodingSettings=...)
    at /b/dktemp/digikam-v7.0.0-beta1/core/libs/dimg/dimg_fileio.cpp:63
#7  0x00007ffff78ed8c5 in Digikam::PreviewLoadingTask::execute (this=0x9ef3240) at /b/dktemp/digikam-v7.0.0-beta1/core/libs/threadimageio/preview/previewtask.cpp:286
#8  0x00007ffff79032be in Digikam::LoadSaveThread::run (this=0x4c0d4a0) at /b/dktemp/digikam-v7.0.0-beta1/core/libs/threadimageio/fileio/loadsavethread.cpp:133
#9  0x00007ffff7927dee in Digikam::DynamicThread::Private::run (this=0x3dd8ef0) at /b/dktemp/digikam-v7.0.0-beta1/core/libs/threads/dynamicthread.cpp:183
#10 0x00007ffff4365a27 in ?? () from /tmp/.mount_digikatLEdZE/usr/lib/libQt5Core.so.5
#11 0x00007ffff4361ca3 in ?? () from /tmp/.mount_digikatLEdZE/usr/lib/libQt5Core.so.5
#12 0x00007ffff3d2ffa3 in start_thread (arg=<optimized out>) at pthread_create.c:486
#13 0x00007ffff3c604cf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95


On 04/01/2020 11:50, Gilles Caulier wrote:
Ok, 

When it crash, just enter "bt" in gdb prompt to get a backtrace.

We explain all in this page :


Gilles Caulier

Le sam. 4 janv. 2020 à 05:08, Dougie Nisbet <[hidden email]> a écrit :
On 03/01/2020 22:00, Dougie Nisbet wrote:
On 03/01/2020 21:45, Gilles Caulier wrote:
Useful info can be get if you run AppImage with debugger. There is a dedicated option to pass to appimage for that : "debug".

Thanks. I've just restarted it and doing a full scan with debug arg. Going to bed now.

Dougie

Ok, crashed again. Not sure what to do that might be useful.

Digikam::DImg::load: "/store/media/images/2010/11/13/runroute.jpg" : "JPEG" file identified
Digikam::DetectionWorker::process: Found 0 faces in "Roseberry Topping 01-09-2009, Heart rate - Time.jpg" QSize(2000, 1200) QSize(2000, 1200)
Digikam::DetectionWorker::process: Found 0 faces in "photo by david aspin -- 13-11-2010 16-43-30.jpg" QSize(1024, 768) QSize(1024, 768)
Digikam::DatabaseWriter::process: Removing old entries ()
Digikam::FacePipeline::Private::checkFinished: Check for finish:  14 packages, 0 infos to filter, hasFinished() false
Digikam::DetectionWorker::process: Found 0 faces in "Roseberry Topping 01-09-2009, Elevation - Distance.jpg" QSize(2000, 1200) QSize(2000, 1200)
Digikam::DetectionWorker::process: Found 0 faces in "Roseberry Topping 01-09-2009, Pace - Time.jpg" QSize(2000, 1200) QSize(2000, 1200)
Digikam::FacePipeline::Private::checkFinished: Check for finish:  13 packages, 0 infos to filter, hasFinished() false
Digikam::DatabaseWriter::process: Removing old entries ()
Digikam::ActionThreadBase::setMaximumNumberOfThreads: Using  8  CPU core to run threads
[New Thread 0x7fff6a7fc700 (LWP 23763)]
Digikam::ActionThreadBase::setMaximumNumberOfThreads: Using  8  CPU core to run threads
Digikam::ActionThreadBase::run: Action Thread run  1  new jobs
[New Thread 0x7fff9b7fe700 (LWP 23765)]
[New Thread 0x7fff6b7fe700 (LWP 23764)]
Digikam::ActionThreadBase::run: Action Thread run  1  new jobs
[New Thread 0x7fff69ffb700 (LWP 23766)]
Digikam::FacePipeline::Private::checkFinished: Check for finish:  12 packages, 0 infos to filter, hasFinished() false

Thread 21537 "Thread (pooled)" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fff99ffb700 (LWP 1110)]
0x00007ffff4361fd8 in QMutex::lock() () from /tmp/.mount_digikatLEdZE/usr/lib/libQt5Core.so.5
(gdb)