Skip to content

Segmentation fault with motion tracker #1157

@terba

Description

@terba

Describe the bug
The motion tracker analysis started from Kdenlive segfaults melt. I catched the command started by Kdenlive with ```ps``, and run it by myself, and there is a segmation fault in mlt. Tried to get a backtrace from the core dump, but only that is available:

Thread 15 "melt-7" received signal SIGSEGV, Segmentation fault.
...
#0  0x00007fffe8bcb234 in ??? ()
#1  0x00007fffb11f5e28 in ??? ()
#2  0x00007fffb11f5e28 in ??? ()
#3  0x00007fffb11f6ce4 in ??? ()
#4  0x00007fffe8bd1873 in ??? ()
#5  0x00007fffe799bf00 in ??? ()
#6  0x00007fffe8b7660f in rml::internal::internalPoolFree (size=0, memPool=0x1, object=0x0) at src/tbbmalloc/frontend.cpp:2634
#7  rml::internal::internalPoolFree (size=0, memPool=0x1, object=0x0) at src/tbbmalloc/frontend.cpp:2634
#8  rml::internal::internalFree (object=0x0) at src/tbbmalloc/frontend.cpp:2670
#9  scalable_aligned_free (ptr=0x0) at src/tbbmalloc/frontend.cpp:3194
#10 0x00007fffe79ebe00 in ??? ()
#11 0x00007fffe79ebf00 in ??? ()
#12 0x00007fffe79ebf80 in ??? ()
#13 0x00007fffb19f7cd6 in ??? ()
#14 0x00007fffb11f6ce4 in ??? ()
#15 0x00007fffb0df6000 in ??? ()
#16 0x00007fffe8bce515 in ??? ()
#17 0x00007fffb11f66c0 in ??? ()
#18 0x0000000000000000 in ??? ()

To Reproduce

  1. Put the motion tracker effect on a clip in Kdenlive.
  2. Align the rectangle on the first frame.
  3. Click on Analyse to Apply Effect button.
  4. A Failed to filter source. message appears.

Nearly all my attempts from Kdenlive goes like this. Sometimes it works after a lot of trial.

Expected behavior
A working motion tracker analysis.

Desktop (please complete the following information):

  • OS: OpenSuSE Tumbleweed
  • OS Version: Most recent update
  • MLT/melt version: melt-7 7.32.0
  • OpenCV: 4.12.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions