mltframework / mltframework/mlt

Segmentation fault with motion tracker

Open
#1,157 7 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

pending
Dominant language
C
Stars
1.9k
Forks
387
Avg merge
17h 28m
Merged PRs (30d)
8

Description

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

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the motion tracker analysis with melt using the command captured from Kdenlive on OpenSuSE Tumbleweed, MLT 7.32.0, and OpenCV 4.12.0. Narrow the failure to the motion-tracker analysis and verify the fix with a successful analysis that does not produce a segmentation fault.

Written by the indexing model from the issue text.

Assessment

Tech stack
c, opencv
Domain
computer-vision
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
28/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.