[Kdenlive-devel] kthumb crash? (was Re: [PATCH mlt] Clear audio and video context to NULL)

Mikko Rapeli mikko.rapeli at iki.fi
Tue Oct 11 21:57:12 UTC 2011


On Tue, Oct 11, 2011 at 02:16:14PM -0700, Dan Dennedy wrote:
> On Tue, Oct 11, 2011 at 2:05 PM, Mikko Rapeli <mikko.rapeli at iki.fi> wrote:
> > Previewed clip without proxy and then enabled proxy back on in kdenlive.
> > I think context can be NULL after return from pthread_mutex_lock() at any
> > time and that would need to be checked everywhere.
> 
> It should definitely not be the case that context can be NULL anywhere
> anytime. There is somehow inconsistent state introduced. Once again,
> the crash stems from KThumb.

Tried to move cursor on timeline when thumnails were created with latest
kdenlive and mlt from git and got this:

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xad2c5b70 (LWP 17943)]
0x9198c01c in ?? ()
(gdb) thread apply all bt full

Thread 12 (Thread 0x790bfb70 (LWP 17977)):
#0  0xb7fe2424 in __kernel_vsyscall ()
No symbol table info available.
#1  0xb7431703 in pthread_cond_timedwait@@GLIBC_2.3.2 ()
    at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_timedwait.S:236
No locals.
#2  0xb7fb05b7 in mlt_consumer_put_frame (self=0x9012cc8, frame=0x194c5e20)
    at mlt_consumer.c:490
        now = {tv_sec = 1318369579, tv_usec = 775860}
        tm = {tv_sec = 1318369580, tv_nsec = 775860000}
        service = 0x9012cc8
#3  0xb14f50ea in consumer_thread (arg=0x9058308) at consumer_sdl_preview.c:404
        producer = 0x11710188
        duration = <optimized out>
        pause = <optimized out>
        speed = 0
        refresh = <optimized out>
        this = 0x9058308
        consumer = 0x9058308
        properties = 0x9058308
        frame = 0x194c5e20
---Type <return> to continue, or q <return> to quit---
        last_position = -1
        eos = 0
        eos_threshold = 45
        preview_off = 0
#4  0xb742cc39 in start_thread (arg=0x790bfb70) at pthread_create.c:304
        __res = <optimized out>
        __ignore1 = <optimized out>
        __ignore2 = <optimized out>
        pd = 0x790bfb70
        now = <optimized out>
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {-1220292620, 0, 4001536,
                2030826552, 1764098593, -78073411}, mask_was_saved = 0}},
          priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0,
              cleanup = 0x0, canceltype = 0}}}
        not_first_call = <optimized out>
        freesize = <optimized out>
        __PRETTY_FUNCTION__ = "start_thread"
#5  0xb5c9896e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130
No locals.
Backtrace stopped: Not enough registers or memory available to unwind further

Thread 11 (Thread 0x85511b70 (LWP 17976)):
#0  yuv2yuyv422_1_c (c=0x5328e260, buf0=0x4fd95740, ubuf=0x53773748,
---Type <return> to continue, or q <return> to quit---
    vbuf=0x530e5b08, abuf0=0x0,
    dest=0x76cd9c30 "f\177g~f\177h~g\177g~g\177f~g\200g~g\200h~h\200i~j\200i~g\200h}h\200h}h\200i}i\200h}g\200i}i\200j}k\200k}k\200k}k\200j~j\200k~m\200m~l\200l~l\200l~k\200l~m\200n~m\200m~m\200m~m\200m~n\200n~o\200o~o\200o~p\200p~o\200q~q\200p~o\200o~n\177n~p\177p~p\177p~p\177q~q\177q~q\177p~p\177p~o\200o~o\200p~r\200r~r\200r~p\200p~p\200p~r\200r~r\200r~r\177r~q\177r~"..., dstW=1280,
    uvalpha=3072, y=718) at libswscale/swscale.c:931
No locals.
#1  0xb01e8a96 in swScale (c=0x5328e260, src=0x85510b50, srcStride=0x85510b70,
    srcSliceY=0, srcSliceH=720, dst=0x85510b60, dstStride=0x85510b80)
    at libswscale/swscale.c:2742
        chrAlpha = 3072
        lumSrcPtr = 0x534cc188
        chrUSrcPtr = 0x53773748
        chrVSrcPtr = 0x530e5b08
        alpSrcPtr = <optimized out>
        chrDstY = 718
        dest = {
          0x76cd9c30 "f\177g~f\177h~g\177g~g\177f~g\200g~g\200h~h\200i~j\200i~g\200h}h\200h}h\200i}i\200h}g\200i}i\200j}k\200k}k\200k}k\200j~j\200k~m\200m~l\200l~l\200l~k\200l~m\200n~m\200m~m\200m~m\200m~n\200n~o\200o~o\200o~p\200p~o\200q~q\200p~o\200o~n\177n~p\177p~p\177p~p\177q~q\177q~q\177p~p\177p~o\200o~o\200p~r\200r~r\200r~p\200p~p\200p~r\200r~r\200r~r\177r~q\177r~"..., 0x0, 0x0, 0x0}
---Type <return> to continue, or q <return> to quit---
        firstLumSrcY2 = <optimized out>
        firstChrSrcY = 358
        lastLumSrcY = 718
        enough_lines = <optimized out>
        firstLumSrcY = 718
        lastLumSrcY2 = <optimized out>
        lastChrSrcY = 359
        srcW = 1280
        dstW = 1280
        dstH = 720
        chrDstW = 640
        chrSrcW = 640
        lumXInc = 65536
        chrXInc = 65536
        dstFormat = PIX_FMT_YUYV422
        flags = <optimized out>
        vLumFilterPos = 0x53783b00
        vChrFilterPos = 0x5378d120
        hLumFilterPos = 0x532cf8e0
        hChrFilterPos = 0x53bf1a80
        vLumFilter = 0x53292ce0
        vChrFilter = 0x531f6440
        hLumFilter = 0x530e5b60
---Type <return> to continue, or q <return> to quit---
        hChrFilter = 0x530e95c0
        lumMmxFilter = 0x5328fbf8
        chrMmxFilter = 0x53290bf8
        alpMmxFilter = 0x53291c28
        vLumFilterSize = 1
        vChrFilterSize = 2
        hLumFilterSize = 4
        hChrFilterSize = 4
        lumPixBuf = 0x534cc180
        chrUPixBuf = 0x53773740
        chrVPixBuf = 0x530e5b00
        alpPixBuf = 0x0
        vLumBufSize = 2
        vChrBufSize = 2
        formatConvBuffer = 0x532ee7e0 ""
        chrSrcSliceY = 0
        chrSrcSliceH = 360
        pal = 0x5328e2d4
        should_dither = <optimized out>
        yuv2yuv1 = 0xb01da070 <yuv2yuv1_c>
        yuv2yuvX = 0xb01d9e30 <yuv2yuvX_c>
        yuv2packed1 = 0xb01db410 <yuv2yuyv422_1_c>
        yuv2packed2 = 0xb01db2f0 <yuv2yuyv422_2_c>
---Type <return> to continue, or q <return> to quit---
        yuv2packedX = 0xb01db120 <yuv2yuyv422_X_c>
        dstY = 718
        lumBufIndex = 0
        chrBufIndex = 1
        lastInLumBuf = <optimized out>
        lastInChrBuf = <optimized out>
#2  0xb01edd40 in sws_scale (c=0x5328e260, srcSlice=0x52fe7980,
    srcStride=0x52fe7990, srcSliceY=0, srcSliceH=720, dst=0x85510cfc,
    dstStride=0x85510d0c) at libswscale/swscale_unscaled.c:807
        srcStride2 = {1312, 656, 656, 0}
        dstStride2 = {2560, 0, 0, 0}
        i = <optimized out>
        src2 = {
          0x67992230 "\202\201\177\201{{xwuvwyvwtuousrnpnrnokjc_`c`feklqmqnllnmnnppoqqppputppooqqqqrqploqroopsswsvpvty{\206\212\223\224\246\244\244\242\241\237\237\241\237\235\240\245\250\252\252\261\254\252\244\241\231\225\220\214\220\224\240\236\241\235\225\221\215\216\210\210\202\211\235\235\241\240\236\234\244\261\272\276\303\300\302\300\304\304\302\300\303\302\301\276\276\277\276\273\270\267\273\274\277\300\302\301\301\304\307\303ÿ\277\302\302\304\305\303\305\303\303\303\301\300\276\267\273\267\267\267\267\265\264\261\261\261\264\266\265\264\263\265\262\255\254"...,
          0x515014c8 "\202\203\202\201\203\204\203\202\203\203\203\203\205\206\207\210\211\210\207\205\207\210\210\210\210\210\210\210\207\207\210\210\207\207\2---Type <return> to continue, or q <return> to quit---
07\210\213\214\215\216\214\214\213\210\205\202\202\202\177\177~|yz|\201\205\206\204\202\210\211\212\212\206\205\203\202\201\200\177~~~}}~~\177\177\200~}}}||||}}}~~\177\200\200\201\201\201\201\201\201\200\177\200\200\200\200\200\200\200\200\200\200\200\177\177~~~~~~~~~}~}}}}}}~~\177\177\177\177\177~~~~~}}~~}}}}}~~~~}}}}}}~~~~~~~~~\177\177\200\200\177}}}|}~\177\201\203\203\202\201\177\177\177~~~~~"...,
          0x5153efa8 "zzzzxxxxyzyyzzzzyxxxvuuuvwvvxwwwvuwwwwwuuttuvxyyyyyy{{{{zyxxwwxyyyzz||||{{{{~||{z|||{{{{||}{{{{{{zzzz", '{' <repeats 11 times>, "zzzz{{{{|}", '~' <repeats 11 times>, "}}|{{{z|||||{{{|}}}}}}}~~}}}}}}||{{||||{{{{{|}|||||}||{zz{{{{|}}~~~"..., 0x0}
        dst2 = {
          0x76b19030 "\202\202\201z\177\203\201z{\202{zx\201wzu\203vxw\204yxv\203wxt\202uxo\203uys\203rzn\203pyn\203ryn\205ozk\206jzc\207_z`\210cz`\211fye\210kxl\207qxm\205qxn\207lvl\210num\210nun\210pup\210ovq\210qwp\210pvp\210uvt\207pxp\207owo\210qwq\210qwq\207rvq\207pul\207owq\210rwo\213owp\214sws\215wws\216vup\214vut\214yt{\213\206t\212\210\223u\224\205\246v\244\202\244x\242\202\241y\237\202\237y\241\177\237y\235\177\240y"..., 0x0, 0x0, 0x0}
#3  0xb0f1b468 in convert_image (colorspace=709, height=720,
    width=<optimized out>, format=0x85511310, pix_fmt=<optimized out>,
    buffer=0x76b19030 "\202\202\201z\177\203\201z{\202{zx\201wzu\203vxw\204yxv\203wxt\202uxo\203uys\203rzn\203pyn\203ryn\205ozk\206jzc\207_z`\210cz`\211fye\210kxl\207qxm\205qxn\207lvl\210num\210nun\210pup\210ovq\210qwp\210pvp\210uvt\207pxp\207owo\210qwq\210qwq\207rvq\207pul\207owq\210rwo\213owp\214sws\215wws\216vup\214---Type <return> to continue, or q <return> to quit---
vut\214yt{\213\206t\212\210\223u\224\205\246v\244\202\244x\242\202\241y\237\202\237y\241\177\237y\235\177\240y"..., frame=0x52fe7980)
    at producer_avformat.c:1170
        output = {data = {
            0x76b19030 "\202\202\201z\177\203\201z{\202{zx\201wzu\203vxw\204yxv\203wxt\202uxo\203uys\203rzn\203pyn\203ryn\205ozk\206jzc\207_z`\210cz`\211fye\210kxl\207qxm\205qxn\207lvl\210num\210nun\210pup\210ovq\210qwp\210pvp\210uvt\207pxp\207owo\210qwq\210qwq\207rvq\207pul\207owq\210rwo\213owp\214sws\215wws\216vup\214vut\214yt{\213\206t\212\210\223u\224\205\246v\244\202\244x\242\202\241y\237\202\237y\241\177\237y\235\177\240y"..., 0x0, 0x0, 0x0}, linesize = {2560, 0, 0,
            0}}
        full_range = -1
        flags = 262146
#4  producer_get_image (frame=0x9442b80, buffer=0x8551131c, format=0x85511310,
    width=0x85510ff4, height=0x85510ff8, writable=0)
    at producer_avformat.c:1577
        ret = 89292
        int_position = 494
        decode_errors = 0
        got_picture = 264
        self = 0x591326a0
        producer = 0xdf6d770
        frame_properties = 0x9442b80
---Type <return> to continue, or q <return> to quit---
        position = 247
        properties = 0xdf6d770
        context = 0x52196740
        stream = 0x52196c40
        codec_context = 0x52196e00
        image_size = <optimized out>
        pkt = {pts = 746245, dts = 741740, data = 0x4f8b9860 "", size = 89292,
          stream_index = 0, flags = 0, side_data = 0x0, side_data_elems = 0,
          duration = 0, destruct = 0xb0320180 <av_destruct_packet>,
          priv = 0x85510bbc, pos = 15729065, convergence_duration = 0}
        ignore = <optimized out>
        source_fps = 59.940059940059939
        req_position = 494
        must_decode = 1
        use_new_seek = 0
        paused = 720
#5  0xb7fa0886 in mlt_frame_get_image (self=0x9442b80, buffer=0x8551131c,
    format=0x85511310, width=0x85510ff4, height=0x85510ff8, writable=0)
    at mlt_frame.c:453
        properties = 0x9442b80
        get_image = 0xb0f1a180 <producer_get_image>
        producer = <optimized out>
        requested_format = mlt_image_yuv422
---Type <return> to continue, or q <return> to quit---
        error = 0
#6  0xad9f43b8 in filter_get_image (this=0x9442b80, image=0x8551131c,
    format=0x85511310, width=0x85510ff4, height=0x85510ff8, writable=0)
    at filter_crop.c:76
        error = 0
        properties = 0x9442b80
        left = 0
        right = 0
        top = 0
        bottom = 0
        owidth = <optimized out>
        oheight = <optimized out>
#7  0xb7fa0886 in mlt_frame_get_image (self=0x9442b80, buffer=0x8551131c,
    format=0x85511310, width=0x85510ff4, height=0x85510ff8, writable=0)
    at mlt_frame.c:453
        properties = 0x9442b80
        get_image = 0xad9f42d0 <filter_get_image>
        producer = <optimized out>
        requested_format = mlt_image_yuv422
        error = 0
#8  0xb146606e in filter_get_image (this=0x9442b80, image=0x8551131c,
    format=0x85511310, width=0x85510ff4, height=0x85510ff8, writable=0)
    at filter_deinterlace.c:239
---Type <return> to continue, or q <return> to quit---
        service = <optimized out>
        method_str = <optimized out>
        method = <optimized out>
        frame_method_str = <optimized out>
        error = <optimized out>
        properties = 0x9442b80
        deinterlace = 1
        progressive = <optimized out>
        filter = 0xe5044f0
#9  0xb7fa0886 in mlt_frame_get_image (self=0x9442b80, buffer=0x8551131c,
    format=0x85511310, width=0x85510ff4, height=0x85510ff8, writable=0)
    at mlt_frame.c:453
        properties = 0x9442b80
        get_image = 0xb1465ea0 <filter_get_image>
        producer = <optimized out>
        requested_format = mlt_image_rgb24a
        error = 0
#10 0xad9fa14d in filter_get_image (this=0x9442b80, image=0x8551131c,
    format=0x85511310, width=0x85511100, height=0x85511104, writable=0)
    at filter_rescale.c:215
        interps = <optimized out>
        iwidth = 1280
        iheight = 720
---Type <return> to continue, or q <return> to quit---
        factor = 1
        oheight = 720
        error = 0
        properties = 0x9442b80
        filter = 0xdf5ee78
        filter_properties = 0xdf5ee78
        scaler_method = 0xb0f15cb0 <filter_scale>
#11 0xb7fa0886 in mlt_frame_get_image (self=0x9442b80, buffer=0x8551131c,
    format=0x85511310, width=0x85511100, height=0x85511104, writable=0)
    at mlt_frame.c:453
        properties = 0x9442b80
        get_image = 0xad9f9ed0 <filter_get_image>
        producer = <optimized out>
        requested_format = mlt_image_rgb24a
        error = 0
#12 0xad9fa7ca in filter_get_image (this=0x9442b80, image=0x8551131c,
    format=0x85511310, width=0x85511314, height=0x85511318, writable=0)
    at filter_resize.c:267
        error = 0
        properties = 0x9442b80
        filter = 0xe6a1080
        aspect_ratio = 1.0000000000001599
        consumer_aspect = 1
---Type <return> to continue, or q <return> to quit---
        owidth = 1280
        oheight = 720
        rescale = <optimized out>
#13 0xb7fa0886 in mlt_frame_get_image (self=0x9442b80, buffer=0x8551131c,
    format=0x85511310, width=0x85511314, height=0x85511318, writable=0)
    at mlt_frame.c:453
        properties = 0x9442b80
        get_image = 0xad9fa630 <filter_get_image>
        producer = <optimized out>
        requested_format = mlt_image_rgb24a
        error = 0
#14 0xb7fb461a in producer_get_image (self=0x19929a38, buffer=0x8551131c,
    format=0x85511310, width=0x85511314, height=0x85511318, writable=0)
    at mlt_tractor.c:276
        data = 0x0
        size = 0
        properties = 0x19929a38
        frame = 0x9442b80
        frame_properties = 0x9442b80
#15 0xb7fa0886 in mlt_frame_get_image (self=0x19929a38, buffer=0x8551131c,
    format=0x85511310, width=0x85511314, height=0x85511318, writable=0)
    at mlt_frame.c:453
        properties = 0x19929a38
---Type <return> to continue, or q <return> to quit---
        get_image = 0xb7fb4460 <producer_get_image>
        producer = <optimized out>
        requested_format = mlt_image_rgb24a
        error = 0
#16 0xb14f5e16 in consumer_play_video (frame=0x19929a38, this=0x9012cc8)
    at consumer_sdl_still.c:477
        height = 720
        width = 1280
        unlock = 0
        properties = 0x9012cc8
        lock = <optimized out>
        screen = <optimized out>
        vfmt = mlt_image_yuv422
        image = 0x76b19030 "\202\202\201z\177\203\201z{\202{zx\201wzu\203vxw\204yxv\203wxt\202uxo\203uys\203rzn\203pyn\203ryn\205ozk\206jzc\207_z`\210cz`\211fye\210kxl\207qxm\205qxn\207lvl\210num\210nun\210pup\210ovq\210qwp\210pvp\210uvt\207pxp\207owo\210qwq\210qwq\207rvq\207pul\207owq\210rwo\213owp\214sws\215wws\216vup\214vut\214yt{\213\206t\212\210\223u\224\205\246v\244\202\244x\242\202\241y\237\202\237y\241\177\237y\235\177\240y"...
        changed = <optimized out>
        display_ratio = 1.7777777777777777
#17 consumer_thread (arg=0x9012cc8) at consumer_sdl_still.c:577
        this = 0x9012cc8
---Type <return> to continue, or q <return> to quit---
        consumer = 0x9012cc8
        properties = 0x9012cc8
        frame = 0x19929a38
        preview_off = 0
#18 0xb742cc39 in start_thread (arg=0x85511b70) at pthread_create.c:304
        __res = <optimized out>
        __ignore1 = <optimized out>
        __ignore2 = <optimized out>
        pd = 0x85511b70
        now = <optimized out>
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {-1220292620, 0, 4001536,
                -2058283976, -588905511, -78073411}, mask_was_saved = 0}},
          priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0,
              cleanup = 0x0, canceltype = 0}}}
        not_first_call = <optimized out>
        freesize = <optimized out>
        __PRETTY_FUNCTION__ = "start_thread"
#19 0xb5c9896e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130
No locals.
Backtrace stopped: Not enough registers or memory available to unwind further

Thread 10 (Thread 0xad2c5b70 (LWP 17943)):
#0  0x9198c01c in ?? ()
---Type <return> to continue, or q <return> to quit---
No symbol table info available.
#1  0xb0eeb720 in ?? ()
   from /usr/lib/i386-linux-gnu/i686/cmov/libavformat.so.53
No symbol table info available.

#2  0xb0e7c6a0 in ?? ()
   from /usr/lib/i386-linux-gnu/i686/cmov/libavformat.so.53
No symbol table info available.
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Thread 9 (Thread 0xacac4b70 (LWP 17942)):
#0  __memcpy_ia32 () at ../sysdeps/i386/i686/multiarch/../memcpy.S:100
No locals.

#1  0xb0e1e614 in avio_read (s=0x50dc2f80,
    buf=0x522a90d4 "\230\224", <incomplete sequence \330>,
    size=<optimized out>) at libavformat/aviobuf.c:663
        len = <optimized out>
        size1 = 25768

#2  0xb0ea6d74 in av_get_packet (s=0x50dc2f80, pkt=0xacac3a9c, size=25768)
    at libavformat/utils.c:277
        ret = <optimized out>
#3  0xb0e4bcd2 in mov_read_packet (s=0x50dc29e0, pkt=0xacac3a9c)
    at libavformat/mov.c:2497
        mov = 0x50dc2fe0
---Type <return> to continue, or q <return> to quit---
        sc = 0x512af980
        st = 0x50dae440
        ret = <optimized out>
#4  0xb0ea7b13 in av_read_packet (s=0x50dc29e0, pkt=0xacac3a9c)
    at libavformat/utils.c:738
        pktl = <optimized out>
        ret = <optimized out>
        i = <optimized out>
        st = <optimized out>
#5  0xb0ea8a1e in read_frame_internal (s=0x50dc29e0, pkt=0xacac3d98)
    at libavformat/utils.c:1205
        cur_pkt = {pts = -9223372036854775808, dts = -9223372036854775808,
          data = 0x522a4880 "", size = 25768, stream_index = 0, flags = 0,
          side_data = 0x0, side_data_elems = 0, duration = 0,
          destruct = 0xb0320180 <av_destruct_packet>, priv = 0xffffffff,
          pos = 144161, convergence_duration = 0}
        st = <optimized out>
        len = <optimized out>
        ret = <optimized out>
        i = <optimized out>
        __PRETTY_FUNCTION__ = "read_frame_internal"
#6  0xb0eaab4d in avformat_find_stream_info (ic=0x50dc29e0, options=0x0)
    at libavformat/utils.c:2380
---Type <return> to continue, or q <return> to quit---
        i = <optimized out>
        count = 2
        ret = <optimized out>
        read_size = 111385
        j = <optimized out>
        st = <optimized out>
        pkt1 = {pts = -9223372036854775808, dts = -9223372036854775808,
          data = 0x4e879b60 "! \005 \244\033\377\300", size = 341,
          stream_index = 0, flags = 0, side_data = 0x0, side_data_elems = 0,
          duration = 0, destruct = 0, priv = 0xffffffff, pos = -1,
          convergence_duration = 0}
        pkt = <optimized out>
        old_offset = 32776
        orig_nb_streams = 2
        __PRETTY_FUNCTION__ = "avformat_find_stream_info"
#7  0xb0eac1d7 in av_find_stream_info (ic=0x50dc29e0)
    at libavformat/utils.c:2269
No locals.
#8  0xb0f17b63 in get_basic_info (
    filename=0x520def30 "/media/8ee32396-c6f7-4db2-b497-4a331e891644/ransu/videot/alppireissu_2011/20110304_pragellato/GOPR0049_ladunavausta.MP4",
    profile=0x525acbc8, self=0x512b0860) at producer_avformat.c:689
        error = 0
---Type <return> to continue, or q <return> to quit---
        properties = 0x51eb5e00
        format = 0x50dc29e0
        fps = 30
#9  producer_open (self=0x512b0860, profile=0x525acbc8,
    URL=0x4e87d7b0 "/media/8ee32396-c6f7-4db2-b497-4a331e891644/ransu/videot/alppireissu_2011/20110304_pragellato/GOPR0049_ladunavausta.MP4", take_lock=1)
    at producer_avformat.c:790
        error = <optimized out>
        properties = 0x51eb5e00
        format = 0x51eb5e00
        params = {time_base = {num = 0, den = 0}, sample_rate = 0,
          channels = 0, width = 0, height = 0, pix_fmt = PIX_FMT_YUV420P,
          channel = 0, standard = 0x0, mpeg2ts_raw = 0,
          mpeg2ts_compute_pcr = 0, initial_pause = 0, prealloced_context = 0}
        filename = 0x520def30 "/media/8ee32396-c6f7-4db2-b497-4a331e891644/ransu/videot/alppireissu_2011/20110304_pragellato/GOPR0049_ladunavausta.MP4"
#10 0xb0f18b70 in producer_set_up_video (frame=0x5a5c85e8, self=0x512b0860)
    at producer_avformat.c:1863
        producer = 0x51eb5e00
        context = <optimized out>
        properties = 0x51eb5e00
        index = 0
        frame_properties = <optimized out>
---Type <return> to continue, or q <return> to quit---
#11 producer_get_frame (producer=0x51eb5e00, frame=0xacac4168, index=0)
    at producer_avformat.c:2525
        service = 0x51eb5e00
        cache_item = <optimized out>
        self = 0x512b0860
        position = <optimized out>
#12 0xb7fab70f in producer_get_frame (service=0x51eb5e00, frame=0xacac4168,
    index=0) at mlt_producer.c:584
        properties = 0x51eb5e00
        eof = <optimized out>
        speed = 1
        clone = <optimized out>
        result = 1
        self = 0x51eb5e00
#13 0xb7fa9620 in mlt_service_get_frame (self=0x51eb5e00, frame=0xacac4168,
    index=0) at mlt_service.c:457
        properties = 0x51eb5e00
        in = 0
        out = 402
        position = 0
        result = 0
#14 0xb7f90213 in Mlt::Service::get_frame (this=0xacac41e4, index=0)
    at MltService.cpp:95
---Type <return> to continue, or q <return> to quit---
        frame = 0x5a5c85e8
        result = 0xb7f8db37
#15 0x081bc5ca in KThumb::slotCreateAudioThumbs (this=0xa1b17c0)
    at /home/mcfrisk/src/kdenlive-git/src/kthumb.cpp:425
        mlt_frame = <optimized out>
        z = 0
        producer = {<Mlt::Service> = {<Mlt::Properties> = {
              _vptr.Properties = 0xb7f971f8, instance = 0x0}, instance = 0x0},
          instance = 0x51eb5e00, parent_ = 0x0}
        __PRETTY_FUNCTION__ = "void KThumb::slotCreateAudioThumbs()"
        last_val = 0
        val = 0
        prof = {instance = 0x525acbc8}
#16 0x080e727c in run (this=0x9a760c0)
    at /usr/include/qt4/QtCore/qtconcurrentrunbase.h:120
No locals.
#17 QtConcurrent::RunFunctionTask<void>::run (this=0x9a760c0)
    at /usr/include/qt4/QtCore/qtconcurrentrunbase.h:114
No locals.
#18 0xb7c3c7f1 in QThreadPoolThread::run (this=0x18886a98)
    at concurrent/qthreadpool.cpp:106
        r = 0x9a760c8
        expired = <optimized out>
---Type <return> to continue, or q <return> to quit---
        locker = {val = 411576336}
#19 0xb7c49503 in QThreadPrivate::start (arg=0x18886a98)
    at thread/qthread_unix.cpp:320
        __clframe = {
          __cancel_routine = 0xb7c48400 <QThreadPrivate::finish(void*)>,
          __cancel_arg = 0x18886a98, __do_it = 1,
          __cancel_type = <optimized out>}
        thr = 0x18886a98
        data = 0x18882a98
#20 0xb742cc39 in start_thread (arg=0xacac4b70) at pthread_create.c:304
        __res = <optimized out>
        __ignore1 = <optimized out>
        __ignore2 = <optimized out>
        pd = 0xacac4b70
        now = <optimized out>
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {-1220292620, 0, 4001536,
                -1397996488, 642122634, -78073411}, mask_was_saved = 0}},
          priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0,
              cleanup = 0x0, canceltype = 0}}}
        not_first_call = <optimized out>
        freesize = <optimized out>
        __PRETTY_FUNCTION__ = "start_thread"
#21 0xb5c9896e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130
---Type <return> to continue, or q <return> to quit---
No locals.
Backtrace stopped: Not enough registers or memory available to unwind further

Thread 2 (Thread 0xb4a48b70 (LWP 17921)):
#0  0xb7fe2424 in __kernel_vsyscall ()
No symbol table info available.
#1  0xb5c8af86 in *__GI___poll (fds=0xb5d21ff4, nfds=1, timeout=-1)
    at ../sysdeps/unix/sysv/linux/poll.c:87
        resultvar = <optimized out>
        oldtype = 0
        result = <optimized out>
#2  0xb59dbf5b in g_poll () from /lib/libglib-2.0.so.0
No symbol table info available.
#3  0xb59cb96f in ?? () from /lib/libglib-2.0.so.0
No symbol table info available.
#4  0xb59cc0f3 in g_main_loop_run () from /lib/libglib-2.0.so.0
No symbol table info available.
#5  0xb4b81274 in ?? () from /usr/lib/libgio-2.0.so.0
No symbol table info available.
#6  0xb59f4b6f in ?? () from /lib/libglib-2.0.so.0
No symbol table info available.
#7  0xb742cc39 in start_thread (arg=0xb4a48b70) at pthread_create.c:304
        __res = <optimized out>
---Type <return> to continue, or q <return> to quit---
        __ignore1 = <optimized out>
        __ignore2 = <optimized out>
        pd = 0xb4a48b70
        now = <optimized out>
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {-1220292620, 0, 4001536,
                -1264286664, 935723962, -78073411}, mask_was_saved = 0}},
          priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0,
              cleanup = 0x0, canceltype = 0}}}
        not_first_call = <optimized out>
        freesize = <optimized out>
        __PRETTY_FUNCTION__ = "start_thread"
#8  0xb5c9896e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130
No locals.
Backtrace stopped: Not enough registers or memory available to unwind further

Thread 1 (Thread 0xb4ddf940 (LWP 17918)):
#0  0xb7fe2424 in __kernel_vsyscall ()
No symbol table info available.
#1  0xb5c8af86 in *__GI___poll (fds=0xb5d21ff4, nfds=12, timeout=285)
    at ../sysdeps/unix/sysv/linux/poll.c:87
        resultvar = <optimized out>
        oldtype = 0
        result = <optimized out>
---Type <return> to continue, or q <return> to quit---
#2  0xb59dbf5b in g_poll () from /lib/libglib-2.0.so.0
No symbol table info available.
#3  0xb59cb96f in ?? () from /lib/libglib-2.0.so.0
No symbol table info available.
#4  0xb59cbce4 in g_main_context_iteration () from /lib/libglib-2.0.so.0
No symbol table info available.
#5  0xb7d722f7 in QEventDispatcherGlib::processEvents (this=0x841b400,
    flags=...) at kernel/qeventdispatcher_glib.cpp:422
        d = 0x843a470
        canWait = true
        savedFlags = {i = 0}
        result = <optimized out>
#6  0xb60cb6fa in QGuiEventDispatcherGlib::processEvents (this=0x841b400,
    flags=...) at kernel/qguieventdispatcher_glib.cpp:204
        d = 0x8436d80
        saved_flags = {i = 0}
        returnValue = 252
#7  0xb7d430ed in QEventLoop::processEvents (this=0xbfffecd4, flags=...)
    at kernel/qeventloop.cpp:149
        d = 0x8434e30
#8  0xb7d43331 in QEventLoop::exec (this=0xbfffecd4, flags=...)
    at kernel/qeventloop.cpp:201
        d = 0x8434e30
---Type <return> to continue, or q <return> to quit---
        app = 0xbfffec8c
#9  0xb7d47a8a in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008
        threadData = 0x841a6f0
        eventLoop = {<QObject> = {_vptr.QObject = 0xb7e7a608,
            static staticMetaObject = {d = {superdata = 0x0,
                stringdata = 0xb7e060a0 "QObject", data = 0xb7e06140,
                extradata = 0xb7e75560}}, d_ptr = {d = 0x8434e30},
            static staticQtMetaObject = {d = {superdata = 0x0,
                stringdata = 0xb7e0ec80 "Qt", data = 0xb7e12500,
                extradata = 0x0}}}, static staticMetaObject = {d = {
              superdata = 0x8419440, stringdata = 0xb7e18400 "QEventLoop",
              data = 0xb7e18420, extradata = 0x0}}}
        returnCode = <optimized out>
#10 0xb6014624 in QApplication::exec () at kernel/qapplication.cpp:3741
No locals.
#11 0x0808976d in main (argc=Cannot access memory at address 0xc
)
    at /home/mcfrisk/src/kdenlive-git/src/main.cpp:89
        aboutData = {d = 0x8421628}
        app = <incomplete type>
        window = <optimized out>
        __PRETTY_FUNCTION__ = "int main(int, char**)"
        options = {d = 0x8434b70}
        result = <optimized out>
(gdb)




More information about the Kdenlive mailing list