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

--- Comment #2 from alcinos <french.ebook.lo...@gmail.com> ---
I'm adding normal clips, with video of this type:
 "    Stream #0:0(eng): Video: h264 (High) (avc1 / 0x31637661), yuvj420p(pc,
bt709), 1920x1080 [SAR 1:1 DAR 16:9], 35459 kb/s, 29.97 fps, 29.97 tbr, 180k
tbn, 59.94 tbc (default)
"

The default profile of the project is Full HD 1080, 30 fps.

Compiling the project and melt with -fsanitize=address gives this backtrace:
=================================================================
==29505==ERROR: AddressSanitizer: attempting double-free on 0x602000141c10 in
thread T57 (Thread (pooled)):
    #0 0x7fc4984ceae0 in __interceptor_free
/build/gcc/src/gcc/libsanitizer/asan/asan_malloc_linux.cc:45
    #1 0x7fc458748be4 in on_start_profile
/home/nicolas/Documents/Developpement/Projets/mlt/src/modules/xml/producer_xml.c:348
    #2 0x7fc458748be4 in on_start_element
/home/nicolas/Documents/Developpement/Projets/mlt/src/modules/xml/producer_xml.c:1244
    #3 0x7fc4864f17bd in xmlParseStartTag (/usr/lib/libxml2.so.2+0x427bd)
    #4 0x7fc4864fd1f7 in xmlParseElement (/usr/lib/libxml2.so.2+0x4e1f7)
    #5 0x7fc4864fc67e in xmlParseContent (/usr/lib/libxml2.so.2+0x4d67e)
    #6 0x7fc4864fd062 in xmlParseElement (/usr/lib/libxml2.so.2+0x4e062)
    #7 0x7fc4864fd76a in xmlParseDocument (/usr/lib/libxml2.so.2+0x4e76a)
    #8 0x7fc45874e7fe in producer_xml_init
/home/nicolas/Documents/Developpement/Projets/mlt/src/modules/xml/producer_xml.c:1767
    #9 0x7fc4971265a2 in mlt_repository_create
/home/nicolas/Documents/Developpement/Projets/mlt/src/framework/mlt_repository.c:238
    #10 0x7fc49712568c in mlt_factory_producer
/home/nicolas/Documents/Developpement/Projets/mlt/src/framework/mlt_factory.c:315
    #11 0x7fc496ecffce in Mlt::Producer::Producer(Mlt::Profile&, char const*,
char const*)
/home/nicolas/Documents/Developpement/Projets/mlt/src/mlt++/MltProducer.cpp:39
    #12 0x6532a3 in Clip::clone()
/home/nicolas/Documents/Developpement/Projets/kdenlive/src/timeline/clip.cpp:189
    #13 0xd3905e in ProjectClip::thumbProducer()
/home/nicolas/Documents/Developpement/Projets/kdenlive/src/bin/projectclip.cpp:421
    #14 0xd415eb in ProjectClip::doExtractImage()
/home/nicolas/Documents/Developpement/Projets/kdenlive/src/bin/projectclip.cpp:939
    #15 0xd50963 in QtConcurrent::VoidStoredMemberFunctionPointerCall0<void,
ProjectClip>::runFunctor()
/usr/include/qt/QtConcurrent/qtconcurrentstoredfunctioncall.h:205
    #16 0x576ac2 in QtConcurrent::RunFunctionTask<void>::run()
/usr/include/qt/QtConcurrent/qtconcurrentrunbase.h:136
    #17 0x7fc48ce32f8e  (/usr/lib/libQt5Core.so.5+0xa8f8e)
    #18 0x7fc48ce36cf7  (/usr/lib/libQt5Core.so.5+0xaccf7)
    #19 0x7fc48bd2b453 in start_thread (/usr/lib/../lib/libpthread.so.0+0x7453)
    #20 0x7fc48c2317de in __GI___clone (/usr/lib/libc.so.6+0xe87de)

0x602000141c10 is located 0 bytes inside of 16-byte region
[0x602000141c10,0x602000141c20)
freed by thread T30 (Thread (pooled)) here:
    #0 0x7fc4984ceae0 in __interceptor_free
/build/gcc/src/gcc/libsanitizer/asan/asan_malloc_linux.cc:45
    #1 0x7fc458748be4 in on_start_profile
/home/nicolas/Documents/Developpement/Projets/mlt/src/modules/xml/producer_xml.c:348
    #2 0x7fc458748be4 in on_start_element
/home/nicolas/Documents/Developpement/Projets/mlt/src/modules/xml/producer_xml.c:1244

previously allocated by thread T59 (Thread (pooled)) here:
    #0 0x7fc4984cee40 in __interceptor_malloc
/build/gcc/src/gcc/libsanitizer/asan/asan_malloc_linux.cc:62
    #1 0x7fc48c1c9189 in __GI___strdup (/usr/lib/libc.so.6+0x80189)

Thread T57 (Thread (pooled)) created by T0 here:
    #0 0x7fc498439468 in __interceptor_pthread_create
/build/gcc/src/gcc/libsanitizer/asan/asan_interceptors.cc:236
    #1 0x7fc48ce361e5 in QThread::start(QThread::Priority)
(/usr/lib/libQt5Core.so.5+0xac1e5)

Thread T30 (Thread (pooled)) created by T0 here:
    #0 0x7fc498439468 in __interceptor_pthread_create
/build/gcc/src/gcc/libsanitizer/asan/asan_interceptors.cc:236
    #1 0x7fc48ce361e5 in QThread::start(QThread::Priority)
(/usr/lib/libQt5Core.so.5+0xac1e5)

Thread T59 (Thread (pooled)) created by T0 here:
    #0 0x7fc498439468 in __interceptor_pthread_create
/build/gcc/src/gcc/libsanitizer/asan/asan_interceptors.cc:236
    #1 0x7fc48ce361e5 in QThread::start(QThread::Priority)
(/usr/lib/libQt5Core.so.5+0xac1e5)

SUMMARY: AddressSanitizer: double-free
/build/gcc/src/gcc/libsanitizer/asan/asan_malloc_linux.cc:45 in
__interceptor_free
==29505==ABORTING

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

Reply via email to