Nmap Development mailing list archives

Nmap 3.93 crash on FreeBSD 5.3


From: Phil Kernick <Phil () Kernick org>
Date: Thu, 17 Nov 2005 08:39:47 +1030

Running nmap 3.93 on FreeBSD 5.3 as follows:
# nmap -sS -p0-65535 -A -P0 -T 4 -oA probe-tcp --stylesheet
http://www.insecure.org/nmap/data/nmap.xsl -vv -d -iL probe-hosts.txt

The probe-hosts.txt file has a list of 30 hosts.

After about 18 hours of running, nmap kills itself with:
terminate called after throwing an instance of 'std::bad_alloc'
  what():  St9bad_alloc
Abort trap (core dumped)

I didn't have debugging symbols compile into nmap, but running gdb and doing
a backtrace shows this and the end:

#1482 0x688e0375 in ?? ()
#1483 0x0158b814 in ?? ()
#1484 0xcd500000 in ?? ()
#1485 0x90feeb80 in ?? ()
#1486 0x102454ff in ?? ()
#1487 0x1424448d in ?? ()
#1488 0x1840f750 in ?? ()
#1489 0x00020000 in ?? ()
#1490 0x688e0375 in ?? ()
#1491 0x0067b844 in ?? ()
#1492 0xcd500000 in ?? ()
#1493 0x90feeb80 in ?? ()
#1494 0xbfbfe914 in ?? ()
#1495 0x0000000f in ?? ()
#1496 0xbfbfe954 in ?? ()
#1497 0x0000002f in ?? ()
Cannot access memory at address 0xbfc00000

I can't believe that it's really 1497 stack frames deep!

Any ideas?


Thanks,
Phil.




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


Current thread: