Page 1 of 1

sniff.lsp "Core Dump" on 10.2.4-dev

Posted: Mon Apr 19, 2010 5:37 pm
by kanen
Yep.

Code: Select all

$ newlisp sniff.lsp wlan0
Segmentation fault (core dumped)
I ran another program (sniffex.c) which I compiled after this happened and it runs just fine.

Something is broken in newLISP 10.2.4. Anything you need from me to help find and fix this issue?

Thanks.
Linux openkane 2.6.32-21-generic #32-Ubuntu SMP Fri Apr 16 08:10:02 UTC 2010 i686 GNU/Linux
[54933.260075] wlan1: associate with AP 00:23:69:66:e7:d6 (try 1)
[54933.263904] wlan1: RX AssocResp from 00:23:69:66:e7:d6 (capab=0x401 status=0 aid=5)
[54933.263918] wlan1: associated

Re: sniff.lsp "Core Dump" on 10.2.4-dev

Posted: Tue Apr 20, 2010 5:41 am
by Lutz
The original sniff works fine for me using v.10.2.4 on UBUNTU 9.10. I guess it has to do with the pcap_open_offline modifications. See my answer to your other post: "More sniff.lsp woes ...".

Re: sniff.lsp "Core Dump" on 10.2.4-dev

Posted: Tue Apr 20, 2010 7:27 pm
by kanen
You are correct, sir.

I assumed an offline file would be exactly the same as traffic. Turns out there's a slight difference which was causing the fault/dump.

That's what I get for assuming.
Lutz wrote:The original sniff works fine for me using v.10.2.4 on UBUNTU 9.10. I guess it has to do with the pcap_open_offline modifications. See my answer to your other post: "More sniff.lsp woes ...".