Re: [AD] crash! set_gfx_mode(GFX_TEXT...); vs draw_mouse()

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


> draw_sprite(0x8374,0x3824, -4100 -4106)
> draw_mouse(-1,-1);
> mouse_move()
> _handle_timer_tick(int 11934)
> tim_win32_high_perf_thread(void* 0x000000);
> _threadstart(...);
> KERNEL32!
>
>
> looks like a race condition when the screen is killed, the mouse (in
> another thread) attempting to draw on the screen.

Always the same problem: we remove a timer handler while it is being 
executed. The fix is the synchronization code of the 4.1.8 WIP, which is 
disabled in the 4.1.9 WIP because of nasty side-effects (especially under 
Unix).

-- 
Eric Botcazou




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