Date: Wed, 10 Nov 1999 18:37:39 +1100 From: David Hobley <hobleyd@zip.com.au> To: freebsd-java@freebsd.org Subject: Segmentation fault using jdk1.1.8 jfc1.1.1 and jpython Message-ID: <19991110183739.A2893@wr.com.au>
next in thread | raw e-mail | index | archive | help
Hello, Has anyone tried jpython out under the jdk1.1.8 port? I have been playing with jpython under Windows, so I thought I would try it under FreeBSD. I downloaded everything last night and got: [21 ishtar: /home/davidh] % jpython test.py SIGSEGV 11* segmentation violation Full thread dump: "Finalizer thread" (TID:0x2866f210, sys_thread_t:0x29473f00, state:R) prio=1 "Async Garbage Collector" (TID:0x2866f258, sys_thread_t:0x29452f00, state:R) prio=1 "Idle thread" (TID:0x2866f2a0, sys_thread_t:0x29431f00, state:R) prio=0 "Clock" (TID:0x2866f088, sys_thread_t:0x29410f00, state:CW) prio=12 "main" (TID:0x2866f0b0, sys_thread_t:0x819c700, state:R) prio=5 *current thread* org.python.core.PyJavaClass.setBeanInfoCustom(PyJavaClass.java:538) org.python.core.PyJavaClass.init__dict__(PyJavaClass.java:69) org.python.core.PyJavaClass.initialize(PyJavaClass.java:90) org.python.core.PyJavaClass.init__bases__(PyJavaClass.java:146) org.python.core.PyJavaClass.initialize(PyJavaClass.java:89) org.python.core.PyJavaClass.init__bases__(PyJavaClass.java:146) org.python.core.PyJavaClass.initialize(PyJavaClass.java:89) org.python.core.PyJavaClass.init__bases__(PyJavaClass.java:146) org.python.core.PyJavaClass.initialize(PyJavaClass.java:89) org.python.core.PyJavaClass.init__bases__(PyJavaClass.java:146) org.python.core.PyJavaClass.initialize(PyJavaClass.java:89) org.python.core.PyJavaClass.initConstructors(PyJavaClass.java:588) org.python.core.PyJavaClass.__call__(PyJavaClass.java:741) org.python.core.PyObject.__call__(PyObject.java:272) org.python.core.PyObject.invoke(PyObject.java:1868) org.python.pycode._pyx0.__init__$3(test.py) org.python.pycode._pyx0.call_function(test.py) org.python.core.PyTableCode.call(PyTableCode.java:155) org.python.core.PyTableCode.call(PyTableCode.java:352) org.python.core.PyTableCode.call(PyTableCode.java:257) Monitor Cache Dump: Registered Monitor Dump: Verifier lock: <unowned> Thread queue lock: <unowned> Name and type hash table lock: <unowned> String intern lock: <unowned> JNI pinning lock: <unowned> JNI global reference lock: <unowned> BinClass lock: <unowned> Class loading lock: <unowned> Java stack lock: <unowned> Code rewrite lock: <unowned> Heap lock: <unowned> Has finalization queue lock: <unowned> Finalize me queue lock: <unowned> Monitor IO lock: <unowned> Child death monitor: <unowned> Event monitor: <unowned> I/O monitor: <unowned> Alarm monitor: <unowned> Waiting to be notified: "Clock" (0x29410f00) Memory allocation lock: <unowned> Monitor registry: owner "main" (0x819c700, 1 entry) Thread Alarm Q: zsh: abort (core dumped) jpython test.py The test script is here and has been tested under Windows NT with the jdk1.1.8 and jfc1.1.1: [22 ishtar: /home/davidh] % cat test.py import java.lang import javax.swing.JButton import javax.swing.JFrame def exit(event): java.lang.System.exit(0) class App: def __init__(self): self.frame = javax.swing.JFrame("Quit") self.button = javax.swing.JButton("Quit", actionPerformed=exit) self.frame.getContentPane().add(self.button) self.frame.pack() self.frame.setVisible(1) if __name__ == '__main__': App() JPython is available from http://www.jpython.net -- Cheers, david -- http://www.zipworld.com.au/~hobleyd To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19991110183739.A2893>