-
Notifications
You must be signed in to change notification settings - Fork 187
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
illegal hardware instruction when read pcap #395
Comments
Can you provide a pcap that causes the crash? It helps a lot. Thanks! |
the 1.pcap file maybe has some problems, when read some others pcap, sngrep work correctly. but wireshark can read the 1.pcap correctly, after see all packets in wireshark, i find all udp packet duplicate, include sip and rtp. |
Hi, Thanks for the test file. I have tested this in some GNU/Linux enviroments without crash, so it looks related to macOS only. Sadly I have no Mac available, so I cann't debug this properly. Can this problem be reproduced with previous sngrep versions? Thanks for the info |
I experience the exact same thing. But only with the version installed using Homebrew. If I compile it from source, I have no problems, until homebrew decides to update one of the libraries, after which I just need to recompile. So it seems something in the buildprocess used by Homebrew is affecting the ability to load pcap files. Also in my case I've not had a single pcap file I can open using the affected version, it starts up, starts reading the file, and at some point doing the read, crashes with the above error. Unfortunately I don't have pcaps to share, as they are all from production systems. The problem has been present for at least a couple of years, and still is in the latest version (1.8.2) from homebrew. I'm not entirely sure, but I think I've seen it on both Intel and M1 macs, but as I'm mainly on Intel, I might remember it wrong. |
system info: macOs 12.2
when read pcap file
and get error, sngrep crashed
The text was updated successfully, but these errors were encountered: