delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/11/20/01:35:38

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 <ocean-city AT m2 DOT ccsnet DOT ne DOT jp>
User-Agent: Thunderbird 2.0.0.18 (Windows/20081105)
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: openssl coredump problem
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019