debugging digikam: no line number information available

Gilles Caulier caulier.gilles at gmail.com
Sat Jan 6 15:52:11 GMT 2024


hi,

try "bt" gdb command...

gilles caulier

Le sam. 6 janv. 2024 à 16:49, Rolf <rscdgk at campadejo.com> a écrit :
>
> Hi,
>
> I'm having trouble debugging digikam with gdb. I build v8.3 under
> ubuntu with bootstrap.local, using
>       -DCMAKE_BUILD_TYPE=debugfull \
> in bootstrap.linux
>
> Now when I run gdb digikam I can set a breakpoint like
>
> (gdb) b OpenCVDNNFaceRecognizer::recognize
>
> and debugger stops there, but gdb can't connect to the source code:
>
> (gdb) list
> 52      in ./nptl/futex-internal.c
>
> although I pointed it directly to the correct directory with
>
> (gdb) directory
> /home/rolf/soft/digikam/core/libs/facesengine/recognition/opencv-dnn
>
> (gdb) info line OpenCVDNNFaceRecognizer::recognize
> Keine Zeilennummerninformationen verfügbar for address 0x7ffff76c5c60
> <_ZN7Digikam23OpenCVDNNFaceRecognizer9recognizeERK5QListIP6QImageE at plt>
> Keine Zeilennummerninformationen verfügbar for address 0x7ffff7822132
> <_ZN7Digikam23OpenCVDNNFaceRecognizer9recognizeEP6QImage> Keine
> Zeilennummerninformationen verfügbar for address 0x7ffff78223c4
> <_ZN7Digikam23OpenCVDNNFaceRecognizer9recognizeERK5QListIP6QImageE>
> Keine Zeilennummerninformationen verfügbar for address 0x7ffff7fb40c8
> <_ZN7Digikam23OpenCVDNNFaceRecognizer9recognizeERK5QListIP6QImageE at got.plt>
>
> reports "no line number information available..."
>
> So I assume that the necessary debug information wasn't created while
> compiling or got lost while linking?
>
> I also wonder about the CMAKE_BUILD_TYPE debugfull
> which is not a standard cmake build type, but cmake documentation tells
> me to use it. Is this somehow outdated?
>
> Rolf


More information about the Digikam-devel mailing list