500d Unable to record with audio and global draw without ERR70

Issue #1468 open
ats1995 created an issue

Nightly build form 13 oct:

I don't get any Err70's when audio is disabled. I'm not able to avoid Err70 when audio and global draw is enabled, even though nothing is enabled in the live view tab. The error message from ML says something about a sound device. Similar problem has occurred with earlier builds.

Comments (28)

  1. ats1995 reporter

    Hm, that sucks. A workaround or something is still needed, because ML is now broken in video mode to me.

    Just a thought: since the audio chip isn't the same as the other cameras, I believe I read that it wasn't fully "supported". I believe most controls where off, but it was somewhat working. Just a thought.

  2. Alex

    That's exactly what all previous fixes did - workarounds (slowed down ML drawing code).

    Minimal example - just drawing random pixels on screen (no other ML code running) => camera crashes.

  3. Alex

    Just tried the nightly builds on my 500D (2012-10-15-5a3b1360a662) - can't reproduce the crash. Not even by pressing MENU repeatedly to force continuous redraws.

    Edit: not even when running both redraw test and rectangle test (at the same time!) in parallel with recording (1080p).

    Most overlays are enabled (all histograms, slow zebras, peaking, spotmeter)... still no crash. Audio is enabled.

  4. Alex

    Reproduced with -O3. Pushed a workaround, it's now OK with both -O3 and -Os. Try in tomorrow's nightly build.

    I expect this bug to come back again every now and then.

  5. Giovanni Nanomad Condello

    Just to make sure we are doing everything right, can you test older builds and see if it is still fixed in the 20th?

  6. Alex

    Well, all you have to do is to slow down some drawing code. There's no proper fix to this bug (unless you are able understand the Canon code that throws that error...).

  7. Paul F.

    Same here, with all the nightlies I've downloaded so far.

    at SoundDevice\SoundDevice_CODEC.c:1080, task ASIF
    lv:1 mode:20
    Magic Lantern version : Nightly.2014Mar25.500D111
    Mercurial changeset   : b63ed5bde187 (unified) tip
    Built on 2014-03-25 00:15:04 UTC by jenkins@magiclantern.fm.
    Free Memory  : 133K + 3040K
  8. Log in to comment