Resolved Maxim DL V6 crashes when startup script terminates.

Discussion in 'Aluma CCD Series' started by Tom Haugh, Mar 24, 2020.

  1. Adam Robichaud

    Adam Robichaud Lead Developer Staff Member

    Joined:
    Sep 29, 2014
    Messages:
    1,042
    Location:
    Ottawa
    Hi Tom,

    When you run your script without connecting to the Aluma camera, does MaxIm DL close when the script terminate?

    Cheers,
    -A
     
  2. Tom Haugh

    Tom Haugh Cyanogen Customer

    Joined:
    Dec 8, 2017
    Messages:
    60
    Adam,

    No. Maxim continues on its merry way.

    Tom
     
  3. Adam Robichaud

    Adam Robichaud Lead Developer Staff Member

    Joined:
    Sep 29, 2014
    Messages:
    1,042
    Location:
    Ottawa
    At this point I'm trying to determine the call that's making MaxIm crash—I suspect there's an undocumented call we're not seeing that is throwing the error. We did recently tamp down an access violation associated with self-guiding, so I wonder if that might have been it. Are you running an AO unit?
     
  4. Tom Haugh

    Tom Haugh Cyanogen Customer

    Joined:
    Dec 8, 2017
    Messages:
    60
  5. Tom Haugh

    Tom Haugh Cyanogen Customer

    Joined:
    Dec 8, 2017
    Messages:
    60
    Adam,

    I'm providing this just as more information to you. I started up the observatory last night by manually executing each step in the full ACP start up script. Connecting to the mount and camera were done via ACP console. I then started a full single image run via the ACP web application. I have attached the run log. As you can see everything ran fine: positioning, focus via FocusMax, plate solving, mount syncing, and image acquisition. At the end of the script a couple of batch files that run and generate a map JPG that matches the FOV of the camera and an overall sky map JPG showing where in the sky the mount was pointing. Everything ran fine. As soon as the script terminated, Maxim went down.

    Maybe there is a clue in here somewhere, maybe not.

    I then completed the evening by restarting Maxim and running everything manually.

    Tom
     

    Attached Files:

  6. Colin Haig

    Colin Haig Staff Member

    Joined:
    Oct 27, 2014
    Messages:
    7,978
    Location:
    Earth
    Hi Tom, Adam and I are thinking it might make sense to turn on crash dump diagnostics on your machine.
    This will involve a couple of registry settings, and then when MaxIm crashes, it will generate a .DMP file. We'll want that zipped up and transfered to us.
    Is this something:
    (a) you'd be comfortable with
    (b) you could do your self
    (c) you'd allow us to TeamViewer in and set up the CrashDump etc.

    Let us know.
     
  7. Tom Haugh

    Tom Haugh Cyanogen Customer

    Joined:
    Dec 8, 2017
    Messages:
    60
    Let me try doing it myself first. Send me some instructions and I will give it a shot.

    Tom
     
  8. Colin Haig

    Colin Haig Staff Member

    Joined:
    Oct 27, 2014
    Messages:
    7,978
    Location:
    Earth
    Ok, thanks.
    I've attached a file called "fulldump.reg"
    Double clicking it will cause the registry editor to add these keys to the Windows registry.
    You will probably get 2-3 security warnings, and have to agree to each one.
    They specific a Dump Folder and tell it to do a full dump when an application crashes.
    The dumps will end up in %LOCALAPPDATA%\CrashDumps
    This may be somewhere like
    C:\Users\Tom\AppData\Local\CrashDumps
    or whatever your operator's name directory is.

    Run your test.
    After MaxIm crashes, you should find a file like:
    MaxIm_DL.exe.12345.dmp
    in that CrashDumps directory.
    We'll want you to ZIP it and send via WeTransfer or Drop box as it could be several megabytes, and the Upload a file may not allow it due to the size.

    After we're done resolving the problem, you may want to remote these registry entries.
    The Windows Registry editor is Regedt32.exe
    The registry entries are under:
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Windows Error Reporting\LocalDumps
     

    Attached Files:

  9. Tom Haugh

    Tom Haugh Cyanogen Customer

    Joined:
    Dec 8, 2017
    Messages:
    60
    There was no dump for today's crash. There were dumps from the 22nd and the 23rd. Did your registry commands toggle the crash dumps?

    Tom
     
  10. Colin Haig

    Colin Haig Staff Member

    Joined:
    Oct 27, 2014
    Messages:
    7,978
    Location:
    Earth
    Weird.
    Are the dumps from the other days about 28MB (eg bigger than 20MB) ?
    The registry commands should have turned on dumps.
     
  11. Tom Haugh

    Tom Haugh Cyanogen Customer

    Joined:
    Dec 8, 2017
    Messages:
    60
    The one on the 23rd is 32MB and the one on the 22nd is 16MB

    Tom
     
  12. Tom Haugh

    Tom Haugh Cyanogen Customer

    Joined:
    Dec 8, 2017
    Messages:
    60
    OK, 3rd times the charm. When Maxim went down the dialog had two buttons: debug and close. I chose debug. The dialog came back up with only close. When I selected close the dump file showed up. It is 234MB in size.

    Tom
     
  13. Colin Haig

    Colin Haig Staff Member

    Joined:
    Oct 27, 2014
    Messages:
    7,978
    Location:
    Earth
    Jackpot!
    Zip that sucker and get it to us.
     
  14. Tom Haugh

    Tom Haugh Cyanogen Customer

    Joined:
    Dec 8, 2017
    Messages:
    60
    I have dropbox installed but have never used it to send files. What do I need to do?

    Tom
     
  15. Colin Haig

    Colin Haig Staff Member

    Joined:
    Oct 27, 2014
    Messages:
    7,978
    Location:
    Earth
    Thanks, got it, passed on to Adam after a quick check.
     
  16. Adam Robichaud

    Adam Robichaud Lead Developer Staff Member

    Joined:
    Sep 29, 2014
    Messages:
    1,042
    Location:
    Ottawa
    Hi Tom, the dump confirms the crash is occurring from a known bug that we've got a fix for internally. We're currently testing it and queuing it for release sometime in the next couple of weeks.
     
  17. Bob Denny

    Bob Denny Cyanogen Customer

    Joined:
    Oct 12, 2014
    Messages:
    1,178
    Location:
    DC-3 Dreams, SP, Mesa, Arizona +1 480 396 9700
    Adam et al. — Thanks so much for digging in and rooting this out. You guys are great, and have pulled through over the many years. Bravo!!
     
    Adam Robichaud likes this.
  18. Tom Haugh

    Tom Haugh Cyanogen Customer

    Joined:
    Dec 8, 2017
    Messages:
    60
    Adam,

    Thanks for the update. If you need a field test site let me know.

    Tom
     
  19. Tom Haugh

    Tom Haugh Cyanogen Customer

    Joined:
    Dec 8, 2017
    Messages:
    60
    Just bumping this. Has there been any progress with the fix? I've got an expensive software package just sitting here.
     
  20. Colin Haig

    Colin Haig Staff Member

    Joined:
    Oct 27, 2014
    Messages:
    7,978
    Location:
    Earth
    Tom, @Adam Robichaud is tied up today, but will get back to you.
    We are hoping to wrap up internal testing on a release in the next few days, and then we'll let you know ASAP.
     

Share This Page