Nmap Development mailing list archives

Re: Assertion failure in nsock_core


From: Joao Correa <joao () livewire com br>
Date: Mon, 13 Jul 2009 15:16:01 -0300

On Mon, Jul 13, 2009 at 2:34 PM, David Fifield<david () bamsoftware com> wrote:
On Mon, Jul 13, 2009 at 01:31:51PM -0300, Joao Correa wrote:
I'm going through a similar problem here. I've tested it on two
different systems:

Ubuntu Linux:
==============================

lvwr@ubuntu:~$ nmap scanme.nmap.com -p80

Starting Nmap 4.90RC2 ( http://nmap.org ) at 2009-07-07 07:57 BRT
nmap: nsock_core.c:139: socket_count_zero: Assertion
`iod->events_pending == 1' failed.
Aborted
lvwr@ubuntu:~$ uname -rv
2.6.28-13-generic #45-Ubuntu SMP Tue Jun 30 19:49:51 UTC 2009

I can reproduce the reverse DNS assertion failure. I have a fix but I
want to check a few other things out first. I don't know what might have
caused the ping failure that Andrew described.

David,

Here follows information for a similar situation as reported by
Andrew. The following output was obtained from running nmap on the
same ubuntu machine above.

=====

lvwr@ubuntu:~/repos/nmap$ ping scanme.nmap.org -c1
PING scanme.nmap.org (64.13.134.52) 56(84) bytes of data.
64 bytes from scanme.nmap.org (64.13.134.52): icmp_seq=1 ttl=47 time=238 ms

--- scanme.nmap.org ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 238.725/238.725/238.725/0.000 ms
lvwr@ubuntu:~/repos/nmap$ nmap 64.13.134.52 -p80

Starting Nmap 4.90RC2 ( http://nmap.org ) at 2009-07-07 10:06 BRT
nmap: nsock_core.c:139: socket_count_zero: Assertion
`iod->events_pending == 1' failed.
Aborted
lvwr@ubuntu:~/repos/nmap$ nmap 64.13.134.52 -p80 -PN

Starting Nmap 4.90RC2 ( http://nmap.org ) at 2009-07-07 10:06 BRT
nmap: nsock_core.c:139: socket_count_zero: Assertion
`iod->events_pending == 1' failed.
Aborted
lvwr@ubuntu:~/repos/nmap$ nmap 64.13.134.52 -sP

Starting Nmap 4.90RC2 ( http://nmap.org ) at 2009-07-07 10:06 BRT
nmap: nsock_core.c:139: socket_count_zero: Assertion
`iod->events_pending == 1' failed.
Aborted
lvwr@ubuntu:~/repos/nmap$

David Fifield

_______________________________________________
Sent through the nmap-dev mailing list
http://cgi.insecure.org/mailman/listinfo/nmap-dev
Archived at http://SecLists.Org


_______________________________________________
Sent through the nmap-dev mailing list
http://cgi.insecure.org/mailman/listinfo/nmap-dev
Archived at http://SecLists.Org


Current thread: