Message4492

Author billiejoex
Recipients billiejoex
Date 2009-04-09.02:46:39
SpamBayes Score 1.4547641e-11
Marked as misclassified No
Message-id <1239245203.66.0.83723893671.issue1312@psf.upfronthosting.co.za>
In-reply-to
Content
I'm trying to make pyftpdlib work on Jython but I'm encountering a bunch
of apparently weird problems.
When I run the test suite I get the following two errors.
The first one:

Exception in thread Thread:Traceback (most recent call last):
  File "/home/user/jython/Lib/threading.py", line 247, in _Thread__bootstrap
    self.run()
  File "test_ftpd.py", line 1998, in run
    self.server.serve_forever(timeout=self.__timeout, count=1,
  File "/home/user/jython/bin/ftpserver.py", line 3164, in serve_forever
    poll_fun(timeout, map)
  File "/home/user/jython/Lib/asyncore.py", line 121, in poll
    r, w, e = select.select(r, w, e, timeout)
  File "/home/user/jython/Lib/asyncore.py", line 121, in poll
    r, w, e = select.select(r, w, e, timeout)
  File "/home/user/jython/Lib/select.py", line 185, in native_select
    results = pobj.poll(timeout)
  File "/home/user/jython/Lib/select.py", line 134, in poll
    for k in selectedkeys.iterator():
  File "/home/user/jython/Lib/select.py", line 134, in poll
    for k in selectedkeys.iterator():
OutOfMemoryError: java.lang.OutOfMemoryError: Java heap space


The second one:

# An unexpected error has been detected by Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0xb7fb73a2, pid=7275, tid=3034299280
#
# Java VM: Java HotSpot(TM) Client VM (11.0-b15 mixed mode, sharing
linux-x86)
# Problematic frame:
# C  [ld-linux.so.2+0xe3a2]
#
# An error report file with more information is saved as:
# /home/user/jython/bin/hs_err_pid7275.log
#
# If you would like to submit a bug report, please visit:
#   http://java.sun.com/webapps/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#
./jython: line 216:  7275 Aborted                 "${JAVA_CMD[@]}"
$JAVA_OPTS "${java_args[@]}" -Dpython.home="$JYTHON_HOME"
-Dpython.executable="$PRG" org.python.util.jython $JYTHON_OPTS "$@"


Run on Ubuntu 8.04, JSE 1.6.0_10-b33, Jython 2.5b3
History
Date User Action Args
2009-04-09 02:46:44billiejoexsetrecipients: + billiejoex
2009-04-09 02:46:43billiejoexsetmessageid: <1239245203.66.0.83723893671.issue1312@psf.upfronthosting.co.za>
2009-04-09 02:46:42billiejoexlinkissue1312 messages
2009-04-09 02:46:39billiejoexcreate