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:subject:from:to:mime-version :content-type:content-transfer-encoding; q=dns; s=default; b=XkI 5ysk2V4fptcQ2LGLup6/B0CFI9O6hhW7rgBcntTSOtJ/1nmT8LaJja7hdTgeGFle gkBsFx0PCnuAplvniu4LafHtIS5pmLH360xVWMNp6J6aXtSVFKksfqVKCd5uXMih slqRdEsLToO/pY1klxyFodP28MqQVflAMzzXcGtw= 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:subject:from:to:mime-version :content-type:content-transfer-encoding; s=default; bh=D1eKMNivq /BqxgU91GPvcBHzgi8=; b=Bg1IqT1Iwd1cuz0/L+2WxeQVGEzIkbMVNkKJhQwT2 AmhafsmKmrnI7EcghgwvGBe7Y4b5ihQ0y/PC0w6BQzWBiO9VIQZSm+lwNvif/H4c 67lal1m6VYNBKN5QW2P0Qxap29is/P3kQvm3i8l2ts/rvxMYw5lrUspBJny3P52J wM= 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: No, score=-1.0 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,RP_MATCHES_RCVD autolearn=ham version=3.3.2 X-HELO: smtp-vbr6.xs4all.nl Message-ID: <5a37d9e5b16d8bf364b4a5239b02e6d3.squirrel@webmail.xs4all.nl> Date: Tue, 15 Jul 2014 15:34:04 +0200 Subject: Re: Core dump on 32-bit Cygwin if program calls dlopen From: "Houder" To: cygwin AT cygwin DOT com User-Agent: SquirrelMail/1.4.18 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit >> FWIW, the problem disappears if I revert gcc-core and libgcc1 to 4.8.2-2. > JonY, do you have a chance to have a look into this issue? Trying to help ... ----- test program #include #include //int main (int argc, char **argv) int main (int argc, char *argv[]) { HMODULE m = LoadLibrary (argv[1]); if (!m) printf ("%s: %lu\n", argv[1], GetLastError ()); else printf ("Success.\n"); // 15/07/2014: currently resulting in a crash on 32-bits only (gcc only) return 0; } ----- The test program above fails (abort) for every cyg*.dll in /usr/bin that pulls in cyggcc_s-1.dll. (if not, the test program exits normally) (using the same compiler and cygwin1.dll as Ken did) H. -- 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