Kdenlive   bug tracker Home page

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0002620KdenliveFile Loadingpublic2012-05-24 04:042012-06-07 00:57
Reporterpaskperfect 
Assigned To 
PrioritynormalSeverityminorReproducibilityalways
StatusnewResolutionopen 
PlatformOSUbuntu LinuxOS Version11.10
Product Version0.9 
Target VersionFixed in Version 
Summary0002620: PNG clip file loading causes Kdenlive to crash
DescriptionI built an 849 x 6499 PNG file with alpha channel in Gimp (Vers. 6.2) to create a scrolling title in Kdenlive.

After restarting the Kdenlive(vers. 0.9, with KDE Development Platform 4.7.4 (4.7.4)) editor, I request that my project be loaded. I receive several warning messages that a font can not be found, and that it will be replaced with another font style. After acknowledging the warning, the program reports the project is loading, and shows a progress-"count down" bar. the progress bar stalls at 50% for a few monments. after the screen turns gray, the progression bar continues counting down to "0%" and the project comes up.

My first action, after the project comes up is to left click onto the "add clip" icon, and use the file retrieval interface to click on the png's file name. As I click on the 'load' button, the window vanishes, and less than a second later, the entire program interface window also closes, and the bug-tracker window opens. Each time the crash occurs, a new bug-tracker window is opened on top of the previous on, hiding it.
Steps To ReproduceApplication: kdenlive (0.9)
KDE Platform Version: 4.7.4 (4.7.4)
Qt Version: 4.7.4
Operating System: Linux 3.0.0-19-generic i686
Distribution: Ubuntu 11.10

-- Information about the crash:
<In detail, tell us what you were doing when the application crashed.>

The crash can be reproduced every time.

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

Thread 6 (Thread 0xb6affb70 (LWP 4023)):
#0 0x00723d44 in __pthread_mutex_unlock_usercnt () from /lib/i386-linux-gnu/libpthread.so.0
#1 0x015d787f in g_main_context_prepare () from /lib/i386-linux-gnu/libglib-2.0.so.0
0000002 0x015d8637 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
0000003 0x015d8f9b in g_main_loop_run () from /lib/i386-linux-gnu/libglib-2.0.so.0
0000004 0x01bb0cea in ?? () from /usr/lib/i386-linux-gnu/libgio-2.0.so.0
0000005 0x015ff5f4 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
0000006 0x00720d31 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
0000007 0x04b6246e in clone () from /lib/i386-linux-gnu/libc.so.6
Backtrace stopped: Not enough registers or memory available to unwind further

Thread 5 (Thread 0xb2a10b70 (LWP 4028)):
#0 0x0720cd10 in clock_gettime () from /lib/i386-linux-gnu/librt.so.1
#1 0x034ab7d5 in do_gettime (frac=0xb2a10010, sec=0xb2a10008) at tools/qelapsedtimer_unix.cpp:123
0000002 qt_gettime () at tools/qelapsedtimer_unix.cpp:140
0000003 0x0357e4b6 in QTimerInfoList::updateCurrentTime (this=0x95b5964) at kernel/qeventdispatcher_unix.cpp:339
0000004 0x0357e80a in QTimerInfoList::timerWait (this=0x95b5964, tm=...) at kernel/qeventdispatcher_unix.cpp:442
0000005 0x0357d053 in timerSourcePrepareHelper (src=<optimized out>, timeout=0xb2a1011c) at kernel/qeventdispatcher_glib.cpp:136
0000006 0x0357d0ed in timerSourcePrepare (source=0x95b5930, timeout=<optimized out>) at kernel/qeventdispatcher_glib.cpp:169
0000007 0x015d788c in g_main_context_prepare () from /lib/i386-linux-gnu/libglib-2.0.so.0
0000008 0x015d8637 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
0000009 0x015d8c2a in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
0000010 0x0357db37 in QEventDispatcherGlib::processEvents (this=0x8bf3dd0, flags=...) at kernel/qeventdispatcher_glib.cpp:424
0000011 0x0354e1dd in QEventLoop::processEvents (this=0xb2a102a0, flags=...) at kernel/qeventloop.cpp:149
0000012 0x0354e421 in QEventLoop::exec (this=0xb2a102a0, flags=...) at kernel/qeventloop.cpp:201
0000013 0x0345190b in QThread::exec (this=0x92eca78) at thread/qthread.cpp:498
0000014 0x0352ee2d in QInotifyFileSystemWatcherEngine::run (this=0x92eca78) at io/qfilesystemwatcher_inotify.cpp:248
0000015 0x034547b3 in QThreadPrivate::start (arg=0x92eca78) at thread/qthread_unix.cpp:331
0000016 0x00720d31 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
0000017 0x04b6246e in clone () from /lib/i386-linux-gnu/libc.so.6
Backtrace stopped: Not enough registers or memory available to unwind further

Thread 4 (Thread 0xb74cab70 (LWP 4052)):
#0 0x00595416 in __kernel_vsyscall ()
#1 0x00724e04 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/i386-linux-gnu/libpthread.so.0
0000002 0x00581a57 in mlt_consumer_get_frame (self=0x91bc3e8) at mlt_consumer.c:554
0000003 0x00582531 in mlt_consumer_rt_frame (self=0x91bc3e8) at mlt_consumer.c:1359
0000004 0x02e5083e in consumer_thread (arg=0x91bc3e8) at consumer_sdl_still.c:570
0000005 0x00720d31 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
0000006 0x04b6246e in clone () from /lib/i386-linux-gnu/libc.so.6
Backtrace stopped: Not enough registers or memory available to unwind further

Thread 3 (Thread 0xb3ac6b70 (LWP 4053)):
#0 0x00595416 in __kernel_vsyscall ()
#1 0x00724a5c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i386-linux-gnu/libpthread.so.0
0000002 0x02e4ff2a in consumer_thread (arg=0x91b8ff8) at consumer_sdl_preview.c:449
0000003 0x00720d31 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
0000004 0x04b6246e in clone () from /lib/i386-linux-gnu/libc.so.6
Backtrace stopped: Not enough registers or memory available to unwind further

Thread 2 (Thread 0xb32c5b70 (LWP 4157)):
[KCrash Handler]
0000007 refresh_image (height=0, width=0, format=mlt_image_rgb24a, frame=0x95bdc68, self=0xa158b00) at producer_pixbuf.c:420
0000008 producer_get_image (frame=0x95bdc68, buffer=0xb32c4a7c, format=0xb32c4ba4, width=0xb32c49b0, height=0xb32c49b4, writable=0) at producer_pixbuf.c:528
0000009 0x00570856 in mlt_frame_get_image (self=0x95bdc68, buffer=0xb32c4a7c, format=0xb32c4ba4, width=0xb32c49b0, height=0xb32c49b4, writable=0) at mlt_frame.c:452
0000010 0x07165970 in filter_get_image (frame=0x95bdc68, image=0xb32c4a7c, format=0xb32c4ba4, width=0xb32c49b0, height=0xb32c49b4, writable=0) at filter_crop.c:77
0000011 0x00570856 in mlt_frame_get_image (self=0x95bdc68, buffer=0xb32c4a7c, format=0xb32c4ba4, width=0xb32c49b0, height=0xb32c49b4, writable=0) at mlt_frame.c:452
0000012 0x01f8fdfc in filter_get_image (this=0x95bdc68, image=0xb32c4a7c, format=0xb32c4ba4, width=0xb32c49b0, height=0xb32c49b4, writable=0) at filter_deinterlace.c:271
0000013 0x00570856 in mlt_frame_get_image (self=0x95bdc68, buffer=0xb32c4a7c, format=0xb32c4ba4, width=0xb32c49b0, height=0xb32c49b4, writable=0) at mlt_frame.c:452
0000014 0x00570904 in mlt_frame_get_image (self=0x95bdc68, buffer=0xb32c4a7c, format=0xb32c4ba4, width=0xb32c49b0, height=0xb32c49b4, writable=0) at mlt_frame.c:464
0000015 0x07167568 in get_image (frame=0x95bdc68, image=0xb32c4a7c, format=0xb32c4ba4, width=0xb32c49b0, height=0xb32c49b4, writable=0) at filter_fieldorder.c:34
0000016 0x00570856 in mlt_frame_get_image (self=0x95bdc68, buffer=0xb32c4a7c, format=0xb32c4ba4, width=0xb32c49b0, height=0xb32c49b4, writable=0) at mlt_frame.c:452
0000017 0x0716c34d in filter_get_image (frame=0x95bdc68, image=0xb32c4a7c, format=0xb32c4ba4, width=0xb32c4b9c, height=0xb32c4ba0, writable=0) at filter_resize.c:255
0000018 0x00570856 in mlt_frame_get_image (self=0x95bdc68, buffer=0xb32c4a7c, format=0xb32c4ba4, width=0xb32c4b9c, height=0xb32c4ba0, writable=0) at mlt_frame.c:452
0000019 0x0070bf16 in Mlt::Frame::get_image (this=0x979f278, format=@0xb32c4ba4, w=@0xb32c4b9c, h=@0xb32c4ba0, writable=0) at MltFrame.cpp:59
0000020 0x082cd22e in KThumb::getFrame (frame=0x979f278, frameWidth=53, displayWidth=48, height=36) at /build/buildd/kdenlive-0.9+git20120515.00e30146/src/kthumb.cpp:209
0000021 0x0834d759 in Render::processFileProperties (this=0x92af788) at /build/buildd/kdenlive-0.9+git20120515.00e30146/src/renderer.cpp:898
0000022 0x0811078c in run (this=0x993e930) at /usr/include/qt4/QtCore/qtconcurrentrunbase.h:120
0000023 QtConcurrent::RunFunctionTask<void>::run (this=0x993e930) at /usr/include/qt4/QtCore/qtconcurrentrunbase.h:114
0000024 0x03448651 in QThreadPoolThread::run (this=0x9be8138) at concurrent/qthreadpool.cpp:106
0000025 0x034547b3 in QThreadPrivate::start (arg=0x9be8138) at thread/qthread_unix.cpp:331
0000026 0x00720d31 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
0000027 0x04b6246e in clone () from /lib/i386-linux-gnu/libc.so.6
Backtrace stopped: Not enough registers or memory available to unwind further

Thread 1 (Thread 0xb770a720 (LWP 4020)):
#0 0x00595416 in __kernel_vsyscall ()
#1 0x04b537ae in poll () from /lib/i386-linux-gnu/libc.so.6
0000002 0x077ec000 in ?? () from /usr/lib/i386-linux-gnu/libxcb.so.1
0000003 0x077ec60c in ?? () from /usr/lib/i386-linux-gnu/libxcb.so.1
0000004 0x077ec6c1 in xcb_writev () from /usr/lib/i386-linux-gnu/libxcb.so.1
0000005 0x0076d0d0 in _XSend () from /usr/lib/i386-linux-gnu/libX11.so.6
0000006 0x0076d4fa in _XFlush () from /usr/lib/i386-linux-gnu/libX11.so.6
0000007 0x00d3778c in XRenderCompositeTrapezoids () from /usr/lib/i386-linux-gnu/libXrender.so.1
0000008 0x024e4b6d in qt_XRenderCompositeTrapezoids (size=<optimized out>, traps=0x952b648, ySrc=<optimized out>, xSrc=<optimized out>, maskFormat=<optimized out>, dst=<optimized out>, src=<optimized out>, op=<optimized out>, dpy=<optimized out>) at painting/qpaintengine_x11.cpp:1546
0000009 QX11PaintEnginePrivate::fillPolygon_dev (this=0x9527cf0, polygonPoints=0x3000270, pointCount=1, gcMode=QX11PaintEnginePrivate::BrushGC, mode=QPaintEngine::OddEvenMode) at painting/qpaintengine_x11.cpp:1627
0000010 0x024e5995 in QX11PaintEnginePrivate::fillPath (this=0x9527cf0, path=..., gc_mode=QX11PaintEnginePrivate::BrushGC, transform=4) at painting/qpaintengine_x11.cpp:1765
0000011 0x024e60dc in QX11PaintEngine::drawPath (this=0x1, path=...) at painting/qpaintengine_x11.cpp:1777
0000012 0x02422a31 in QPainter::drawPath (this=0xbfa4b040, path=...) at painting/qpainter.cpp:3390
0000013 0x02422fe4 in QPainter::fillPath (this=0xbfa4b040, path=..., brush=...) at painting/qpainter.cpp:3345
0000014 0x082746d3 in Guide::paint (this=0x9ed9230, painter=0xbfa4b040, option=0x9cfcce4) at /build/buildd/kdenlive-0.9+git20120515.00e30146/src/guide.cpp:172
0000015 0x02954f77 in QGraphicsScenePrivate::draw (this=0x9cfcb90, item=0x9ed9230, painter=0xbfa4b040, viewTransform=0xbfa4ad94, transformPtr=0xbfa4a968, exposedRegion=0x9cfd258, widget=0x9cf2e88, opacity=1, effectTransform=0x0, wasDirtyParentSceneTransform=false, drawItem=true) at graphicsview/qgraphicsscene.cpp:4957
0000016 0x02955a8f in QGraphicsScenePrivate::drawSubtreeRecursive (this=0x9cfcb90, item=0x9ed9230, painter=0xbfa4b040, viewTransform=0xbfa4ad94, exposedRegion=0x9cfd258, widget=0x9cf2e88, parentOpacity=1, effectTransform=0x0) at graphicsview/qgraphicsscene.cpp:4850
0000017 0x0295633f in QGraphicsScenePrivate::drawItems (this=0x9cfcb90, painter=0xbfa4b040, viewTransform=0xbfa4ad94, exposedRegion=0x9cfd258, widget=0x9cf2e88) at graphicsview/qgraphicsscene.cpp:4732
0000018 0x02972933 in QGraphicsView::paintEvent (this=0x9cfcd90, event=0x1) at graphicsview/qgraphicsview.cpp:3469
0000019 0x02310f6e in QWidget::event (this=0x9cfcd90, event=0xbfa4b5c4) at kernel/qwidget.cpp:8441
0000020 0x02716285 in QFrame::event (this=0x9cfcd90, e=0xbfa4b5c4) at widgets/qframe.cpp:557
0000021 0x027a8821 in QAbstractScrollArea::viewportEvent (this=0x9cfcd90, e=0xbfa4b5c4) at widgets/qabstractscrollarea.cpp:1043
0000022 0x02973d04 in QGraphicsView::viewportEvent (this=0x9cfcd90, event=0xbfa4b5c4) at graphicsview/qgraphicsview.cpp:2864
0000023 0x027aaf36 in viewportEvent (this=<optimized out>, event=0xbfa4b5c4) at widgets/qabstractscrollarea_p.h:100
0000024 eventFilter (e=0xbfa4b5c4, this=<optimized out>, o=<optimized out>) at widgets/qabstractscrollarea_p.h:116
0000025 QAbstractScrollAreaFilter::eventFilter (this=0x9c86db8, o=0x9cf2e88, e=0xbfa4b5c4) at widgets/qabstractscrollarea_p.h:115
0000026 0x0354f336 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=0x86f2a98, receiver=0x9cf2e88, event=0xbfa4b5c4) at kernel/qcoreapplication.cpp:902
0000027 0x022b6d52 in notify_helper (e=0xbfa4b5c4, receiver=0x9cf2e88, this=0x86f2a98) at kernel/qapplication.cpp:4482
0000028 QApplicationPrivate::notify_helper (this=0x86f2a98, receiver=0x9cf2e88, e=0xbfa4b5c4) at kernel/qapplication.cpp:4458
0000029 0x022bc1d8 in QApplication::notify (this=0x86f2a98, receiver=0x9cf2e88, e=0xbfa4b5c4) at kernel/qapplication.cpp:4451
0000030 0x00a6d971 in KApplication::notify (this=0xbfa4c164, receiver=0x9cf2e88, event=0xbfa4b5c4) at ../../kdeui/kernel/kapplication.cpp:311
0000031 0x0354f19e in QCoreApplication::notifyInternal (this=0xbfa4c164, receiver=0x9cf2e88, event=0xbfa4b5c4) at kernel/qcoreapplication.cpp:787
0000032 0x0230de1b in sendSpontaneousEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
0000033 QWidgetPrivate::drawWidget (this=0x9d0db40, pdev=0x8dfe32c, rgn=..., offset=..., flags=68, sharedPainter=0x0, backingStore=0x8cde128) at kernel/qwidget.cpp:5528
0000034 0x024f7a5b in QWidgetBackingStore::sync (this=0x8cde128) at painting/qbackingstore.cpp:1330
0000035 0x023036fb in QWidgetPrivate::syncBackingStore (this=0x888f0e0) at kernel/qwidget.cpp:1862
0000036 0x023118ff in QWidget::event (this=0x888ee90, event=0xa3a3f30) at kernel/qwidget.cpp:8588
0000037 0x0273351c in QMainWindow::event (this=0x888ee90, event=0xa3a3f30) at widgets/qmainwindow.cpp:1478
0000038 0x00b495a4 in KMainWindow::event (this=0x888ee90, ev=0xa3a3f30) at ../../kdeui/widgets/kmainwindow.cpp:1084
0000039 0x00b91a02 in KXmlGuiWindow::event (this=0x888ee90, ev=0xa3a3f30) at ../../kdeui/xmlgui/kxmlguiwindow.cpp:126
0000040 0x022b6d84 in notify_helper (e=0xa3a3f30, receiver=0x888ee90, this=0x86f2a98) at kernel/qapplication.cpp:4486
0000041 QApplicationPrivate::notify_helper (this=0x86f2a98, receiver=0x888ee90, e=0xa3a3f30) at kernel/qapplication.cpp:4458
0000042 0x022bc1d8 in QApplication::notify (this=0x86f2a98, receiver=0x888ee90, e=0xa3a3f30) at kernel/qapplication.cpp:4451
0000043 0x00a6d971 in KApplication::notify (this=0xbfa4c164, receiver=0x888ee90, event=0xa3a3f30) at ../../kdeui/kernel/kapplication.cpp:311
0000044 0x0354f19e in QCoreApplication::notifyInternal (this=0xbfa4c164, receiver=0x888ee90, event=0xa3a3f30) at kernel/qcoreapplication.cpp:787
0000045 0x03552f93 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
0000046 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x86d90d8) at kernel/qcoreapplication.cpp:1428
0000047 0x035530ec in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1321
0000048 0x0357d6a4 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
0000049 postEventSourceDispatch (s=0x86f5700) at kernel/qeventdispatcher_glib.cpp:277
0000050 0x015d825f in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
0000051 0x015d8990 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
0000052 0x015d8c2a in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
0000053 0x0357dada in QEventDispatcherGlib::processEvents (this=0x86da010, flags=...) at kernel/qeventdispatcher_glib.cpp:422
0000054 0x0236ee7a in QGuiEventDispatcherGlib::processEvents (this=0x86da010, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
0000055 0x0354e1dd in QEventLoop::processEvents (this=0xbfa4c0c4, flags=...) at kernel/qeventloop.cpp:149
0000056 0x0354e421 in QEventLoop::exec (this=0xbfa4c0c4, flags=...) at kernel/qeventloop.cpp:201
0000057 0x0355319d in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1064
#58 0x022b4924 in QApplication::exec () at kernel/qapplication.cpp:3760
0000059 0x0808854d in main (argc=) at /build/buildd/kdenlive-0.9+git20120515.00e30146/src/main.cpp:89

Report to http://kdenlive.org/mantis [^]
Additional InformationThis Kdenlive build was acquired from the ppa.launchpad.net/sunab/kdenlive-svn repository. The version that came with the Ubuntu upgrade to 11.10 oneiric was not loading successfully before I acquired this version.

The project consists of two video streams and audio tracks that were synchronized 'by hand' ( I am not familiar with all the program's features, yet). After syncing in the tracks, I have made more tracks available at the top of the stack to reduce the 1-3/4 hour-shoot down to an 1-hour show for Public Access TV. Titling graphics have been inserted on the top video track. I am learning, as I go, the peculiarities of this editor program. As I have progressed, there have been more crashes, as I've demanded scrolling animation of titles, using PNG files from Gimp(This has worked for me in the past, with Cinelrra).
TagsNo tags attached.
Build/Install Method3rd party package
Attached Files

- Relationships

-  Notes
(0008080)
paskperfect (reporter)
2012-05-24 07:59

just upgraded to Ubuntu 12.4 (precise). I first tired running kdenlive, as upgraded by Precise: still crashes when I try to load the same PNG file.

I then included the recommended ppa upgrade to leapfrog (in the repository section of Synaptic package manager). I upgraded then, to Kdenlive 0.9 (4.8.2). I find that the program still crashes when I attempt to load the PNG file.

Hmm... Not all pgm files cause the system to crash. I wonder if size matters :-?
(0008118)
flypp (reporter)
2012-06-07 00:57
edited on: 2012-06-07 00:57

Kdenlive version: 0.9
KDE version: 4.7.4
Qt version: 4.7.4
Operation system: Debian Wheezy 64bits 3.2.0-2-amd64

Same crash at loading big images (png or not). Crash in producer_pixbuf.c

At first i blamed gtk libraries, so i recompiled mlt (last git version) with:
./configure --enable-gpl --disable-gtk2

Recompiled and crashed again in producer_qimage.c.

I was really hurry, so i do this in src/modules/qimage/qimage_wrapper.cpp (line 236):

=====================================================================
// QImage has two scaling modes - we'll toggle between them here
// COMMENTED
// if ( strcmp( interps, "tiles" ) == 0
// || strcmp( interps, "hyper" ) == 0
// || strcmp( interps, "bicubic" ) == 0 )
                        interp = 1;
=====================================================================

So... interp ALWAYS be "1". Recompile (again with --disable-gtk2, i don't think the error is here) and then i can insert my 1440x12000px png image... but... thumbnail in Proyect tree is absolutly red... and preview monitor messed up (only with the png image)...


- Issue History
Date Modified Username Field Change
2012-05-24 04:04 paskperfect New Issue
2012-05-24 07:59 paskperfect Note Added: 0008080
2012-06-07 00:57 flypp Note Added: 0008118
2012-06-07 00:57 flypp Note Edited: 0008118 View Revisions


Copyright © 2000 - 2014 MantisBT Team
Powered by Mantis Bugtracker