Message7106

Author jeff.allen
Recipients jeff.allen
Date 2012-05-19.09:11:15
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1337418676.87.0.724195130942.issue1889@psf.upfronthosting.co.za>
In-reply-to
Content
Jython 2.7.0a1 produces an ugly, but surprisingly non-fatal, stack dump with each run on Windows 7 64-bit. (Not quite a crash then.) I've added a pasted version of the console session as an attachment. The short version of the story runs as follows:
>hg update v2.7.0a1
...
>ant clean
...
>ant
... only the usual complaints
>dist\bin\jython
*sys-package-mgr*: processing new jar, 'C:\hg\jython-dev\dist\jython-dev.jar'
...
*sys-package-mgr*: processing new jar, 'C:\hg\jython-dev\dist\javalib\jffi-x86_64-Windows.jar'
...
java.lang.ExceptionInInitializerError
        at com.kenai.jffi.Foreign.getInstance(Foreign.java:95)
        at com.kenai.jffi.Type$BuiltinTypeInfo.<clinit>(Type.java:265)
        at com.kenai.jffi.Type$Builtin.size(Type.java:216)
...
        at org.python.core.io.StreamIO.isatty(StreamIO.java:234)
        at org.python.core.io.BufferedIOMixin.isatty(BufferedIOMixin.java:90)
        at org.python.core.io.TextIOBase.isatty(TextIOBase.java:175)
        at org.python.core.PyFile.file_isatty(PyFile.java:485)
        at org.python.core.PyFile.isatty(PyFile.java:480)
        at org.python.core.PySystemState.initEncoding(PySystemState.java:273)
        at org.python.core.PySystemState.<init>(PySystemState.java:216)
        at org.python.core.PySystemState.doInitialize(PySystemState.java:918)
        at org.python.core.PySystemState.initialize(PySystemState.java:828)
        at org.python.core.PySystemState.initialize(PySystemState.java:778)
        at org.python.core.PySystemState.initialize(PySystemState.java:771)
        at org.python.util.jython.run(jython.java:159)
        at org.python.util.jython.main(jython.java:135)
Caused by: java.lang.RuntimeException: java.lang.UnsatisfiedLinkError: could not locate stub library in jar file.  Tried [jni/x86_64-Windows/jffi-1.2.dll, /jni/x86_64-Windows/jffi-1.2.dll]
...
Caused by: java.lang.UnsatisfiedLinkError: could not locate stub library in jar file.  Tried [jni/x86_64-Windows/jffi-1.2.dll, /jni/x86_64-Windows/jffi-1.2.dll]
        at com.kenai.jffi.internal.StubLoader.getStubLibraryStream(StubLoader.java:336)
...
Jython 2.7a1+ (, May 19 2012, 09:43:27)
[Java HotSpot(TM) 64-Bit Server VM (Sun Microsystems Inc.)] on java1.6.0_26
Type "help", "copyright", "credits" or "license" for more information.
>>> [x*x for x in range(10)]
[0, 1, 4, 9, 16, 25, 36, 49, 64, 81]
History
Date User Action Args
2012-05-19 09:11:16jeff.allensetrecipients: + jeff.allen
2012-05-19 09:11:16jeff.allensetmessageid: <1337418676.87.0.724195130942.issue1889@psf.upfronthosting.co.za>
2012-05-19 09:11:16jeff.allenlinkissue1889 messages
2012-05-19 09:11:16jeff.allencreate