Daniel, thanks for your input. What version of the JDK/JRE and Python are you using?
On Wed, 2006-04-12 at 11:53, Daniel Nogradi wrote: > > > I want to execute a command (in this case, and it seems to be > > > significant, a Java program) in a thread in Python. When I execute the > > > java binary in the main python thread, everything runs correctly. But > > > when I try and execute java in a thread, java segfaults. I am using > > > Python 2.3.3 and trying to run the java binary from the 1.4.2 SDK from > > > Sun. > > > Here is the output that I get on my machine: > > > [nico@ script]$ python testcrash2.py > > > In main thread > > > <JAVA USAGE INFO STRIPPED> > > > PID: 32107 signal: 0 return code: 1 > > > In Thread > > > PID: 32116 signal: 11 return code: 0 > > > Your code works fine here both in the main and the new thread. Here is > the output: > > In main thread > <java complaining about no arguments> > PID: 5990 signal: 0 return code: 1 > In Thread > <java complaining about no arguments> > Waiting...PID: 5999 signal: 0 return code: 1 > ...Finished > > So I guess the problem is somewhere else. -- Regards, Nico. -- NetSys International (Pty) Ltd. Tel : +27 12 349 2056 Fax : +27 12 349 2757 Web : http://www.netsys.co.za P.O. Box 35798, Menlo Park, 0102, South Africa ---- The information contained in this communication is confidential and may be legally privileged. It is solely for use of the individual or entity to whom is addressed and others authorised to receive it. If you are not the intended recipient you are hereby notified that any disclosure, copying, distribution or taking of any action in reliance on the contents of this information is strictly prohibited and may be unlawful. This Message has been scanned for viruses and dangerous content by the NetSys International Mail Scanner and is believed to be clean. -- http://mail.python.org/mailman/listinfo/python-list