Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nmap crashes on Windows 10 using slow comprehensive scan #249

Rewt0r opened this issue Dec 2, 2015 · 4 comments

nmap crashes on Windows 10 using slow comprehensive scan #249

Rewt0r opened this issue Dec 2, 2015 · 4 comments


Copy link

@Rewt0r Rewt0r commented Dec 2, 2015

Faulting application name: nmap.exe, version:, time stamp: 0x5648b3e8
Faulting module name: nmap.exe, version:, time stamp: 0x5648b3e8
Exception code: 0xc0000005
Fault offset: 0x000834f6
Faulting process ID: 0x814
Faulting application start time: 0x01d12d045b4d58d7
Faulting application path: C:\Program Files (x86)\Nmap\nmap.exe
Faulting module path: C:\Program Files (x86)\Nmap\nmap.exe
Report ID: a5c9a894-30a3-48bc-9efc-35591b4a4590
Faulting package full name: 
Faulting package-relative application ID: 

Happy to run a debug build if it helps.

Copy link

@dmiller-nmap dmiller-nmap commented Jan 5, 2016

I believe we addressed this in r35551 (ee048d5) and r35552 (7300cde):

o [Nsock] Avoid a crash on Windows and other systems which use nbase's vasprintf implementation. In the case of unknown OpenSSL errors, ERR_reason_error_string would return NULL, which could not be printed with the "%s" format string. Fixed by using ERR_error_string instead, which will not return NULL, and by causing NULL pointers to be printed as "(null)", as glibc and MSVC both do. Reported by Dan Baxter. [Gisle Vanem, Daniel Miller]

I will keep looking at it to see if there's an NSE-only workaround to restore functionality without rebuilding a new installer for Windows. In the meantime, you may try disabling the mrinfo script by adding "and not mrinfo" to the --script option: --script "default or (discovery and safe) and not mrinfo"

Copy link

@gvanem gvanem commented Feb 8, 2016

I think this issue can be closed. AFAICS, the r35552 fixes this bug.
@Rewt0r can you confirm?

Copy link

@Rewt0r Rewt0r commented Feb 11, 2016

Is that part of 7.01 or do I need to use another release from somewhere else?

Copy link

@dmiller-nmap dmiller-nmap commented Jun 22, 2016

@Rewt0r The fix mentioned here was released with Nmap 7.10 in March 2016. The latest version is Nmap 7.12. Does this version work for you, or are you still having problems? We would like to close this bug if it has been fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet

No branches or pull requests

3 participants