Home page logo

nmap-dev logo Nmap Development mailing list archives

Re: nmap on mac os x
From: David Fifield <david () bamsoftware com>
Date: Mon, 22 Jun 2009 19:05:23 -0600

On Thu, Jun 18, 2009 at 05:09:00PM -0600, David Fifield wrote:
On Thu, Jun 18, 2009 at 10:31:33AM -0600, David Fifield wrote:
On Wed, Jun 17, 2009 at 05:05:47PM -0400, Christopher Caldwell wrote:
zenmap 4.8.5BETA10 - the display hangs after scan as you move between  

Nmap output finishes.
Move to Ports / Hosts works fine.
Subsequently, display is locked/hung.  You can't move between tabs.

I verified problem on:
Mac OS X 10.4.1
Mac OS X 10.5.7

4.8.5BETA9 works fine on both platforms.

Thanks very much. Josh Marlow verified this. I initially couldn't
reproduce it, but I can if I move my development MacPorts directory out
of the way. I'll work on fixing it.

I've tracked this down to GTK+ not being able to auto-detect the image
file types of the icons used by Zenmap. If I rename the directory
/opt/local-universal-10.4/share/mime from my MacPorts development tree,
I get the described hang.

At first I thought the problem was this change in GTK+ 2.14.7, which
remove filenames from consideration in guessing file types.
But 4.85BETA9 shipped with GTK+ 2.4.17, so I don't think that was it.

Rather I think it was this change in the glib2 port a couple of months
That made file type guessing work in Glib, which incidentally required
the share/mime database. GTK+ detected that Glib could detect file
types, and disabled its own type guesser. The end result was that type
guessing is broken unless you have the MIME database installed in the
exact place it is on my development machine,

I have verified that the problem goes away if I embed the MIME database
inside the application bundle and set XDG_DATA_DIRS properly in
zenmap_wrapper.py. But the database is about 3.6 MB, so I'm going to try
rebuilding without a dependency on it.

I managed to build a package without a dependency on the MIME database.
It works for after I rename my MacPorts development directory. Josh
Marlow also tested it. The problem will be fixed in the next release.

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 ]