Python

Jason Tishler Jason.Tishler@dothill.com
Tue Mar 27 06:48:00 GMT 2001


Rob,

On Tue, Mar 20, 2001 at 05:47:18PM -0500, Jason Tishler wrote:
> On Tue, Mar 20, 2001 at 04:37:18PM +1100, Robert Collins wrote:
> > 	What errors do you get building python with threads ? I'm
> > working on the thread support and thought that python might be a nice
> > cross-check for my test-suites...
> 
> Don't worry -- I've noticed... :,)
> 
> I'll do a build, run the regression tests (if possible), and report back.

I had the following issues when I configured Python to use your pthreads
support:

1. To compile I had to apply the attached patch to sys/signal.h.  IIRC,
this is a known issue.

2. The Python regression tests run much slower with pthreads enabled
than without.  Also, the CPU seemed to be pegged at 100% more often
with pthreads than without.

3. The Python regression tests consistently crash during test_popen2
with the following error message:

    H:\src\Python-2.1b2a-threads\python.exe: *** couldn't release memory 0x1A02C000(5013504) for 'H:\src\Python-2.1b2a-threads\build\lib.cygwin_nt-4.0-1.3.0-i686-2.1\imageop.dll' alignment, Win32 error 487

    358288600 [main] python 366 sync_with_child: child 269(0x248) died before initialization with status code 0x1
    358288838 [main] python 366 sync_with_child: *** child state child loading dlls
    358291613 [sig] python 366 stackdump: Dumping stack trace to python.exe.stackdump

I've attached the stackdump for your perusal.

Thanks,
Jason

-- 
Jason Tishler
Director, Software Engineering       Phone: +1 (732) 264-8770 x235
Dot Hill Systems Corp.               Fax:   +1 (732) 264-8798
82 Bethany Road, Suite 7             Email: Jason.Tishler@dothill.com
Hazlet, NJ 07730 USA                 WWW:   http://www.dothill.com


More information about the Cygwin mailing list