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: <30BDEE18E474D511BB0A00D0B7BB87AF092955@camel.mha.ca> From: Kris Erickson To: "'John Peacock'" Cc: "'cygwin AT cygwin DOT com'" Subject: RE: Perl 5.7.2 (GDB breaks in 1.3.3-2 on certain Win2000 machines ) Date: Wed, 10 Oct 2001 13:56:14 -0700 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" I already checked it before and it seems to be valid. (gdb) print wlogsrv $1 = {92, 92, 66, 65, 66, 79, 79, 78, 0, 0, 432, 35, 11680, 35, 11688, 35, 40, 0, 11712, 35, 62980, 34, 57344, 32765, 63540, 34, 36933, 30715, 11688, 35, 0, 35, 1, 0, 63556, 34, 16566, 30715, 1544, 35, 15993, 30715, 0, 0, 0, 35, 0, 0, 63588, 34, 1672, 51, 24671, 30714, 1672, 51, 38867, 30712, 38915, 30712, 1048, 0, 0, 51, 1, 0, 63544, 34, 0, 35, 49893, 30716, 24064, 35, 4608, 0, 65262, 65262, 0, 35, 24048, 35, 256, 0, 1600, 35, 578, 0, 63584, 34, 43476, 30716, 578, 0, 1600, 51, 0, 0, 21648, 35, 376, 35, 316, 0, 353, 20480, 64, 0, 578, 0, 24056, 35, 24671, 30714, 24056, 35, 38867, 30712, 38915, 30712, 2504, 0, 0, 35, 1, 0, 0, 35, 353, 20480, 14, 0, 64588, 34, 0, 35, 0, 0, 50, 55, 54, 57, 376, 51, 376, 51, 0, 30715, 1, 0, 376, 51, 376, 51, 1600, 35, 36933, 30715, 30808, 30712, 2416, 0, 2416, 0, 5, 0, 64248, 34, 30576, 30712, 376, 51, 376, 51, 55348, 30716, 19912, 35, 288, 0, 65262, 65262, 0, 35, 19696, 35, 0, 0, 63900, 34, 0, 35, 26195, 30714, 19712, 35, 488, 0, 37944, 30712...} Which works out to be "//baboon" which is our networks backup domain server... Kris -----Original Message----- From: John Peacock [mailto:jpeacock AT rowman DOT com] Sent: Wednesday, October 10, 2001 1:31 PM 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) 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/