Hi Matt,

> midi_mt32gm.c:
>       line 65: needs ",index" added to the fprintf
>       line 114: return needs a value

Fixed, thanks!

> *****
> 
> >>         if (rect->x < clipzone.x) {
>   Reading uninitialized memory: rect->x
>   Stack trace where the error occurred:
>                 _gfxop_clip()  D:\src\freesci\src\gfx\operations.c, 94
> _gfxop_buffer_propagate_box()  D:\src\freesci\src\gfx\operations.c, 1219
> _gfxop_full_pointer_refresh()  D:\src\freesci\src\gfx\operations.c, 1330
[...]

Is there a similar report from earlier on? The same rect was clipped in
1324. (If there is, it might be caused by the gfx driver not initializing
its pointer coordinates (IIRC, none of the drivers does this)).

When does this happen?


>   Freeing dangling pointer.
>   Pointer : 0x01e75518
>   In block: 0x01e75518 thru 0x01e763fa (3811 bytes)
>             buffer, allocated at:
>             decompress0()  D:\src\freesci\src\scicore\decompress0.c, 245
> 
>             stack trace where memory was freed:
>             decompress0()  D:\src\freesci\src\scicore\decompress0.c, 312
>             resourceLoader()  D:\src\freesci\src\scicore\resource.c, 210
>             loadResources()  D:\src\freesci\src\scicore\resource.c, 13
>             main()  D:\src\freesci\src\main.c, 796
>   Stack trace where the error occurred:
>                     free()
>              decompress0()  D:\src\freesci\src\scicore\decompress0.c, 312
>           resourceLoader()  D:\src\freesci\src\scicore\resource.c, 210
>            loadResources()  D:\src\freesci\src\scicore\resource.c, 131
>                     main()  D:\src\freesci\src\main.c, 796
> **Memory corrupted.  Program may crash!!**

???
Whoah... while this looks critical, I'm at a loss to explain it. The code,
while somewhat ancient in style, should not cause the problem _as far as I
can tell_ - is there some way you can determine the value of
compressionMethod when this happens, or the point where the pointer was
freed first?


Thanks,

llap,
 Christoph


Reply via email to