Crash at Memory\Memory.c:186 when tethering

Issue #2916 new
dashie created an issue

Camera off, usb cable connected, ddserver (used for tethering with dslrdashboard) was launched, camera power on ok, tethering ok, until I take a picture, it seems to crash right after (two times) (CRASH00, CRASH01)

Third time, camera on, ddserver on, connected usb cable, crash. (CRASH02)

Tried two older builds (start camera, start ddserver, connect usb cable, crash directly):

magiclantern-Nightly.2018May01.550D109 caused CRASH03

magiclantern-Nightly.2018Feb04.550D109 caused CRASH04

I think I had a crash without tethering on memory thingy a day or two but I removed the crash logs since...

Can I easily do something to help debug this ?

Magic Lantern version : Nightly.2018Jul03.550D109
Mercurial changeset   : 7a3b5fa3f4c6 (unified) tip
Built on 2018-07-03 00:22:15 UTC by jenkins@nightly.

Comments (10)

  1. dashie reporter

    Latest nightly, full config reset, then some settings activated again, and I still got crashes:

    ASSERT: 0
    at Memory\Memory.c:566, task PTPSessionTASK
    lv:0 mode:0
    
    PTPSessionTASK stack: 13a4a8 [13a610-139610]
    0xUNKNOWN  @ ff1241d8:13a590
    0xFF06B600 @ ff2501e8:13a4d8
    0x00C60478 @ c604ec:13a4a8
    
    Magic Lantern version : Nightly.2018Jul03.550D109
    Mercurial changeset   : 7a3b5fa3f4c6 (unified) tip
    Built on 2018-07-03 00:22:15 UTC by jenkins@nightly.
    Free Memory  : 255K + 786K
    

    I had modules loaded: adv_int, ettr, file_man, lua, silent and mlv_play, mlv_rec, mlv_snd

    It seems thoses thee last one, just loaded, are sufficient to trigger crashes

    Unloaded them and I can't get ML to crash for now

  2. Alex

    If you can undelete the files and reproduce the crash, I'd like to run a couple of tests. First you need a way to consistently reproduce the issue, then I can prepare some custom logging code to narrow it down.

    Duplicate, but no time to search right now, sorry.

  3. dashie reporter

    I was able to reproduce even after deleting the config.

    As said, as soon I loaded mlv_play, mlv_rec and mlv_snd I was able to reproduce the crash.

  4. dashie reporter

    I've tried the two firmwares.

    If I boot them, as soon as I plug the usb cable (ddserver started) it crash (that's the logs here), and if I start usb plugged and right after ML load, it crash when I try to connect/list devices from the qdslrdashboard app.

    For this tests the three RAW modules weren't loaded, so this firmware behave differently that the latest nightly too.

  5. Log in to comment