Here it is the thread dump. I can't see anything wrong...
Full thread dump Java HotSpot(TM) Client VM (10.0-b22 mixed mode, sharing):
"Timer-0" daemon prio=10 tid=0x08150c00 nid=0x2cbb in Object.wait()
[0xb4f26000..0xb4f26fc0]
java.lang.Thread.State: WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
- waiting on <0x8ca0a9e8> (a java.util.TaskQueue)
at java.lang.Object.wait(Object.java:485)
at java.util.TimerThread.mainLoop(Timer.java:483)
- locked <0x8ca0a9e8> (a java.util.TaskQueue)
at java.util.TimerThread.run(Timer.java:462)
"RunnableQueue-0" daemon prio=10 tid=0x08159c00 nid=0x2cba in Object.wait()
[0xb5019000..0xb501a040]
java.lang.Thread.State: WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
- waiting on <0x8ca176f0> (a org.apache.batik.util.DoublyLinkedList)
at java.lang.Object.wait(Object.java:485)
at org.apache.batik.util.RunnableQueue.run(RunnableQueue.java:225)
- locked <0x8ca176f0> (a org.apache.batik.util.DoublyLinkedList)
at java.lang.Thread.run(Thread.java:619)
"DestroyJavaVM" prio=10 tid=0x08058400 nid=0x2ca3 waiting on condition
[0x00000000..0xb7d63090]
java.lang.Thread.State: RUNNABLE
"Batik CleanerThread" daemon prio=10 tid=0x0890d400 nid=0x2cb3 in
Object.wait() [0xb506a000..0xb506ae40]
java.lang.Thread.State: WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
- waiting on <0x8c6e6740> (a java.lang.ref.ReferenceQueue$Lock)
at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:116)
- locked <0x8c6e6740> (a java.lang.ref.ReferenceQueue$Lock)
at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:132)
at org.apache.batik.util.CleanerThread.run(CleanerThread.java:106)
"TimerQueue" daemon prio=10 tid=0x08588800 nid=0x2caf in Object.wait()
[0xb50fb000..0xb50fc0c0]
java.lang.Thread.State: WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
- waiting on <0x8c691478> (a javax.swing.TimerQueue)
at javax.swing.TimerQueue.run(TimerQueue.java:236)
- locked <0x8c691478> (a javax.swing.TimerQueue)
at java.lang.Thread.run(Thread.java:619)
"AWT-EventQueue-0" prio=10 tid=0x08336400 nid=0x2cae in Object.wait()
[0xb5188000..0xb5189140]
java.lang.Thread.State: WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
- waiting on <0x8c5f4c18> (a java.awt.EventQueue)
at java.lang.Object.wait(Object.java:485)
at java.awt.EventQueue.getNextEvent(EventQueue.java:479)
- locked <0x8c5f4c18> (a java.awt.EventQueue)
at
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:245)
at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)
"AWT-Shutdown" prio=10 tid=0x08335800 nid=0x2cad in Object.wait()
[0xb5214000..0xb5214fc0]
java.lang.Thread.State: WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
- waiting on <0x8c5c0660> (a java.lang.Object)
at java.lang.Object.wait(Object.java:485)
at sun.awt.AWTAutoShutdown.run(AWTAutoShutdown.java:259)
- locked <0x8c5c0660> (a java.lang.Object)
at java.lang.Thread.run(Thread.java:619)
"AWT-XAWT" daemon prio=10 tid=0x0832ac00 nid=0x2cac runnable
[0xb5265000..0xb5266040]
java.lang.Thread.State: RUNNABLE
at sun.awt.X11.XToolkit.waitForEvents(Native Method)
at sun.awt.X11.XToolkit.run(XToolkit.java:544)
at sun.awt.X11.XToolkit.run(XToolkit.java:519)
at java.lang.Thread.run(Thread.java:619)
"Java2D Disposer" daemon prio=10 tid=0x082e5800 nid=0x2cab in Object.wait()
[0xb52d8000..0xb52d8ec0]
java.lang.Thread.State: WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
- waiting on <0x8c5b8830> (a java.lang.ref.ReferenceQueue$Lock)
at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:116)
- locked <0x8c5b8830> (a java.lang.ref.ReferenceQueue$Lock)
at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:132)
at sun.java2d.Disposer.run(Disposer.java:125)
at java.lang.Thread.run(Thread.java:619)
"Low Memory Detector" daemon prio=10 tid=0x08096c00 nid=0x2ca9 runnable
[0x00000000..0x00000000]
java.lang.Thread.State: RUNNABLE
"CompilerThread0" daemon prio=10 tid=0x0808c000 nid=0x2ca8 waiting on
condition [0x00000000..0xb59b48f8]
java.lang.Thread.State: RUNNABLE
"Signal Dispatcher" daemon prio=10 tid=0x0808ac00 nid=0x2ca7 waiting on
condition [0x00000000..0x00000000]
java.lang.Thread.State: RUNNABLE
"Finalizer" daemon prio=10 tid=0x08081c00 nid=0x2ca6 in Object.wait()
[0xb5a9c000..0xb5a9d140]
java.lang.Thread.State: WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
- waiting on <0x8c593b88> (a java.lang.ref.ReferenceQueue$Lock)
at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:116)
- locked <0x8c593b88> (a java.lang.ref.ReferenceQueue$Lock)
at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:132)
at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:159)
"Reference Handler" daemon prio=10 tid=0x08080800 nid=0x2ca5 in
Object.wait() [0xb5aed000..0xb5aedfc0]
java.lang.Thread.State: WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
- waiting on <0x8c593c10> (a java.lang.ref.Reference$Lock)
at java.lang.Object.wait(Object.java:485)
at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:116)
- locked <0x8c593c10> (a java.lang.ref.Reference$Lock)
"VM Thread" prio=10 tid=0x0807f400 nid=0x2ca4 runnable
"VM Periodic Task Thread" prio=10 tid=0x080aa400 nid=0x2caa waiting on
condition
JNI global references: 796
Heap
def new generation total 960K, used 389K [0x8c080000, 0x8c180000,
0x8c560000)
eden space 896K, 43% used [0x8c080000, 0x8c0e17b8, 0x8c160000)
from space 64K, 0% used [0x8c160000, 0x8c160000, 0x8c170000)
to space 64K, 0% used [0x8c170000, 0x8c170000, 0x8c180000)
tenured generation total 9016K, used 5409K [0x8c560000, 0x8ce2e000,
0x90080000)
the space 9016K, 59% used [0x8c560000, 0x8caa8650, 0x8caa8800,
0x8ce2e000)
compacting perm gen total 12288K, used 7905K [0x90080000, 0x90c80000,
0x94080000)
the space 12288K, 64% used [0x90080000, 0x908387c8, 0x90838800,
0x90c80000)
ro space 8192K, 73% used [0x94080000, 0x946634a0, 0x94663600,
0x94880000)
rw space 12288K, 58% used [0x94880000, 0x94f78668, 0x94f78800,
0x95480000)
On Tue, Aug 19, 2008 at 2:43 PM, Archie Cobbs <[EMAIL PROTECTED]> wrote:
> On Tue, Aug 19, 2008 at 12:21 PM, Giselle Machado <[EMAIL PROTECTED]>wrote:
>
>> Ok, I downloaded the nightly build but I still have the same problem... It
>> works with java 6 though, not with 5. But what I am developing must work
>> with java 5 =/
>>
>> In this application I use a JSVGCanvas to display a SVG, and, according to
>> the listeners, the render is completed, but nothing appears in the window...
>> only the background that was set (even if I resize it). Nevertheless, when I
>> save the image as a jpg, it actually is there.
>>
>
> Sometimes I've seen Swing lock up temporarily on Linux. If you hit CTRL-\
> in the Java console, you'll get a thread dump that shows two threads
> deadlocked somewhere in the X11 native code.
>
> May or may not be your problem, but it would be interesting to see what's
> going on in the thread dump (in particular, check the Swing event dispatcher
> thread).
>
> -Archie
>
> --
> Archie L. Cobbs
>
>
--
"Things do not change; we change."
(Henry David Thoreau)