Nmap Development mailing list archives

Re: BUG


From: David Fifield <david () bamsoftware com>
Date: Thu, 13 Jan 2011 17:38:24 -0800

On Thu, Jan 13, 2011 at 04:12:07PM -0800, Fyodor wrote:
On Thu, Jan 13, 2011 at 10:55:41PM +0100, Strankowski, Florian wrote:

nmap: timing.cc:339: void RateMeter::update(u32, u32, const timeval*):
Assertion `diff >= 0.0' failed.

nmap: option `--v' is ambiguous
Nmap 4.62 ( http://nmap.org )
Usage: nmap [Scan Type(s)] [Options] {target specification}
TARGET SPECIFICATION:

Debian 'Lenny' Stable - default package.

Hi Florian.  Maybe you can convince Debian to update their package?
Version 4.62 is from May 2008.  If you can't get Debian to update, you
can at least update Nmap yourself at http://nmap.org/download.html.
If you're able to reproduce this problem with Nmap 5.21 or later
(trying with 5.36TEST3 would be best), then please let us know.

I found this in CHANGELOG under version 4.68:

o Fixed a crash in RateMeter::update() which could lead to an error
  saying "diff >= 0.0" assertion failed.  I think the problem was
  actually caused by SMP machines which didn't sync the clock time
  perfectly.  This lead to gettimeofday() sometimes reporting that
  time decreased by some microseconds.  Now Nmap is willing to
  tolerate decreases of up to 1 millisecond in this function. [Fyodor]

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


Current thread: