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

Mikko Rapeli mikko.rapeli at iki.fi
Fri Oct 28 05:51:46 UTC 2011


Loading an older project with latest mlt and kdenlive I get:

Starting program: /usr/bin/kdenlive /home/mcfrisk/video/20110116_syöte_putskua/freeride_tiiseri_2011_03.kdenlive
[Thread debugging using libthread_db enabled]
[New Thread 0xb4a48b70 (LWP 18669)]
project monitor connected
clip monitor connected
QWidget::insertAction: Attempt to insert null action
QWidget::insertAction: Attempt to insert null action
[New Thread 0xad2c5b70 (LWP 18704)]
[New Thread 0xacac4b70 (LWP 18705)]
[New Thread 0xab8fdb70 (LWP 18706)]
QDBusObjectPath: invalid path ""
[New Thread 0xa6876b70 (LWP 18716)]
[New Thread 0xa6075b70 (LWP 18717)]
[Thread 0xad2c5b70 (LWP 18704) exited]
[Thread 0xacac4b70 (LWP 18705) exited]
[Thread 0xa6876b70 (LWP 18716) exited]
[Thread 0xa6075b70 (LWP 18717) exited]
[New Thread 0xa6075b70 (LWP 18718)]
[New Thread 0xa6876b70 (LWP 18719)]
[New Thread 0xacac4b70 (LWP 18720)]
[New Thread 0xad2c5b70 (LWP 18721)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xacac4b70 (LWP 18720)]
0xad9f314c in filter_get_audio (frame=0x8546f60, buffer=0xacac417c,
    format=0xacac4274, frequency=0x95e7250, channels=0x95e7254,
    samples=0xacac4270) at filter_audiochannels.c:87
87                                              new_buffer[ ( i * *channels ) + j ]     = ((int16_t*)(*buffer))[ ( i * channels_avail ) + j ];
(gdb) thread apply all bt full

Thread 11 (Thread 0xad2c5b70 (LWP 18721)):
#0  ff_put_h264_chroma_mc8_mmx_rnd.next2drow ()
    at libavcodec/x86/h264_chromamc.asm:429
No locals.
#1  0x002a002a in ?? ()
No symbol table info available.
#2  0x002a002a in ?? ()
No symbol table info available.
#3  0x00020002 in ?? ()
No symbol table info available.
#4  0x00020002 in ?? ()
No symbol table info available.
#5  0x0e1d0e31 in ?? ()
No symbol table info available.
#6  0x00000118 in ?? ()
No symbol table info available.
#7  0x00000008 in ?? ()
No symbol table info available.
#8  0x0c2b4c41 in ?? ()
No symbol table info available.
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

---Type <return> to continue, or q <return> to quit---
Thread 10 (Thread 0xacac4b70 (LWP 18720)):
#0  0xad9f314c in filter_get_audio (frame=0x8546f60, buffer=0xacac417c,
    format=0xacac4274, frequency=0x95e7250, channels=0x95e7254,
    samples=0xacac4270) at filter_audiochannels.c:87
        i = <optimized out>
        j = <optimized out>
        size = 35596
        new_buffer = 0xa47bdb50
        channels_avail = 1953853535
        error = 0
#1  0xb7fa0fbf in mlt_frame_get_audio (self=0x8546f60, buffer=0xacac417c,
    format=0xacac4274, frequency=0x95e7250, channels=0x95e7254,
    samples=0xacac4270) at mlt_frame.c:668
        get_audio = <optimized out>
        properties = 0x8546f60
        hide = <optimized out>
        requested_format = mlt_audio_pcm
#2  0xaea6cda9 in resample_get_audio (frame=0x8546f60, buffer=0xacac417c,
    format=0xacac4274, frequency=0x95e7250, channels=0x95e7254,
    samples=0xacac4270) at filter_resample.c:54
        filter = 0x8ee9d70
        filter_properties = 0x8ee9d70
        output_rate = 48000
---Type <return> to continue, or q <return> to quit---
        error = 15
#3  0xb7fa0fbf in mlt_frame_get_audio (self=0x8546f60, buffer=0xacac417c,
    format=0xacac4274, frequency=0x95e7250, channels=0x95e7254,
    samples=0xacac4270) at mlt_frame.c:668
        get_audio = <optimized out>
        properties = 0x8546f60
        hide = <optimized out>
        requested_format = mlt_audio_pcm
#4  0xb0ef17ba in filter_get_audio (frame=0x8546f60, buffer=0xacac417c,
    format=0xacac4274, frequency=0x95e7250, channels=0x95e7254,
    samples=0xacac4270) at filter_volume.c:192
        filter_props = 0x97ada18
        instance_props = 0x93d5a00
        gain = 1
        max_gain = 10
        limiter_level = <optimized out>
        normalise = 1
        amplitude = 0.25118864315095801
        i = <optimized out>
        j = <optimized out>
        sample = <optimized out>
        peak = 0
        last_position = <optimized out>
---Type <return> to continue, or q <return> to quit---
        current_position = <optimized out>
        previous_gain = <optimized out>
        gain_step = <optimized out>
        p = <optimized out>
#5  0xb7fa0fbf in mlt_frame_get_audio (self=0x8546f60, buffer=0xacac417c,
    format=0xacac4274, frequency=0x95e7250, channels=0x95e7254,
    samples=0xacac4270) at mlt_frame.c:668
        get_audio = <optimized out>
        properties = 0x8546f60
        hide = <optimized out>
        requested_format = mlt_audio_pcm
#6  0xb7f8acde in Mlt::Frame::get_audio (this=0x96a8a50, format=@0xacac4274,
    frequency=@0x95e7250, channels=@0x95e7254, samples=@0xacac4270)
    at MltFrame.cpp:79
        audio = 0xa4dc4660
#7  0x081bf259 in KThumb::slotCreateAudioThumbs (this=0x95e71e8)
    at /home/mcfrisk/src/kdenlive-git/src/kthumb.cpp:438
        m_framesPerSecond = <optimized out>
        m_samples = 8899
        m_audioFormat = mlt_audio_pcm
        m_pcm = <optimized out>
        mlt_frame = 0x96a8a50
        z = 0
---Type <return> to continue, or q <return> to quit---
        producer = {<Mlt::Service> = {<Mlt::Properties> = {
              _vptr.Properties = 0xb7f971f8, instance = 0x0}, instance = 0x0},
          instance = 0xb658d50, parent_ = 0x0}
        __PRETTY_FUNCTION__ = "void KThumb::slotCreateAudioThumbs()"
        last_val = 0
        val = 0
        prof = {instance = 0x97fe7e0}
#8  0x080e8aac in run (this=0x982cb48)
    at /usr/include/qt4/QtCore/qtconcurrentrunbase.h:120
No locals.
#9  QtConcurrent::RunFunctionTask<void>::run (this=0x982cb48)
    at /usr/include/qt4/QtCore/qtconcurrentrunbase.h:114
No locals.
#10 0xb7c3c7f1 in QThreadPoolThread::run (this=0x9587a50)
    at concurrent/qthreadpool.cpp:106
        r = 0x982cb50
        expired = <optimized out>
        locker = {val = 156984728}
#11 0xb7c49503 in QThreadPrivate::start (arg=0x9587a50)
    at thread/qthread_unix.cpp:320
        __clframe = {
          __cancel_routine = 0xb7c48400 <QThreadPrivate::finish(void*)>,
          __cancel_arg = 0x9587a50, __do_it = 1,
---Type <return> to continue, or q <return> to quit---
          __cancel_type = <optimized out>}
        thr = 0x9587a50
        data = 0x9732908
#12 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, -571300810, 15472129}, 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"
#13 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 9 (Thread 0xa6876b70 (LWP 18719)):
#0  0xb7fe2424 in __kernel_vsyscall ()
No symbol table info available.
---Type <return> to continue, or q <return> to quit---
#1  0xb743120a in __pthread_cond_wait (cond=0x8f567f0, mutex=0x8f56820)
    at pthread_cond_wait.c:153
        __status = -512
        _val = 25
        futex_val = <optimized out>
        buffer = {__routine = 0xb74313a0 <__condvar_cleanup>,
          __arg = 0xa687629c, __canceltype = 0, __prev = 0x0}
        cbuffer = {oldtype = 0, cond = 0x8f567f0, mutex = 0x8f56820,
          bc_seq = 12}
        err = <optimized out>
        pshared = 0
        val = <optimized out>
        seq = 12
#2  0xb14f3202 in consumer_thread (arg=0x8f56678) at consumer_sdl_preview.c:449
        speed = 0
        refresh = <optimized out>
        this = 0x8f56678
        consumer = 0x8f56678
        properties = 0x8f56678
        frame = <optimized out>
        last_position = -1
        eos = 0
        eos_threshold = 45
---Type <return> to continue, or q <return> to quit---
        preview_off = 0
#3  0xb742cc39 in start_thread (arg=0xa6876b70) at pthread_create.c:304
        __res = <optimized out>
        __ignore1 = <optimized out>
        __ignore2 = <optimized out>
        pd = 0xa6876b70
        now = <optimized out>
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {-1220292620, 0, 4001536,
                -1501076424, -1951226846, 15472129}, 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"
#4  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 8 (Thread 0xa6075b70 (LWP 18718)):
#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.---Type <return> to continue, or q <return> to quit---
S:236
No locals.
#2  0xb7fb081f in mlt_consumer_get_frame (self=0x9015c88) at mlt_consumer.c:536
        now = {tv_sec = 1319780832, tv_usec = 171963}
        tm = {tv_sec = 1319780833, tv_nsec = 171963000}
        frame = 0x0
        service = 0x9015c88
        properties = 0x9015c88
#3  0xb7fb1201 in mlt_consumer_rt_frame (self=0x9015c88) at mlt_consumer.c:1329
        frame = 0x0
        properties = 0x9015c88
#4  0xb14f3b1e in consumer_thread (arg=0x9015c88) at consumer_sdl_still.c:570
        this = 0x9015c88
        consumer = 0x9015c88
        properties = 0x9015c88
        frame = <optimized out>
        preview_off = 0
#5  0xb742cc39 in start_thread (arg=0xa6075b70) at pthread_create.c:304
        __res = <optimized out>
        __ignore1 = <optimized out>
        __ignore2 = <optimized out>
        pd = 0xa6075b70
        now = <optimized out>
---Type <return> to continue, or q <return> to quit---
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {-1220292620, 0, 4001536,
                -1509469128, -1949129693, 15472129}, 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"
#6  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 5 (Thread 0xab8fdb70 (LWP 18706)):
#0  0xb7fe2424 in __kernel_vsyscall ()
No symbol table info available.
#1  0xb743120a in __pthread_cond_wait (cond=0xb741b730, mutex=0xb741b718)
    at pthread_cond_wait.c:153
        __status = -512
        _val = 1
        futex_val = <optimized out>
        buffer = {__routine = 0xb74313a0 <__condvar_cleanup>,
          __arg = 0xab8fd29c, __canceltype = -1207999088, __prev = 0x0}
        cbuffer = {oldtype = 0, cond = 0xb741b730, mutex = 0xb741b718,
          bc_seq = 0}
---Type <return> to continue, or q <return> to quit---
        err = <optimized out>
        pshared = 0
        val = <optimized out>
        seq = 0
#2  0xb7316cc9 in ?? () from /usr/lib/libQtScript.so.4
No symbol table info available.
#3  0xb7316d0f in ?? () from /usr/lib/libQtScript.so.4
No symbol table info available.
#4  0xb742cc39 in start_thread (arg=0xab8fdb70) at pthread_create.c:304
        __res = <optimized out>
        __ignore1 = <optimized out>
        __ignore2 = <optimized out>
        pd = 0xab8fdb70
        now = <optimized out>
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {-1220292620, 0, 4001536,
                -1416637384, -1697471432, 15472129}, 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.
---Type <return> to continue, or q <return> to quit---
Backtrace stopped: Not enough registers or memory available to unwind further

Thread 2 (Thread 0xb4a48b70 (LWP 18669)):
#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>
        __ignore1 = <optimized out>
---Type <return> to continue, or q <return> to quit---
        __ignore2 = <optimized out>
        pd = 0xb4a48b70
        now = <optimized out>
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {-1220292620, 0, 4001536,
                -1264286664, -864902138, 15472129}, 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 18665)):
#0  0xb7fe2424 in __kernel_vsyscall ()
No symbol table info available.
#1  0xb5c8af86 in *__GI___poll (fds=0xb5d21ff4, nfds=12, timeout=93)
    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
---Type <return> to continue, or q <return> to quit---
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=0x841f400,
    flags=...) at kernel/qeventdispatcher_glib.cpp:422
        d = 0x843e470
        canWait = true
        savedFlags = {i = 0}
        result = <optimized out>
#6  0xb60cb6fa in QGuiEventDispatcherGlib::processEvents (this=0x841f400,
    flags=...) at kernel/qguieventdispatcher_glib.cpp:204
        d = 0x843ad68
        saved_flags = {i = 0}
        returnValue = 252
#7  0xb7d430ed in QEventLoop::processEvents (this=0xbfffece4, flags=...)
    at kernel/qeventloop.cpp:149
        d = 0x8438e30
#8  0xb7d43331 in QEventLoop::exec (this=0xbfffece4, flags=...)
    at kernel/qeventloop.cpp:201
        d = 0x8438e30
        app = 0xbfffec9c
---Type <return> to continue, or q <return> to quit---
#9  0xb7d47a8a in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008
        threadData = 0x841e6f0
        eventLoop = {<QObject> = {_vptr.QObject = 0xb7e7a608,
            static staticMetaObject = {d = {superdata = 0x0,
                stringdata = 0xb7e060a0 "QObject", data = 0xb7e06140,
                extradata = 0xb7e75560}}, d_ptr = {d = 0x8438e30},
            static staticQtMetaObject = {d = {superdata = 0x0,
                stringdata = 0xb7e0ec80 "Qt", data = 0xb7e12500,
                extradata = 0x0}}}, static staticMetaObject = {d = {
              superdata = 0x841d460, stringdata = 0xb7e18400 "QEventLoop",
              data = 0xb7e18420, extradata = 0x0}}}
        returnCode = <optimized out>
#10 0xb6014624 in QApplication::exec () at kernel/qapplication.cpp:3741
No locals.
#11 0x08089afd in main (argc=Cannot access memory at address 0xc
)
    at /home/mcfrisk/src/kdenlive-git/src/main.cpp:89
        aboutData = {d = 0x8425628}
        app = <incomplete type>
        window = <optimized out>
        __PRETTY_FUNCTION__ = "int main(int, char**)"
        options = {d = 0x8438b70}
        result = <optimized out>
(




More information about the Kdenlive mailing list