I have a reproducible crash in the avformat consumer with some very specific
Crash happens when using an image producer (qimage of pixbuf) AND a brightness
filter AND any frei0r filter.
Here is the command line that crashes for me:
melt image.png in=0 out=50 -attach-clip brightness out=10 -attach-clip
frei0r.brightness -consumer avformat:test.mpg
Crash backtrace below, using latest git (crashes also with MLT 0.8) and recent
Program received signal SIGSEGV, Segmentation fault.
__GI___libc_free (mem=0xb1dd8020) at malloc.c:2968
2968 malloc.c: No such file or directory.
(gdb) thread apply all bt
Thread 1 (Thread 0xb7dbd6c0 (LWP 3443)):
#0 __GI___libc_free (mem=0xb1dd8020) at malloc.c:2968
#1 0xb7fa33bb in pool_close (self=0x8051bc8) at mlt_pool.c:213
#2 0xb7f905a9 in mlt_property_clear (self=0x8051c10) at mlt_property.c:117
#3 mlt_property_close (self=0x8051c10) at mlt_property.c:719
#4 0xb7f90f3d in mlt_properties_close (self=0x8051030) at
#5 mlt_properties_close (self=0x8051030) at mlt_properties.c:1298
#6 0xb7fa376d in mlt_pool_close () at mlt_pool.c:392
#7 0xb7fa1c62 in mlt_factory_close () at mlt_factory.c:425
#8 0x08049bf2 in main (argc=12, argv=0xbffff1c4) at melt.c:944
From: Dan Dennedy <dan@de...> - 2012-07-24 06:15:59
On Sun, Jul 22, 2012 at 1:31 AM, j-b-m <j-b-m@...> wrote:
> I have a reproducible crash in the avformat consumer with some very specific
> Crash happens when using an image producer (qimage of pixbuf) AND a brightness
> filter AND any frei0r filter.
> Here is the command line that crashes for me:
> melt image.png in=0 out=50 -attach-clip brightness out=10 -attach-clip
> frei0r.brightness -consumer avformat:test.mpg
This is fixed, but it was unrelated to the avformat consumer. The
problem was in the image producers and related to the alpha channel.
The key thing to notice is that the first filter's out point must be
less than the duration. The first filter was requesting yuv422, but
beyond its out point, the frei0r filter requested rgb24a changing the
image producer's alpha channel from a distinct memory block to one
embedded in the image.
Get latest updates about Open Source Projects, Conferences and News.