Message10364

Author iMichka
Recipients iMichka
Date 2015-10-20.10:03:21
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1445335403.0.0.225346277117.issue2412@psf.upfronthosting.co.za>
In-reply-to
Content
Hi

I was not able to find any bug related to this problem. The bug was probably introduced between jython 2.5.1 and 2.5.2,
(and is also present on jython 2.5.3). I am working on Ubuntu 12.04.

If I try to execute a simple python file (test.py) containing for example a single line like "a = 1" with loadwatch,
the process never ends.

With jython 2.5.1:

popoff@michka:~$ loadwatch -h 10 -- jython-2.5.1 test.py
Tue Oct 20 11:50:52 2015 (3839): child 3840 finished.
Tue Oct 20 11:51:02 2015: no child process, exiting.


With jython 2.5.2 and 2.5.3 the process never ends (nothing happens):

popoff@michka:~$ loadwatch -h 10 -- jython-2.5.3 test.py
(hangs indefinitely)


The process table looks like this (gotten with ps xf):

 3749 pts/6    Ss     0:00  \_ bash
 3927 pts/6    S+     0:00  |   \_ loadwatch -h 10 -- jython-2.5.3 test.py
 3928 pts/6    T      0:00  |       \_ loadwatch -h 10 -- jython-2.5.3 test.py
 3929 pts/6    Tl     0:00  |           \_ /opt/java6/lib/jvm/java-6/bin/java -Djava.library.path=/usr/lib/jni -Dpython.home=/usr/share/jython-2.5.3 -Dpython.path=/usr/lib/site-python:/usr/share/jython-2.5.3/Lib -Dpython.executable=/usr/bin/jython-2.5.3 -Dpython.cachedir=/home/popoff/.jython-2.5.3-cache -Dpython.console=org.python.util.ReadlineConsole -Dpython.console.readlinelib=Editline org.python.util.jython test.py

Maybe this is a known problem ? I can not test jython 2.7 for the moment but I could built it from source to give it a try.
History
Date User Action Args
2015-10-20 10:03:23iMichkasetrecipients: + iMichka
2015-10-20 10:03:23iMichkasetmessageid: <1445335403.0.0.225346277117.issue2412@psf.upfronthosting.co.za>
2015-10-20 10:03:22iMichkalinkissue2412 messages
2015-10-20 10:03:21iMichkacreate