newLISP Fan Club

Forum => newLISP and the O.S. => Topic started by: kanen on April 19, 2010, 10:37:51 AM

Title: sniff.lsp "Core Dump" on 10.2.4-dev
Post by: kanen on April 19, 2010, 10:37:51 AM
Yep.


$ 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.


QuoteLinux 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


Title: Re: sniff.lsp "Core Dump" on 10.2.4-dev
Post by: Lutz on April 19, 2010, 10:41:48 PM
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 ...".
Title: Re: sniff.lsp "Core Dump" on 10.2.4-dev
Post by: kanen on April 20, 2010, 12:27:18 PM
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.


Quote from: "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 ...".