Re: [AD] x color conversion again

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


On Tuesday 13 July 2004 22:49, Elias Pschernig wrote:
> Well, here's how far I could track this down. Every time the signal
> occurs while the program is inside the asm function, there's the crash.
> (I put printf commands before and after calling the blitter_func inside
> _xwin_private_fast_colorconv ("<" and ">"), and "." inside the signal
> handler, and got this:
> 
> Lots of: <><><><>.<><><><><>.<>
> And on and on, never a . between < and >, until:
> <.
> Aborted.
> 
> So, even if using printf should have all sorts of other sideeffects, I'm
> quite convinced this is the cause. Someone who knows how to do it can
> probably get gdb to show the same effect in a cleaner way :)
> 
> It also doesn't matter if MMX is used or not - but without using MMX,
> programs sometimes run a few seconds before crashing.
> 
> So, for now, the attached patch makes the signals version not crash
> anymore, by simply disabling the 8-bit blitter in case the signals
> version is used.

Oddly enough, it still crashes for me, both with and without Henrik's 
patch. However, I seem to be getting crashes only from the demo program 
after the original opening FLI played...

I'll see if I can narrow it down on my end.

Evert





Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/