public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: marco atzeri <marco.atzeri@gmail.com>
To: cygwin@cygwin.com
Subject: Re: problem with fork() and temp dlls
Date: Fri, 29 Jun 2012 15:36:00 -0000	[thread overview]
Message-ID: <4FEDCB61.8040401@gmail.com> (raw)
In-Reply-To: <20044_1340971660_4FED9A8B_20044_5174_1_B03025C959FD1A4796D42DC68C9C0823046C6544@wancyexmbx01.ancy.fr.sopra>

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

  reply	other threads:[~2012-06-29 15:36 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-06-29 12:08 Lenci Damien
2012-06-29 15:36 ` marco atzeri [this message]
  -- strict thread matches above, loose matches on Subject: below --
2012-06-29  9:57 Lenci Damien
2012-06-29 10:16 ` marco atzeri
2012-06-28  9:08 Lenci Damien
2012-06-28 14:55 ` Larry Hall (Cygwin)

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4FEDCB61.8040401@gmail.com \
    --to=marco.atzeri@gmail.com \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).