From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14626 invoked by alias); 29 Jun 2012 15:36:19 -0000 Received: (qmail 14508 invoked by uid 22791); 29 Jun 2012 15:36:18 -0000 X-SWARE-Spam-Status: No, hits=-5.9 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,KHOP_RCVD_TRUST,KHOP_THREADED,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE X-Spam-Check-By: sourceware.org Received: from mail-gg0-f171.google.com (HELO mail-gg0-f171.google.com) (209.85.161.171) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 29 Jun 2012 15:36:05 +0000 Received: by ggmi1 with SMTP id i1so2995908ggm.2 for ; Fri, 29 Jun 2012 08:36:04 -0700 (PDT) Received: by 10.236.154.69 with SMTP id g45mr3383737yhk.47.1340984164544; Fri, 29 Jun 2012 08:36:04 -0700 (PDT) Received: from [172.21.193.102] (85-18-126-22.ip.fastwebnet.it. [85.18.126.22]) by mx.google.com with ESMTPS id m47sm6340037yhe.14.2012.06.29.08.36.02 (version=SSLv3 cipher=OTHER); Fri, 29 Jun 2012 08:36:03 -0700 (PDT) Message-ID: <4FEDCB61.8040401@gmail.com> Date: Fri, 29 Jun 2012 15:36:00 -0000 From: marco atzeri User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20120614 Thunderbird/13.0.1 MIME-Version: 1.0 To: cygwin@cygwin.com Subject: Re: problem with fork() and temp dlls References: <20044_1340971660_4FED9A8B_20044_5174_1_B03025C959FD1A4796D42DC68C9C0823046C6544@wancyexmbx01.ancy.fr.sopra> In-Reply-To: <20044_1340971660_4FED9A8B_20044_5174_1_B03025C959FD1A4796D42DC68C9C0823046C6544@wancyexmbx01.ancy.fr.sopra> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com X-SW-Source: 2012-06/txt/msg00565.txt.bz2 On 6/29/2012 2:07 PM, Lenci Damien wrote: >>>> Looks like fork problems to me. Perhaps you need to rebase the DLLs you're >>>> building? See the link below for more info: > >>> I've already done that, sorry I should have mentioned it. > >> just to crosscheck, did you ran only >> rebaseall >> or >> rebaseall -T list_of_my_built_files >> >> >> rebaseall, as standard, is not aware of dll's not reported in the >> /etc/setup/*.gz lists. >> > > I ran only rebaseall but it works with the "original" dll, and I just can't run a rebaseall between the creation and the load of the temporary file. do not bet that you do not need it. > BTW, the error is not the same as the usual "unable to Remap xxxx to same address as parent". > Here, its "unable to map xxxx" with error 126 which means the dll has not been found (indeed, the file is deleted), imo, the child process just shouldn't search for it as it's already loaded by its parent. in this case you will need to add the location of the new DLL's to the PATH, or you can use LD_PRELOAD http://cygwin.com/ml/cygwin/2009-05/msg00822.html > Damien Lenci Regards Marco -- 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