SIGSEGV on plugin registration

Andrew Goodbody ajg02 at elfringham.co.uk
Tue Oct 22 09:28:06 BST 2019


FWIW, I have QtAv installed and found. It's ffmpeg that is not found. 
But yes, it looks like that plugin was from a previous build when ffmpeg 
was present and working.

No crash on exit now, thanks.

Andrew

-- Could NOT find FFmpeg (missing: AVFILTER_LIBRARIES 
AVFILTER_INCLUDE_DIRS)
-- FFMPEG_FOUND        = FALSE
-- FFMPEG_INCLUDE_DIRS = /usr/include/x86_64-linux-gnu
-- FFMPEG_LIBRARIES    = 
/usr/lib/x86_64-linux-gnu/libavcodec.so;/usr/lib/x86_64-linux-gnu/libavformat.so;/usr/lib/x86_64-linux-gnu/libavutil.so;/usr/lib/x86_64-linux-gnu/libswscale.so
-- FFMPEG_DEFINITIONS  =
-- QtAV search path: /usr/lib/x86_64-linux-gnu/cmake
-- Found QtAV version 1.13.0
-- QtAV_FOUND       = TRUE
-- QtAV_INCLUDE_DIR = /usr/include/x86_64-linux-gnu/qt5/QtAV 
/usr/include/x86_64-linux-gnu/qt5/QtAVWidgets
-- QtAV_LIBRARIES   = 
/usr/lib/x86_64-linux-gnu/libQtAV.so;/usr/lib/x86_64-linux-gnu/libQtAVWidgets.so
-- QtAV_VERSION     = 1.13.0
-- ENABLE_MEDIAPLAYER option is enabled but FFMpeg cannot be found. 
Media player support is disabled.


On 21/10/2019 20:17, Maik Qualmann wrote:
> Ok, the cause for the video plugin is now clear. I do not see any output of
> QtAV from the main program. So you have compiled digiKam without QtAV, that
> plugin will come from a previous digiKam installation with QtAV support. For
> the crash at the end I changed something in git/master. A new test would be
> nice.
> 
> Maik
> 
> Am Montag, 21. Oktober 2019, 19:52:54 CEST schrieb Andrew Goodbody:
>> On 21/10/2019 11:25, Maik Qualmann wrote:
>>> Hmm, after the debug output the HTML plugin is already registered, next
>>> probably the video slideshow plugin will be registered. Please delete this
>>> file once as a test:
>>>
>>> /usr/lib/x86_64-linux-gnu/qt5/plugins/digikam/generic/
>>> Generic_VideoSlideShow_Plugin.so
>>>
>>> Maik
>>
>> Thanks, yes, digiKam now starts for me with that plugin deleted.
>>
>>
>> However I get a SIGSEGV on exit.
>>
>> [Thread 0x7fffcb7fe700 (LWP 12121) exited]
>> digikam.general: Cancel Main Thread
>> digikam.general: Cancel Main Thread
>> [Thread 0x7fff67ffd700 (LWP 12127) exited]
>> QThreadStorage: Thread 0x1de1e70 exited after QThreadStorage 15 destroyed
>> QThreadStorage: Thread 0x1de1e70 exited after QThreadStorage 12 destroyed
>> QThreadStorage: Thread 0xd9ff90 exited after QThreadStorage 12 destroyed
>> [Thread 0x7fff4e77f700 (LWP 12164) exited]
>> [Thread 0x7fff4ffff700 (LWP 12134) exited]
>> [Thread 0x7fffd9dd5700 (LWP 12110) exited]
>> [Thread 0x7fffcaffd700 (LWP 12123) exited]
>> QThreadStorage: Thread 0x1de1ce0 exited after QThreadStorage 15 destroyed
>> QThreadStorage: Thread 0x1de1ce0 exited after QThreadStorage 12 destroyed
>> QThreadStorage: Thread 0x3bab5b0 exited after QThreadStorage 15 destroyed
>> QThreadStorage: Thread 0x3bab5b0 exited after QThreadStorage 12 destroyed
>> [Thread 0x7fffae8d3700 (LWP 12124) exited]
>> [Thread 0x7fff653fd700 (LWP 12135) exited]
>> [Thread 0x7fff663ff700 (LWP 12133) exited]
>> [Thread 0x7fffcbfff700 (LWP 12119) exited]
>> [Thread 0x7fffdbada700 (LWP 12108) exited]
>>
>> Thread 1 "digikam" received signal SIGSEGV, Segmentation fault.
>> 0x00007ffff312f3f5 in __kmp_acquire_ticket_lock () from
>> /usr/lib/x86_64-linux-gnu/libomp.so.5
>> (gdb) bt
>> #0  0x00007ffff312f3f5 in __kmp_acquire_ticket_lock () at
>> /usr/lib/x86_64-linux-gnu/libomp.so.5
>> #1  0x00007ffff30d75dc in __kmpc_set_lock () at
>> /usr/lib/x86_64-linux-gnu/libomp.so.5
>> #2  0x00007ffff505e9e8 in MagickCoreTerminus ()
>>       at /usr/lib/x86_64-linux-gnu/libMagickCore-6.Q16.so.6
>> #3  0x00007fffc80839c7 in
>> DigikamImageMagickDImgPlugin::DImgImageMagickPlugin::~DImgImageMagickPlugin(
>> ) (this=0x1067f90)
>>       at
>> /home/ag/src/dk6/core/dplugins/dimg/imagemagick/dimgimagemagickplugin.cpp:61
>> #4  0x00007fffc8083a19 in
>> DigikamImageMagickDImgPlugin::DImgImageMagickPlugin::~DImgImageMagickPlugin(
>> ) (this=0x1067f90)
>>       at
>> /home/ag/src/dk6/core/dplugins/dimg/imagemagick/dimgimagemagickplugin.cpp:60
>> #5  0x00007ffff37119d7 in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
>> #6  0x00007ffff371340b in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
>> #7  0x00007ffff2ee9c97 in __cxa_finalize (d=0x7ffff39a5960) at
>> cxa_finalize.c:83
>> #8  0x00007ffff354cb83 in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
>> #9  0x00007fffffffe080 in  ()
>> #10 0x00007ffff7fe4943 in _dl_fini () at dl-fini.c:138
>> (gdb)
>>
>>
>> Andrew
> 
> 
> 
> 
> 


More information about the Digikam-devel mailing list