Hi,
On Tue, 17 Aug 2010, Johannes Schindelin wrote:
> On Tue, 17 Aug 2010, Johannes Schindelin wrote:
>
> > On Tue, 17 Aug 2010, Michael Doube wrote:
> >
> > > I have struck a bug in today's daily update (1.44f10), which results
> > > in failure to display the contents of a stack, then ImageJ becoming
> > > unresponsive. I think it appeared around 1.44f9 or 1.44f10.
> >
> > It appeared in 1.44f9 (I used Git's bisect tool to find out). The
> > problem was introduced due to an apparent bug fix. You can work around
> > it with this patch.
>
> Actually, I take it back. It seems to be a deadlock caused sometimes due
> to unfortunate timing between threads, and my patch just papered over
> the real issue, even if it fixes the symptom some times.
I should have known right away when I saw the deadlock. The new
addScrollbars() method is synchronized. It needs to be unsynchronized.
Ciao,
Johannes