Opening file dialogs crashes the app
Is there an existing issue for this?
- [x] I have searched the existing issues.
What's the problem?
Hi,
First of all thanks a lot for all the work with the app. I am trying to test the import pcap feature on a Macbook M4 Pro and as soon as I click the Import Pcap Button the app closes by itself.
BR
How did you install the app?
downloaded one of the provided packages
Operating System
macOS
Additional context
No response
Hi @joaofeteira, I need some error traces to help you.
Can you launch Sniffnet from your terminal and report here the errors you get?
You can launch it with: sudo /*/Sniffnet.app/Contents/MacOS/sniffnet
Also please try opening other file dialogs (the one for the export PCAP, the one for the custom themes in style settings, the one for import databases in general settings) and verify that the app still crashes with the same error.
Hi ,
Yes with every action you listed plus it crashes with the same error trace:
thread 'main' panicked at /Users/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/objc2-app-kit-0.3.1/src/generated/NSOpenPanel.rs:127:5:
unexpected NULL returned from +[NSOpenPanel openPanel]
note: run with RUST_BACKTRACE=1 environment variable to display a backtrace
fatal runtime error: failed to initiate panic, error 3, aborting
Thanks
Thanks for the info, this will help understanding what's going on. I've just opened an issue on the repo for the library I'm using to open file dialogs: https://github.com/PolyMeilex/rfd/issues/259