Kdenlive   bug tracker Home page

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0002363KdenliveFile Loadingpublic2011-10-27 11:032011-12-08 22:51
Reporterrbckman 
Assigned Toj-b-m 
PrioritynormalSeveritymajorReproducibilityalways
StatusclosedResolutionfixed 
Platform32 bit intel and alikeOSUbuntuOS Version10.04
Product VersionRecent git 
Target Version0.8.2.1Fixed in Version0.8.2.1 
Summary0002363: Crash when trying to save project as a new file using "save as"
DescriptionApplication: kdenlive (0.8.1)
KDE Platform Version: 4.4.5 (KDE 4.4.5)
Qt Version: 4.6.2
Operating System: Linux 2.6.32-34-generic i686
Distribution: Ubuntu 10.04.3 LTS

-- Information about the crash:

Loading up a project from an earlier SVN revision and trying to "save as"

The crash can be reproduced every time.

 -- Backtrace:
Application: Kdenlive (kdenlive), signal: Segmentation fault
[Current thread is 1 (Thread 0xb77f5720 (LWP 7527))]

Thread 5 (Thread 0xb398eb70 (LWP 7531)):
#0 0x00d7c422 in __kernel_vsyscall ()
#1 0x0018f015 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
0000002 0x01129c97 in QTWTF::TCMalloc_PageHeap::scavengerThread (this=0x12031a0) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2304
0000003 0x01129ce1 in QTWTF::TCMalloc_PageHeap::runScavengerThread (context=0x12031a0) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1438
0000004 0x0018a96e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
0000005 0x012d6a4e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 4 (Thread 0xad22eb70 (LWP 7534)):
#0 0x00d7c422 in __kernel_vsyscall ()
#1 0x0018f342 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
0000002 0x0031f20f in QWaitConditionPrivate::wait (this=0xe27a9b4, mutex=0xe27a9b0, time=30000) at thread/qwaitcondition_unix.cpp:85
0000003 QWaitCondition::wait (this=0xe27a9b4, mutex=0xe27a9b0, time=30000) at thread/qwaitcondition_unix.cpp:159
0000004 0x003132eb in QThreadPoolThread::run (this=0xe176d48) at concurrent/qthreadpool.cpp:140
0000005 0x0031e32e in QThreadPrivate::start (arg=0xe176d48) at thread/qthread_unix.cpp:248
0000006 0x0018a96e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
0000007 0x012d6a4e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 3 (Thread 0xb4cffb70 (LWP 7539)):
#0 0x00d7c422 in __kernel_vsyscall ()
#1 0x0018f342 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
0000002 0x00f96c5e in mlt_consumer_get_frame () from /usr/lib/libmlt.so.4
0000003 0x00f980e1 in mlt_consumer_rt_frame () from /usr/lib/libmlt.so.4
0000004 0x060f5ea0 in ?? () from /usr/lib/mlt/libmltsdl.so
0000005 0x0018a96e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
0000006 0x012d6a4e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 2 (Thread 0xb5500b70 (LWP 7540)):
#0 0x00d7c422 in __kernel_vsyscall ()
#1 0x0018f015 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
0000002 0x060f5718 in ?? () from /usr/lib/mlt/libmltsdl.so
0000003 0x0018a96e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
0000004 0x012d6a4e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 1 (Thread 0xb77f5720 (LWP 7527)):
[KCrash Handler]
0000006 0x00b73183 in KBookmarkManager::internalDocument (this=0xad2c968) at ../../kio/bookmarks/kbookmarkmanager.cc:335
0000007 0x00b731ef in KBookmarkManager::root (this=0xad2c968) at ../../kio/bookmarks/kbookmarkmanager.cc:465
0000008 0x00b732ce in KBookmarkMap::update (this=0xa3482c8) at ../../kio/bookmarks/kbookmarkmanager.cc:101
0000009 0x00b72559 in KBookmarkManager::parse (this=0xe9bcac0) at ../../kio/bookmarks/kbookmarkmanager.cc:394
0000010 0x00b73191 in KBookmarkManager::internalDocument (this=0xe9bcac0) at ../../kio/bookmarks/kbookmarkmanager.cc:337
0000011 0x00b731ef in KBookmarkManager::root (this=0xe9bcac0) at ../../kio/bookmarks/kbookmarkmanager.cc:465
0000012 0x03d75bb7 in KFilePlacesModel (this=0xe9bf5d8, parent=0xe9bee48) at ../../kfile/kfileplacesmodel.cpp:99
0000013 0x03d67016 in KFileWidget (this=0xe9bee48, _startDir=..., parent=0xbf94dad0) at ../../kfile/kfilewidget.cpp:338
0000014 0x01ebf81b in KFileModule::createFileWidget (this=0xe9bcf78, startDir=..., parent=0xbf94dad0) at ../../kfile/kfilemodule.cpp:37
0000015 0x00b9c372 in KFileDialog (this=0xbf94dad0, startDir=..., filter=..., parent=0x0, customWidget=0x0) at ../../kio/kfile/kfiledialog.cpp:269
0000016 0x00b9eb1f in KFileDialogPrivate::getSaveFileName (dir=..., filter=..., parent=0x0, caption=..., options=..., selectedFilter=0x0) at ../../kio/kfile/kfiledialog.cpp:754
0000017 0x00b9f374 in KFileDialog::getSaveFileName (dir=..., filter=..., parent=0x0, caption=...) at ../../kio/kfile/kfiledialog.cpp:710
0000018 0x080a1144 in MainWindow::saveFileAs (this=0x99e97a0) at /build/buildd/kdenlive-0.8.1+svn20111025.r5992/src/mainwindow.cpp:1925
0000019 0x080c8169 in MainWindow::qt_metacall (this=0x99e97a0, _c=QMetaObject::InvokeMetaMethod, _id=181586280, _a=0xbf94de28)
    at /build/buildd/kdenlive-0.8.1+svn20111025.r5992/obj-i486-linux-gnu/src/cmake_bindir/mainwindow.moc:401
0000020 0x00425c9a in QMetaObject::metacall (object=0x99e97a0, cl=183968424, idx=60, argv=0xbf94de28) at kernel/qmetaobject.cpp:237
0000021 0x004343d5 in QMetaObject::activate (sender=0xa184dd8, m=0x8454500, local_signal_index=1, argv=0xbf94de28) at kernel/qobject.cpp:3293
0000022 0x020bebd9 in QAction::triggered (this=0xa184dd8, _t1=false) at .moc/release-shared/moc_qaction.cpp:263
0000023 0x020c0dcc in QAction::activate (this=0xa184dd8, event=QAction::Trigger) at kernel/qaction.cpp:1255
0000024 0x0256460c in QMenuPrivate::activateCausedStack (this=0xac79f30, causedStack=..., action=0xa184dd8, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:1011
0000025 0x0256aabb in QMenuPrivate::activateAction (this=0xac79f30, action=0xa184dd8, action_e=QAction::Trigger, self=<value optimized out>) at widgets/qmenu.cpp:1103
0000026 0x0256bac7 in QMenu::mouseReleaseEvent (this=0x9f80180, e=0xbf94e6c0) at widgets/qmenu.cpp:2312
0000027 0x008d9745 in KMenu::mouseReleaseEvent (this=0x9f80180, e=0xbf94e6c0) at ../../kdeui/widgets/kmenu.cpp:471
0000028 0x021237f8 in QWidget::event (this=0x9f80180, event=0xbf94e6c0) at kernel/qwidget.cpp:7998
0000029 0x0256d0cc in QMenu::event (this=0x9f80180, e=0xbf94e6c0) at widgets/qmenu.cpp:2414
0000030 0x020c54dc in QApplicationPrivate::notify_helper (this=0x989ae98, receiver=0x9f80180, e=0xbf94e6c0) at kernel/qapplication.cpp:4300
0000031 0x020cc9f7 in QApplication::notify (this=0xbf94ef74, receiver=0x9f80180, e=0xbf94e6c0) at kernel/qapplication.cpp:3865
0000032 0x007e340a in KApplication::notify (this=0xbf94ef74, receiver=0x9f80180, event=0xbf94e6c0) at ../../kdeui/kernel/kapplication.cpp:302
0000033 0x00420a3b in QCoreApplication::notifyInternal (this=0xbf94ef74, receiver=0x9f80180, event=0xbf94e6c0) at kernel/qcoreapplication.cpp:704
0000034 0x020cb952 in QCoreApplication::sendEvent (receiver=0x9f80180, event=0xbf94e6c0, alienWidget=0x0, nativeWidget=0x9f80180, buttonDown=0x2a09058, lastMouseReceiver=..., spontaneous=true)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
0000035 QApplicationPrivate::sendMouseEvent (receiver=0x9f80180, event=0xbf94e6c0, alienWidget=0x0, nativeWidget=0x9f80180, buttonDown=0x2a09058, lastMouseReceiver=..., spontaneous=true)
    at kernel/qapplication.cpp:2965
0000036 0x021575cf in QETWidget::translateMouseEvent (this=0x9f80180, event=0xbf94ebdc) at kernel/qapplication_x11.cpp:4302
0000037 0x02156511 in QApplication::x11ProcessEvent (this=0xbf94ef74, event=0xbf94ebdc) at kernel/qapplication_x11.cpp:3379
0000038 0x0218560a in x11EventSourceDispatch (s=0x989e0e8, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
0000039 0x063b65e5 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
0000040 0x063ba2d8 in ?? () from /lib/libglib-2.0.so.0
0000041 0x063ba4b8 in g_main_context_iteration () from /lib/libglib-2.0.so.0
0000042 0x0044c5d5 in QEventDispatcherGlib::processEvents (this=0x9885170, flags=...) at kernel/qeventdispatcher_glib.cpp:412
0000043 0x02185135 in QGuiEventDispatcherGlib::processEvents (this=0x9885170, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
0000044 0x0041f059 in QEventLoop::processEvents (this=0xbf94eed4, flags=) at kernel/qeventloop.cpp:149
0000045 0x0041f4aa in QEventLoop::exec (this=0xbf94eed4, flags=...) at kernel/qeventloop.cpp:201
0000046 0x0042369f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
0000047 0x020c5577 in QApplication::exec () at kernel/qapplication.cpp:3579
0000048 0x0809627d in main (argc=6, argv=0xbf94f1a4) at /build/buildd/kdenlive-0.8.1+svn20111025.r5992/src/main.cpp:89

Report to http://kdenlive.org/mantis [^]
Steps To Reproduce- Loading up a project file made with an earlier SVN revision of 0.8.1
- clicking on "save as"
- CRASH
Additional Information- Using proxy clips
- Putting up the project file below
TagsNo tags attached.
Build/Install Method(select)
Attached Files? file icon musicvideo7.kdenlive [^] (124,574 bytes) 2011-10-27 11:03
xml file icon bookmarks.xml [^] (620 bytes) 2011-10-27 21:47

- Relationships
has duplicate 0002368closedj-b-m Crashes when trying to open project file 
has duplicate 0002369closedj-b-m Crashes when specifying render file location 
has duplicate 0002374closedj-b-m Crashes when trying to add a video clip 
has duplicate 0002391closedj-b-m Hard crash with opening file or adding clipfile(s) 
has duplicate 0002414closedj-b-m Crash when using open/save as/save/add clip, etc. 
has duplicate 0002420closedj-b-m Crash report changing projects 
has duplicate 0002432closedj-b-m Crash when creating a new project 

-  Notes
(0007464)
j-b-m (administrator)
2011-10-27 14:54

Might be fixed in svn rev. 5994. Please test and report back.

If this is not fixed, it may be a problem in your KDE bookmarks file:

$HOME/.kde/share/apps/kfileplaces/xml

It stores the bookmarks for your file dialogs. You might try to rename it, then restart kdenlive to see if crash is still here...
(0007466)
rbckman (reporter)
2011-10-27 16:59

I tested to rename my bookmarks and "save as" works fine but after a restart of kdenlive it crashes again.

have to test a build of rev. 5994
(0007467)
j-b-m (administrator)
2011-10-27 17:16

Ok, then can you attach here the newly created bookmarks.xml file, or mail it to me jb at kdenlive.org if you prefer...
(0007468)
rbckman (reporter)
2011-10-27 21:47

Uploaded the bookmarks file
(0007481)
j-b-m (administrator)
2011-11-01 19:04

Ouch, sorry I forgot to take care about this issue before the 0.8.2 release... My guess is that it's a bug in this KDE version (4.4.5)
(0007497)
j-b-m (administrator)
2011-11-03 20:03

The patch below solves the crash for this KDE version. I will probably release a 0.8.2.1 version fixing this issue and a few others in about one week.

regards

Index: src/kdenlivedoc.cpp
===================================================================
--- src/kdenlivedoc.cpp (revision 6012)
+++ src/kdenlivedoc.cpp (working copy)
@@ -1608,7 +1608,7 @@
         bookmark.setMetaDataItem("OnlyInApp", kdenliveName);
         bookmarkManager->emitChanged(root);
     }
- delete bookmarkManager;
+ //delete bookmarkManager;
 }
 
 QStringList KdenliveDoc::getExpandedFolders()

- Issue History
Date Modified Username Field Change
2011-10-27 11:03 rbckman New Issue
2011-10-27 11:03 rbckman File Added: musicvideo7.kdenlive
2011-10-27 14:54 j-b-m Note Added: 0007464
2011-10-27 14:54 j-b-m Assigned To => j-b-m
2011-10-27 14:54 j-b-m Status new => feedback
2011-10-27 16:59 rbckman Note Added: 0007466
2011-10-27 16:59 rbckman Status feedback => assigned
2011-10-27 17:16 j-b-m Note Added: 0007467
2011-10-27 21:47 rbckman File Added: bookmarks.xml
2011-10-27 21:47 rbckman Note Added: 0007468
2011-11-01 19:04 j-b-m Note Added: 0007481
2011-11-02 21:30 j-b-m Relationship added has duplicate 0002368
2011-11-02 21:31 j-b-m Relationship added has duplicate 0002369
2011-11-03 01:47 j-b-m Relationship added has duplicate 0002374
2011-11-03 20:03 j-b-m Note Added: 0007497
2011-11-03 21:01 j-b-m Target Version => 0.8.2.1
2011-11-03 21:01 j-b-m Description Updated View Revisions
2011-11-05 17:42 j-b-m Target Version 0.8.2.1 => 0.8.4
2011-11-07 00:59 j-b-m Relationship added has duplicate 0002391
2011-11-14 19:16 j-b-m Target Version 0.8.4 => 0.8.2.1
2011-11-20 12:52 j-b-m Relationship added has duplicate 0002414
2011-11-22 00:46 j-b-m Status assigned => resolved
2011-11-22 00:46 j-b-m Fixed in Version => 0.8.2.1
2011-11-22 00:46 j-b-m Resolution open => fixed
2011-11-23 19:56 j-b-m Relationship added has duplicate 0002420
2011-12-08 22:49 j-b-m Relationship added has duplicate 0002432
2011-12-08 22:51 j-b-m Status resolved => closed


Copyright © 2000 - 2014 MantisBT Team
Powered by Mantis Bugtracker