Submit and vote on feature ideas.

Welcome to the new Parasoft forums! We hope you will enjoy the site and try out some of the new features, like sharing an idea you may have for one of our products or following a category.

BOGUS_LEAK explained

LegacyForum
LegacyForum Posts: 1,664 ✭✭
edited December 2016 in Insure++
unexplained errors
When running my application, I get a couple messages of the form "BOGUS_LEAK" and a couple references to where in the code some memory is being allocated and where Insure++ thinks it might be getting deleted (I think).

The manual has no entry on the message BOGUS_LEAK. Can someone fill me in on that?
Tagged:

Comments

  • LegacyForum
    LegacyForum Posts: 1,664 ✭✭
    The BOGUS_LEAK error message is insure's way of telling you that there was some kind of leak error reported at runtime.

    LEAK_ASSIGN
    LEAK_FREE
    LEAK_RETURN
    LEAK_SCOPE

    that later on during execution insure see's and realizes that it had made a mistake. Rather than have you searching all over the place looking for where this thing had leaked we thought it would be better to inform you that that was a mistake. If you have multiple leaks reported at runtime then you can see which one this BOGUS_LEAK refers to by checking the stack trace information to see which leak reported is the same as this BOGUS_LEAK.

    Note this is strictly in the runtime report it would not be something you would see in the leak summary. The leak summary being the more fool proof place to see what has leaked.