public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Ryan Johnson <ryanjohn@ece.cmu.edu>
To: "Henry S. Thompson" <ht@inf.ed.ac.uk>
Cc: cygwin@cygwin.com
Subject: Re: BLODA detection (was Re: Debugging help for fork failure: resource temporarily unavailable)
Date: Wed, 16 Mar 2011 19:55:00 -0000	[thread overview]
Message-ID: <4D811176.60908@ece.cmu.edu> (raw)
In-Reply-To: <f5bipvktgw2.fsf_-_@calexico.inf.ed.ac.uk>

On 2:59 PM, Henry S. Thompson wrote:
> Ryan Johnson writes:
>
>> BTW, I found a good way to identify, if not fix, BLODA: given an app
>> which loads no libraries at runtime -- such as 'ls' -- any dlls
>> mentioned in /proc/$$/maps which cygcheck does not mention are
>> probably dodgy. In my case, Windows Live (which I didn't think was
>> even installed on my machine) has injected a WLIDNSP.DLL ("Microsoft
>> Windows Live ID Namespace Provider") in all my processes.
> This would be super-cool if true, but it doesn't work for me. . .
>
> If I try, I find
>
>   C:\Windows\system32\ntmarta.dll
>   C:\Windows\SysWOW64\sechost.dll
>   C:\Windows\syswow64\WLDAP32.dll
>
> in /proc/[ls procid]/maps but not in cygcheck output, but none of
> those are BLODA, right?
>
> [Note also that maps shows many things in syswow64 which cygcheck
> shows in system32, but presumably that's because cygcheck itself is a
> 32-bit app, is it?]
>
Interesting...

$ join -i -v 1 <(cat /proc/$$/maps | sed 's;^.*/;;' | sort -f) 
<(cygcheck $(cat /proc/$$/winexename) | sed 's;^.*\\;;' | sort -f)
apphelp.dll
DNSAPI.dll
IMM32.DLL
MSCTF.dll
mswsock.dll
napinsp.dll
NLAapi.dll
NSI.dll
pnrpnsp.dll
PSAPI.DLL
sechost.dll
SHLWAPI.dll
winmm.dll
winrnr.dll
WLIDNSP.DLL
ws2_32.dll
wshbth.dll

The above shows all dlls loaded by the process which are not linked in 
at compile time. Does bash really load so many dynamic libraries, or is 
cygcheck missing things?

Ryan


--
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:[~2011-03-16 19:37 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-05 22:17 Debugging help for fork failure: resource temporarily unavailable Ryan Johnson
2011-03-06 15:03 ` chm
2011-03-07 15:29 ` Ryan Johnson
2011-03-09 10:34 ` Corinna Vinschen
2011-03-09 17:04   ` Christopher Faylor
2011-03-09 17:53   ` Ryan Johnson
2011-03-12 20:57     ` Jon TURNEY
2011-03-15 15:04       ` Ryan Johnson
2011-03-15 17:52         ` BLODA detection (was Re: Debugging help for fork failure: resource temporarily unavailable) Henry S. Thompson
2011-03-16 19:55           ` Ryan Johnson [this message]
2011-04-04 14:52             ` Jon TURNEY
2011-04-04 18:40         ` Debugging help for fork failure: resource temporarily unavailable Jon TURNEY
2011-04-13 22:21           ` Ryan Johnson
2011-04-14  6:47             ` Ryan Johnson
2011-04-14 18:21               ` Ryan Johnson

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=4D811176.60908@ece.cmu.edu \
    --to=ryanjohn@ece.cmu.edu \
    --cc=cygwin@cygwin.com \
    --cc=ht@inf.ed.ac.uk \
    /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).