Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Date: Tue, 27 Mar 2001 09:27:03 -0500 From: Jason Tishler To: Robert Collins , cygwin AT cygwin DOT com Subject: Re: Python Message-ID: <20010327092703.C797@dothill.com> Mail-Followup-To: Robert Collins , cygwin AT cygwin DOT com References: <20010320174718 DOT B274 AT dothill DOT com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="oYw7JaVSXnib3sWg" Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010320174718.B274@dothill.com>; from Jason.Tishler@dothill.com on Tue, Mar 20, 2001 at 05:47:18PM -0500 Organization: Dot Hill Systems Corp. --oYw7JaVSXnib3sWg Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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 DOT Tishler AT dothill DOT com Hazlet, NJ 07730 USA WWW: http://www.dothill.com --oYw7JaVSXnib3sWg Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="signal.h.patch" --- signal.h.orig Tue Mar 27 09:14:18 2001 +++ signal.h Mon Mar 26 23:02:10 2001 @@ -159,7 +159,7 @@ int _EXFUN(sigsuspend, (const sigset_t * int _EXFUN(sigpause, (int)); #if defined(_POSIX_THREADS) -int _EXFUN(pthread_kill, (pthread_t thread, int sig)); +// int _EXFUN(pthread_kill, (pthread_t thread, int sig)); #endif #if defined(_POSIX_REALTIME_SIGNALS) --oYw7JaVSXnib3sWg Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="python.exe.stackdump" Stack trace: Frame Function Args 0240E374 77F04F37 (00000114, 0000EA60, 00000000, 6104A2B3) 0240E3C4 77F04F37 (00000000, 0240E594, 0000010D, 6104897D) 0240E414 61048CE9 (00000006, 0000016E, 0240EA04, 00000248) 0240E454 61046549 (0000016E, 00000006, 77F66FD0, 02415C90) 0240E484 610466F5 (0000016E, 00000006, 77F1CE6B, 00000002) 0240E4A4 610815F2 (6108B0A0, 0000016E, 00000006, 6102348C) 0240E4D4 610761C4 (6108B0A0, 00000006, 00000000, 00000214) 0240E4F4 61076199 (00000006, 00008000, 61023330, 6102348C) 0240E514 610728CC (0240EA04, 61098208, 0240E9F8, 61023722) 0240E544 61023653 (0240EA04, 00000214, 00000001, 61024225) 0240EA14 61024A8F (0240EA3C, 0240EB94, 0240EB98, 0240EB9C) 0240EBA4 61024F52 (0A012924, 0000020C, 0240EBE4, 61D59619) 0240EBC4 61D97FC1 (00000000, 0A012924, 0240EC04, 61058743) 0240EC04 61D758B2 (0A01C2F8, 0A012924, 00000000, 61D5B8AE) 0240EC34 61D7575A (0A01C2F8, 0A012924, 00000000, 61D5BAAE) 0240EC74 61D76048 (0A01C2F8, 0240ED2C, 00000000, 00000000) End of stack trace (more stack frames may be present) --oYw7JaVSXnib3sWg Content-Type: text/plain; charset=us-ascii -- Want to unsubscribe from this list? Check out: http://cygwin.com/ml/#unsubscribe-simple --oYw7JaVSXnib3sWg--