www.delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
DomainKey-Signature: | a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id |
:list-unsubscribe:list-subscribe:list-archive:list-post | |
:list-help:sender:message-id:date:from:mime-version:to:subject | |
:references:in-reply-to:content-type:content-transfer-encoding; | |
q=dns; s=default; b=Gj2qcSzvUOMumdbdrKI62hZCPFQn40fJnhAhIVrVPG2 | |
zaLy1KWvlq4kzdTWMdY/MRQnUVtwmAFNgCk0S+VA0hs77y6X3osOCILBjRLZyvDD | |
gTR704efCf2VZk7LkjJeMcerqMbZJia7LIOlvU6Avz9wCgddbMXyffIFIj+wJ/J0 | |
= | |
DKIM-Signature: | v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id |
:list-unsubscribe:list-subscribe:list-archive:list-post | |
:list-help:sender:message-id:date:from:mime-version:to:subject | |
:references:in-reply-to:content-type:content-transfer-encoding; | |
s=default; bh=ughmjqNqLKMEz+ahXLLXXpHqoyQ=; b=NtHq4kugqniRib0fN | |
7e66An3Aymg/Kfv6xhqbgDO+TrwTFQ2ISkWKrp+GKJJyo4LL2j/AJrkJmYARcRkx | |
S6S7gct+pZVnVBbC6mI2k6Q4n9Ql9FM2F00FfIr0cBZzOCyhqKQ85LMVWlcwx15n | |
kggTQfReQuj8lCrC7Gw7HZz3Jg= | |
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 |
Authentication-Results: | sourceware.org; auth=none |
X-Virus-Found: | No |
X-Spam-SWARE-Status: | No, score=3.9 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,KAM_COUK,KAM_FROM_URIBL_PCCC,SPF_PASS autolearn=no version=3.3.2 |
X-HELO: | out.ipsmtp2nec.opaltelecom.net |
X-SMTPAUTH: | drstacey AT tiscali DOT co DOT uk |
X-IronPort-Anti-Spam-Filtered: | true |
X-IronPort-Anti-Spam-Result: | A2CWAQCJzBpV/ytZ0lUNT4dIxguCTQMCAoIPAQEBAQEBhRIBAQQjFUARCxgCAgUWCwICCQMCAQIBRRMIAQG8LHCZEwEBAQcBAQEBHoEhigiEfxaCUoFFBY5TjSGPVoNIhBGDMQEBAQ |
X-IPAS-Result: | A2CWAQCJzBpV/ytZ0lUNT4dIxguCTQMCAoIPAQEBAQEBhRIBAQQjFUARCxgCAgUWCwICCQMCAQIBRRMIAQG8LHCZEwEBAQcBAQEBHoEhigiEfxaCUoFFBY5TjSGPVoNIhBGDMQEBAQ |
Message-ID: | <551ACCE2.3000103@tiscali.co.uk> |
Date: | Tue, 31 Mar 2015 17:35:46 +0100 |
From: | David Stacey <drstacey AT tiscali DOT co DOT uk> |
User-Agent: | Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 |
MIME-Version: | 1.0 |
To: | cygwin AT cygwin DOT com |
Subject: | Re: static vs. shared linking |
References: | <5510A9AB DOT 7020607 AT tiscali DOT co DOT uk> <5511AF73 DOT 9070607 AT tiscali DOT co DOT uk> <20150325090453 DOT GB3017 AT calimero DOT vinschen DOT de> <551339E4 DOT 60705 AT tiscali DOT co DOT uk> <20150330105529 DOT GJ29875 AT calimero DOT vinschen DOT de> <5519A0E1 DOT 6020707 AT tiscali DOT co DOT uk> <20150331090527 DOT GB32403 AT calimero DOT vinschen DOT de> |
In-Reply-To: | <20150331090527.GB32403@calimero.vinschen.de> |
X-IsSubscribed: | yes |
On 31/03/15 10:05, Corinna Vinschen wrote: > On Mar 30 20:15, David Stacey wrote: >> Back to the matter in hand - I don't suppose you had thoughts on why my >> simple application crashes when linked as shared, but works fine when linked >> statically? > No, sorry. This may be a c++11 thingy which requires "something" in > libstdc++ and Cygwin, but I don't know what that could be. It's > especially weird that free() aborts. This points to some malloc/free > inconsistency, as if the malloc (or new) call used another > implementation of malloc than the aborting free call. It may also > be a memory overflow issue but that would show up on other platforms > as well. Thanks for your reply. Ah well, worth a try. I'm going to keep plugging away at this. My next goal is to produce a C++ example that doesn't require the STL, and after that maybe an example in plain C. Reducing the amount of code and eliminating number dependencies should help us see what's going on more clearly. I'll post back here if and when I make more progress. Dave. -- 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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |