[Date Prev][Date Next][Thread Prev][Thread Next][Author Index][Date Index][Thread Index]

Re: [zzdev] Re: [zzdev] why is raster restarted all the time if it hangs?



On Fri, Jul 14, 2000 at 03:04:41AM +0300, Tuomas J. Lukka wrote:
> > In debugging the tree raster I noticed that if a raster ever hangs,
> > it is restarted.  Is there any reason for that?
> 
> Ah, it might be a synchronization problem in ZZCanvasView.
> Sounds fishy, though. Could you see the stack trace of who starts it
> (Thread.printStackTrace())?

Using Thread.dumpStack, there is no printStackTrace in Thread.

java.lang.Exception: Stack trace
        at java.lang.Thread.dumpStack(Thread.java)
        at fi.iki.lukka.ZZTreeRaster.raster(ZZTreeRaster.java:144)
        at fi.iki.lukka.ZZDefaultSpace.getScene(ZZDefaultSpace.java:577)
        at fi.iki.lukka.ZZCanvasView.reraster(ZZCanvasView.java:122)
        at fi.iki.lukka.ZZCanvasView.paintComponent(ZZCanvasView.java:139)
        at javax.swing.JComponent.paint(JComponent.java:614)
        at javax.swing.JComponent.paintWithBuffer(JComponent.java:3677)
        at javax.swing.JComponent._paintImmediately(JComponent.java:3622)
        at javax.swing.JComponent.paintImmediately(JComponent.java:3472)
        at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:365)
        at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(System
EventQueueUtilities.java:177)
        at javax.swing.SystemEventQueueUtilities.processRunnableEvent(SystemEven
tQueueUtilities.java:352)
        at javax.swing.SystemEventQueueUtilities.access$1(SystemEventQueueUtilit
ies.java:348)
        at javax.swing.SystemEventQueueUtilities$RunnableTarget.processEvent(Sys
temEventQueueUtilities.java:389)
        at java.awt.Component.dispatchEventImpl(Component.java:1829)
        at java.awt.Component.dispatchEvent(Component.java:1761)
        at java.awt.EventDispatchThread.run(EventDispatchThread.java:74)

-- 
%%% Antti-Juhani Kaijanaho % gaia@xxxxxx % http://www.iki.fi/gaia/ %%%