Mailing-List: contact cygwin-developers-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-developers-owner AT cygwin DOT com Delivered-To: mailing list cygwin-developers AT cygwin DOT com Message-ID: <01dc01c20512$d0693060$6132bc3e@BABEL> From: "Conrad Scott" To: Subject: Debugging messages from cygwin1.dll Date: Mon, 27 May 2002 01:09:43 +0100 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_NextPart_000_01D9_01C2051B.2F37B0F0" X-Priority: 3 X-MSMail-Priority: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 This is a multi-part message in MIME format. ------=_NextPart_000_01D9_01C2051B.2F37B0F0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit I've been running the (cvs head) cygwin1.dll built with -DDEBUGGING this weekend and I've been seeing a sequence of debugging messages of the following form: 33101 [main] sh 2580 mark_closed: attempt to close protected handle void memory_init():162(cygwin_mount_h<0xC4>) 35958 [main] sh 2580 mark_closed: by int fhandler_base::close():769(get_handle()<0xC4>) I'm unclear what triggers this (or what it means for that matter): I've been having so much fun with an strace issue, I've not had the time to go any deeper into this. What I can say is that running the configure script from the cygwin src directory generates *lots* of these messages. I've appended the head of such a run to demonstrate. I hope I'll be posting soon with something more constructive than this (that is, if my current hacks get me anywhere at all). // Conrad ------=_NextPart_000_01D9_01C2051B.2F37B0F0 Content-Type: text/plain; name="configure.log" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="configure.log" 33101 [main] sh 2580 mark_closed: attempt to close protected handle = void memory_init():162(cygwin_mount_h<0xC4>) 35958 [main] sh 2580 mark_closed: by int = fhandler_base::close():769(get_handle()<0xC4>) 103789 [main] sh 2616 mark_closed: attempt to close protected handle = void memory_init():162(cygwin_mount_h<0xA8>) 106028 [main] sh 2616 mark_closed: by int = fhandler_base::close():769(get_handle()<0xA8>) 122997 [main] sh 2600 mark_closed: attempt to close protected handle = void memory_init():162(cygwin_mount_h<0xA8>) 127889 [main] sh 2600 mark_closed: by int = fhandler_base::close():769(get_handle()<0xA8>) 238097 [main] sh 2672 mark_closed: attempt to close protected handle = void memory_init():162(cygwin_mount_h<0xA8>) 245941 [main] sh 2672 mark_closed: by int = fhandler_base::close():769(get_handle()<0xA8>) 300813 [main] sh 292 mark_closed: attempt to close protected handle = void memory_init():162(cygwin_mount_h<0xA8>) 306159 [main] sh 292 mark_closed: by int = fhandler_base::close():769(get_handle()<0xA8>) 360133 [main] sh 2560 mark_closed: attempt to close protected handle = void memory_init():162(cygwin_mount_h<0xA8>) 366545 [main] sh 2560 mark_closed: by int = fhandler_base::close():769(get_handle()<0xA8>) Configuring for a i686-pc-cygwin host. 18288 [main] sh 628 mark_closed: attempt to close protected handle = void memory_init():162(cygwin_mount_h<0xC0>) 26616 [main] sh 628 mark_closed: by int = fhandler_base::close():769(get_handle()<0xC0>) 96351 [main] sh 2328 mark_closed: attempt to close protected handle = void memory_init():162(cygwin_mount_h<0xA8>) 97769 [main] sh 2328 mark_closed: by int = fhandler_base::close():769(get_handle()<0xA8>) 189256 [main] sh 2524 mark_closed: attempt to close protected handle = void memory_init():162(cygwin_mount_h<0xA0>) 197447 [main] sh 2524 mark_closed: by int = fhandler_base::close():769(get_handle()<0xA0>) 274046 [main] sh 2456 mark_closed: attempt to close protected handle = void memory_init():162(cygwin_mount_h<0xA8>) 277258 [main] sh 2456 mark_closed: by int = fhandler_base::close():769(get_handle()<0xA8>) 18662 [main] sh 2328 mark_closed: attempt to close protected handle = void memory_init():162(cygwin_mount_h<0xC0>) 25107 [main] sh 2328 mark_closed: by int = fhandler_base::close():769(get_handle()<0xC0>) 112853 [main] sh 2276 mark_closed: attempt to close protected handle = void memory_init():162(cygwin_mount_h<0xA8>) 115159 [main] sh 2276 mark_closed: by int = fhandler_base::close():769(get_handle()<0xA8>) 192688 [main] sh 628 mark_closed: attempt to close protected handle = void memory_init():162(cygwin_mount_h<0xA0>) 195341 [main] sh 628 mark_closed: by int = fhandler_base::close():769(get_handle()<0xA0>) 273236 [main] sh 2600 mark_closed: attempt to close protected handle = void memory_init():162(cygwin_mount_h<0xA8>) 275723 [main] sh 2600 mark_closed: by int = fhandler_base::close():769(get_handle()<0xA8>) 17213 [main] sh 2276 mark_closed: attempt to close protected handle = void memory_init():162(cygwin_mount_h<0xC0>) 19728 [main] sh 2276 mark_closed: by int = fhandler_base::close():769(get_handle()<0xC0>) 96092 [main] sh 2420 mark_closed: attempt to close protected handle = void memory_init():162(cygwin_mount_h<0xA8>) 99930 [main] sh 2420 mark_closed: by int = fhandler_base::close():769(get_handle()<0xA8>) 176190 [main] sh 2328 mark_closed: attempt to close protected handle = void memory_init():162(cygwin_mount_h<0xA0>) 180502 [main] sh 2328 mark_closed: by int = fhandler_base::close():769(get_handle()<0xA0>) 256076 [main] sh 2664 mark_closed: attempt to close protected handle = void memory_init():162(cygwin_mount_h<0xA8>) 265956 [main] sh 2664 mark_closed: by int = fhandler_base::close():769(get_handle()<0xA8>) Created "Makefile" in /home/src/cygwin/obj2-debug using "mh-frag" [snip] ------=_NextPart_000_01D9_01C2051B.2F37B0F0--