| Re: [AD] WIP is crashing |
[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]
In reply to Grzegorz Adam Hankiewicz <gradha@xxxxxxxxxx>:
[snip - crash in blit_from_256]
>If I put a printf _at the end_ of
> that function, everything works again.
>
>So what is that? Slowing the routine helps not crash that function? Am I
>crazy or what?
Sounds like a pointer problem; you typically get nonsensical behaviour
such as this when a pointer is not initialised, or points at the wrong
thing, etc.
Try initialising all nearby pointers to zero. This may help (?).
Bye for now,
--
Laurence Withers, lwithers@xxxxxxxxxx
http://www.lwithers.demon.co.uk/
Attachment:
signature.asc
Description: PGP signature
| Mail converted by MHonArc 2.6.19+ | http://listengine.tuxfamily.org/ |