Nmap Development mailing list archives

Re: Big Zenmap news - __draw_node MemoryError


From: David Fifield <david () bamsoftware com>
Date: Thu, 28 Aug 2008 18:42:24 -0600

On Fri, Aug 29, 2008 at 01:00:09AM +0100, jah wrote:
I'm having difficulty tracking this issue down.  I've tried debugging,
but can't seem to get a breakpoint into the right place to allow me to
step through to the error.

Anyway, what I can tell you is that the error occurs when trying to
print an empty string next to hosts denoted with a little blue circle
i.e. hops with no response.  It happens if I change the string in
RadialNet.py:1092 to null char '\0'.
It has no problem printing a non-empty string and so I've tried using a
single space - this nicely works around the issue without being
detrimental to the topology animation.

I can only think that this is a bug in Python or one of the libraries,
perhaps something to do with Pymalloc.

That's strange. It does sound like it's a bug outside Zenmap.

Is there any reason we can't just delete line 1092 (the whole else
clause)? Drawing nothing at all should have the same effect as drawing
an empty string. If that works, let me know.

David Fifield

_______________________________________________
Sent through the nmap-dev mailing list
http://cgi.insecure.org/mailman/listinfo/nmap-dev
Archived at http://SecLists.Org


Current thread: