This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Core dump on 32-bit Cygwin if program calls dlopen
- From: "Houder" <houder at xs4all dot nl>
- To: cygwin at cygwin dot com
- Date: Tue, 15 Jul 2014 15:34:04 +0200
- Subject: Re: Core dump on 32-bit Cygwin if program calls dlopen
- Authentication-results: sourceware.org; auth=none
>> 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 <windows.h>
#include <stdio.h>
//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