#207 Crash when generating proxies in Kdenlive on iMac OSX Mavericks

v0.9.0
open
nobody
None
5
2014-09-13
2014-03-24
No

bsauvage wrote:
Hello

New to Kdenlive, running it on iMac 2013 on OSX Mavericks. Installed without problem with the provided instruction - all seems well until I start creating some proxies from some GoPro videos that I took. It crashes (I think always at the same vid - it's not corrupted as far as I can see).
Note that this happens when I select a bunch of vids at the same time:
-if I select one by one and generate the proxies in this way there is no crash
-if I select 10 vids, it works
-if I select 20 vids it crashes

Log inside the dropbox link below.

https://www.dropbox.com/s/1z6jht7rc5yextx/Kdenlive%20crash%20log.rtf

Please help!

Many thanks in advance.


Reply from Steve Guilford:

The crash is within MLT...

Code: Select all
3 ??? 0000000000000000
00 0 + 0
4 libmlt.6.dylib 0x000000010704a6
99 mlt_properties_fetch +
25
5 libmlt.6.dylib 0x000000010704ab
57 mlt_properties_set_int +
55
6 libmltavformat.dylib 0x000000010f4d35
09 producer_open + 1273
7 libmltavformat.dylib 0x000000010f4d25
c8 producer_get_frame +
312
8 libmlt.6.dylib 0x000000010704fd
9b producer_get_frame +
955
9 libmlt.6.dylib 0x000000010704f0
23 mlt_service_get_frame +
147
10 libmlt.6.dylib 0x000000010704f0
23 mlt_service_get_frame +

You should cross-post on the MLT site.

You said that it loads 10 videos at a time w/out problem but crashes at 20.
Try loading 11, 12, 13, ... videos at a time and find the point where it crashes. Isolate the video that causes the problem. You need to generate more clues in order to help find the source of the problem.


bsauvage wrote:

Thanks, posting on MLT website now.

Difficult to pinpoint the video in question as doing them one by one works - rather it seems a bad interaction between certain videos (does what I say make sense? I'm not convinced myself....).

Related

Bugs: #207

Discussion

  • Dan Dennedy

    Dan Dennedy - 2014-03-24

    Please be clear about the steps to reproduce. Is it while creating proxies? Only by selecting? Or, after creating proxies, after selecting multiple, and then while adding them to the timeline?

     
    • Benoit Sauvage

      Benoit Sauvage - 2014-03-24

      It happens while creating proxies. If it helps I can also include in the
      dropbox the first 20 videos that I select which generate the crash. Please
      let me know.

      On Tue, Mar 25, 2014 at 6:41 AM, Dan Dennedy ddennedy@users.sf.net wrote:

      Please be clear about the steps to reproduce. Is it while creating
      proxies? Only by selecting? Or, after creating proxies, after selecting
      multiple, and then while adding them to the timeline?


      Status: open
      Group: feature_request
      Created: Mon Mar 24, 2014 09:09 PM UTC by Benoit Sauvage
      Last Updated: Mon Mar 24, 2014 09:09 PM UTC
      Owner: nobody
      Posted the below on Kdenlive website and was advised to add it here as
      crash is MLT related.

      bsauvage wrote:
      Hello

      New to Kdenlive, running it on iMac 2013 on OSX Mavericks. Installed
      without problem with the provided instruction - all seems well until I
      start creating some proxies from some GoPro videos that I took. It crashes
      (I think always at the same vid - it's not corrupted as far as I can see).
      Note that this happens when I select a bunch of vids at the same time:
      -if I select one by one and generate the proxies in this way there is no
      crash
      -if I select 10 vids, it works
      -if I select 20 vids it crashes

      Log inside the dropbox link below.

      https://www.dropbox.com/s/1z6jht7rc5yextx/Kdenlive%20crash%20log.rtf

      Please help!

      Many thanks in advance.

      Reply from Steve Guilford:

      The crash is within MLT...

      Code: Select all
      3 ??? 0000000000000000
      00 0 + 0
      4 libmlt.6.dylib 0x000000010704a6
      99 mlt_properties_fetch +
      25
      5 libmlt.6.dylib 0x000000010704ab
      57 mlt_properties_set_int +
      55
      6 libmltavformat.dylib 0x000000010f4d35
      09 producer_open + 1273
      7 libmltavformat.dylib 0x000000010f4d25
      c8 producer_get_frame +
      312
      8 libmlt.6.dylib 0x000000010704fd
      9b producer_get_frame +
      955
      9 libmlt.6.dylib 0x000000010704f0
      23 mlt_service_get_frame +
      147
      10 libmlt.6.dylib 0x000000010704f0
      23 mlt_service_get_frame +

      You should cross-post on the MLT site.

      You said that it loads 10 videos at a time w/out problem but crashes at 20.
      Try loading 11, 12, 13, ... videos at a time and find the point where it
      crashes. Isolate the video that causes the problem. You need to generate
      more clues in order to help find the source of the problem.


      bsauvage wrote:

      Thanks, posting on MLT website now.

      Difficult to pinpoint the video in question as doing them one by one works
      - rather it seems a bad interaction between certain videos (does what I say
      make sense? I'm not convinced myself....).


      Sent from sourceforge.net because you indicated interest in
      https://sourceforge.net/p/mlt/bugs/207/

      To unsubscribe from further messages, please visit
      https://sourceforge.net/auth/subscriptions/

       

      Related

      Bugs: #207

  • Dan Dennedy

    Dan Dennedy - 2014-03-25

    The avformat producer in MLT has a configurable limit on the number of active concurrent instances that are running due to how caching and memory management works. And it defaults to a fairly low value. This is not confirmed yet, but it sounds like Kdenlive is exceeding that without informing MLT. Where is the kdenlive bug report or thread that led to here in case I need to route back to Kdenlive?

     
    • Benoit Sauvage

      Benoit Sauvage - 2014-03-25

      Is this what you're looking for ?

      http://forum.kde.org/viewtopic.php?f=265&t=120261

      On Tue, Mar 25, 2014 at 8:14 AM, Dan Dennedy ddennedy@users.sf.net wrote:

      The avformat producer in MLT has a configurable limit on the number of
      active concurrent instances that are running due to how caching and memory
      management works. And it defaults to a fairly low value. This is not
      confirmed yet, but it sounds like Kdenlive is exceeding that without
      informing MLT. Where is the kdenlive bug report or thread that led to here
      in case I need to route back to Kdenlive?


      Status: open
      Group: feature_request
      Created: Mon Mar 24, 2014 09:09 PM UTC by Benoit Sauvage
      Last Updated: Mon Mar 24, 2014 10:41 PM UTC
      Owner: nobody

      Posted the below on Kdenlive website and was advised to add it here as
      crash is MLT related.

      bsauvage wrote:
      Hello

      New to Kdenlive, running it on iMac 2013 on OSX Mavericks. Installed
      without problem with the provided instruction - all seems well until I
      start creating some proxies from some GoPro videos that I took. It crashes
      (I think always at the same vid - it's not corrupted as far as I can see).
      Note that this happens when I select a bunch of vids at the same time:
      -if I select one by one and generate the proxies in this way there is no
      crash
      -if I select 10 vids, it works
      -if I select 20 vids it crashes

      Log inside the dropbox link below.

      https://www.dropbox.com/s/1z6jht7rc5yextx/Kdenlive%20crash%20log.rtf

      Please help!

      Many thanks in advance.

      Reply from Steve Guilford:

      The crash is within MLT...

      Code: Select all
      3 ??? 0000000000000000
      00 0 + 0
      4 libmlt.6.dylib 0x000000010704a6
      99 mlt_properties_fetch +
      25
      5 libmlt.6.dylib 0x000000010704ab
      57 mlt_properties_set_int +
      55
      6 libmltavformat.dylib 0x000000010f4d35
      09 producer_open + 1273
      7 libmltavformat.dylib 0x000000010f4d25
      c8 producer_get_frame +
      312
      8 libmlt.6.dylib 0x000000010704fd
      9b producer_get_frame +
      955
      9 libmlt.6.dylib 0x000000010704f0
      23 mlt_service_get_frame +
      147
      10 libmlt.6.dylib 0x000000010704f0
      23 mlt_service_get_frame +

      You should cross-post on the MLT site.

      You said that it loads 10 videos at a time w/out problem but crashes at 20.
      Try loading 11, 12, 13, ... videos at a time and find the point where it
      crashes. Isolate the video that causes the problem. You need to generate
      more clues in order to help find the source of the problem.


      bsauvage wrote:

      Thanks, posting on MLT website now.

      Difficult to pinpoint the video in question as doing them one by one works
      - rather it seems a bad interaction between certain videos (does what I say
      make sense? I'm not convinced myself....).


      Sent from sourceforge.net because you indicated interest in
      https://sourceforge.net/p/mlt/bugs/207/

      To unsubscribe from further messages, please visit
      https://sourceforge.net/auth/subscriptions/

       

      Related

      Bugs: #207

  • Dan Dennedy

    Dan Dennedy - 2014-03-30

    As far as I can tell, Kdenlive is over-utilizing avformat producer concurrency by not calling mlt_service_cache_set_size(service, "producer_avformat", size) as-needed. It uses ffmpeg for the heavy-lifting of transcoding the proxy, but I believe it my be redrawing thumbnails or reloading clips to get some metadata; I am not entirely sure - Kdenlive has a lot of code, and I am not a kdenlive developer. I did not reproduce it on Linux with a version from February 15, 2014. I am not in a position to test this on OS X at the moment, and I doubt that makes a difference (although the older version might). One question, though: in Settings > Configure Kdenlive > Environment > Proxy Clips, what is Concurrent threads set to?

     
    • Benoit Sauvage

      Benoit Sauvage - 2014-03-30

      2

      On Mon, Mar 31, 2014 at 3:25 AM, Dan Dennedy ddennedy@users.sf.net wrote:

      As far as I can tell, Kdenlive is over-utilizing avformat producer
      concurrency by not calling mlt_service_cache_set_size(service,
      "producer_avformat", size) as-needed. It uses ffmpeg for the heavy-lifting
      of transcoding the proxy, but I believe it my be redrawing thumbnails or
      reloading clips to get some metadata; I am not entirely sure - Kdenlive has
      a lot of code, and I am not a kdenlive developer. I did not reproduce it on
      Linux with a version from February 15, 2014. I am not in a position to test
      this on OS X at the moment, and I doubt that makes a difference (although
      the older version might). One question, though: in Settings > Configure
      Kdenlive > Environment > Proxy Clips, what is Concurrent threads set to?


      Status: open
      Group: feature_request
      Created: Mon Mar 24, 2014 09:09 PM UTC by Benoit Sauvage
      Last Updated: Tue Mar 25, 2014 01:07 AM UTC
      Owner: nobody

      Posted the below on Kdenlive website and was advised to add it here as
      crash is MLT related.

      bsauvage wrote:
      Hello

      New to Kdenlive, running it on iMac 2013 on OSX Mavericks. Installed
      without problem with the provided instruction - all seems well until I
      start creating some proxies from some GoPro videos that I took. It crashes
      (I think always at the same vid - it's not corrupted as far as I can see).
      Note that this happens when I select a bunch of vids at the same time:
      -if I select one by one and generate the proxies in this way there is no
      crash
      -if I select 10 vids, it works
      -if I select 20 vids it crashes

      Log inside the dropbox link below.

      https://www.dropbox.com/s/1z6jht7rc5yextx/Kdenlive%20crash%20log.rtf

      Please help!

      Many thanks in advance.

      Reply from Steve Guilford:

      The crash is within MLT...

      Code: Select all
      3 ??? 0000000000000000
      00 0 + 0
      4 libmlt.6.dylib 0x000000010704a6
      99 mlt_properties_fetch +
      25
      5 libmlt.6.dylib 0x000000010704ab
      57 mlt_properties_set_int +
      55
      6 libmltavformat.dylib 0x000000010f4d35
      09 producer_open + 1273
      7 libmltavformat.dylib 0x000000010f4d25
      c8 producer_get_frame +
      312
      8 libmlt.6.dylib 0x000000010704fd
      9b producer_get_frame +
      955
      9 libmlt.6.dylib 0x000000010704f0
      23 mlt_service_get_frame +
      147
      10 libmlt.6.dylib 0x000000010704f0
      23 mlt_service_get_frame +

      You should cross-post on the MLT site.

      You said that it loads 10 videos at a time w/out problem but crashes at 20.
      Try loading 11, 12, 13, ... videos at a time and find the point where it
      crashes. Isolate the video that causes the problem. You need to generate
      more clues in order to help find the source of the problem.


      bsauvage wrote:

      Thanks, posting on MLT website now.

      Difficult to pinpoint the video in question as doing them one by one works
      - rather it seems a bad interaction between certain videos (does what I say
      make sense? I'm not convinced myself....).


      Sent from sourceforge.net because you indicated interest in
      https://sourceforge.net/p/mlt/bugs/207/

      To unsubscribe from further messages, please visit
      https://sourceforge.net/auth/subscriptions/

       

      Related

      Bugs: #207

  • Dan Dennedy

    Dan Dennedy - 2014-09-13
    • Group: feature_request --> v0.9.0
     

Log in to post a comment.