[Bug 75] New: Real life brokenness broken?

[email protected]
Newsgroups gmane.comp.java.vm.sablevm.bugs
Message-ID <[email protected]>
http://sablevm.org/bugs/show_bug.cgi?id=75

           Summary: Real life brokenness broken?
           Product: SableVM
           Version: unspecified
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: default
        AssignedTo: [email protected]
        ReportedBy: [email protected]
         QAContact: [email protected]


Trying to run my usual AWT test application (a simple graph plotter) I randomly
get this on an ARM system (iPAQ; sa1100):

$ DISPLAY=:0 sablevm -Y --verbose-jni PI1Plotter
[verbose jni: JNI_CreateJavaVM]
[verbose jni: local reference capacity (0) exceeded]
--- stack trace dump (begin) ---
Thread ID: 3, Posix ID: 32771
(GtkComponentPeer.java:461)  gnu/java/awt/peer/gtk/GtkComponentPeer.setCursor   
(GtkComponentPeer.java:456)  gnu/java/awt/peer/gtk/GtkComponentPeer.setCursor   
(internal frame)
(GtkMainThread.java:-1)  gnu/java/awt/peer/gtk/GtkMainThread.gtkMain  n
(GtkMainThread.java:106)  gnu/java/awt/peer/gtk/GtkMainThread.run   
(Thread.java:704)  java/lang/Thread.run   
(VMThread.java:120)  java/lang/VMThread.callRun   
(Thread.java:390)  java/lang/Thread.callRun   
(VirtualMachine.java:121)  java/lang/VirtualMachine.runThread   
(internal frame)
--- stack trace dump (end) ---
[jni: fatal error (Local reference capacity exceeded.
** This is a bug in your application or in the GNU Classpath Library.
** A virtual machine is only required to provide 16 native local
** references per JNI function call.  To get more, an application must call
** EnsureLocalCapacity().
** Temporarily, you might want to compile SableVM with the configure option:
** --enable-real-life-brokenness
** See: http://java.sun.com/docs/books/jni/html/pitfalls.html#11229
)]
Aborted
r@h3600:/mnt/ram/home/r/plotter$ sablevm -V
SableVM version 1.1.7
- compile date and time: 2004-11-27 18:56:29 UTC
- gcc version: 3.4.2
- 'real life brokenness' features enabled
- copying garbage collection
- bidirectional object layout
- direct-threaded interpreter
r@h3600:/mnt/ram/home/r/plotter$

Any hints on how to resolve this would be appreciated.

Regards,

Rene

PS: Despite this bug, SableVM 1.1.7 will go into familiar 0.8 since due to
the support of a compressed bootclasspath it is a major improvement over
1.1.6.



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
You are the QA contact for the bug, or are watching the QA contact.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.