public inbox for cygwin-talk@cygwin.com
 help / color / mirror / Atom feed
* RE: FW: cygwin-1.dll long-time bug
@ 2006-04-19 13:47 Williams, Gerald S (Jerry)
  2006-04-19 14:03 ` Igor Peshansky
  2006-04-19 14:04 ` Dave Korn
  0 siblings, 2 replies; 14+ messages in thread
From: Williams, Gerald S (Jerry) @ 2006-04-19 13:47 UTC (permalink / raw)
  To: The Quality-Schmality List

Eric Blake wrote:
> According to Dave Korn on 4/18/2006 12:38 PM:
>> [...] and it's probably not something that gets a whole load
>> of testing in microsoft's QA dept.... ;)  
>
> They have one?  What are the job qualifications to become a member of
> that dept, I wonder?  I bet even a hippo could apply...

I think you have it all wrong--they must have the best QA
department in the world to get their software to the point
it's at. It's obvious that the source code is written by a
boatload of demented monkeys. The hippos are only used to
keep the monkeys under control.

gsw

^ permalink raw reply	[flat|nested] 14+ messages in thread
* FW: cygwin-1.dll long-time bug
@ 2006-04-18 18:13 Dave Korn
  2006-04-18 18:25 ` Christopher Faylor
  2006-04-28  9:10 ` Ludovic Drolez
  0 siblings, 2 replies; 14+ messages in thread
From: Dave Korn @ 2006-04-18 18:13 UTC (permalink / raw)
  To: 'mysteries of the ancients'

On 18 April 2006 17:23, Dave Korn wrote:

[ TITTTLing this thread because I'm largely just thinking out loud to myself, and because it's highly speculative and pretty esoteric.  If I get the problem solved I'll post a summary on the main list.  In the meantime this thread will at least archive anything I turn up. ]

>   Ah, I just found something out.  

  Well, I deduce that RtlpQueryProcessDebugInformationRemote is the entry point for a remote thread created in the target thread's address space to gather debug info, and that therefore there's probably a corresponding RtlQueryProcessDebugInformation function being called in the querying process, so I google for that.

  LOL, it turns out I already found this all out once before but forgot!

http://www.cygwin.com/ml/cygwin/2004-05/msg00694.html

  So, there's a certain kind of RtlQueryProcessDebugInformation call that causes this problem.  I also found some ideas about what could be causing the problem at

http://www.anticracking.sk/EliCZ/bugs/WinBugs.htm

and there's a thread at 

http://www.sysinternals.com/Forum/forum_posts.asp?TID=126&PN=1

where Mark Russinovich says 

"As for the issues looking at threads, the problem is a Cygwin behavior that's incompatible with the Windows API, RtlQueryProcessDebugInformation, that Process Explorer uses to obtain the list of modules loaded into a process. That API injects a thread into the remote process to query the loader data structures. The target process DLLs get a DLL_THREAD_ATTACH notification, which causes some Cygwin DLL thread to hang and the RtlQueryProcessDebugInformation to never return."

  This gives me even more to go on... we may be able to do something about this.

    cheers,
      DaveK
-- 
Can't think of a witty .sigline today....

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2006-04-28  9:10 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-04-19 13:47 FW: cygwin-1.dll long-time bug Williams, Gerald S (Jerry)
2006-04-19 14:03 ` Igor Peshansky
2006-04-19 14:04 ` Dave Korn
  -- strict thread matches above, loose matches on Subject: below --
2006-04-18 18:13 Dave Korn
2006-04-18 18:25 ` Christopher Faylor
2006-04-18 18:38   ` Dave Korn
2006-04-19  2:26     ` Gary R. Van Sickle
2006-04-19 17:06       ` Christopher Faylor
2006-04-19 18:01         ` Dave Korn
2006-04-19  3:44     ` Eric Blake
2006-04-19  8:28       ` Dave Korn
2006-04-19 12:58         ` Igor Peshansky
2006-04-19 13:46           ` Dave Korn
2006-04-28  9:10 ` Ludovic Drolez

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