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:references:message-id:date:from:reply-to | |
:subject:to:in-reply-to:mime-version:content-type | |
:content-transfer-encoding; q=dns; s=default; b=IIQRMEi/t17qTUDZ | |
VQ7L4vVMpUtIqQyR2fveh2tvKU9VaRhQTs/8nJ3A7y77fUQRPf2dYR86w34ChWy0 | |
EBmJBLYRGZ4JmtpmJI/UC+zghQajroEwtOxN71UpkQhqFx3O/wEYkgmq7vYedY0y | |
6wTppukU+TLvXlmgSoGvL5bzATE= | |
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:references:message-id:date:from:reply-to | |
:subject:to:in-reply-to:mime-version:content-type | |
:content-transfer-encoding; s=default; bh=6oGzJ+VrDcLSN4820tZahF | |
awsHI=; b=jC8/6daQIeEWBlaKqKR1gsHOyYlbjyCl+LLy5oZUA9DKddXr7KO2Tf | |
uICoLMUkClWj72XR05kalBLzxX/EFTMWDe0DnVu9ghbAWCN0QwbTzl5lc5/+27vM | |
g/VtbYKTh9O0Zd3Hx784CbfzGntVO8NJcbTFCdkBO39JeWXP4iBmM= | |
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=0.8 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,REPTO_QUOTE_YAHOO,RP_MATCHES_RCVD,SPF_PASS autolearn=no version=3.3.2 |
X-HELO: | nm6-vm2.bullet.mail.ne1.yahoo.com |
References: | <1408751151 DOT 18259 DOT YahooMailNeo AT web121005 DOT mail DOT ne1 DOT yahoo DOT com> |
Message-ID: | <1408987842.26496.YahooMailNeo@web121002.mail.ne1.yahoo.com> |
Date: | Mon, 25 Aug 2014 10:30:42 -0700 |
From: | "Cary R." <cygcary AT yahoo DOT com> |
Reply-To: | "Cary R." <cygcary AT yahoo DOT com> |
Subject: | Re: Update to latest cygwin creates crashes in dlclose() |
To: | The Cygwin Mailing List <cygwin AT cygwin DOT com> |
In-Reply-To: | <1408751151.18259.YahooMailNeo@web121005.mail.ne1.yahoo.com> |
MIME-Version: | 1.0 |
X-MIME-Autoconverted: | from quoted-printable to 8bit by delorie.com id s7PHVkQA001614 |
>On Aug 22 16:45, Cary R. wrote: >> I upgraded to the latest cygwin earlier today (it has probably been >> a month or more since I last updated) and now a program that has been >> working is crashing (segfault) when calling dlclose(). dlopen() and >> calling a function in the DLL still works just fine. An older version >> of the program still works correctly so it's not just simply calling >> dlclose() but something more context dependent. > Is you applications written in C++? Yes the primary application is C++. The DLL is mixed C and C++. > Does recompiling with the latest gcc 4.8.3-3 fix the issue? make distclean, a reconfigure and then a complete recompile was the first thing I tried when I noticed the failure and that did not fix the crash. > Typically a SEGV creates a stackdump file. Can you show us? No stackdump file is being created. If I remove the call to dlclose() the application does not SEGV and appears to run correctly. Here is the output from gdb: ~/src/verilog/iverilog-push/iverilog/vvp > gdb ./vvp-dev.exe GNU gdb (GDB) 7.8 Copyright (C) 2014 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "i686-pc-cygwin". Type "show configuration" for configuration details. For bug reporting instructions, please see: <http://www.gnu.org/software/gdb/bugs/>. Find the GDB manual and other documentation resources online at: <http://www.gnu.org/software/gdb/documentation/>. For help, type "help". Type "apropos word" to search for commands related to "word"... Reading symbols from ./vvp-dev.exe...done. (gdb) run -M../vpi ../../iverilog/vvp/examples/hello.vvp Starting program: /cygdrive/c/src/verilog/iverilog-push/iverilog/vvp/vvp-dev.exe -M../vpi ../../iverilog/vvp/examples/hello.vvp [New Thread 4152.0x78c] [New Thread 4152.0x1254] Warning: vvp input file may not be correct version! Hello, World. Program received signal SIGSEGV, Segmentation fault. 0x6314c658 in ?? () (gdb) bt #0 0x6314c658 in ?? () The version warning is expected and is not related to this issue. I have also compiled this example using a suffix "-dev", but the non-suffix version also has the same issue. The "Hello, World" output is being generated in the DLL and is the expected output for this example. > Last but not least, do you have a simple testcase to reproduce the issue? I do not have a simple test case yet. Since this is an open source application you could compile it to observe the behavior, but I was planning to look into this more based on any feedback and my available free time this week. Cary -- 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 |