| 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:date:from:to:subject:message-id:reply-to | |
| :references:mime-version:content-type:in-reply-to; q=dns; s= | |
| default; b=l2zsESiSBoSquTWTAMK0Z0kCMD++bC0PLkDyR50W7WKhXeAL2awKr | |
| yDVlpi3PBnw5npMEUzfUqlJ4vaoU8chC3ev7X8umLoggLXZ9/J8U+cO+NssqxLjA | |
| jCwe6jQqs8C8vMmGfJd5P9kCIfZWCAlgzgDCGAzFOHMeB1DZIXyqCY= | |
| 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:date:from:to:subject:message-id:reply-to | |
| :references:mime-version:content-type:in-reply-to; s=default; | |
| bh=QMrCt/G9CJf3ldDer31+zBYbOQQ=; b=O3qYTPBWfeS9t/yNkyYaejcYAIMq | |
| fvuYsVcyAjysz7upoqv3cXvin1AcZpwbHBwNJgJXjsCC+DmY1MyFQfrx7FgBwfuf | |
| +Az+s5yXlf3hyt15L7O0/UDug6bEnZ4s4PQNXB1ojdbQDE6OvuUDwT6kYy1hpckP | |
| 2irFB2CMI5xbv6M= | |
| 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=-5.9 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.2 |
| X-HELO: | calimero.vinschen.de |
| Date: | Tue, 15 Jul 2014 15:08:29 +0200 |
| From: | Corinna Vinschen <corinna-cygwin AT cygwin DOT com> |
| To: | cygwin AT cygwin DOT com |
| Subject: | Re: Core dump on 32-bit Cygwin if program calls dlopen |
| Message-ID: | <20140715130829.GK10401@calimero.vinschen.de> |
| Reply-To: | cygwin AT cygwin DOT com |
| Mail-Followup-To: | cygwin AT cygwin DOT com |
| References: | <53C46ACD DOT 5060601 AT cornell DOT edu> <20140715090259 DOT GB20640 AT calimero DOT vinschen DOT de> <53C51460 DOT 5080805 AT cornell DOT edu> |
| MIME-Version: | 1.0 |
| In-Reply-To: | <53C51460.5080805@cornell.edu> |
| User-Agent: | Mutt/1.5.23 (2014-03-12) |
--GUPx2O/K0ibUojHx
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
On Jul 15 07:45, Ken Brown wrote:
> On 7/15/2014 5:02 AM, Corinna Vinschen wrote:
> >On Jul 14 19:42, Ken Brown wrote:
> >>I'm getting a core dump on exit from a program that does nothing but ca=
ll
> >>dlopen. (But the call to dlopen succeeds.) This happens only in the 3=
2-bit
> >>case. Here's a simple test case.
> >>
> >>$ cat test_dlopen.c
> >>#include <stdio.h>
> >>#include <dlfcn.h>
> >>int
> >>main()
> >>{
> >> const char *dllname =3D "cyggs-9.dll";
> >> void *handle;
> >> printf ("Trying to dlopen %s...", dllname);
> >> handle =3D dlopen (dllname, RTLD_LAZY);
> >> if (handle)
> >> {
> >> printf ("succeeded.\n");
> >> return 0;
> >> }
> >> else
> >> {
> >> printf ("failed.\n");
> >> return 1;
> >> }
> >>}
> >>
> >>$ gcc test_dlopen.c
> >>
> >>$ ./a
> >>Trying to dlopen cyggs-9.dll...succeeded.
> >>Aborted (core dumped)
> >
> >The crash occurs when calling the destructors from do_global_dtors.
> >The crash address points to a crash inside a destructor of libgcc
> >(actually cyggcc_1-1.dll) which has been pulled in by cyggs-9.dll.
> >
> >What destructor in libgcc would that be? And what is it expecting
> >which is apparently missing?
>=20
> 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?
Thanks,
Corinna
--=20
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Maintainer cygwin AT cygwin DOT com
Red Hat
--GUPx2O/K0ibUojHx
Content-Type: application/pgp-signature
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iQIcBAEBAgAGBQJTxSfNAAoJEPU2Bp2uRE+gozgP/2GROwWMbrRJevXt+UbSSsbG
yXuaGLscLBMmhXPoN7B3b+Z1rxELL1ga7t/b3sgYeWYVomWhTBQWfUapmxm6CtUf
U8m/JQks3BnUnwLkMiG6sbJ33hE4sGay4hjjEU10XTNN1/MYPUhPEbXihyzDgEwU
WN2o5VeKj1D04xKbYuQwcBrmOGAZ664cD1aKH3hPhAsSYVVntbITOceN+AnarVEk
mToiPl66+xKbEVzNqmoDagmcEaXDlEWLoPEFp9ZsrnUka1z6pOWXq3lIZ7mRX/iC
6DpK3hr44ySe6VIFNWUxkpxdtcfMyZdh0TzyOqs5ibMMUxtonaJnBRLABgTWKCfT
NZ4Co7+T6fT+1x/zJ7FNK7Y4ExxH//S+mgATkk0BK/WSC+712cytkixtXrzYiYAF
VUs8bAmE8Q0lnY/pTBOQOsqtWuylXXshydPV7dhGcBfRUFcpo5TXk7Bqye2AgRc+
WuoJer5HSC4wMB4W3w7NRAF1FC4FzGjReotvd25Ywkg56pcDlefGRxh0NTh1rCnq
AxkO8kUNeMsDA5GdR8mvM0wi6LagAnhqLfnO8b6gYuf7cdX8Tu2RgDrd06OG4/YK
f/dwO2SBiNqmLHCKnMGPNXi67q81CxKdB0rz+Aw+khmroy4kVgao/oz8Wd/8ttp+
XtIwq5Sf510k/VlvFSG9
=kufo
-----END PGP SIGNATURE-----
--GUPx2O/K0ibUojHx--
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |