-
Notifications
You must be signed in to change notification settings - Fork 186
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
Crash on MacOS Catalina #337
Comments
Hi @miconda I can't recognize the backtrace information. It looks like a crash while loading a shared library, but class ImageLoaderMachO is MacOS specific, so I can't tell for sure. Sadly I have no MacOS to test the code right now, so It's hard to provider further information. I will leave this issue opened in case other users suffer the same problem or some solution arises. Thanks a lot for reporting! |
The backtrace is taken with lldb (https://lldb.llvm.org/), because using gdb is no longer straightforward on macos (https://dev.to/jasonelwood/setup-gdb-on-macos-in-2020-489k). I reported it mainly from the perspective that it crashes with this specific pcap, but not with others. So I was somehow assuming that it can have a relation with many tcp frames belonging to same sip message. Otherwise, not something really critical. Maybe others will face something similar and then the case can be narrowed down. |
The latest sngrep from git is crashing on macos catalina (10.15.7) while trying to load a pcap file sent to kamailio mailing list:
The sngrep 1.4.2 crashed first, I fetched the latest git version, compiled following the docs:
With configure flags:
I haven't done system wide installation, it was run from user folder, as was done before. It works with other pcap files.
The bt from lldb is next:
It can be a MacOS issue, because I did a quick test using Ubuntu 20.04 (lts) with multipass on the same MacOS system and the version in Ubuntu (1.4.6) loads the pcap without crashing.
The pcap has quite large sip packets sent over tcp, but I have seen larger sip packets (webrtc) in the past with sngrep.
The text was updated successfully, but these errors were encountered: