← Back to team overview

openshot.bugs team mailing list archive

[Bug 1085727] Re: segfault when rendering

 

It seems the fault is a null pointer dereference in the following thread, which executes mlt code, so this suggests a bug in mlt.
I'll take a stab at exporting the project to xml in order to create a standalone mlt test case.

#0  mlt_deque_allocate (self=self@entry=0x0) at mlt_deque.c:92
#1  0x00007f9d8420e759 in mlt_deque_push_back (self=0x0, item=0x2041f910) at mlt_deque.c:110
#2  0x00007f9d6fd92385 in producer_get_audio (frame=0x232bd470, buffer=0x7f9d63d51cc0, format=0x7f9d63d51e80, frequency=0x7f9d63d51ca8, channels=0x7f9d63d5199c, samples=0x7f9d63d51cb8) at producer_avformat.c:2392
#3  0x00007f9d8420c5ed in mlt_frame_get_audio (self=self@entry=0x232bd470, buffer=buffer@entry=0x7f9d63d51cc0, format=format@entry=0x7f9d63d51e80, frequency=0x7f9d63d51ca8, channels=channels@entry=0x7f9d63d5199c, samples=samples@entry=0x7f9d63d51cb8) at mlt_frame.c:689
#4  0x00007f9d6ffa9a70 in filter_get_audio (frame=0x232bd470, buffer=0x7f9d63d51cc0, format=0x7f9d63d51e80, frequency=<optimized out>, channels=0x7f9d63d51cb0, samples=0x7f9d63d51cb8) at filter_audiochannels.c:33
#5  0x00007f9d8420c5ed in mlt_frame_get_audio (self=self@entry=0x232bd470, buffer=buffer@entry=0x7f9d63d51cc0, format=format@entry=0x7f9d63d51e80, frequency=frequency@entry=0x7f9d63d51ca8, channels=channels@entry=0x7f9d63d51cb0, samples=samples@entry=0x7f9d63d51cb8) at mlt_frame.c:689
#6  0x00007f9d713722e7 in resample_get_audio (frame=0x232bd470, buffer=0x7f9d63d51cc0, format=0x7f9d63d51e80, frequency=0x7f9d63d51ca8, channels=0x7f9d63d51cb0, samples=0x7f9d63d51cb8) at filter_resample.c:54
#7  0x00007f9d8420c5ed in mlt_frame_get_audio (self=self@entry=0x232bd470, buffer=buffer@entry=0x7f9d63d51cc0, format=0x7f9d63d51e80, frequency=frequency@entry=0x7f9d63d51ca8, channels=channels@entry=0x7f9d63d51cb0, samples=samples@entry=0x7f9d63d51cb8) at mlt_frame.c:689
#8  0x00007f9d74d2a408 in filter_get_audio (frame=0x232bd470, buffer=0x7f9d63d51cc0, format=<optimized out>, frequency=0x7f9d63d51ca8, channels=0x7f9d63d51cb0, samples=0x7f9d63d51cb8) at filter_volume.c:192
#9  0x00007f9d8420c5ed in mlt_frame_get_audio (self=self@entry=0x232bd470, buffer=buffer@entry=0x7f9d63d51cc0, format=format@entry=0x7f9d63d51e80, frequency=frequency@entry=0x7f9d63d51ca8, channels=channels@entry=0x7f9d63d51cb0, samples=samples@entry=0x7f9d63d51cb8) at mlt_frame.c:689
#10 0x00007f9d6ffb6dc3 in combine_audio (samples=0x7f9d63d51e8c, channels=0x7f9d63d51e84, frequency=0x7f9d63d51e88, format=0x7f9d63d51e80, buffer=0x7f9d63d51e90, that=0x232bd470, this=0x47248c20) at transition_mix.c:114
#11 transition_get_audio (frame=0x47248c20, buffer=0x7f9d63d51e90, format=0x7f9d63d51e80, frequency=0x7f9d63d51e88, channels=0x7f9d63d51e84, samples=0x7f9d63d51e8c) at transition_mix.c:197
#12 0x00007f9d8420c5ed in mlt_frame_get_audio (self=0x47248c20, buffer=buffer@entry=0x7f9d63d51e90, format=format@entry=0x7f9d63d51e80, frequency=frequency@entry=0x7f9d63d51e88, channels=channels@entry=0x7f9d63d51e84, samples=samples@entry=0x7f9d63d51e8c) at mlt_frame.c:689
#13 0x00007f9d8421ee00 in producer_get_audio (self=0x20b22590, buffer=0x7f9d63d51e90, format=0x7f9d63d51e80, frequency=0x7f9d63d51e88, channels=0x7f9d63d51e84, samples=0x7f9d63d51e8c) at mlt_tractor.c:296
#14 0x00007f9d8420c5ed in mlt_frame_get_audio (self=self@entry=0x20b22590, buffer=buffer@entry=0x7f9d63d51e90, format=format@entry=0x7f9d63d51e80, frequency=frequency@entry=0x7f9d63d51e88, channels=channels@entry=0x7f9d63d51e84, samples=samples@entry=0x7f9d63d51e8c) at mlt_frame.c:689
#15 0x00007f9d8421bc5a in consumer_read_ahead_thread (arg=0x1ed2c00) at mlt_consumer.c:804
#16 0x00007f9d857cdb50 in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#17 0x00007f9d84c77a7d in clone () from /lib/x86_64-linux-gnu/libc.so.6
#18 0x0000000000000000 in ?? ()

-- 
You received this bug notification because you are a member of OpenShot
Bugs, which is subscribed to OpenShot Video Editor.
https://bugs.launchpad.net/bugs/1085727

Title:
  segfault when rendering

Status in OpenShot Video Editor:
  New

Bug description:
  This is from openshot-render, but openshot also segfaults like this:

  Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
  Core was generated by `/usr/bin/python /usr/bin/openshot-render -v -f mp4 -C libx264 -R 15 Mb/s -c ac3'.
  Program terminated with signal 11, Segmentation fault.
  #0  mlt_deque_allocate (self=self@entry=0x0) at mlt_deque.c:92

  Stack traces for all threads attached.

To manage notifications about this bug go to:
https://bugs.launchpad.net/openshot/+bug/1085727/+subscriptions


References