nmap / nmap

Nmap - the Network Mapper. Github mirror of official SVN repository.
https://svn.nmap.org/
Other
10.27k stars 2.42k forks source link

Zenmap crash on comparing two Nmap scan results #2916

Open neelub03 opened 3 months ago

neelub03 commented 3 months ago

I have tried to get scan compare results for the domain facebook.com for intensive scan and ping scan for which I am getting the below error report after few seconds

OS: Windows 10 Pro Version 10.0.19045 Zenmap 7.95 & Nmap 7.95 network: Ethernet connection

Crash report output by Zenmap:

Version: 7.95 Traceback (most recent call last): File "C:\Program Files (x86)\Nmap\zenmap\lib\python3.11\site- packages\zenmapGUI\DiffCompare.py", line 380, in check_ndiff_process stderr = self.ndiff_process.stderr.read(). ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError:’NoneType’ object has no attribute ‘read’

Thanks for any information on how to fix this issue and/or getting info on the causes.

neelub03 commented 3 months ago

The version of the application is latest. I have tried running the application through admin access, also tried after reinstalling the application freshly again- still facing the same error as mentioned below when two results are compared.

junedic commented 2 months ago

Possibly related to #2930 and #2932. The NoneType Error has been fixed since #2854

mmuchi commented 1 month ago

Please explain the fix, as I am not seeing it explained in #2854

Possibly related to #2930 and #2932. The NoneType Error has been fixed since #2854

junedic commented 1 month ago

@mmuchi None check on stderr, as that's what the above error is referencing. According to the commit message, it happens when an error in ndiff occurs, which is related to the issue I mentioned.