Nmap Development mailing list archives

Re: 4.85BETA2 posted to Nmap download page - please test


From: Brandon Enright <bmenrigh () ucsd edu>
Date: Mon, 23 Feb 2009 16:27:21 +0000

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Mon, 23 Feb 2009 09:18:07 -0700 or thereabouts David Fifield
<david () bamsoftware com> wrote:

On Tue, Feb 03, 2009 at 12:25:41AM +0000, Brandon Enright wrote:
Okay so I *still* haven't been able to get the memory issue to come
up again.  However, I just run into (for the first time) a infinite
loop(?) issue with NSE.  Basically what happened is the Nmap process
started using 100% of the CPU, NSE stopped making an progress
reporting:

...snip...

Are you still hitting this problem? A core dump might be useful.
Patrick is right that it won't help much if the problem is in a Lua
thread, but it might be in a C++ part of the engine. Does it happen
with the nse-lua branch?

David Fifield

A few days ago I send Nmap a sig ABRT when it hung to get a core-dump
and this was the backtrace:

(gdb) bt
#0  0x00007f4a7d4ff795 in ?? () from /usr/lib/liblua.so.5
#1  0x00007f4a7d5004c3 in ?? () from /usr/lib/liblua.so.5
#2  0x00007f4a7d4faca8 in lua_gc () from /usr/lib/liblua.so.5
#3  0x0000000000468417 in process_mainloop (L=0x207f690) at nse_main.cc:434
#4  0x0000000000468e68 in script_scan (targets=<value optimized out>) at nse_main.cc:356
#5  0x000000000041d814 in nmap_main (argc=24, argv=0x7fff86348948) at nmap.cc:1814

I figure the Lua garbage collector is one of those things that is
running all the time and takes up plenty of process time so I'm not
sure if this means lua_gc() was the stuck operation or if I just got
unlucky and caught it doing work a few times.

I'll move testing this more to the top of my Nmap TODO list for today.

Brandon

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)

iEYEARECAAYFAkmizmkACgkQqaGPzAsl94J2rACfbEtyaadGswMsdEaIXzSoxHpm
Wh8An1YmzKcSJI73NOkUh05ZvBoB+fTU
=S1R/
-----END PGP SIGNATURE-----

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


Current thread: