#29 segfault

unknown
closed
nobody
None
5
2014-09-21
2009-09-21
CarlFK
No

juser@dhcp124:~/vid$ gdb melt
GNU gdb (GDB) 6.8.91.20090918-cvs-ubuntu
Copyright (C) 2009 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://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/bin/melt...(no debugging symbols found)...done.
(gdb) run x.mlt
Starting program: /usr/bin/melt x.mlt
[Thread debugging using libthread_db enabled]
[New Thread 0x7fffe6aa4910 (LWP 4934)]
+-----+ +-----+ +-----+ +-----+ +-----+ +-----+ +-----+ +-----+ +-----+
|1=-10| |2= -5| |3= -2| |4= -1| |5= 0| |6= 1| |7= 2| |8= 5| |9= 10|
+-----+ +-----+ +-----+ +-----+ +-----+ +-----+ +-----+ +-----+ +-----+
+---------------------------------------------------------------------+
| H = back 1 minute, L = forward 1 minute |
| h = previous frame, l = next frame |
| g = start of clip, j = next clip, k = previous clip |
| 0 = restart, q = quit, space = play |
+---------------------------------------------------------------------+
[New Thread 0x7fffe62a3910 (LWP 4935)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fffe62a3910 (LWP 4935)]
0x00007fffea0e25e1 in av_find_opt () from /usr/lib/libavcodec.so.52
(gdb) bt full
#0 0x00007fffea0e25e1 in av_find_opt () from /usr/lib/libavcodec.so.52
No symbol table info available.
#1 0x00007fffead66f60 in ?? () from /usr/lib/mlt/libmltavformat.so
No symbol table info available.
#2 0x00007fffead67755 in ?? () from /usr/lib/mlt/libmltavformat.so
No symbol table info available.
#3 0x00007ffff7bced4f in ?? () from /usr/lib/libmlt.so.1
No symbol table info available.
#4 0x00007ffff7bcd53c in mlt_service_get_frame () from /usr/lib/libmlt.so.1
No symbol table info available.
#5 0x00007ffff7bcea8c in ?? () from /usr/lib/libmlt.so.1
No symbol table info available.
#6 0x00007ffff7bcd53c in mlt_service_get_frame () from /usr/lib/libmlt.so.1
No symbol table info available.
#7 0x00007ffff7bd1d57 in ?? () from /usr/lib/libmlt.so.1
No symbol table info available.
#8 0x00007ffff7bced4f in ?? () from /usr/lib/libmlt.so.1
No symbol table info available.
#9 0x00007ffff7bcd53c in mlt_service_get_frame () from /usr/lib/libmlt.so.1
No symbol table info available.
#10 0x00007ffff7bcf58e in ?? () from /usr/lib/libmlt.so.1
No symbol table info available.
#11 0x00007ffff7bced4f in ?? () from /usr/lib/libmlt.so.1
No symbol table info available.
#12 0x00007ffff7bcd53c in mlt_service_get_frame () from /usr/lib/libmlt.so.1
No symbol table info available.
#13 0x00007ffff7bd4bfb in ?? () from /usr/lib/libmlt.so.1
No symbol table info available.
#14 0x00007ffff7bced4f in ?? () from /usr/lib/libmlt.so.1
No symbol table info available.
#15 0x00007ffff7bcd53c in mlt_service_get_frame () from /usr/lib/libmlt.so.1
No symbol table info available.
#16 0x00007ffff7bcd53c in mlt_service_get_frame () from /usr/lib/libmlt.so.1
No symbol table info available.
#17 0x00007ffff7bd2657 in mlt_consumer_get_frame () from /usr/lib/libmlt.so.1
No symbol table info available.
#18 0x00007ffff7bd344c in ?? () from /usr/lib/libmlt.so.1
No symbol table info available.
#19 0x00007ffff79a6a04 in start_thread (arg=<value optimized out>)
at pthread_create.c:300
__res = <value optimized out>
pd = 0x7fffe62a3910
unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140737054914832,
-5769730437584221540, 140737347522688, 0, 0, 3,
5769675072808192668, 5769713141006764700},
mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0},
data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
not_first_call = <value optimized out>
robust = <value optimized out>
#20 0x00007ffff77107bd in clone ()
at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
No locals.
#21 0x0000000000000000 in ?? ()
---Type <return> to continue, or q <return> to quit---
No symbol table info available.
(gdb)

Discussion

  • Dan Dennedy

    Dan Dennedy - 2009-09-21
    • status: open --> pending
     
  • Dan Dennedy

    Dan Dennedy - 2009-09-21

    Not enough information. No version info. Crash somewhere in libavcodec. Backtrace not meaningful.

     
  • CarlFK

    CarlFK - 2009-09-21
    • status: pending --> open
     
  • CarlFK

    CarlFK - 2009-09-21

    juser@dhcp124:~$ melt -version
    MLT melt 0.4.4
    Copyright (C) 2002-2009 Ushodaya Enterprises Limited

     
  • CarlFK

    CarlFK - 2009-09-21

    built from trunk, -version: MLT melt 0.4.5

    juser@dhcp124:~/vid$ gdb melt
    GNU gdb (GDB) 6.8.91.20090918-cvs-ubuntu
    Copyright (C) 2009 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://www.gnu.org/software/gdb/bugs/>...
    Reading symbols from /usr/bin/melt...done.
    (gdb) run - x.mlt x.ogg acodec=vorbis ab=96k ar=44100 vcodec=libtheora minrate=0 b=600k aspect=@4/3 pass=1 s=720x480
    Starting program: /usr/bin/melt - x.mlt x.ogg acodec=vorbis ab=96k ar=44100 vcodec=libtheora minrate=0 b=600k aspect=@4/3 pass=1 s=720x480
    [Thread debugging using libthread_db enabled]
    Failed to load "x.ogg"
    [New Thread 0x7fffe65f8910 (LWP 26469)]
    +-----+ +-----+ +-----+ +-----+ +-----+ +-----+ +-----+ +-----+ +-----+
    |1=-10| |2= -5| |3= -2| |4= -1| |5= 0| |6= 1| |7= 2| |8= 5| |9= 10|
    +-----+ +-----+ +-----+ +-----+ +-----+ +-----+ +-----+ +-----+ +-----+
    +---------------------------------------------------------------------+
    | H = back 1 minute, L = forward 1 minute |
    | h = previous frame, l = next frame |
    | g = start of clip, j = next clip, k = previous clip |
    | 0 = restart, q = quit, space = play |
    +---------------------------------------------------------------------+
    [New Thread 0x7fffe5df7910 (LWP 26470)]

    Program received signal SIGSEGV, Segmentation fault.
    [Switching to Thread 0x7fffe5df7910 (LWP 26470)]
    0x00007fffe9c365e1 in av_find_opt () from /usr/lib/libavcodec.so.52
    (gdb) bt full
    #0 0x00007fffe9c365e1 in av_find_opt () from /usr/lib/libavcodec.so.52
    No symbol table info available.
    #1 0x00007fffea8babc0 in apply_properties (obj=0x0, properties=0x6971a0,
    flags=2) at producer_avformat.c:1057
    opt_name = 0x697d10 "_events"
    opt = <value optimized out>
    i = 0
    count = <value optimized out>
    #2 0x00007fffea8bb06c in producer_set_up_video (this=0x6971a0,
    frame=0x7fffe5df6e08, index=<value optimized out>)
    at producer_avformat.c:1094
    context = 0x0
    index = 0
    #3 producer_get_frame (this=0x6971a0, frame=0x7fffe5df6e08,
    index=<value optimized out>) at producer_avformat.c:1582
    No locals.
    #4 0x00007ffff7bcfa5f in producer_get_frame (service=0x6971a0,
    frame=0x7fffe5df6e08, index=0) at mlt_producer.c:578
    properties = <value optimized out>
    eof = <value optimized out>
    speed = 1
    clone = 0x6971a0
    result = 0
    this = 0x6971a0
    #5 0x00007ffff7bce24c in mlt_service_get_frame (this=0x6971a0,
    frame=0x7fffe5df6e08, index=0) at mlt_service.c:456
    in = 0
    out = 55973
    result = <value optimized out>
    #6 0x00007ffff7bcf79c in producer_get_frame (service=<value optimized out>,
    frame=0x7fffe5df6e08, index=0) at mlt_producer.c:629
    speed = 0
    parent = 0x6971a0
    clone = <value optimized out>
    clone_index = <value optimized out>
    result = 32767
    this = 0x695690
    #7 0x00007ffff7bce24c in mlt_service_get_frame (this=0x695690,
    frame=0x7fffe5df6e08, index=0) at mlt_service.c:456
    in = 0
    out = 55973
    result = <value optimized out>
    #8 0x00007ffff7bd2a67 in producer_get_frame (producer=0x670b50,
    frame=0x7fffe5df6e08, index=<value optimized out>) at mlt_playlist.c:1769
    this = 0x670b50
    progressive = 0
    properties = <value optimized out>
    #9 0x00007ffff7bcfa5f in producer_get_frame (service=0x670b50,
    frame=0x7fffe5df6e08, index=0) at mlt_producer.c:578
    properties = <value optimized out>
    eof = <value optimized out>
    speed = 1
    clone = 0x670b50
    ---Type <return> to continue, or q <return> to quit---
    result = 32767
    this = 0x670b50
    #10 0x00007ffff7bce24c in mlt_service_get_frame (this=0x670b50,
    frame=0x7fffe5df6e08, index=0) at mlt_service.c:456
    in = 0
    out = 55973
    result = <value optimized out>
    #11 0x00007ffff7bd029e in producer_get_frame (parent=0x678c50,
    frame=0x7fffe5df6e08, index=<value optimized out>) at mlt_multitrack.c:453
    producer = 0x670b50
    hide = 0
    speed = -5.4861240687936887e+303
    position = 0
    properties = <value optimized out>
    this = <value optimized out>
    #12 0x00007ffff7bcfa5f in producer_get_frame (service=0x678c50,
    frame=0x7fffe5df6e08, index=0) at mlt_producer.c:578
    properties = <value optimized out>
    eof = <value optimized out>
    speed = 1
    clone = 0x678c50
    result = 32767
    this = 0x678c50
    #13 0x00007ffff7bce24c in mlt_service_get_frame (this=0x678c50,
    frame=0x7fffe5df6e08, index=0) at mlt_service.c:456
    in = 0
    out = 55973
    result = <value optimized out>
    #14 0x00007ffff7bd590b in producer_get_frame (parent=<value optimized out>,
    frame=<value optimized out>, track=<value optimized out>)
    at mlt_tractor.c:386
    video = 0x0
    label = '\000' <repeats 24 times>, "\030±¼÷ÿ\177"
    id = 0x755020 "15"
    audio = <value optimized out>
    first_video = 0x0
    temp_properties = 0x678c50
    global_feed = 0
    done = 0
    temp = 0x752080
    count = 0
    data_queue = 0x72f5c0
    #15 0x00007ffff7bcfa5f in producer_get_frame (service=0x676300,
    frame=0x7fffe5df6fb8, index=0) at mlt_producer.c:578
    properties = <value optimized out>
    eof = <value optimized out>
    speed = 1
    clone = 0x676300
    result = 0
    this = 0x676300
    #16 0x00007ffff7bce24c in mlt_service_get_frame (this=0x676300,
    frame=0x7fffe5df6fb8, index=0) at mlt_service.c:456
    in = 0
    ---Type <return> to continue, or q <return> to quit---
    out = 55973
    result = <value optimized out>
    #17 0x00007ffff7bce24c in mlt_service_get_frame (this=0x6645c0,
    frame=0x7fffe5df6fb8, index=0) at mlt_service.c:456
    in = 0
    out = 0
    result = <value optimized out>
    #18 0x00007ffff7bd3367 in mlt_consumer_get_frame (this=0x6645c0)
    at mlt_consumer.c:509
    frame = 0x7558a0
    #19 0x00007ffff7bd415c in consumer_read_ahead_thread (
    arg=<value optimized out>) at mlt_consumer.c:616
    this = 0x6645c0
    width = 720
    height = 576
    video_off = 0
    preview_off = 0
    preview_format = 0
    afmt = mlt_audio_pcm
    counter = 0
    fps = 25
    channels = 2
    frequency = 48000
    samples = 0
    audio = 0x0
    audio_off = 0
    frame = <value optimized out>
    image = 0x0
    ante = {tv_sec = 0, tv_usec = 0}
    count = <value optimized out>
    skipped = 0
    time_wait = 0
    time_frame = 0
    time_process = 0
    skip_next = 0
    lock_object = <value optimized out>
    #20 0x00007ffff79a9a04 in start_thread (arg=<value optimized out>)
    at pthread_create.c:300
    __res = <value optimized out>
    pd = 0x7fffe5df7910
    unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140737050016016,
    -6278190734396143034, 140737347534976, 0, 0, 3,
    6278204199289965126, 6278174008651237958},
    mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0},
    data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
    not_first_call = <value optimized out>
    robust = <value optimized out>
    #21 0x00007ffff77137bd in clone ()
    at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
    No locals.
    #22 0x0000000000000000 in ?? ()
    No symbol table info available.
    (gdb)

     
  • CarlFK

    CarlFK - 2009-09-21

    pulled the -, same thing,

    (gdb) run x.mlt x.ogg acodec=vorbis ab=96k ar=44100 vcodec=libtheora minrate=0 b=600k aspect=@4/3 pass=1 s=720x480

     
  • CarlFK

    CarlFK - 2009-09-21

    did not crash:

    melt -profile dv_ntsc t2.dv -consumer avformat:x.ogg acodec=vorbis ab=96k ar=44100 vcodec=libtheora minrate=0 b=600k pass=1

    juser@dhcp124:~/vid$ cat x.mlt
    <mlt>
    <producer id="producer0">
    <property name="resource">t2.dv</property>
    </producer>
    </mlt>

     
  • Dan Dennedy

    Dan Dennedy - 2009-09-21

    There has been a regression in "The simplest MLT XML document" from the documentation. Sigh.

    I had to add the following to get it to work:
    <playlist id="playlist0">
    <entry producer="producer0"/>
    </playlist>

    I will continue to look into this.

     
  • Dan Dennedy

    Dan Dennedy - 2014-09-21
    • status: open --> closed
    • Group: --> unknown
     
  • Dan Dennedy

    Dan Dennedy - 2014-09-21

    This no longer reproduces. I do not know when it was fixed. The faulty command lines used here do cause crash, and the simplest MLT XML from documentation works as expected.

     

Log in to post a comment.