https://bugs.kde.org/show_bug.cgi?id=453165

            Bug ID: 453165
           Summary: Digikam crashes before starting faces detection
           Product: digikam
           Version: 7.6.0
          Platform: Appimage
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: Metadata-Exif
          Assignee: digikam-bugs-n...@kde.org
          Reporter: vfr...@gmail.com
  Target Milestone: ---

SUMMARY
***
NOTE: If you are reporting a crash, please try to attach a backtrace with debug
symbols.
See
https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***


STEPS TO REPRODUCE
1. Import a large library of photos. (Some raw file may be present)
2. Let digikam index all the files
3. Click on detect faces process
4. Wait for digikam to crash
5. Start digikam, go straight to detect faces
6. Digikam crashes instantly (just after clicking the button)

OBSERVED RESULT
Digikam crashes instantly

EXPECTED RESULT
Digikam should continue to process the files to search for faces


SOFTWARE/OS VERSIONS
Running this on Ubuntu 20.04 using appimage bundle.

ADDITIONAL INFORMATION.

The terminal shows this message:
```
Digikam::MetaEngine::Private::printExiv2ExceptionError: Cannot load preview
data with Exiv2:  (Error # 59 :  "corrupted image metadata"
terminate called after throwing an instance of 'LibRaw_exceptions'
```

I can't identify which file is causing the issue.

I've also experienced the same issue with the debug build. I'm attaching the
backtrace of the error. I hope it is fine.

```
(gdb) bt
#0  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
#1  0x00007ffff3341859 in __GI_abort () at abort.c:79
#2  0x00007ffff376d911 in ?? () from /lib/x86_64-linux-gnu/libstdc++.so.6
#3  0x00007ffff377938c in ?? () from /lib/x86_64-linux-gnu/libstdc++.so.6
#4  0x00007ffff3778369 in ?? () from /lib/x86_64-linux-gnu/libstdc++.so.6
#5  0x00007ffff3778d21 in __gxx_personality_v0 () from
/lib/x86_64-linux-gnu/libstdc++.so.6
#6  0x00007ffff3544bef in ?? () from /lib/x86_64-linux-gnu/libgcc_s.so.1
#7  0x00007ffff3545281 in _Unwind_RaiseException () from
/lib/x86_64-linux-gnu/libgcc_s.so.1
#8  0x00007ffff377969c in __cxa_throw () from
/lib/x86_64-linux-gnu/libstdc++.so.6
#9  0x00007ffff62e1c25 in crxFillBuffer (bitStrm=0x7fff10090600) at
/b/dktemp/digikam-v7.6.0/core/libs/rawengine/libraw/src/decoders/crx.cpp:222
#10 0x00007ffff62ee284 in crxFillBuffer (bitStrm=0x7fff10090600) at
/b/dktemp/digikam-v7.6.0/core/libs/rawengine/libraw/src/decoders/crx.cpp:1762
#11 crxParamInit (img=img@entry=0x7fff32ffc0d0,
param=param@entry=0x7fff28009508, subbandMdatOffset=10486114,
subbandDataSize=382166, subbandWidth=787, subbandHeight=1014,
supportsPartial=false, roundedBitsMask=0)
    at
/b/dktemp/digikam-v7.6.0/core/libs/rawengine/libraw/src/decoders/crx.cpp:1785
#12 0x00007ffff62ee6f7 in crxSetupSubbandData (img=img@entry=0x7fff32ffc0d0,
planeComp=planeComp@entry=0x7fff28008738, tile=tile@entry=0x7fff28008620,
mdatOffset=<optimized out>)
    at
/b/dktemp/digikam-v7.6.0/core/libs/rawengine/libraw/src/decoders/crx.cpp:1912
#13 0x00007ffff62eea14 in LibRaw::crxDecodePlane (p=p@entry=0x7fff32ffc0d0,
planeNumber=planeNumber@entry=3, this=<optimized out>) at
/b/dktemp/digikam-v7.6.0/core/libs/rawengine/libraw/src/decoders/crx.cpp:1936
#14 0x00007ffff62eec56 in LibRaw::crxDecodePlane (planeNumber=3, p=<optimized
out>, this=<optimized out>) at
/b/dktemp/digikam-v7.6.0/core/libs/rawengine/libraw/src/decoders/crx.cpp:2703
#15 LibRaw::_ZN6LibRaw17crxLoadDecodeLoopEPvi._omp_fn.0(void) () at
/b/dktemp/digikam-v7.6.0/core/libs/rawengine/libraw/src/decoders/crx.cpp:2703
#16 0x00007ffff35657de in gomp_thread_start () from
/tmp/.mount_digiKaEdMX3b/usr/lib/libgomp.so.1
#17 0x00007ffff3519609 in start_thread (arg=<optimized out>) at
pthread_create.c:477
#18 0x00007ffff343e163 in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95
```

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

Reply via email to