Nmap Development mailing list archives

[NSE] assertion failure in stdnse.sleep()


From: Henri Doreau <henri.doreau () gmail com>
Date: Sat, 6 Oct 2012 23:00:50 +0200

Hi,

stdnse.sleep() sometimes leads to the following assertion failure:

nmap: nse_nsock.cc:709: void sleep_callback(nsock_pool, nsock_event,
void*): Assertion `lua_status(L) == 1' failed.

I can reproduce it with the little script attached, but some scripts
(dunno which ones) from trunk trigger it too. I'm not sure how to fix
it best. I suppose that when a script gets one of its timers cancelled
its entire execution should be stopped...

Regards.

-- 
Henri

Attachment: test_sleep.nse
Description:

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

Current thread: