X-Recipient: archive-cygwin AT delorie DOT com 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 Message-ID: <4FEDCB61.8040401@gmail.com> Date: Fri, 29 Jun 2012 17:36:01 +0200 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 AT cygwin DOT com Subject: Re: problem with fork() and temp dlls References: <20044_1340971660_4FED9A8B_20044_5174_1_B03025C959FD1A4796D42DC68C9C0823046C6544 AT wancyexmbx01 DOT ancy DOT fr DOT 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 AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com 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