Re: [AD] More X Mode Setting |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
On January 6, 2011, Thomas Fjellstrom wrote:
> On January 6, 2011, Peter Wang wrote:
> > On 2011-01-05, Thomas Fjellstrom <tfjellstrom@xxxxxxxxxx> wrote:
> > > I'm a little stuck here. It didn't seem to lock up for trentg on an
> > > older
> >
> > > ubuntu, but here on debian with a really new X/Mesa/whatever I get this:
> > I'm can't reproduce the deadlock on my machine.
> >
> > I saw that in some places you forgot to release system->lock, e.g. after
> > XGetInputFocus fails. I assume you've checked the allegro.log so it
> > shouldn't be the cause.
>
> Hmm, that might be it. though the deadlock seems to be on the event queue,
> or so gdb seems to think.
Yeah, you were right. I think it was the randr restore_mode call. All nice and
smooth now.
> > Maybe try a simpler test program, without timers and event queues,
> > and sprinkle ALLEGRO_DEBUG statements everywhere?
>
> Yeah, worth a shot.
>
> > Peter
> >
> > -------------------------------------------------------------------------
> > -- --- Learn how Oracle Real Application Clusters (RAC) One Node allows
> > customers to consolidate database storage, standardize their database
> > environment, and, should the need arise, upgrade to a full multi-node
> > Oracle RAC database without downtime or disruption
> > http://p.sf.net/sfu/oracle-sfdevnl
--
Thomas Fjellstrom
tfjellstrom@xxxxxxxxxx