[antlr-interest] Antlrworks freezes

Devang Thakkar thakkardevang at gmail.com
Wed Apr 1 22:53:06 PDT 2009


Hi,
Here is the Exceptions log and Stack Trace:
========================================
Exception in thread "Thread-7" java.lang.OutOfMemoryError: Java heap space
        at java.util.HashMap.addEntry(HashMap.java:753)
        at java.util.HashMap.put(HashMap.java:385)
        at java.util.HashSet.add(HashSet.java:200)
        at org.antlr.analysis.LL1Analyzer._FIRST(LL1Analyzer.java:213)
        at org.antlr.analysis.LL1Analyzer._FIRST(LL1Analyzer.java:241)
Exception in thread "AWT-EventQueue-0" java.lang.OutOfMemoryError: Java heap
spa
ce
Exception in thread "AWT-EventQueue-0" java.lang.OutOfMemoryError: Java heap
spa
ce
java.lang.OutOfMemoryError: Java heap space
java.lang.OutOfMemoryError: Java heap space
java.lang.OutOfMemoryError: Java heap space
java.lang.OutOfMemoryError: Java heap space
Exception in thread "AWT-EventQueue-0" java.lang.OutOfMemoryError: Java heap
spa
ce
Exception in thread "AWT-EventQueue-0" java.lang.OutOfMemoryError: Java heap
spa
ce
Exception in thread "AWT-EventQueue-0" java.lang.OutOfMemoryError: Java heap
spa
ce
Exception in thread "AWT-EventQueue-0" java.lang.OutOfMemoryError: Java heap
spa
ce
Exception in thread "AWT-EventQueue-0" java.lang.OutOfMemoryError: Java heap
spa
ce
Exception in thread "AWT-EventQueue-0" java.lang.OutOfMemoryError: Java heap
spa
ce
Exception in thread "AWT-EventQueue-0" java.lang.OutOfMemoryError: Java heap
spa
ce
Exception in thread "AWT-EventQueue-0" java.lang.OutOfMemoryError: Java heap
spa
ce
Exception in thread "Timer-0" java.lang.OutOfMemoryError: Java heap space
Exception in thread "D3D Screen Updater" java.lang.OutOfMemoryError: Java
heap s
pace
Exception in thread "AWT-EventQueue-0" java.lang.OutOfMemoryError: Java heap
spa
ce
Exception in thread "AWT-EventQueue-0" java.lang.OutOfMemoryError: Java heap
spa
ce
Exception in thread "AWT-EventQueue-0" java.lang.OutOfMemoryError: Java heap
spa
ce
Exception in thread "AWT-EventQueue-0" java.lang.OutOfMemoryError: Java heap
spa
ce
Exception in thread "AWT-EventQueue-0" java.lang.OutOfMemoryError: Java heap
spa
ce
Exception in thread "AWT-EventQueue-0" java.lang.OutOfMemoryError: Java heap
spa
ce
Exception in thread "AWT-EventQueue-0" java.lang.OutOfMemoryError: Java heap
spa
ce
Exception in thread "AWT-Windows" Exception in thread "AWT-Windows"
2009-04-02 1
1:20:12
Full thread dump Java HotSpot(TM) Client VM (11.3-b02 mixed mode, sharing):
"class org.antlr.works.visualization.VisualDrawing" prio=6 tid=0x031b9c00
nid=0x
1774 waiting on condition [0x03c6f000..0x03c6fc94]
   java.lang.Thread.State: TIMED_WAITING (sleeping)
        at java.lang.Thread.sleep(Native Method)
        at org.antlr.works.ate.syntax.misc.ATEThread.threadSleep(Unknown
Source)
        at org.antlr.works.ate.syntax.misc.ATEThread.run(Unknown Source)
        at java.lang.Thread.run(Thread.java:619)
"class
org.antlr.works.components.editor.ComponentEditorGrammar$AfterParseOperat
ions" prio=6 tid=0x037aa400 nid=0x1244 waiting on condition
[0x03b7f000..0x03b7f
a14]
   java.lang.Thread.State: TIMED_WAITING (sleeping)
        at java.lang.Thread.sleep(Native Method)
        at org.antlr.works.ate.syntax.misc.ATEThread.threadSleep(Unknown
Source)
        at org.antlr.works.ate.syntax.misc.ATEThread.run(Unknown Source)
        at java.lang.Thread.run(Thread.java:619)
"DestroyJavaVM" prio=6 tid=0x003b7000 nid=0x17c8 waiting on condition
[0x0000000
0..0x009dfd4c]
   java.lang.Thread.State: RUNNABLE
"AWT-Windows" daemon prio=6 tid=0x02be2c00 nid=0xe0c runnable
[0x0304f000..0x030
4fc94]
   java.lang.Thread.State: RUNNABLE
        at sun.awt.windows.WToolkit.eventLoop(Native Method)
        at sun.awt.windows.WToolkit.run(WToolkit.java:291)
        at java.lang.Thread.run(Thread.java:619)
"AWT-Shutdown" prio=6 tid=0x02c27400 nid=0x1214 in Object.wait()
[0x02fff000..0x
02fffd14]
   java.lang.Thread.State: WAITING (on object monitor)
        at java.lang.Object.wait(Native Method)
        - waiting on <0x22e94788> (a java.lang.Object)
        at java.lang.Object.wait(Object.java:485)
        at sun.awt.AWTAutoShutdown.run(AWTAutoShutdown.java:259)
        - locked <0x22e94788> (a java.lang.Object)
        at java.lang.Thread.run(Thread.java:619)
"Java2D Disposer" daemon prio=10 tid=0x02c33400 nid=0xe90 in Object.wait()
[0x02
faf000..0x02fafd94]
   java.lang.Thread.State: WAITING (on object monitor)
        at java.lang.Object.wait(Native Method)
        - waiting on <0x22e94818> (a java.lang.ref.ReferenceQueue$Lock)
        at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:116)
        - locked <0x22e94818> (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=6 tid=0x02b82000 nid=0xce4 runnable
[0x0000000
0..0x00000000]
   java.lang.Thread.State: RUNNABLE
"CompilerThread0" daemon prio=10 tid=0x02b7f000 nid=0x1060 waiting on
condition
[0x00000000..0x02e2f7bc]
   java.lang.Thread.State: RUNNABLE
"Attach Listener" daemon prio=10 tid=0x02b7a400 nid=0xee0 runnable
[0x00000000..
0x00000000]
   java.lang.Thread.State: RUNNABLE
"Signal Dispatcher" daemon prio=10 tid=0x02b79000 nid=0xabc waiting on
condition
 [0x00000000..0x00000000]
   java.lang.Thread.State: RUNNABLE
"Finalizer" daemon prio=8 tid=0x02b74000 nid=0x1520 in Object.wait()
[0x02d3f000
..0x02d3fc94]
   java.lang.Thread.State: WAITING (on object monitor)
        at java.lang.Object.wait(Native Method)
        - waiting on <0x22e94a48> (a java.lang.ref.ReferenceQueue$Lock)
        at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:116)
        - locked <0x22e94a48> (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=0x02b6f800 nid=0x1668 in
Object.wait() [0
x02cef000..0x02cefd14]
   java.lang.Thread.State: WAITING (on object monitor)
        at java.lang.Object.wait(Native Method)
        - waiting on <0x22e94698> (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 <0x22e94698> (a java.lang.ref.Reference$Lock)
"VM Thread" prio=10 tid=0x02b6dc00 nid=0x1418 runnable
"VM Periodic Task Thread" prio=10 tid=0x02b84000 nid=0x284 waiting on
condition

JNI global references: 1354
Heap
 def new generation   total 4544K, used 4543K [0x22990000, 0x22e70000,
0x22e7000
0)
  eden space 4096K, 100% used [0x22990000, 0x22d90000, 0x22d90000)
  from space 448K,  99% used [0x22d90000, 0x22dffff0, 0x22e00000)
  to   space 448K,   0% used [0x22e00000, 0x22e00000, 0x22e70000)
 tenured generation   total 60544K, used 60544K [0x22e70000, 0x26990000,
0x26990
000)
   the space 60544K, 100% used [0x22e70000, 0x26990000, 0x26990000,
0x26990000)
 compacting perm gen  total 12288K, used 5997K [0x26990000, 0x27590000,
0x2a9900
00)
   the space 12288K,  48% used [0x26990000, 0x26f6b5b8, 0x26f6b600,
0x27590000)
    ro space 8192K,  67% used [0x2a990000, 0x2aef7ea8, 0x2aef8000,
0x2b190000)
    rw space 12288K,  53% used [0x2b190000, 0x2b805530, 0x2b805600,
0x2bd90000)

========================================

2009/4/1 Johannes Luber <jaluber at gmx.de>

> Devang Thakkar schrieb:
> > Nothing happens when I press Ctrl-Break.
>
> Start AW from the command prompt and press Crtl-Break (or Ctrl-C) in the
> command prompt window once AW has frozen.
>
> Johannes
> >
> > 2009/3/31 Terence Parr <parrt at cs.usfca.edu <mailto:parrt at cs.usfca.edu>>
>  >
> >     Hi, can u print the stack trace when AW is frozen (CTRL-break on
> >     Windows I think)?
> >     Ter
> >
> >     On Mar 31, 2009, at 10:52 AM, Devang Thakkar wrote:
> >
> >         Hi,
> >
> >         I am new to Antlr and AntlrWorks.
> >
> >         I found that AntlrWorks freezes and hangs for ever.
> >
> >         Software:
> >         AntlrWorks 1.2.3,
> >         PL/SQL grammar: from the Antlr.org
> >         http://www.antlr.org/grammar/1209225566284/PLSQL3.g
> >         JRE: 1.5
> >
> >         OS: Window XP Professional, SP2
> >         How to reproduce:
> >         [1]Start AntlrWorks (with lWindowsl ook&feel ). Open the above
> >         grammar file. Verify Grammar. Some errors are encountered. Click
> >         Console tab. Antlrworks freezes forever. Screen does not
> >         refresh. I have to kill the application (javaw) to end the
> program.
> >         [2]Start AntlrWorks (with Java lMetal ook&feel ). Open the above
> >         grammar file. Verify Grammar. Some errors are encountered. Click
> >         Console tab. Antlrworks works. Now start debugger. Antlrworks
> >         freezes forever.
> >         As you can see, by just changing the look and feel,Antlrworks
> >         worked while tabbing to Console, but then it got hung at another
> >         point.
> >
> >         Thanks.
> >
> >         Devang
> >
> >         List: http://www.antlr.org/mailman/listinfo/antlr-interest
> >         Unsubscribe:
> >
> http://www.antlr.org/mailman/options/antlr-interest/your-email-address
> >
> >
> >
> >
> >
> > --
> > Thanks.
> >
> > Regards,
> > Devang A. Thakkar
> > Mobile:99675-86646
> > Mobile2:98674-38406
> >
> >
> > ------------------------------------------------------------------------
>  >
> >
> > List: http://www.antlr.org/mailman/listinfo/antlr-interest
> > Unsubscribe:
> http://www.antlr.org/mailman/options/antlr-interest/your-email-address
>
>


-- 
Thanks.

Regards,
Devang A. Thakkar
Mobile:99675-86646
Mobile2:98674-38406
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/antlr-interest/attachments/20090402/7ffc81b2/attachment.html 


More information about the antlr-interest mailing list