delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2011/08/21/18:19:48

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.7 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,RCVD_IN_DNSWL_NONE,UNPARSEABLE_RELAY
X-Spam-Check-By: sourceware.org
X-Yahoo-SMTP: jenXL62swBAWhMTL3wnej93oaS0ClBQOAKs8jbEbx_o-
Date: Sun, 21 Aug 2011 18:19:23 -0400
From: Christopher Faylor <cgf-use-the-mailinglist-please AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: 1.7.9: static const std::string initialization lost in child process when using fork, dlopen
Message-ID: <20110821221923.GA30284@ednor.casa.cgf.cx>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <1558100995 DOT 357508 DOT 1313927301638 DOT JavaMail DOT fmail AT mwmweb008> <20110821165001 DOT GA19565 AT ednor DOT casa DOT cgf DOT cx> <4E513BF4 DOT 90308 AT hones DOT org DOT uk> <20110821183857 DOT GC19565 AT ednor DOT casa DOT cgf DOT cx> <1313961316 DOT 31093 DOT 28 DOT camel AT asus>
MIME-Version: 1.0
In-Reply-To: <1313961316.31093.28.camel@asus>
User-Agent: Mutt/1.5.20 (2009-06-14)
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
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 Sun, Aug 21, 2011 at 02:15:16PM -0700, Thomas D. Dean wrote:
>On Sun, 2011-08-21 at 14:38 -0400, Christopher Faylor wrote:
>
>I get the stack dump - I retyped the examples to be sure no strange
>chars.

Did you try the snapshot as I suggested?

>And, I see no strange characters in the emails - evolution Ubuntu 10.04

Whether you see them or not, they are there.  Maybe your browser will show
them:

http://cygwin.com/ml/cygwin/2011-08/msg00404.html

Regardless, I've replaced the characters with spaces, compiled the
program, and don't see the problem that you're reporting.

If you don't want to try a snapshot for some reason then you could also
try setting the base address of the DLL by using the --auto-image-base
option when linking the DLL.

cgf

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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