Installation of Ozone on new computer crashes when attempting to view FreeRTOS threads

This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

  • Installation of Ozone on new computer crashes when attempting to view FreeRTOS threads

    I've recently moved to a new computer and installed Ozone 2.42. When trying to view tasks with a project using freeRTOS (View->FreeRTOS->Tasks) Ozone crashes. It only crashes if the task view is enabled.

    I'm on a fresh Windows 7 installation, running Ozone through a j-trace and j-trace pro on an STM32F7. I've tried uninstalling and re-installing with no luck, as well as installing an older version of Ozone, but the crash persists when trying to view freeRTOS tasks.


    Any suggestions?

    The error follows:
    "Problem signature:
    Problem Event Name: APPCRASH
    Application Name: Ozone.exe
    Application Version: 2.4.2.0
    Application Timestamp: 594bb22e
    Fault Module Name: ntdll.dll
    Fault Module Version: 6.1.7601.23807
    Fault Module Timestamp: 5915fdce
    Exception Code: c0000005
    Exception Offset: 000000000004f23c
    OS Version: 6.1.7601.2.1.0.256.48
    Locale ID: 1033
    Additional Information 1: d54b
    Additional Information 2: d54b2e50f8000514d2345d55eaebc4ac
    Additional Information 3: bbcf
    Additional Information 4: bbcfb80054e569d43ef7909c45db91f0
    "

    Also, here's some information from Microsoft's "Application Verifier"

    XML Source Code

    1. <?xml version="1.0" encoding="UTF-8" standalone="no"?>
    2. <avrf:logfile xmlns:avrf="Application Verifier">
    3. <avrf:logSession TimeStarted="2017-07-07 : 11:32:25" PID="9856" Version="2">
    4. <avrf:logEntry Time="2017-07-07 : 11:35:42" LayerName="Heaps" StopCode="0x13" Severity="Error">
    5. <avrf:message>First chance access violation for current stack trace.</avrf:message>
    6. <avrf:parameter1>69b1d7000 - Invalid address causing the exception.</avrf:parameter1>
    7. <avrf:parameter2>7900c032 - Code address executing the invalid access.</avrf:parameter2>
    8. <avrf:parameter3>1b9e30 - Exception record.</avrf:parameter3>
    9. <avrf:parameter4>1b9940 - Context record.</avrf:parameter4>
    10. <avrf:stackTrace>
    11. <avrf:trace>vrfcore!VerifierDisableVerifier+934 ( @ 0)</avrf:trace>
    12. <avrf:trace>ntdll!RtlApplicationVerifierStop+d3 ( @ 0)</avrf:trace>
    13. <avrf:trace>vfbasics!+7fed69d6377 ( @ 0)</avrf:trace>
    14. <avrf:trace>vfbasics!+7fed69d7c9b ( @ 0)</avrf:trace>
    15. <avrf:trace>vfbasics!+7fed69d7392 ( @ 0)</avrf:trace>
    16. <avrf:trace>ntdll!vsprintf_s+12b ( @ 0)</avrf:trace>
    17. <avrf:trace>ntdll!RtlUnwindEx+852 ( @ 0)</avrf:trace>
    18. <avrf:trace>ntdll!KiUserExceptionDispatcher+2e ( @ 0)</avrf:trace>
    19. <avrf:trace>MSVCR100!memmove+d2 ( @ 0)</avrf:trace>
    20. <avrf:trace>Ozone!+13f5f2800 ( @ 0)</avrf:trace>
    21. <avrf:trace>Ozone!+13f5f2912 ( @ 0)</avrf:trace>
    22. <avrf:trace>Ozone!+13f43646a ( @ 0)</avrf:trace>
    23. <avrf:trace>Ozone!+13f437549 ( @ 0)</avrf:trace>
    24. <avrf:trace>Ozone!+13f5a2198 ( @ 0)</avrf:trace>
    25. <avrf:trace>FreeRTOSPlugin!+7fee4c01b56 ( @ 0)</avrf:trace>
    26. <avrf:trace>FreeRTOSPlugin!+7fee4c01db8 ( @ 0)</avrf:trace>
    27. <avrf:trace>FreeRTOSPlugin!+7fee4c0200f ( @ 0)</avrf:trace>
    28. <avrf:trace>FreeRTOSPlugin!+7fee4c02968 ( @ 0)</avrf:trace>
    29. <avrf:trace>FreeRTOSPlugin!+7fee4c02c2d ( @ 0)</avrf:trace>
    30. <avrf:trace>Ozone!+13f5da430 ( @ 0)</avrf:trace>
    31. <avrf:trace>Ozone!+13f523204 ( @ 0)</avrf:trace>
    32. <avrf:trace>Ozone!+13f6038cb ( @ 0)</avrf:trace>
    33. <avrf:trace>QtCore4!QMetaObject::activate+53c ( @ 0)</avrf:trace>
    34. <avrf:trace>Ozone!+13f602e6e ( @ 0)</avrf:trace>
    35. <avrf:trace>QtCore4!QMetaObject::activate+53c ( @ 0)</avrf:trace>
    36. <avrf:trace>QtGui4!QDockWidget::visibilityChanged+33 ( @ 0)</avrf:trace>
    37. <avrf:trace>QtGui4!QDockWidget::event+a4 ( @ 0)</avrf:trace>
    38. <avrf:trace>QtGui4!QApplicationPrivate::notify_helper+f6 ( @ 0)</avrf:trace>
    39. <avrf:trace>QtGui4!QApplication::notify+1818 ( @ 0)</avrf:trace>
    40. <avrf:trace>QtCore4!QCoreApplication::notifyInternal+72 ( @ 0)</avrf:trace>
    41. <avrf:trace>QtGui4!QWidgetPrivate::show_helper+208 ( @ 0)</avrf:trace>
    42. <avrf:trace>QtGui4!QWidget::setVisible+30c ( @ 0)</avrf:trace>
    43. <avrf:trace>Ozone!+13f500718 ( @ 0)</avrf:trace>
    44. <avrf:trace>Ozone!+13f5fb6a6 ( @ 0)</avrf:trace>
    45. <avrf:trace>QtCore4!QMetaObject::activate+53c ( @ 0)</avrf:trace>
    46. <avrf:trace>QtGui4!QAction::activate+e0 ( @ 0)</avrf:trace>
    47. <avrf:trace>Ozone!+13f5b0346 ( @ 0)</avrf:trace>
    48. <avrf:trace>Ozone!+13f5b0565 ( @ 0)</avrf:trace>
    49. <avrf:trace>Ozone!+13f5005bc ( @ 0)</avrf:trace>
    50. <avrf:trace>Ozone!+13f5fb6b3 ( @ 0)</avrf:trace>
    51. <avrf:trace>QtCore4!QMetaObject::activate+53c ( @ 0)</avrf:trace>
    52. <avrf:trace>QtGui4!QAction::activate+e0 ( @ 0)</avrf:trace>
    53. <avrf:trace>QtGui4!QMenu::findIdForAction+328 ( @ 0)</avrf:trace>
    54. <avrf:trace>QtGui4!QMenu::internalDelayedPopup+8c2 ( @ 0)</avrf:trace>
    55. <avrf:trace>QtGui4!QWidget::event+d5 ( @ 0)</avrf:trace>
    56. <avrf:trace>QtGui4!QMenu::event+2a3 ( @ 0)</avrf:trace>
    57. <avrf:trace>QtGui4!QApplicationPrivate::notify_helper+f6 ( @ 0)</avrf:trace>
    58. <avrf:trace>QtGui4!QApplication::notify+720 ( @ 0)</avrf:trace>
    59. <avrf:trace>QtCore4!QCoreApplication::notifyInternal+72 ( @ 0)</avrf:trace>
    60. <avrf:trace>QtGui4!QApplicationPrivate::sendMouseEvent+1de ( @ 0)</avrf:trace>
    61. <avrf:trace>QtGui4!QApplication::winFocus+9db ( @ 0)</avrf:trace>
    62. <avrf:trace>QtGui4!QApplication::restoreOverrideCursor+93d ( @ 0)</avrf:trace>
    63. <avrf:trace>USER32!TranslateMessageEx+29d ( @ 0)</avrf:trace>
    64. <avrf:trace>USER32!TranslateMessage+1e2 ( @ 0)</avrf:trace>
    65. <avrf:trace>QtCore4!QEventDispatcherWin32::processEvents+3ba ( @ 0)</avrf:trace>
    66. <avrf:trace>QtGui4!QApplicationPrivate::translateTouchEvent+885 ( @ 0)</avrf:trace>
    67. <avrf:trace>QtCore4!QEventLoop::exec+231 ( @ 0)</avrf:trace>
    68. <avrf:trace>QtCore4!QCoreApplication::exec+e0 ( @ 0)</avrf:trace>
    69. <avrf:trace>Ozone!+13f5f5169 ( @ 0)</avrf:trace>
    70. <avrf:trace>Ozone!+13f6258ce ( @ 0)</avrf:trace>
    71. <avrf:trace>kernel32!BaseThreadInitThunk+d ( @ 0)</avrf:trace>
    72. <avrf:trace>ntdll!RtlUserThreadStart+21 ( @ 0)</avrf:trace>
    73. </avrf:stackTrace>
    74. </avrf:logEntry>
    75. </avrf:logSession>
    76. </avrf:logfile>
    Display All
  • Hi,

    The FreeRTOS plugin in general works, so we would need more information to analyze the problem.

    Are you using the 64-bit or 32-bit version?
    Which version of FreeRTOS do you use?
    Would it be possible to provide your application elf file?
    Do you use a standard eval board or custom hardware?
    Could you provide a Ozone log file of a crashed session? (start Ozone with --logfile=<PathToLogfile>)

    Best regards
    Johannes
    Please read the forum rules before posting.

    Keep in mind, this is *not* a support forum.
    Our engineers will try to answer your questions between their projects if possible but this can be delayed by longer periods of time.
    Should you be entitled to support you can contact us via our support system: segger.com/ticket/

    Or you can contact us via e-mail.
  • Yes, the FreeRTOS plugin has been working well for us across multiple machines, hardware platforms and firmware projects for months. I'm not sure what happened. We even have a laptop that sat untouched for a month which no longer works with the same two jtrace programmers we've been using.

    Also of note: I noticed on one machine Ozone uses all available RAM (~14GB) when opening a project file, which I don't remember being normal behavior. . .

    The answers to your previous questions:

    - We're using Windows 7 64 bit
    - FreeRTOS 9.0.0
    - I'll PM a hex file (and the project file)
    - custom hardware (3 different boards and two different MCU's, none of which don't work now)
    - log is attached (logging had to be started in the project file rather than from the command line)

    thanks,
    Brian
    Files
    • ozoneLog.txt

      (27.26 kB, downloaded 464 times, last: )