Home page logo

nmap-dev logo Nmap Development mailing list archives

Re: Runtime error with nmap 4.85 BETA 6
From: henry.nymann () valeosylvania com
Date: Fri, 3 Apr 2009 08:58:04 -0400

David Fifield <david () bamsoftware com> wrote on 04/02/2009 03:47:36 PM:

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
-T4 -A -v -PE -PA21,23,80,3389), then when I go to the "Topology" tab
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

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

I found a way to reproduce the problem. It only seems to happen when
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

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
get this output in the terminal:

Gdk:ERROR:gdkgc-win32.c:748:get_impl_drawable: code should not be
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

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

Thank you for the update, removing that gtkrc worked fine for me also.  It
is interesting to note that the Windows 2003 server that I also installed
beta 7 on did not have this problem, I can get host details with no errors.

Henry Nymann
This e-mail message is intended only for the use of the intended recipient(s).
The information contained therein may be confidential or privileged, and its disclosure or reproduction is strictly 
If you are not the intended recipient, please return it immediately to its sender at the above address and destroy it. 

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 ]