Nmap Development mailing list archives

Re: `--stats-every 1s -A` Assertion 'ltime' failed


From: Richard Petrie <rap1011 () ksu edu>
Date: Sun, 19 Jun 2016 21:08:38 +0000

Thank you sir!


Richard Petrie

College of Engineering

Kansas State University

Cyber Defense Club President<https://orgsync.com/98242/chapter>


________________________________
From: Daniel Miller <bonsaiviking () gmail com>
Sent: Monday, June 13, 2016 7:37 PM
To: Richard Petrie
Cc: dev () nmap org
Subject: Re: `--stats-every 1s -A` Assertion 'ltime' failed

Richard,

Thanks for reporting this! This would happen if stats were requested (by --stats-every or by pressing a key) during a 
scan phase where no scripts were requested (as in the pre-scanning phase with default category scripts, I think). I 
added a check for 0 script threads to avoid a division by zero, and the problem went away. Look for the fix in the next 
release, but meantime use a longer --stats-every interval to avoid requesting during an empty scan phase.

Dan

On Wed, Jun 8, 2016 at 4:31 PM, Richard Petrie <rap1011 () ksu edu<mailto:rap1011 () ksu edu>> wrote:

Example command:


sudo nmap -n -p 18000 -A -stats-every 1s 127.0.0.1

nmap: timing.cc:710 bool ScanProgressMeter::printStats(double, const timeval*): Assertion 'ltime' failed.


Richard Petrie

College of Engineering

Kansas State University

Cyber Defense Club President<https://orgsync.com/98242/chapter>

_______________________________________________
Sent through the dev mailing list
https://nmap.org/mailman/listinfo/dev
Archived at http://seclists.org/nmap-dev/

_______________________________________________
Sent through the dev mailing list
https://nmap.org/mailman/listinfo/dev
Archived at http://seclists.org/nmap-dev/

Current thread: