Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm 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 Date: Mon, 4 Apr 2005 16:25:07 +0200 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: ipc, sockets and windows sp2 Message-ID: <20050404142507.GT1471@cygbert.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <424D0232 DOT 5060305 AT smousseland DOT com> <20050401090414 DOT GD7415 AT cygbert DOT vinschen DOT de> <424D2B0B DOT 8000604 AT smousseland DOT com> <20050401121143 DOT GD1471 AT cygbert DOT vinschen DOT de> <424D5C64 DOT 5050706 AT smousseland DOT com> <20050401160749 DOT GH1471 AT cygbert DOT vinschen DOT de> <4250E410 DOT 1060708 AT smousseland DOT com> <20050404103824 DOT GS1471 AT cygbert DOT vinschen DOT de> <9305417ca9a2f2601ad20b83801d2f92 AT smousseland DOT com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <9305417ca9a2f2601ad20b83801d2f92@smousseland.com> User-Agent: Mutt/1.4.2i On Apr 4 15:13, Vincent Dedun wrote: > i have no idea how to do this, i'm not a good system programmer. gdb? > further more, i have a slow computer, and recompiling cygwin is long. > I even don't know how to active debugging (dprintf) on cygwin dll. The debug output in cygserver is activated by giving the option `-d' to cygserver: $ /path/to/cygserver -d > I just saw a strange stuff : in sysv_sem.cc (cygserver) at end of semop > function (:done2 label), the mutex is released after waking up waiting > process, shouldn't it be the inverse ? No, the mtx_unlock is correct. If you're looking for bugs, they are very likely in the bsd_* files in cygserver. Even though the sysv_* files taken from FreeBSD are not proved to be 100% correct, there's a high probability that I produced the bug in some of the bsd emulation functions. msleep is a good candidate, FWIW. Any active debugging or tracking down the bug is highly appreciated, probably not only by me. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader mailto:cygwin AT cygwin DOT com Red Hat, Inc. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/