Menu

#205 OnBC: Building without OnBoardHeader.h leaks memory.

open
OnBoard C (71)
5
2008-04-11
2008-04-01
No

I installed OnBoard/OnBoardC on POSE (m505 running 4.0), created a skeleton project and built. I got a warning because I did not have OnBoardHeader.h installed so I installed it and built again. I got a memory leak.

0.002: Relocatable chunk leaked at 0x000081B8, size = 8
0.002: Chunk allocated by:
0.002: copyDOCSource
0.002: getSourceText
0.002: buildProject
0.002: projectEventHandler
0.002: PrvSendEventToForm
0.003: FrmDispatchEvent
0.003: eventLoop
0.003: PilotMain
0.003: <Unknown @ 0x0004A46C>
0.003: Chunk contents:
0.003: 00 02 00 02 0B 9C 0B 9C .....ú.ú

Discussion

  • Steve Little

    Steve Little - 2008-04-02

    Logged In: YES
    user_id=583634
    Originator: NO

    While OnBC is generally good at cleaning up it's memory when things go well, I'm aware of several places where we leak if an error occurs.
    (Errors like this, I mean, not compile errors)

    Would be good to fix this (and other similar leaks)

     
  • John Wilund

    John Wilund - 2008-04-02
    • labels: 587913 --> OnBoard C
    • milestone: 349193 -->
    • assigned_to: nobody --> a1291762
     
  • John Wilund

    John Wilund - 2008-04-02

    Logged In: YES
    user_id=574706
    Originator: NO

    Hope its ok that I made you PoC

     
  • John Wilund

    John Wilund - 2008-04-11
    • summary: Building without OnBoardHeader.h leaks memory. --> OnBC: Building without OnBoardHeader.h leaks memory.
     

Log in to post a comment.