RE: [AD] crash 16bit fullscreen mode

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


Someone should search the [AD] archives. I pointed this problem out
several years ago. Don't remember where it ended though.


i found some talk about it back in late October 2002.


eric suggested this:

> Crashes seem to depend on the size and orientation of desktop windows
> being switched to by releasing Alt+Tab (larger windows cause crash )

Edit the allegro.cfg file and put:

    disable_direct_updating = yes

in the [graphics] section.

Then make sure this allegro.cfg is visible from your program (put it in the
same directory or use the ALLEGRO variable, see the docs) and retry.





can you tell me if this would still help ?






> > > i have a theory...
> > >
> > > i think i have found a race condition where the graphics driver
may be
> > > drawing to a surface it no longer has locked, due to alt-tabing
away









> from
> > > the app.   is that possible ?
> > > could it be that during the alt-tab away, the screen bitmap is
lost
> and
> > > attempting to draw on it causes a crash ?
> > > this problem has only been reported to me by some users that claim
its
> a
> > > recent bug, so maybe its a change that occured between 4.1.15 and
> 4.1.16 ?
> > >
> >
> >Hm, so it isn't always reproducible? Sounds like a race condition
> >indeed.
>
>
> it is re-producible.
> it doesn't crash in debug builds, just release build :(
> so tracking it down is really hard.
> i've started a thread on a.cc about it also, that i will continually
> update
> in the hope that others have some evidence too, that might lead to a
fix.
>
> please read the a.cc thread for additional info..
> http://www.allegro.cc/forums/view_thread.php?_id=429489
>





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