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=gyv1gq0N1BJDiFzV9SQbh/8Md6CjMPVs3zUMHFyKdrb d86N7gG/YuqsY4Uytm72lvUQHz6LDh8/oa1rVOH05tL2dwyPFDHEdrS9jlvOCO0Y syN1W12mBnsAzNorZTNUOOY+Q0eIT5iQ2m1wmI4eXJ0SP5xJsueA+sOtLDftrIFo = 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=8bOYyWRCO5LlKC3jn/szeBGSn6M=; b=PBU5CXCOANpwZRv8i KWE7WTdnbrab2AFPE6v0bkwI9/N/Z9dwTcr8YKMI6KVNlOC4epBxx5Y1EXM0wvh+ lomQIsXOg4Lr9uuOjY4OQmAPsTsvebZTnHH8mmzL1aas1dT1Z1PCZ7EDd0TS0zJx YsSorRFHlv+ZkR4lrxdOS6Yi3M= 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 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: Yes, score=5.3 required=5.0 tests=AWL,BAYES_50,FREEMAIL_FROM,KAM_COUK,KAM_FROM_URIBL_PCCC,SPF_PASS autolearn=no version=3.3.2 X-HELO: out.ipsmtp3nec.opaltelecom.net X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A2CWAQBe1RlV/y9W0lUNT80Zgk0DAgKCCAEBAQEBAYUSAQEEOEARCxgJFg8JAwIBAgFFEwgBAbpimgMBAQEBBgEBAQEBARyLKYR/FoQXAQSOTo0ej1GDSIIkHIFRgzEBAQE X-IPAS-Result: A2CWAQBe1RlV/y9W0lUNT80Zgk0DAgKCCAEBAQEBAYUSAQEEOEARCxgJFg8JAwIBAgFFEwgBAbpimgMBAQEBBgEBAQEBARyLKYR/FoQXAQSOTo0ej1GDSIIkHIFRgzEBAQE Message-ID: <5519D613.5030501@tiscali.co.uk> Date: Tue, 31 Mar 2015 00:02:43 +0100 From: David Stacey User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; 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> <395196416 DOT 20150330233026 AT yandex DOT ru> In-Reply-To: <395196416.20150330233026@yandex.ru> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes On 30/03/2015 21:30, Andrey Repin wrote: > Greetings, David Stacey! > >> 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? > Probably I've missed this bit before, forgive me if I did, but have you > rebased your library after linking? Thank you for your reply. I tried this two different ways: - Running 'rebase -s' on cygcrash_library.dll; - Moving 'cygcrash_library.dll' into /usr/bin and triggering a full rebase using 'rebase-trigger full' and then running setup-x86_64.exe. Sadly, neither of these made any difference - the application still crashed :-( Thanks for the suggestion anyway, 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