#174 melt segfault

head
closed
Dan Dennedy
melt (13)
5
2012-11-14
2012-10-08
CarlFK
No

experimenting with nested mlt -
7 <producer id="producer_mlt" resource="red_blue.mlt" />

carl@dc10:~/src/veyepar/tests/melt/nested$ gdb -args melt 3a.mlt
GNU gdb (Ubuntu/Linaro 7.3-0ubuntu2) 7.3-2011.08
Copyright (C) 2011 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
For bug reporting instructions, please see:
<http://bugs.launchpad.net/gdb-linaro/>...
Reading symbols from /home/carl/bin/melt...done.

(gdb) run
Starting program: /home/carl/bin/melt 3a.mlt
[Thread debugging using libthread_db enabled]

Program received signal SIGSEGV, Segmentation fault.
mlt_properties_find (name=0x7fffe2b0b6a1 "_profile", self=0x0)
at mlt_properties.c:487
487 property_list *list = self->local;

#0 mlt_properties_find (name=0x7fffe2b0b6a1 "_profile", self=0x0)
at mlt_properties.c:487
list = <optimized out>
value = <optimized out>
key = 0
i = <optimized out>
#1 mlt_properties_fetch (self=<optimized out>, name=<optimized out>)
at mlt_properties.c:563
property = <optimized out>
#2 0x00007ffff7bc3191 in mlt_properties_set_data (self=0x0,
name=0x7fffe2b0b6a1 "_profile", value=0x618b30, length=0, destroy=0,
serialise=<optimized out>) at mlt_properties.c:1078
error = 1
property = <optimized out>
#3 0x00007fffe2b07aab in context_pop_service (context=0x759040,
type=<optimized out>) at producer_xml.c:163
result = 0x0
#4 0x00007fffe2b096ba in on_end_entry (context=0x759040, name=<optimized out>)
at producer_xml.c:769
entry_type = mlt_entry_type
entry = <optimized out>
#5 on_end_element (ctx=<optimized out>, name=0x76a0f8 "entry")
at producer_xml.c:1282
xmlcontext = <optimized out>
context = 0x759040
#6 0x00007ffff69ed01f in xmlParseElement () from /usr/lib/libxml2.so.2
No symbol table info available.
#7 0x00007ffff69eba38 in xmlParseContent () from /usr/lib/libxml2.so.2
No symbol table info available.
#8 0x00007ffff69eccc4 in xmlParseElement () from /usr/lib/libxml2.so.2
No symbol table info available.
#9 0x00007ffff69eba38 in xmlParseContent () from /usr/lib/libxml2.so.2
No symbol table info available.
#10 0x00007ffff69eccc4 in xmlParseElement () from /usr/lib/libxml2.so.2
No symbol table info available.
#11 0x00007ffff69edd0a in xmlParseDocument () from /usr/lib/libxml2.so.2
No symbol table info available.
#12 0x00007fffe2b0aebb in producer_xml_init (profile=<optimized out>,
servtype=<optimized out>, id=<optimized out>, data=0x7fffffffe516 "3a.mlt")
at producer_xml.c:1678
sax = 0x7601b0
context = 0x759040
properties = 0x0
i = 0
xmlcontext = 0x760820
well_formed = <optimized out>
filename = <optimized out>
is_filename = -1
type = 32767
service = <optimized out>
#13 0x00007ffff7bd0b6a in mlt_factory_producer (profile=0x618b30,
service=0x757820 "xml", input=0x7fffffffe516) at mlt_factory.c:291
obj = 0x0
#14 0x00007fffef55bcc2 in create_from (services=<optimized out>,
file=0x7fffffffe516 "3a.mlt", profile=0x618b30) at producer_loader.c:43
p = 0x0
producer = <optimized out>
temp = 0x757820 "xml"
service = 0x757820 "xml"
#15 create_producer (profile=0x618b30, file=0x7fffffffe516 "3a.mlt")
at producer_loader.c:103
name = <optimized out>
i = <optimized out>
lookup = <optimized out>
p = 0x756520 "3a.mlt"
backup_profile = 0x756540
result = <optimized out>
#16 0x00007fffef55bff4 in producer_loader_init (profile=0x618b30,
type=<optimized out>, id=0x609830 "loader", arg=0x7fffffffe516 "3a.mlt")
at producer_loader.c:203
producer = 0x0
#17 0x00007ffff7bd0b6a in mlt_factory_producer (profile=0x618b30,
service=0x609830 "loader", input=0x7fffffffe516) at mlt_factory.c:291
obj = 0x0
#18 0x00007fffef55d323 in create_producer (file=<optimized out>,
field=0x755d50, profile=0x618b30) at producer_melt.c:73
result = <optimized out>
#19 producer_melt_init (profile=0x618b30, type=<optimized out>,
id=<optimized out>, argv=0x7fffffffe240) at producer_melt.c:425
i = <optimized out>
track = <optimized out>
producer = <optimized out>
mix = <optimized out>
playlist = 0x618670
group = 0x750580
tractor = 0x750930
properties = 0x750930
field = 0x755d50
field_properties = <optimized out>
multitrack = 0x7532c0
title = 0x7fffffffe516 "3a.mlt"
prod = <optimized out>
props = <optimized out>
#20 0x00007ffff7bd0b6a in mlt_factory_producer (profile=0x618b30,
service=0x404771 "melt", input=0x7fffffffe240) at mlt_factory.c:291
obj = 0x0
#21 0x0000000000402479 in main (argc=2, argv=0x7fffffffe238) at melt.c:826
i = <optimized out>
consumer = 0x0
store = <optimized out>
name = <optimized out>
profile = 0x618b30
is_progress = 0
is_silent = <optimized out>
backup_profile = 0x618a50
repo = 0x60f000

Discussion

  • CarlFK
    CarlFK
    2012-10-08

     
    Attachments
  • CarlFK
    CarlFK
    2012-10-08

     
    Attachments
  • Dan Dennedy
    Dan Dennedy
    2012-10-08

    Appears to be a duplicate of 3574646. (They have the same backtrace.)

     
  • Dan Dennedy
    Dan Dennedy
    2012-10-10

    Fixed in git commit 3013f5e.

     
  • Dan Dennedy
    Dan Dennedy
    2012-11-14

    • status: open --> closed
     
  • Dan Dennedy
    Dan Dennedy
    2012-11-14

    Closing this because there is new release including the fix.