delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/10/10/16:56:52

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
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 <kris AT mha DOT ca>
To: "'John Peacock'" <jpeacock AT rowman DOT com>
Cc: "'cygwin AT cygwin DOT com'" <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)

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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019