gm2
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gm2] Debugging with GM2


From: Michael Riedl
Subject: [Gm2] Debugging with GM2
Date: Wed, 21 Mar 2018 18:43:42 +0100
User-agent: Mozilla/5.0 (X11; Linux i686; rv:52.0) Gecko/20100101 Thunderbird/52.6.0

Gaius,

I need some help. I am continuing testing my library and now have an issue that a test routine is failing when allocated memory is freed.

*** Error in `./TstPSVD': free(): corrupted unsorted chunks: 0x0000000001c026a0 ***

That did not happen with XDS and old Mocka version but anyhow maybe that simply did not recognize. Normally that indicates that the program writes to some unwanted memory segments.

What would you suggest to use as compiler options in such a case to do proper debugging besides
the obvious "-g" ?

Gruß

Michael



reply via email to

[Prev in Thread] Current Thread [Next in Thread]