[Kdenlive-devel] crashes with latest git versions

Mikko Rapeli mikko.rapeli at iki.fi
Mon Apr 18 21:56:33 UTC 2011


On Mon, Apr 18, 2011 at 02:27:44PM -0700, Dan Dennedy wrote:
> Does the attached patch fix the backtrace you provided?
> I have not really tested things much since ffmpeg merged the
> multithreaded mt-ffmpeg.

Sorry, but that did not help. On the other hand ffplay has a hard time playing
that one 60 fps file from a GoPro camera and I couldn't find a version of
ffmpeg that would play it. Here it is if anyone likes to have look:

http://mcfrisk.kapsi.fi/temp/GOPR0027.MP4

I'll try to convert the project files to some other format, at least ffmpeg
conversion seemed to work.

-Mikko

Program received signal SIGABRT, Aborted.
[Switching to Thread 0xb124bb70 (LWP 21130)]
0xb7fe2424 in __kernel_vsyscall ()
(gdb) bt full
#0  0xb7fe2424 in __kernel_vsyscall ()
No symbol table info available.
#1  0xb60f7751 in raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
        resultvar = <value optimized out>
        pid = -1239355404
        selftid = 21130
#2  0xb60fab82 in abort () at abort.c:92
        act = {__sigaction_handler = {
            sa_handler = 0xb7fff4e4 <_rtld_global+1220>, 
            sa_sigaction = 0xb7fff4e4 <_rtld_global+1220>}, sa_mask = {__val = {
              851968, 2986101776, 2986064684, 2971966492, 3057, 2971966460, 
              2986061036, 2986059860, 0, 13, 2971966304, 3055096200, 3, 
              2971966388, 3055611892, 7, 2971967848, 2971966508, 3055214308, 
              35, 2971966388, 3, 0, 2971966484, 2971966496, 1, 3055482218, 
              3055482214, 3055477764, 3055477790, 72, 2971966388}}, 
          sa_flags = -1323000836, sa_restorer = 0xb61f08fb}
        sigs = {__val = {32, 0 <repeats 31 times>}}
#3  0xb612e18d in __libc_message (do_abort=2, 
    fmt=0xb61f2738 "*** glibc detected *** %s: %s: 0x%s ***\n")
    at ../sysdeps/unix/sysv/linux/libc_fatal.c:189
        ap = <value optimized out>
        fd = -1323000476
        on_2 = <value optimized out>
---Type <return> to continue, or q <return> to quit---
        list = <value optimized out>
        nlist = <value optimized out>
        cp = <value optimized out>
        written = false
#4  0xb6138281 in malloc_printerr (action=<value optimized out>, 
    str=0x6 <Address 0x6 out of bounds>, ptr=0xb0111c58) at malloc.c:6267
        buf = "b0111c58"
        cp = <value optimized out>
#5  0xb613b085 in _int_malloc (av=<value optimized out>, 
    bytes=<value optimized out>) at malloc.c:4396
        iters = 17
        nb = 128
        idx = <value optimized out>
        bin = <value optimized out>
        victim = 0xb0111c50
        size = <value optimized out>
        victim_index = <value optimized out>
        remainder = <value optimized out>
        remainder_size = <value optimized out>
        block = <value optimized out>
        bit = <value optimized out>
        map = <value optimized out>
        fwd = <value optimized out>
---Type <return> to continue, or q <return> to quit---
        bck = 0xb0110f00
        errstr = <value optimized out>
        __func__ = "_int_malloc"
#6  0xb613ba9a in _int_memalign (av=<value optimized out>, alignment=16, 
    bytes=77) at malloc.c:5476
        nb = 88
        p = <value optimized out>
        brk = 0x6b6a6968 <Address 0x6b6a6968 out of bounds>
        newsize = 1869507948
        remainder = <value optimized out>
        size = <value optimized out>
        __func__ = "_int_memalign"
#7  0xb613d176 in __libc_memalign (alignment=16, bytes=77) at malloc.c:3881
        ar_ptr = <value optimized out>
        p = 0x0
        __func__ = "__libc_memalign"
#8  0xb613d389 in __posix_memalign (memptr=0xb124a3bc, alignment=0, size=21130)
    at malloc.c:6299
        mem = <value optimized out>
#9  0xb1fc8768 in av_malloc (size=77) at libavutil/mem.c:83
        ptr = 0x0
#10 av_mallocz (size=77) at libavutil/mem.c:158
        ptr = 0x0
---Type <return> to continue, or q <return> to quit---
#11 0xb2b0d5ed in url_alloc_for_protocol (puc=0xb124a54c, 
    filename=0x8da77d0 "/home/mcfrisk/videos/20110327_tamok/GOPR0027.MP4", 
    flags=0) at libavformat/avio.c:118
        uc = <value optimized out>
#12 ffurl_alloc (puc=0xb124a54c, 
    filename=0x8da77d0 "/home/mcfrisk/videos/20110327_tamok/GOPR0027.MP4", 
    flags=0) at libavformat/avio.c:265
        up = 0xb2bcc480
        proto_str = "file\000\000\000\000\000\000\000\000\270[\332\b`\224\035\260\000\000\000\000\000\353 \266\200\033\324\bA2\374\267\001\000\000\000ؤ$\261\311\000\373\267\210s\332\b\000\000\000\000ؤ$\261\\A\374\267ؤ$\261H$\324\b\\A\374\267\207\066\373\267\370\064\324\bp\000\000\000\375\377\377\377в\273\262\375w\332\b\320w\332\b \017\275\262\021\363\270\262\320w\332\b\220q\274\262\000\000\000\000:pro"
        proto_nested = "file\000\200\255\373ؤ$\261ؤ$\261ؤ$\261ؤ$\261\355\244$\261\377\377\377\377ؤ$\261\377\377\377\377\000\000\000\000\000\000\000\000'\376Z\267\000\000\000\000\031\022[\267\267\001\373\267\000\000\000\000\024\000\000\000\212R\000\000\\A\374\267\003\000\000\000\005\000\000\000\330l\332\b\267\001\373\267<b\332\b\000\000\000\000 \241\a\000\377\377\377\377\000\000\000\000\000\000\000\000\\A\374\267\362\005", <incomplete sequence \373\267>
        ptr = <value optimized out>
        proto_len = <value optimized out>
#13 0xb2b0d83f in ffurl_open (puc=0xb124a54c, 
---Type <return> to continue, or q <return> to quit---
    filename=0x8da77d0 "/home/mcfrisk/videos/20110327_tamok/GOPR0027.MP4", 
    flags=0) at libavformat/avio.c:274
        ret = <value optimized out>
#14 0xb2b12310 in avio_open (s=0xb124a5bc, 
    filename=0x8da77d0 "/home/mcfrisk/videos/20110327_tamok/GOPR0027.MP4", 
    flags=0) at libavformat/aviobuf.c:957
        h = 0x0
        err = <value optimized out>
#15 0xb2ba1e28 in av_open_input_file (ic_ptr=0xb124a76c, 
    filename=0x8da77d0 "/home/mcfrisk/videos/20110327_tamok/GOPR0027.MP4", 
    fmt=<value optimized out>, buf_size=0, ap=0x0) at libavformat/utils.c:640
        err = <value optimized out>
        probe_data = {
          filename = 0x8da77d0 "/home/mcfrisk/videos/20110327_tamok/GOPR0027.MP4", buf = 0x0, buf_size = 0}
        pd = 0xb124a5ac
        pb = 0x0
        logctx = 0x0
#16 0xb2bf5cf6 in producer_open (self=0xb010fe28, 
    profile=<value optimized out>, 
    file=0x8da77d0 "/home/mcfrisk/videos/20110327_tamok/GOPR0027.MP4")
    at producer_avformat.c:677
        audio_index = <value optimized out>
---Type <return> to continue, or q <return> to quit---
        video_index = <value optimized out>
        error = <value optimized out>
        context = 0xb0111c50
        properties = 0x8da59a8
        fps = 30
        format = 0x0
        params = 0xb2bfe0c0
        standard = 0xb0111c50 "`<\274\262\240\327\274\262@"
        mrl = <value optimized out>
        av = 0
#17 0xb2bf69e4 in producer_set_up_video (producer=0x8da59a8, frame=0xb0100d04, 
    index=0) at producer_avformat.c:1690
        producer = 0x8da59a8
        context = <value optimized out>
        properties = 0x8da59a8
        index = 0
        frame_properties = <value optimized out>
#18 producer_get_frame (producer=0x8da59a8, frame=0xb0100d04, index=0)
    at producer_avformat.c:2303
        service = 0x8da59a8
        cache_item = <value optimized out>
        self = 0xb010fe28
#19 0xb7fb6c75 in producer_get_frame (service=0x8da59a8, frame=0xb0100d04, 
---Type <return> to continue, or q <return> to quit---
    index=0) at mlt_producer.c:584
        properties = 0x8da59a8
        eof = <value optimized out>
        speed = 1
        clone = 0x8da59a8
        result = 1
        self = 0x8da59a8
#20 0xb7fb49a6 in mlt_service_get_frame (self=0x8da59a8, frame=0xb0100d04, 
    index=0) at mlt_service.c:457
        properties = 0x8da59a8
        in = 0
        out = 573
        position = 317
        result = 0
#21 0xb7fb68d4 in producer_get_frame (service=0x8ec6dc8, frame=0xb0100d04, 
    index=0) at mlt_producer.c:635
        speed = 0
        parent = 0x8da59a8
        clone = <value optimized out>
        parent_properties = 0x8da59a8
        properties = 0x8ec6dc8
        clone_index = <value optimized out>
        result = 1
---Type <return> to continue, or q <return> to quit---
        self = 0x8ec6dc8
#22 0xb7fb49a6 in mlt_service_get_frame (self=0x8ec6dc8, frame=0xb0100d04, 
    index=0) at mlt_service.c:457
        properties = 0x8ec6dc8
        in = 280
        out = 467
        position = -1
        result = 0
#23 0xb7fb8120 in producer_get_frame (producer=0x8d43220, frame=0xb0100d04, 
    index=0) at mlt_playlist.c:1771
        self = 0x8d43220
        progressive = 0
        properties = <value optimized out>
        playlist_properties = <value optimized out>
        notifier = <value optimized out>
#24 0xb7fb6c75 in producer_get_frame (service=0x8d43220, frame=0xb0100d04, 
    index=0) at ml= 2
        reverse_order = 0
#30 0xb7fb49a6 in mlt_service_get_frame (self=0x95b72a8, frame=0xb0100d04, 
    index=3) at mlt_service.c:457
        properties = 0x95b72a8
---Type <return> to continue, or q <return> to quit---
        in = 0
        out = 0
        position = -1
        result = 0
#31 0xb7fbe00e in transition_get_frame (service=0x95b8aa0, frame=0xb0101794, 
    index=1) at mlt_transition.c:390
        active = 0
        i = 3
        a_frame = 1
        invalid = 0xb7fabc00 <mlt_frame_is_test_audio>
        b_frame = 3
        position = <value optimized out>
        error = 0
        self = 0x95b8aa0
        properties = 0x95b8aa0
        accepts_blanks = 0
        a_track = 1
        b_track = 3
        in = 0
        out = 0
        always_active = 1
        type = 2
        reverse_order = 0
---Type <return> to continue, or q <return> to quit---
#32 0xb7fb49a6 in mlt_service_get_frame (self=0x95b8aa0, frame=0xb0101794, 
    index=1) at mlt_service.c:457
        properties = 0x95b8aa0
        in = 0
        out = 0
        position = -1
        result = 0
#33 0xb7fbe00e in transition_get_frame (service=0x90822a0, frame=0xb01005c4, 
    index=1) at mlt_transition.c:390
        active = 0
        i = 1
        a_frame = 1
        invalid = 0xb7fabc00 <mlt_frame_is_test_audio>
        b_frame = 4
        position = <value optimized out>
        error = 0
        self = 0x90822a0
        properties = 0x90822a0
        accepts_blanks = 0
        a_track = 1
        b_track = 4
        in = 0
        out = 0
---Type <return> to continue, or q <return> to quit---
        always_active = 1
        type = 2
        reverse_order = 0
#34 0xb7fb49a6 in mlt_service_get_frame (self=0x90822a0, frame=0xb01005c4, 
    index=1) at mlt_service.c:457
        properties = 0x90822a0
        in = 0
        out = 0
        position = -1
        result = 0
#35 0xb7fbe00e in transition_get_frame (service=0x9083aa8, frame=0xb124b0ac, 
    index=0) at mlt_transition.c:390
        active = 0
        i = 1
        a_frame = 1
        invalid = 0xb7fabc00 <mlt_frame_is_test_audio>
        b_frame = 5
        position = <value optimized out>
        error = 0
        self = 0x9083aa8
      e.c:457
        properties = 0x87ae7c0
        in = 0
        out = 0
        position = -1
        result = 0
#42 0xb7fbbaa6 in mlt_consumer_get_frame (self=0x87ae7c0) at mlt_consumer.c:543
        frame = 0xb01274c0
        service = 0x87ae7c0
        properties = 0x87ae7c0
#43 0xb2e7cd1b in consumer_thread (arg=0x87ae7c0) at consumer_sdl_preview.c:303
        this = 0x87ae7c0
---Type <return> to continue, or q <return> to quit---
        consumer = 0x87ae7c0
        properties = 0x87ae7c0
        frame = <value optimized out>
        last_position = 504
        eos = 0
        eos_threshold = 45
        preview_off = 0
#44 0xb75ad955 in start_thread (arg=0xb124bb70) at pthread_create.c:300
        __res = <value optimized out>
        __ignore1 = <value optimized out>
        __ignore2 = <value optimized out>
        pd = 0xb124bb70
        now = <value optimized out>
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {-1218715660, 0, 4001536, 
                -1322994632, 2036521220, -2051656952}, mask_was_saved = 0}}, 
          priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, 
              cleanup = 0x0, canceltype = 0}}}
        not_first_call = <value optimized out>
        freesize = <value optimized out>
        __PRETTY_FUNCTION__ = "start_thread"
#45 0xb6198e7e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130
No locals.
(gdb) 
(gdb) 





More information about the Kdenlive mailing list