Nmap Development mailing list archives

Re: xml.sax._exceptions.SAXParseException: scan-2016-02-01.xml:2201:0: no element found


From: micah <micah () riseup net>
Date: Tue, 16 Feb 2016 12:55:33 -0500


Hi Daniel,

Thanks for the reply, see below.

Daniel Miller <bonsaiviking () gmail com> writes:
It looks like your scan has not finished running. It is in the middle of
NSE scanning (as a result of the -sV in your command line, it is running
all NSE scripts in the "version" category). You should make sure Nmap is
done scanning before you try to compare results with Ndiff.

On the other hand, I see a "Segmentation fault" error just before the
Python traceback. It *might* be possible that Nmap is crashing, leaving an
unfinished XML file. Is there any way you can manually run your scan with
debugging output to determine what if anything might be causing that crash?

I ran it with debugging symbols and under gdb, does this help?

...

Initiating Service scan at 12:46
Scanning 380 services on 64 hosts

Program received signal SIGPIPE, Broken pipe.
0x00007ffff5eaeaf0 in __write_nocancel () at ../sysdeps/unix/syscall-template.S:81
81      ../sysdeps/unix/syscall-template.S: No such file or directory.
(gdb) bt
#0  0x00007ffff5eaeaf0 in __write_nocancel () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007ffff7384565 in ?? () from /usr/lib/x86_64-linux-gnu/libcrypto.so.1.0.2
#2  0x00007ffff738258c in BIO_write () from /usr/lib/x86_64-linux-gnu/libcrypto.so.1.0.2
#3  0x00007ffff76e6342 in ?? () from /usr/lib/x86_64-linux-gnu/libssl.so.1.0.2
#4  0x00007ffff76e8523 in ?? () from /usr/lib/x86_64-linux-gnu/libssl.so.1.0.2
#5  0x00007ffff76e4152 in ?? () from /usr/lib/x86_64-linux-gnu/libssl.so.1.0.2
#6  0x00000000004bb6d0 in nsock_iod_delete ()
#7  0x000000000048ce65 in ?? ()
#8  0x000000000048d1ec in ?? ()
#9  0x00000000004bcf88 in event_dispatch_and_delete ()
#10 0x00000000004ba805 in process_iod_events ()
#11 0x00000000004bf999 in ?? ()
#12 0x00000000004ba1f0 in nsock_loop ()
#13 0x000000000048f67a in service_scan(std::vector<Target*, std::allocator<Target*> >&) ()
#14 0x00000000004535d0 in nmap_main(int, char**) ()
#15 0x000000000042abab in main ()
(gdb) 
_______________________________________________
Sent through the dev mailing list
https://nmap.org/mailman/listinfo/dev
Archived at http://seclists.org/nmap-dev/


Current thread: