X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org Message-ID: <492504FF.9020408@m2.ccsnet.ne.jp> Date: Thu, 20 Nov 2008 15:34:39 +0900 From: Hirokazu Yamamoto User-Agent: Thunderbird 2.0.0.18 (Windows/20081105) MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: openssl coredump problem Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Hello. When using thread and openssl CRYPTO_set_locking_callback, application can core dump when it terminates. Please try http://bugs.python.org/file11620/reproduce.zip. (I don't have cygwin now, so I cannot get output of this) See how this affect python in http://bugs.python.org/issue3947. This is result of ./python Lib/test/test_threading.py. started worker thread trying nonsensical thread id waiting for worker thread to get started verifying worker hasn't exited attempting to raise asynch exception in worker waiting for worker to say it caught the exception all OK -- joining worker 6020 [unknown (0x650)] python 1156 _cygtls::handle_exceptions: Error while dumping state (probably corrupted stack) Illegal instruction (core dumped) ///////////////////////// Here is copy of message sent to openssl-dev about this issue. > I exerienced this crash with > > - cygwin 1.5.25-15 on win2000 > - openssl-dev 0.9.8h installed via cygwin setup > > - Python > * svn checkout http://svn.python.org/projects/python/trunk > * cd trunk > * ./configure > * make (libssl.dll.a and libcrypto.dll.a are used to build _ssl module) > * ./python.exe Lib/test/test_threading.py (crash) > > You can reproduce crash with attached code too. > * make > * ./main (crash) > > Thank you. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/