• Using Memory Analyzer to analyze an RTP in VxWorks 6.8/Workbench 3.2?

    From Luciano Moretti@21:1/5 to All on Thu Jan 19 09:44:23 2017
    I've got a legacy project with a Freescale PPC chip running VxWorks 6.8 with RTPs. One of the RTPs is suffering from a memory leak that I'm having issues tracking down. I'd like to use the Memory Analyzer (WR Workbench 3.2) but whenever I attach the
    memory analyzer it appears to kill off all my currently running Kernel Module Projects and RTPs and I can't figure out how to restart everything. All the documentation I can find seems to be geared toward single Downloadable Kernel Module projects.

    Can anyone tell me how I attach the Memory Analyzer to my RTP?

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From kuhlenough@gmail.com@21:1/5 to All on Fri Apr 28 06:47:29 2017
    The memory analyzer uses the debugger to hot-patch your malloc calls, or rather the memPartLib under malloc(). To work correctly you need the correct binary with debug symbols for both the kernel and the RTP, and fair amount of free stack space on the
    target.

    Try running the analyzer on a clean kernel with lots of stack first, to make sure you don't have tool issues, then connect to the legacy system



    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)