• MorphOS Developer
    geit
    Posts: 1033 from 2004/9/23
    Quote:

    pegasos-sigi2 wrote:
    A reason to fail, too: Epub-Reader did't support files with DRM.



    Opening a non ebook file is causing memory errors.

    I opened:

    SYS:MorphOS/TP/wizardturbospool.wizard"


    To see the issues launch "WipeOut" and "LogTool". The first one will slow down you system as it applies tons of additional memory operations. It will report any false use of free mem (wrong size, wrong pool, wrong address) and also will apply boundaries around each memory block allocated. Thisallows to track illegal memory accessing before and after a memory block. e.g. allocating 5 bytes and storing "hello\0" will cause an error as you broke the upper boundary.

    Wipeout cannot be removed, it eats memory like hell and slows down your system, but (unless you have some application internal memory tracking) it is the only way to find these errors.

    Just add some debug lines around free memory calls, so you can see which one is causing the issue. It is always a good idea to add stuff like __FILE__, __LINE__ and __func__ to any of your functions to have a point to investigate.

    Geit
  • »31.08.14 - 22:54
    Profile