Nmap Development mailing list archives

Re: nmap 6.47 compile failure on AIX 7100-03


From: Daniel Miller <bonsaiviking () gmail com>
Date: Wed, 17 Sep 2014 13:57:23 -0500

Kevin,

Commit r33675 ought to work around this weird hang. I'm not proud of it,
but I've drained too much of my life into the problem over the past week.
Now all of IPv4 works, but my setup here does not have any IPv6
connectivity. Also, some VPN oddness is making it so I can't be sure that
traceroute works (it's showing that everything is only 1 hop away, which is
incorrect). I'd appreciate any followup bug reports, which you can send to
the dev mailing list in a new thread.

Dan

On Wed, Sep 10, 2014 at 10:43 PM, Kevin Brott <kevin.brott () gmail com> wrote:



On Wed, Sep 10, 2014 at 7:31 PM, Daniel Miller <bonsaiviking () gmail com>
wrote:


And it just hangs hard here - even when I scan an internal host.


This is what I'm currently working on, and I am somewhat glad to see that
it's reproducible outside this system. It only affects traceroute, which is
turned on by -A.

Do you mind letting me know what compiler version and libstdc++ version
you have? The hang is in std::list::size(), which tries to get the size of
timedout_hops by iterating from .begin() to .end(), checking at each node
that the current iterator is not equal to .end(). Apparently it just walks
down "memory lane" into the blue and never quits. I'm pretty sure that
timedout_hops is empty at this point, so I'm going to try tracerouting a
system that has some nonresponsive hops next. A test program I put together
does not exhibit the same hang, though, so I'm currently stumped. Checking
for memory access problems after that.


gcc (GCC) 4.4.7
- built on this host bootstrapping up from the IBM provided
(brain-damaged) 4.2.0 to 4.2.4, then using it to build 4.3.6, and then
building 4.4.7 from that.  The libstdc++ is the one that was bootstrapped
with gcc.

Haven't had the spare time to work on the next stage [4.5.4 bootstrap]
yet, but that's a whole other Sisyphusian task.

--
# include <stddisclaimer.h>
/* Kevin  Brott <Kevin.Brott () gmail com> */


_______________________________________________
Sent through the dev mailing list
http://nmap.org/mailman/listinfo/dev
Archived at http://seclists.org/nmap-dev/


Current thread: