Re: [AD] [XWIN] SHM bug.

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


On March 2, 2002 07:27 pm, you wrote:
> On 2002-03-02, Thomas Fjellstrom <tfjellstrom@xxxxxxxxxx> wrote:
> [snip]
>
> > > lwithers@xxxxxxxxxx:~$ gcc -o test test.c -W -Wall `allegro-config
> > > - --libs`
> > > lwithers@xxxxxxxxxx:~$ ./test
> > > makecol(0,0,0) returns 0
> > > X Error of failed request:  BadAccess (attempt to access private
> > > resource denied)
> > >   Major opcode of failed request:  145 (MIT-SHM)
> > >   Minor opcode of failed request:  1 (X_ShmAttach)
> > >   Serial number of failed request:  32
> > >   Current serial number in output stream:  51
> >
> > yup. thats exactly what I get.  There an unbusy X wizzard out there?
>
> It's probably my "fix" for the race condition near XCloseDisplay. If
> you put even a ``usleep(1000);'' before the end, it goes away.  I'll
> see about looking again soon (hopefully before the deadline).

Cool. If I wasn't so busy... :(

-- 
Thomas Fjellstrom
tfjellstrom@xxxxxxxxxx
http://strangesoft.net



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