Login  Register

Re: Ubuntu empty window bug

Posted by dscho on Aug 17, 2010; 4:34pm
URL: http://imagej.273.s1.nabble.com/Ubuntu-empty-window-bug-tp3687235p3687239.html

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