This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]