Azure Sphere Crash Dumps for developers?

Willess, Brian 451 Reputation points
2021-11-04T05:43:48.63+00:00

I've been learning more about the Azure Sphere error reporting feature. The error reports can be very powerful when monitoring a fleet of devices. If the application exits with a unique exit code it's easy for me to find the exact line of code that failed on my device, In the case of an application crash, the report provides me with the stack pointer and program counter of the crash location, but I don't see anyway that as a developer I can utilize this data to determine where the application crashed, or how I got there (stack trace).

In the crash dump documentation it states that "The data is accessible only for troubleshooting by the Azure Sphere team, through secure, remote, fully audited sessions."

I have a couple of questions . . .

  1. Are there any plans to make crash dumps available to developers when they are developing applications (enable-development mode)?
  2. Are there plans to make crash dumps from deployed devices available from the customers Azure Sphere Tenant?
  3. Is there a way for a developer to translate the PC from the error report to a line of code in an application without involving the Sphere team?
  4. Where can I find the Azure Sphere Feature Feedback forum? My link to the original forum is broken. I have feature ideas!

Thanks for the help, crash data is critical when engineering teams need to dig deep into a problem, especially when it occurs in the field and it's not easily repeatable in a development environment. It looks like the required data is available, but not to the developer at this time. I hope there is a path to resolve this issue.

Azure Sphere
Azure Sphere
An Azure internet of things security solution including hardware, operating system, and cloud components.
156 questions
{count} votes

1 answer

Sort by: Most helpful
  1. QuantumCache 20,026 Reputation points
    2021-12-20T06:30:54.43+00:00

    Hello @Willess, Brian ,

    Sorry for the delayed response on this case. Below is the summary of the product team's response on your initial response.

    Are there any plans to make crash dumps available to developers when they are developing applications (enable-development mode)?

    PG response: Not at this point.

    Are there plans to make crash dumps from deployed devices available from the customers Azure Sphere Tenant?

    PG Response: Not at this point. This is something we are working on, but without a committed timeline yet. Martin Bryant is PM for the workstream.

    Is there a way for a developer to translate the PC from the error report to a line of code in an application without involving the Sphere team?

    PG Response: The Linux addr2line tool can help. "addr2line -e <filename> <offset> -f -a". addr2line(1) - Linux man page (die.net) has documentation.

    Where can I find the Azure Sphere Feature Feedback forum? My link to the original forum is broken. I have feature ideas!

    https://feedback.azure.com/d365community/forum/7cb8d550-0725-ec11-b6e6-000d3a4f07b8

    Regarding: access to crash dumps

    PG response: Not sure about the timeline on this as of now.

    0 comments No comments