Kdenlive   bug tracker Home page

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0002462KdenliveFile Loadingpublic2012-01-02 06:412012-01-03 15:53
ReporterRick T 
Assigned Toj-b-m 
PriorityimmediateSeveritycrashReproducibilityalways
StatusassignedResolutionopen 
Platform32 bit intel and alikeOSUbuntuOS Version10.04
Product Version0.8.2.1 
Target VersionFixed in Version 
Summary0002462: This is the new 0.8.3 version from sunab
DescriptionCrashes everytime I try and load a clip I can no longer use kdenlive because of it. I used the sunab ppa
Steps To ReproduceLoad a clip I tried ogg avi and mpg crashes when I try and drop and drag a clip or just add a clip from the file menu. Keep in mind these clips worked from the old version of kdenlive located in the old ubuntu repositories I've included a crash report
Additional Informationto create a test ogg file from a webcam with moving text you can use these commands to create the file

gst-launch-0.10 v4l2src ! 'video/x-raw-yuv,width=640,height=480,framerate=30/1' ! \
timeoverlay halignment=right valignment=bottom shaded-background=true ! \
clockoverlay halignment=left valignment=bottom text="M/D/Y:" shaded-background=true time-format="%m/%d/%Y %H:%M:%S" ! \
tee name=t_vid ! queue ! xvimagesink sync=false t_vid. ! queue ! videorate ! \
'video/x-raw-yuv,framerate=30/1' ! theoraenc ! queue ! oggmux ! \

Tags0.8.3, crash, ogg, ogv
Build/Install MethodDistribution package
Attached Files? file icon kdenlive-20120101.kcrash [^] (9,845 bytes) 2012-01-02 06:41 [Show Content]
? file icon test.ogg [^] (1,474,313 bytes) 2012-01-02 06:44
? file icon install_1.ogv [^] (3,181,450 bytes) 2012-01-02 06:53

- Relationships
has duplicate 0002466feedbackj-b-m kill 

-  Notes
(0007693)
Rick T (reporter)
2012-01-02 06:46
edited on: 2012-01-02 07:17

I've attached an ogg and ogv file that causes the crash the ogv worked in the older 0.7.X version of kdenlive. I can play the files with ffplay if that helps any

(0007694)
Rick T (reporter)
2012-01-02 07:24

Here's what's in the crash report


Application: Kdenlive (kdenlive), signal: Segmentation fault
[Current thread is 1 (Thread 0x7ff1a3f9a780 (LWP 2153))]

Thread 4 (Thread 0x7ff179981700 (LWP 2158)):
[KCrash Handler]
0000005 0x00007ff1886fb1d2 in sws_scale () from /usr/lib/libswscale.so.0
0000006 0x00007ff189a4c7f7 in filter_scale (frame=0x7ff17c237410, image=<value optimized out>, format=<value optimized out>, iwidth=<value optimized out>, iheight=480, owidth=54, oheight=36)
    at filter_swscale.c:170
0000007 0x00007ff183cd0f3d in filter_get_image (this=0x7ff17c237410, image=0x7ff17997f758, format=0x7ff17997f8f4, width=0x7ff17997f6ac, height=0x7ff17997f6a8, writable=<value optimized out>)
    at filter_rescale.c:230
0000008 0x00007ff19fc77a2a in mlt_frame_get_image (self=0x7ff17c237410, buffer=0x7ff17997f758, format=0x7ff17997f8f4, width=0x7ff17997f6ac, height=0x7ff17997f6a8, writable=<value optimized out>)
    at mlt_frame.c:453
0000009 0x00007ff183cccd50 in get_image (frame=0x0, image=0x7ff17997f3b0, format=0x7ff17997f3d0, width=0x7ff17c255918, height=0x1e0, writable=0) at filter_fieldorder.c:34
0000010 0x00007ff19fc77a2a in mlt_frame_get_image (self=0x7ff17c237410, buffer=0x7ff17997f758, format=0x7ff17997f8f4, width=0x7ff17997f6ac, height=0x7ff17997f6a8, writable=<value optimized out>)
    at mlt_frame.c:453
0000011 0x00007ff183cd1379 in filter_get_image (this=0x7ff17c237410, image=0x7ff17997f758, format=0x7ff17997f8f4, width=0x7ff17997f8fc, height=0x7ff17997f8f8, writable=0) at filter_resize.c:257
0000012 0x00007ff19fc77a2a in mlt_frame_get_image (self=0x7ff17c237410, buffer=0x7ff17997f758, format=0x7ff17997f8f4, width=0x7ff17997f8fc, height=0x7ff17997f8f8, writable=<value optimized out>)
    at mlt_frame.c:453
0000013 0x00007ff19fa60b1d in Mlt::Frame::get_image (this=0x7ff17c49a030, format=@0x7ff17997f8f4, w=@0x7ff17997f8fc, h=@0x7ff17997f8f8, writable=0) at MltFrame.cpp:59
0000014 0x0000000000699273 in KThumb::getFrame (frame=<value optimized out>, frameWidth=54, displayWidth=48, height=36) at /build/buildd/kdenlive-0.8.3+git20111230.66736074/src/kthumb.cpp:209
0000015 0x000000000071ba9b in Render::processFileProperties (this=0x21ffae0) at /build/buildd/kdenlive-0.8.3+git20111230.66736074/src/renderer.cpp:883
0000016 0x00000000004a7bc6 in QtConcurrent::RunFunctionTask<void>::run (this=0x2f219c0) at /usr/include/qt4/QtCore/qtconcurrentrunbase.h:120
0000017 0x00007ff1a052c9e9 in QThreadPoolThread::run (this=0x18522b0) at concurrent/qthreadpool.cpp:106
0000018 0x00007ff1a0536775 in QThreadPrivate::start (arg=0x18522b0) at thread/qthread_unix.cpp:248
0000019 0x00007ff1a02a69ca in start_thread () from /lib/libpthread.so.0
0000020 0x00007ff19df7b70d in clone () from /lib/libc.so.6
0000021 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7ff182e65700 (LWP 2159)):
#0 0x00007ff1a02abbc9 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1 0x00007ff19fc85620 in mlt_consumer_get_frame (self=0x21b16b0) at mlt_consumer.c:554
0000002 0x00007ff19fc86a0e in mlt_consumer_rt_frame (self=0x21b17cc) at mlt_consumer.c:1361
0000003 0x00007ff18d2ff01c in consumer_thread (arg=<value optimized out>) at consumer_sdl_still.c:570
0000004 0x00007ff1a02a69ca in start_thread () from /lib/libpthread.so.0
0000005 0x00007ff19df7b70d in clone () from /lib/libc.so.6
0000006 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7ff183666700 (LWP 2160)):
#0 0x00007ff1a02ab85c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1 0x00007ff18d2fe921 in consumer_thread (arg=<value optimized out>) at consumer_sdl_preview.c:449
0000002 0x00007ff1a02a69ca in start_thread () from /lib/libpthread.so.0
0000003 0x00007ff19df7b70d in clone () from /lib/libc.so.6
0000004 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7ff1a3f9a780 (LWP 2153)):
#0 0x00007ff19df6ef93 in poll () from /lib/libc.so.6
#1 0x00007ff19a37d29a in ?? () from /usr/lib/libxcb.so.1
0000002 0x00007ff19a37d7d7 in ?? () from /usr/lib/libxcb.so.1
0000003 0x00007ff19a37da85 in xcb_writev () from /usr/lib/libxcb.so.1
0000004 0x00007ff1a0e4b6fa in _XSend () from /usr/lib/libX11.so.6
0000005 0x00007ff1a0e37a55 in ?? () from /usr/lib/libX11.so.6
0000006 0x00007ff1a0e37c2e in XPutImage () from /usr/lib/libX11.so.6
0000007 0x00007ff1a13ed21a in QX11PixmapData::fromImage (this=0x2e15100, img=<value optimized out>, flags=<value optimized out>) at image/qpixmap_x11.cpp:612
0000008 0x00007ff1a13d89f6 in QPixmap::fromImage (image=..., flags=) at image/qpixmap.cpp:1992
0000009 0x00007ff1a143bf08 in QPaintEngine::drawImage (this=0x3006860, r=..., image=..., sr=..., flags=<value optimized out>) at painting/qpaintengine.cpp:623
0000010 0x00007ff1a14f7b52 in QX11PaintEngine::drawImage (this=0x3006860, r=..., image=..., sr=..., flags=) at painting/qpaintengine_x11.cpp:1893
0000011 0x00007ff1a14511ef in QPainterPrivate::draw_helper (this=0x3083cc0, originalPath=<value optimized out>, op=<value optimized out>) at painting/qpainter.cpp:484
0000012 0x00007ff1a145870a in QPainter::drawRoundedRect (this=0x7ffff20eca10, rect=<value optimized out>, xRadius=<value optimized out>, yRadius=<value optimized out>, mode=<value optimized out>)
    at painting/qpainter.cpp:4136
0000013 0x00007ff18d9360ac in ?? () from /usr/lib/kde4/plugins/styles/oxygen.so
0000014 0x00007ff18d96fc56 in ?? () from /usr/lib/kde4/plugins/styles/oxygen.so
0000015 0x00007ff1a062a487 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=<value optimized out>, receiver=0x1f6b980, event=0x7ffff20ed580) at kernel/qcoreapplication.cpp:819
0000016 0x00007ff1a12f51fc in QApplicationPrivate::notify_helper (this=0x1660b40, receiver=0x1f6b980, e=0x7ffff20ed580) at kernel/qapplication.cpp:4296
0000017 0x00007ff1a12fb6fb in QApplication::notify (this=0x7ffff20eed80, receiver=0x1f6b980, e=0x7ffff20ed580) at kernel/qapplication.cpp:4183
0000018 0x00007ff1a39a4a16 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
0000019 0x00007ff1a062b06c in QCoreApplication::notifyInternal (this=0x7ffff20eed80, receiver=0x1f6b980, event=0x7ffff20ed580) at kernel/qcoreapplication.cpp:704
0000020 0x00007ff1a13537dd in QCoreApplication::sendSpontaneousEvent (this=0x2223f00, pdev=<value optimized out>, rgn=..., offset=<value optimized out>, flags=<value optimized out>, sharedPainter=0x0,
    backingStore=0x1fc3c60) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
0000021 QWidgetPrivate::drawWidget (this=0x2223f00, pdev=<value optimized out>, rgn=..., offset=<value optimized out>, flags=<value optimized out>, sharedPainter=0x0, backingStore=0x1fc3c60)
    at kernel/qwidget.cpp:5339
0000022 0x00007ff1a1354478 in QWidgetPrivate::paintSiblingsRecursive (this=<value optimized out>, pdev=<value optimized out>, siblings=..., index=211, rgn=<value optimized out>,
    offset=<value optimized out>, flags=4, sharedPainter=0x0, backingStore=0x1fc3c60) at kernel/qwidget.cpp:5452
0000023 0x00007ff1a13542a9 in QWidgetPrivate::paintSiblingsRecursive (this=<value optimized out>, pdev=<value optimized out>, siblings=..., index=212, rgn=<value optimized out>,
    offset=<value optimized out>, flags=4, sharedPainter=0x0, backingStore=0x1fc3c60) at kernel/qwidget.cpp:5439
0000024 0x00007ff1a135353a in QWidgetPrivate::drawWidget (this=0x184c660, pdev=<value optimized out>, rgn=..., offset=<value optimized out>, flags=<value optimized out>, sharedPainter=0x0,
    backingStore=0x1fc3c60) at kernel/qwidget.cpp:5388
0000025 0x00007ff1a150d8c5 in QWidgetBackingStore::sync (this=0x1fc3c60) at painting/qbackingstore.cpp:1291
0000026 0x00007ff1a1344b60 in QWidgetPrivate::syncBackingStore (this=0x184c660) at kernel/qwidget.cpp:1672
0000027 0x00007ff1a134b865 in QWidget::event (this=0x184c300, event=0x3124580) at kernel/qwidget.cpp:8291
0000028 0x00007ff1a170dcab in QMainWindow::event (this=0x184c300, event=0x3124580) at widgets/qmainwindow.cpp:1433
0000029 0x00007ff1a3abbf63 in KXmlGuiWindow::event(QEvent*) () from /usr/lib/libkdeui.so.5
0000030 0x00007ff1a12f522c in QApplicationPrivate::notify_helper (this=0x1660b40, receiver=0x184c300, e=0x3124580) at kernel/qapplication.cpp:4300
0000031 0x00007ff1a12fb6fb in QApplication::notify (this=0x7ffff20eed80, receiver=0x184c300, e=0x3124580) at kernel/qapplication.cpp:4183
0000032 0x00007ff1a39a4a16 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
0000033 0x00007ff1a062b06c in QCoreApplication::notifyInternal (this=0x7ffff20eed80, receiver=0x184c300, event=0x3124580) at kernel/qcoreapplication.cpp:704
0000034 0x00007ff1a062d7e7 in QCoreApplication::sendEvent (receiver=0x0, event_type=<value optimized out>, data=0x1646c80) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
0000035 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=<value optimized out>, data=0x1646c80) at kernel/qcoreapplication.cpp:1345
0000036 0x00007ff1a06549d3 in QCoreApplication::sendPostedEvents (s=<value optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
0000037 postEventSourceDispatch (s=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:276
0000038 0x00007ff19aa3d8c2 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
0000039 0x00007ff19aa41748 in ?? () from /lib/libglib-2.0.so.0
0000040 0x00007ff19aa418fc in g_main_context_iteration () from /lib/libglib-2.0.so.0
0000041 0x00007ff1a0654513 in QEventDispatcherGlib::processEvents (this=0x16463a0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
0000042 0x00007ff1a13a546e in QGuiEventDispatcherGlib::processEvents (this=0x7ffff20e9200, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
0000043 0x00007ff1a0629992 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
0000044 0x00007ff1a0629d6c in QEventLoop::exec (this=0x7ffff20eecd0, flags=) at kernel/qeventloop.cpp:201
0000045 0x00007ff1a062daab in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
0000046 0x00000000004b5905 in main (argc=<value optimized out>, argv=<value optimized out>) at /build/buildd/kdenlive-0.8.3+git20111230.66736074/src/main.cpp:89
(0007696)
j-b-m (administrator)
2012-01-02 20:03

The crash seems to happen in FFmpeg. I tried your clips on my system (latest FFmpeg git) and it works fine. Also tried in a virtual machine with a fully updated Kubuntu 10.04 and the files are not well decoded (showing mostly random color blocks) but no crash.

Which FFmpeg version do you have? You might want to consider upgrading your system since FFmpeg is at the core of the video processing and it is recommanded to use a recent version for latest bugfixes...
(0007698)
Rick T (reporter)
2012-01-02 20:56
edited on: 2012-01-02 20:59

What version of ffmpeg are you using that got it to work in? Where you using ubuntu 10.04? Also when I do an ffplay test.ogg it plays with no problem

Here's my ffmpeg information

media@media-vm:~$ ffmpeg -version
FFmpeg version 0.6.2-4:0.6.2-1ubuntu1~ppa1~lucid1, Copyright (c) 2000-2010 the Libav developers
  built on Apr 7 2011 01:48:04 with gcc 4.4.3
  configuration: --extra-version='4:0.6.2-1ubuntu1~ppa1~lucid1' --prefix=/usr --enable-avfilter --enable-avfilter-lavf --enable-vdpau --enable-bzlib --enable-libgsm --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-pthreads --enable-zlib --enable-libvpx --disable-stripping --enable-runtime-cpudetect --enable-vaapi --enable-gpl --enable-postproc --enable-swscale --enable-x11grab --enable-libdc1394 --enable-shared --disable-static
  WARNING: library configuration mismatch
  libavutil configuration: --extra-version='4:0.6.2-1ubuntu2~ppa1~lucid1' --prefix=/usr --enable-avfilter --enable-avfilter-lavf --enable-vdpau --enable-bzlib --enable-libdirac --enable-libgsm --enable-libopenjpeg --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-pthreads --enable-zlib --enable-libvpx --disable-stripping --enable-runtime-cpudetect --enable-vaapi --enable-libopenjpeg --enable-gpl --enable-postproc --enable-swscale --enable-x11grab --enable-libfaad --enable-libdirac --enable-libfaad --enable-libmp3lame --enable-librtmp --enable-libx264 --enable-libxvid --enable-libdc1394 --enable-shared --disable-static
  libavcodec configuration: --extra-version='4:0.6.2-1ubuntu2~ppa1~lucid1' --prefix=/usr --enable-avfilter --enable-avfilter-lavf --enable-vdpau --enable-bzlib --enable-libdirac --enable-libgsm --enable-libopenjpeg --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-pthreads --enable-zlib --enable-libvpx --disable-stripping --enable-runtime-cpudetect --enable-vaapi --enable-libopenjpeg --enable-gpl --enable-postproc --enable-swscale --enable-x11grab --enable-libfaad --enable-libdirac --enable-libfaad --enable-libmp3lame --enable-librtmp --enable-libx264 --enable-libxvid --enable-libdc1394 --enable-shared --disable-static
  libavutil 50.15. 1 / 50.15. 1
  libavcodec 52.72. 2 / 52.72. 2
  libavformat 52.64. 2 / 52.64. 2
  libavdevice 52. 2. 0 / 52. 2. 0
  libavfilter 1.19. 0 / 1.19. 0
  libswscale 0.11. 0 / 0.11. 0
  libpostproc 51. 2. 0 / 51. 2. 0
FFmpeg 0.6.2-4:0.6.2-1ubuntu1~ppa1~lucid1
libavutil 50.15. 1 / 50.15. 1
libavcodec 52.72. 2 / 52.72. 2
libavformat 52.64. 2 / 52.64. 2
libavdevice 52. 2. 0 / 52. 2. 0
libavfilter 1.19. 0 / 1.19. 0
libswscale 0.11. 0 / 0.11. 0
libpostproc 51. 2. 0 / 51. 2. 0

(0007699)
j-b-m (administrator)
2012-01-02 21:30

Using the official FFmpeg from Ubuntu 10.04:

FFmpeg SVN-r05.1-4:0.5.1-1ubuntu1.2

The sunab Kdenlive packages are compiled against the official Ubuntu FFmpeg, and you are using a more recent FFmpeg from an external PPA, which causes the problems, see:

http://kdenlive.org/user-manual/downloading-and-installing-kdenlive/pre-compiled-packages/ubuntu-packages [^]

- Issue History
Date Modified Username Field Change
2012-01-02 06:41 Rick T New Issue
2012-01-02 06:41 Rick T File Added: kdenlive-20120101.kcrash
2012-01-02 06:44 Rick T File Added: test.ogg
2012-01-02 06:46 Rick T Note Added: 0007693
2012-01-02 06:53 Rick T Note Edited: 0007693 View Revisions
2012-01-02 06:53 Rick T File Added: install_1.ogv
2012-01-02 06:55 Rick T Tag Attached: crash
2012-01-02 06:55 Rick T Tag Attached: 0.8.3
2012-01-02 06:55 Rick T Tag Attached: ogg
2012-01-02 06:55 Rick T Tag Attached: ogv
2012-01-02 07:17 Rick T Note Edited: 0007693 View Revisions
2012-01-02 07:24 Rick T Note Added: 0007694
2012-01-02 20:03 j-b-m Note Added: 0007696
2012-01-02 20:03 j-b-m Assigned To => j-b-m
2012-01-02 20:03 j-b-m Status new => feedback
2012-01-02 20:56 Rick T Note Added: 0007698
2012-01-02 20:56 Rick T Status feedback => assigned
2012-01-02 20:59 Rick T Note Edited: 0007698 View Revisions
2012-01-02 21:30 j-b-m Note Added: 0007699
2012-01-03 15:53 j-b-m Relationship added has duplicate 0002466


Copyright © 2000 - 2014 MantisBT Team
Powered by Mantis Bugtracker