Home page logo

nmap-dev logo Nmap Development mailing list archives

Re: Runtime error with nmap 4.85 BETA 6
From: David Fifield <david () bamsoftware com>
Date: Thu, 2 Apr 2009 13:47:36 -0600

On Thu, Apr 02, 2009 at 12:27:53PM -0600, David Fifield wrote:
On Wed, Apr 01, 2009 at 01:59:15PM -0400, henry.nymann () valeosylvania com wrote:
This is after doing a scan, using the default "Intense Scan" profile (nmap
-T4 -A -v -PE -PA21,23,80,3389), then when I go to the "Topology" tab and
click on the "Hosts Viewer" button.  Or, while on the Topology tab, if I
set the action in the controls to show information and then click a host.

Your question about the command line made me curious, so I opened the scan
that I ran for conficker (nmap -sC -p 445 -T4 -d -oA conficker_scan
--min-parallelism 64 -PN --script smb-check-vulns --script-args safe=1
<multiple CIDR ranges>) and I do not get the error.

I found a way to reproduce the problem. It only seems to happen when the
scan includes OS detection (-O or -A). I ran an Intense scan on a local
IP and clicked "Hosts Viewer". I got the error

Microsoft Visual C++ Runtime Library
Runtime Error!
Program: c:\Python26\python.exe
This application has request the Runtime to terminate it in an unusual
way. Please contact the application's support team for more information.

It happens whether I run the installed py2exe-compiled version or if I
run the script directly with Python. If I run the script directly I also
get this output in the terminal:

Gdk:ERROR:gdkgc-win32.c:748:get_impl_drawable: code should not be reached
C:\cygwin\home\david\nmap\zenmap\zenmapGUI\App.py:196: GtkWarning: gdkpixmap-win32.c:302: CreateDIBSection failed: 
The operation completed successfully.
C:\cygwin\home\david\nmap\zenmap\zenmapGUI\App.py:196: GtkWarning: gdkpixmap-win32.c:114: DeleteObject failed: The 
operation completed successfully.

This appears to be a bug in the MS-Windows GTK+ theme. If I delete the
file C:\GTK\etc\gtk-2.0\gtkrc, which controls the theme, the crash
doesn't happen. I tried with GTK+ 2.14.7 and 2.16.0.

I don't have a fix for this yet, but a workaround is to delete the file
C:\Program Files\Nmap\py2exe\etc\gtk-2.0\gtkrc. That will revert to the
plain GTK+ theme.

David Fifield

Sent through the nmap-dev mailing list
Archived at http://SecLists.Org

  By Date           By Thread  

Current thread:
[ Nmap | Sec Tools | Mailing Lists | Site News | About/Contact | Advertising | Privacy ]