delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/03/23/00:25:05

X-Spam-Check-By: sourceware.org
Subject: Re: dlopen() bug (new testcase)
From: skaller <skaller AT users DOT sourceforge DOT net>
To: Bernhard Loos <bernloos AT web DOT de>
Cc: cygwin AT cygwin DOT com
In-Reply-To: <457131340@web.de>
References: <457131340 AT web DOT de>
Date: Thu, 23 Mar 2006 16:24:38 +1100
Message-Id: <1143091478.8156.8.camel@rosella.wigram>
Mime-Version: 1.0
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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

On Wed, 2006-03-22 at 23:07 +0100, Bernhard Loos wrote:


Code below. I want to confirm: I have two Cygwin installations.
I upgraded one to use 1.5.19, the other uses 1.5.18.

1.5.18 runs the below code fine. It crashes with 1.5.19.

For me even worse -- it crashes even a statically linked
executable which previously worked and does no dlopen()
or anything else nasty.

So I have a dumb question -- how do I revert to 1.5.18?

(Also .. how do I get rebaseall to work?)

> This is a new CrashTest.cc, the other files remains the same:
> #include <pthread.h>
> 
> pthread_key_t key;
> 
> void key_init()
> {
>   pthread_key_create(&key, 0);
> }
> 
> void
> key_init_once()
> {
>   static pthread_once_t once = PTHREAD_ONCE_INIT;
>   pthread_once(&once, key_init);
> }
> 
> class lala
> {
> 	public:
> 		lala()
> 		{
> //			  key_init();
> 			  key_init_once();
> 		}
> };
> 
> lala la;
> 
> extern "C" __declspec(dllexport)
> void test()
> {
> 	return;
> }
> 
>                  Bernhard
> ______________________________________________________________
> Verschicken Sie romantische, coole und witzige Bilder per SMS!
> Jetzt bei WEB.DE FreeMail: http://f.web.de/?mc=021193
> 
> 
> --
> 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/
> 
-- 
John Skaller <skaller at users dot sf dot net>
Felix, successor to C++: http://felix.sf.net


--
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