Kdenlive   bug tracker Home page

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000754KdenliveFile Loadingpublic2009-04-08 10:202009-07-01 21:55
ReporterTch3tch 
Assigned Toddennedy 
PrioritynormalSeveritycrashReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version0.7.2 
Target Version0.7.5Fixed in Version0.7.5 
Summary0000754: Crashes few seconds after opening a file
DescriptionWhen I import an avi file Kdenlive crashes few seconds after
Here are the lines :

kdenlive(17239) Render::mltMoveClip: ////// LOOKING FOR CLIP TO MOVE, INDEX: 1
kdenlive(17239) MoveClipCommand::redo: ---- redoing action
KCrash: Application 'kdenlive' crashing...
sock_file=/home/marie/.kde/socket-localhost.localdomain/kdeinit4__0
kdenlive: Fatal IO error: client killed
Unable to start Dr. Konqi
Additional InformationIt's a compiled version of kdenlive running on fedora 9
TagsNo tags attached.
Build/Install MethodManual build from release
Attached Files? file icon r0011593.avi [^] (2,755,000 bytes) 2009-06-22 21:01

- Relationships

-  Notes
(0002676)
xzhayon (developer)
2009-04-09 03:03

please, provide exact steps to reproduce the issue, a backtrace of the crash and, if possible, a sample clip which is crashing

also, please tell us the revision number of your installation of qt, ffmpeg, mlt[++] and kdenlive
(0002682)
ddennedy (developer)
2009-04-09 09:28

Not all file types can be supported nor can there be 100% interoperability between tools for supported file types. We need more information about that avi such as the output of ffmpeg -i your.avi.
(0003359)
costantino (reporter)
2009-06-21 15:32

I've the same problem on Fedora 11. I've installed Kdenlive from the RPMFusion repository.

The KDE Crash Handler was unable to create a valid backtrace, but having run the software from the terminal I get this error messages:

<unknown>: Fatal IO error 9 (Descrittore di file non valido) on X server :0.0.
KCrash: Application 'kdenlive' crashing...
sock_file=/home/c.cerbo/.kde/socket-coco.t500/kdeinit4__0

** (<unknown>:4492): WARNING **: Serious fd usage error 15

** (<unknown>:4492): WARNING **: Serious fd usage error 13


The output of ffmpeg -i is:
ffmpeg: error while loading shared libraries: libavutil.so.50: cannot open shared object file: No such file or directory
(0003360)
costantino (reporter)
2009-06-21 15:50

I've removed and reinstalled both ffmpeg and kdenlive.
Unfortunately kdenlive crashes again when a Clip is imported but ffmpeg seems to work propertly. Now the output of ffmpeg -i is:

FFmpeg version SVN-r18621, Copyright (c) 2000-2009 Fabrice Bellard, et al.
  configuration: --enable-shared --enable-libmp3lame
  libavutil 50. 3. 0 / 50. 3. 0
  libavcodec 52.27. 0 / 52.20. 0
  libavformat 52.32. 0 / 52.31. 0
  libavdevice 52. 2. 0 / 52. 1. 0
  libswscale 0. 7. 1 / 0. 7. 1
  built on Apr 19 2009 18:54:30, gcc: 4.3.2 20081105 (Red Hat 4.3.2-7)
[mjpeg @ 0x9562d50]marker=d8 avail_size_in_buf=18147
[mjpeg @ 0x9562d50]buffer too small, expanding to 18147 bytes
[mjpeg @ 0x9562d50]marker parser used 0 bytes (0 bits)
[mjpeg @ 0x9562d50]marker=e0 avail_size_in_buf=18145
[mjpeg @ 0x9562d50]marker parser used 16 bytes (128 bits)
[mjpeg @ 0x9562d50]marker=db avail_size_in_buf=18127
[mjpeg @ 0x9562d50]index=0
[mjpeg @ 0x9562d50]qscale[0]: 7
[mjpeg @ 0x9562d50]index=1
[mjpeg @ 0x9562d50]qscale[1]: 31
[mjpeg @ 0x9562d50]index=2
[mjpeg @ 0x9562d50]qscale[2]: 31
[mjpeg @ 0x9562d50]marker parser used 197 bytes (1576 bits)
[mjpeg @ 0x9562d50]marker=c0 avail_size_in_buf=17928
[mjpeg @ 0x9562d50]sof0: picture: 320x240
[mjpeg @ 0x9562d50]component 0 2:1 id: 0 quant:0
[mjpeg @ 0x9562d50]component 1 1:1 id: 1 quant:1
[mjpeg @ 0x9562d50]component 2 1:1 id: 2 quant:2
[mjpeg @ 0x9562d50]pix fmt id 21111100
[mjpeg @ 0x9562d50]marker parser used 17 bytes (136 bits)
[mjpeg @ 0x9562d50]marker=da avail_size_in_buf=17909
[mjpeg @ 0x9562d50]escaping removed 82 bytes
[mjpeg @ 0x9562d50]component: 0
[mjpeg @ 0x9562d50]component: 1
[mjpeg @ 0x9562d50]component: 2
[mjpeg @ 0x9562d50]mjpeg decode frame unused 17909 bytes
Input #0, avi, from 'r0011763.avi':
  Duration: 00:00:12.99, start: 0.000000, bitrate: 4498 kb/s
    Stream #0.0, 33333/1000000: Video: mjpeg, yuvj422p, 320x240, 33333/1000000, 30 tbr, 30 tbn, 30 tbc
    Stream #0.1, 1/8000: Audio: pcm_mulaw, 8000 Hz, mono, s16, 64 kb/s
At least one output file must be specified
(0003366)
ddennedy (developer)
2009-06-22 01:53

Please upload a small sample.
(0003379)
costantino (reporter)
2009-06-22 21:03

I've uploaded the video (r0011593.avi) that causes the crash on my system.
(0003383)
ddennedy (developer)
2009-06-22 22:50

I reproduced it with the sample. A few notes for my sake:
It plays fine with audio muted (audio_index=-1).
It always crashes at 1 second point, depending upon profile selected - even 15 fps profile.
Backtrace shows something allocated with mlt_pool_alloc() and set as a data property on the frame is crashing when the consumer closes the frame.
When playing with ffplay, audio starts a little over 1 second after the video and ends a few seconds before the audio.
(0003384)
ddennedy (developer)
2009-06-22 22:57

Inspecting the frame's property list in the debugger shows heap corruption. There might be an unchecked buffer overrun in the avformat producer. Crashes with null consumer as well as SDL.
(0003385)
ddennedy (developer)
2009-06-22 23:34

Fixed in MLT Git commit abfd68badccc37a996a5bb10277b92886bdf1b98.

- Issue History
Date Modified Username Field Change
2009-04-08 10:20 Tch3tch New Issue
2009-04-08 10:20 Tch3tch Build/Install Method => Manual build from release
2009-04-09 03:03 xzhayon Note Added: 0002676
2009-04-09 03:03 xzhayon Status new => feedback
2009-04-09 09:28 ddennedy Note Added: 0002682
2009-06-21 15:32 costantino Note Added: 0003359
2009-06-21 15:50 costantino Note Added: 0003360
2009-06-22 01:53 ddennedy Note Added: 0003366
2009-06-22 21:01 costantino File Added: r0011593.avi
2009-06-22 21:03 costantino Note Added: 0003379
2009-06-22 22:10 ddennedy Status feedback => assigned
2009-06-22 22:10 ddennedy Assigned To => ddennedy
2009-06-22 22:50 ddennedy Note Added: 0003383
2009-06-22 22:57 ddennedy Note Added: 0003384
2009-06-22 23:34 ddennedy Note Added: 0003385
2009-06-22 23:34 ddennedy Status assigned => resolved
2009-06-22 23:34 ddennedy Fixed in Version => future version
2009-06-22 23:34 ddennedy Resolution open => fixed
2009-06-22 23:37 xzhayon Fixed in Version future version => Recent git
2009-06-22 23:37 xzhayon Target Version => future version
2009-06-26 21:01 administrator Fixed in Version Recent git => 0.7.5
2009-06-26 21:07 administrator Fixed in Version 0.7.5 => Recent git
2009-06-26 21:07 administrator Target Version future version => 0.7.5
2009-07-01 20:02 j-b-m Fixed in Version Recent git => 0.7.5
2009-07-01 21:55 xzhayon Status resolved => closed


Copyright © 2000 - 2014 MantisBT Team
Powered by Mantis Bugtracker