delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2017/01/05/05:17:52

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:subject:to:references:from:message-id:date
:mime-version:in-reply-to:content-type
:content-transfer-encoding; q=dns; s=default; b=iNLkAD/nFNMM2vJd
+KZXWiIrAFp8WnzVclmjZ1CTuidJIgWEUZCQll0SkBE7lGSGorzk8aE77rew29NZ
CN0PfeG9EaiPQaxIoXn+jMX9iBs0cLOW7paTLjV84/WjJJsr5TdWKNn49BpoJF65
J8srYGL1a0AwU9F34sNlnm2Ch4o=
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:subject:to:references:from:message-id:date
:mime-version:in-reply-to:content-type
:content-transfer-encoding; s=default; bh=RQqONsxmjoIjhbY85yXmoB
csG88=; b=LBRTLr4fBEdIflqTnAcP58v3yUP2NY89Uce40PDf2INZgyZoMUwQcO
GAZNeA6Z6AZeEQphhGZN+MYRVhaYPjvnxPDLknvd1ov3mk16Yp4Xjd+8RffWzmXV
1rKC473t54XYp/apo/DvuRWRauP1LGV4F/WgoTIAG87dKczGZPEkw=
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.9 required=5.0 tests=AWL,BAYES_20,KAM_LAZY_DOMAIN_SECURITY autolearn=no version=3.3.2 spammy=H*r:8.12.11, Hx-languages-length:1767, Win, H*f:GjctdbU4wvFxY7
X-HELO: m0.truegem.net
Subject: Re: Cygwin 2.6.0 Fork issue
To: cygwin AT cygwin DOT com
References: <CAPCR6Q2xgs5-cPuRXJW+dSDiE-G-7Z_-YA6K=cg8kDdh7f36ZQ AT mail DOT gmail DOT com> <CAPCR6Q0p4dOqYBxeF4BohZeEq=GjctdbU4wvFxY7=5eUzyPJwQ AT mail DOT gmail DOT com>
From: Mark Geisert <mark AT maxrnd DOT com>
Message-ID: <586E1D31.9080907@maxrnd.com>
Date: Thu, 5 Jan 2017 02:17:21 -0800
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:43.0) Gecko/20100101 Firefox/43.0 SeaMonkey/2.40
MIME-Version: 1.0
In-Reply-To: <CAPCR6Q0p4dOqYBxeF4BohZeEq=GjctdbU4wvFxY7=5eUzyPJwQ@mail.gmail.com>

Rashi Singhal wrote:
> Hi ,
> Thanks for information provided.
>
> I tried putting cygwin/ bin path in first place in environment
> variables. But result remain same.

OK.

> Yes all other DLL's getting loaded are either pervasive dll or windows
> native dll.

You might be missing the essential point here.  Windows-native DLLs that make 
use of the Microsoft C runtime are not compatible with Cygwin.  They will not 
work properly.  If Actian Pervasive separately supplies their code as Cygwin 
DLLs, you must use those.

> I have doubt ,.Is there any compilation variable or cygwin varaible
> set for autoloading all dll's

Not sure why you're asking this.

> As in same windows 2012 system this extra DLL's are not getting loaded
> with previous versions of cywin and Fork is working there.

You're saying that on this same computer, running Win 2012, this sample code ran 
properly under a previous version of Cygwin?  Which version was that?

> I have downloaded the source also, I check some varibel there if you can help.

Which source have you downloaded?  Whose source?

> Looks like program just hangs child process after open call and never
> comes back.
>
>    Please suggest what I can check .

Your sample program is getting exceptions (i.e., is faulting) even before it 
fork()s the child process.  The child is faulting the same way.  This looks 
pretty much like your sample program was built with incorrect assumptions.

You can try posting the compilation (and linking) command(s) that you used to 
build your btrsamp.exe program.  Maybe there's something obvious there that 
somebody here can see.  We can't help you debug your program though, and you 
can't mix Windows-native DLLs that use Microsoft C runtime with Cygwin code.

..mark

--
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019