Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Message-ID: <3BC4B006.9CF8E671@rowman.com> Date: Wed, 10 Oct 2001 16:31:02 -0400 From: John Peacock MIME-Version: 1.0 To: Kris Erickson CC: "'cygwin AT cygwin DOT com'" Subject: Re: Perl 5.7.2 (GDB breaks in 1.3.3-2 on certain Win2000 machines) References: <30BDEE18E474D511BB0A00D0B7BB87AF092953 AT camel DOT mha DOT ca> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Kris Erickson wrote: > > Ok, compiled it from the complete 1.3.4 version in CVS... > > It is on the second call to NetUserGetInfo that the signal fails... > > 88 strcat (strcpy (buf, "\\\\"), user.logsrv ()); > (gdb) > 89 sys_mbstowcs (wlogsrv, buf, > INTERNET_MAX_HOST_NAME_LENGTH + 3); > (gdb) > 90 ui = NULL; > (gdb) > 91 if (NetUserGetInfo (wlogsrv, wuser, 3,(LPBYTE *) &ui)) OK, we need to know what wlogsrv contains. It should be a Unicode representation of the PDC/BDC that you are logged in via. I'll bet it isn't. You can check it at line 89 in the buf variable. John -- John Peacock Director of Information Research and Technology Rowman & Littlefield Publishing Group 4720 Boston Way Lanham, MD 20706 301-459-3366 x.5010 fax 301-429-5747 -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/