[Kdenlive-devel] settings dialog crashes and corrupt project?
Mikko Rapeli
mikko.rapeli at iki.fi
Wed Jun 20 23:01:05 UTC 2012
ffmpeg, mlt and kdenlive from latest master branch on uptodate Debian unstable,
starting new project but get this crash from settings dialog.
Is there some transition or merge going on and is there some other more
stable development base?
I have some time now and could try to fix a few of krazy's warnings:
http://www.englishbreakfastnetwork.org/krazy/reports/extragear/multimedia/kdenlive/index.html
$ gdb `which kdenlive`
GNU gdb (GDB) 7.4.1-debian
Copyright (C) 2012 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 "i486-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/bin/kdenlive...done.
(gdb) r
Starting program: /usr/bin/kdenlive
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/i386-linux-gnu/i686/cmov/libthread_db.so.1".
QWidget::insertAction: Attempt to insert null action
QWidget::insertAction: Attempt to insert null action
kdenlive(1736) Render::checkMaxThreads: // TRACTOR PROBLEM
Object::connect: No such slot KdenliveSettingsDialog::slotCheckShuttle(int)
Object::connect: (sender name: 'kcfg_enableshuttle')
Object::connect: (receiver name: 'settings')
Object::connect: No such slot KdenliveSettingsDialog::slotUpdateShuttleDevice(int)
Object::connect: (sender name: 'shuttledevicelist')
Object::connect: (receiver name: 'settings')
Object::connect: No such slot KdenliveSettingsDialog::slotUpdateShuttleDevice()
Object::connect: (receiver name: 'settings')
[New Thread 0xad319b70 (LWP 1741)]
[New Thread 0xac67bb70 (LWP 1744)]
[New Thread 0xabe7ab70 (LWP 1745)]
kdenlive(1736)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:
Program received signal SIGSEGV, Segmentation fault.
KdenliveDoc::getTracksCount (this=0x0)
at /home/mcfrisk/src/kdenlive-git/src/kdenlivedoc.cpp:1390
1390 foreach(const TrackInfo & info, m_tracksList) {
(gdb) thread apply all bt full
Thread 4 (Thread 0xabe7ab70 (LWP 1745)):
#0 0xb7fe1424 in __kernel_vsyscall ()
No symbol table info available.
#1 0xb645c20a in __pthread_cond_wait (cond=0x8a97090, mutex=0x8a970c0)
at pthread_cond_wait.c:153
__status = -512
_val = 5
futex_val = <optimized out>
buffer = {__routine = 0xb645c3a0 <__condvar_cleanup>,
__arg = 0xabe7a29c, __canceltype = 0, __prev = 0x0}
cbuffer = {oldtype = 0, cond = 0x8a97090, mutex = 0x8a970c0,
bc_seq = 2}
err = <optimized out>
pshared = 0
val = <optimized out>
seq = 2
#2 0xb18c9399 in consumer_thread (arg=0x8a96f18) at consumer_sdl_preview.c:449
speed = 0
refresh = <optimized out>
this = 0x8a96f18
consumer = 0x8a96f18
properties = 0x8a96f18
---Type <return> to continue, or q <return> to quit---
frame = <optimized out>
last_position = -1
eos = 0
eos_threshold = 45
preview_off = 0
#3 0xb6457c39 in start_thread (arg=0xabe7ab70) at pthread_create.c:304
__res = <optimized out>
__ignore1 = <optimized out>
__ignore2 = <optimized out>
pd = 0xabe7ab70
now = <optimized out>
unwind_buf = {cancel_jmp_buf = {{jmp_buf = {-1236893708, 0, 4001536,
-1410882504, 1515597819, 535338432}, 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 0xb5a1a27e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130
No locals.
Thread 3 (Thread 0xac67bb70 (LWP 1744)):
#0 0xb7fe1424 in __kernel_vsyscall ()
---Type <return> to continue, or q <return> to quit---
No symbol table info available.
#1 0xb645c703 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 0xb64a7e27 in mlt_consumer_get_frame (self=self at entry=0x8aaa028)
at mlt_consumer.c:554
now = {tv_sec = 1340232233, tv_usec = 292730}
tm = {tv_sec = 1340232234, tv_nsec = 292730000}
frame = 0x0
service = 0x8aaa028
properties = 0x8aaa028
#3 0xb64a88e1 in mlt_consumer_rt_frame (self=self at entry=0x8aaa028)
at mlt_consumer.c:1359
frame = 0x0
properties = 0x8aaa028
#4 0xb18c9cee in consumer_thread (arg=0x8aaa028) at consumer_sdl_still.c:570
this = 0x8aaa028
consumer = 0x8aaa028
properties = 0x8aaa028
frame = <optimized out>
preview_off = 0
#5 0xb6457c39 in start_thread (arg=0xac67bb70) at pthread_create.c:304
---Type <return> to continue, or q <return> to quit---
__res = <optimized out>
__ignore1 = <optimized out>
__ignore2 = <optimized out>
pd = 0xac67bb70
now = <optimized out>
unwind_buf = {cancel_jmp_buf = {{jmp_buf = {-1236893708, 0, 4001536,
-1402489800, 1517694964, 535338432}, 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 0xb5a1a27e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130
No locals.
Thread 2 (Thread 0xad319b70 (LWP 1741)):
#0 0xb7fe1424 in __kernel_vsyscall ()
No symbol table info available.
#1 0xb5a13571 in select () at ../sysdeps/unix/syscall-template.S:82
No locals.
#2 0xb6614ce1 in ?? () from /usr/lib/i386-linux-gnu/libQtCore.so.4
No symbol table info available.
#3 0xb6526ef0 in ?? () from /usr/lib/i386-linux-gnu/libQtCore.so.4
---Type <return> to continue, or q <return> to quit---
No symbol table info available.
#4 0xb6457c39 in start_thread (arg=0xad319b70) at pthread_create.c:304
__res = <optimized out>
__ignore1 = <optimized out>
__ignore2 = <optimized out>
pd = 0xad319b70
now = <optimized out>
unwind_buf = {cancel_jmp_buf = {{jmp_buf = {-1236893708, 0, 4001536,
-1389259720, -164220938, 535338432}, 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 0xb5a1a27e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130
No locals.
Thread 1 (Thread 0xb4cb6950 (LWP 1736)):
#0 KdenliveDoc::getTracksCount (this=0x0)
at /home/mcfrisk/src/kdenlive-git/src/kdenlivedoc.cpp:1390
_container_ = {c = {{p = {static shared_null = {ref = {
_q_value = 8345}, alloc = 0, begin = 0, end = 0,
sharable = 1, array = {0x0}}, d = 0x0}, d = 0x0}}, brk = 5,
---Type <return> to continue, or q <return> to quit---
i = {i = 0x0}, e = {i = 0x1}}
audio = 0
video = 0
#1 0x08123b74 in MainWindow::slotEditProjectSettings (this=0x85f5ed8)
at /home/mcfrisk/src/kdenlive-git/src/mainwindow.cpp:2301
p = {xp = -1221333004, yp = 146856316}
w = <optimized out>
#2 0xbfffde78 in ?? ()
No symbol table info available.
(gdb) up
#1 0x08123b74 in MainWindow::slotEditProjectSettings (this=0x85f5ed8)
at /home/mcfrisk/src/kdenlive-git/src/mainwindow.cpp:2301
2301 QPoint p = m_activeDocument->getTracksCount();
(gdb) p m_activeDocument
$1 = (KdenliveDoc *) 0x0
Also tried an old project from few months back but project loading stops at
75% with "Project is corrupt" error, and then even the 75% of the project
disappears. Project file is here is anyone can spot where/how it's corrupt,
or not:
http://mcfrisk.kapsi.fi/temp/stubai_putskua_01.kdenlive
-Mikko
More information about the Kdenlive
mailing list