Nmap Development mailing list archives

Re: Ncat regression testing on Windows - results


From: Jacek Wielemborek <wielemborekj1 () gmail com>
Date: Fri, 16 Aug 2013 21:32:14 +0200

2013/8/16 David Fifield <david () bamsoftware com>:
On Thu, Aug 08, 2013 at 09:17:11PM +0200, Jacek Wielemborek wrote:
I recently ran ncat-test.pl under Cygwin and found quite a lot of
unexpected failures and some MSVC crash windows. In order to capture
them all, I set up a video recording program on the VM. Here's the
copied error message:

Thanks for trying this test. I suspect that most failures are caused by
deficiencies in the ncat-test.pl, which isn't very good. I got many
failures yesterday on Unix, and they all had to do with problems in the
test program, not in Ncat itself. Some other tests might fail because of
bugs on Windows. I'm curious why the HTTP proxy tests seem to return
status 400 all the time.

---------------------------
Microsoft Visual C++ Debug Library
---------------------------
Debug Error!

Program: ...n\home\d33tah\shared\ncat\ncat-env-ncatins\ncat\test\ncat.exe

R6010

- abort() has been called

I was originally getting the same crash windows you reported, but now I
can't reproduce them. Do you have a way to find out where abort is being
called (it's probably an assertion failure)? You might have to use an
ncat.exe compiled in Debug mode.

David Fifield

Here are some hints:

[d33tah-win7][~/shared/ncat/ncat-env-ncatins/ncat/test] $ ncat --sctp localhost
Socket troubles: No error
Assertion failed: sd >= 0, file
c:\users\d33tah\downloads\ncat-lua\ncat-env-conninfo\nsock\src\engine_select.c,
line 353
(MSVC abort screen follows)

As for the non-SCTP bugs, I couldn't reproduce them. It's possible
that these were actually just this SCTP bug - as I said, I cut out
most of SCTP tests, but omitted some places where SCTP was specified
after the "individual tests begin here" line. These bugs could be
unrelated to SCTP even though in my first mail I suggested it's
TCP/TCP SSL - it's just that the error screens could appear with some
delay which made me think so.
_______________________________________________
Sent through the dev mailing list
http://nmap.org/mailman/listinfo/dev
Archived at http://seclists.org/nmap-dev/


Current thread: