Closed joepolcari closed 1 year ago
Also this may help rustc --version rustc 1.66.1 (90743e729 2023-01-10) (built from a source tarball)
I think it's due to the color gradients contained in that page.
The default renderer used (wgpu
) sometimes has problems; you can try downloading the app from there: https://github.com/GyulyVGC/sniffnet/suites/14909529200/artifacts/849640693.
This is an alternative version of Sniffnet that uses a different graphical renderer (tiny-skia
).
It should fix this issue.
Closing the issue.
I was able to reproduce the issue on an older VM based on Linux.
I confirm that the problem is due to color gradients and can be solved using the tiny-skia
renderer.
@joepolcari don't hesitate to reopen the issue if you still have doubts.
@GyulyVGC , hi!
The issue reproduces for me as well. I do run a Linux system in a VM, and when opening the "Style" section the app crashes.
More data on my side:
The link to an alternative version of Sniffnet
seems expired.
Is there maybe a setting I could switch in the Hypervisor/OS I'm using or will there be a fix for the Sniffnet itself in relation to this?
Hi @seppzer0
Try to set an environment variable ICED_BACKEND=tiny-skia
.
This should automatically run the app using the other graphical renderer.
Otherwise, you can also download an updated version of Sniffnet using tiny-skia
from the links in the README, troubleshooting section.
I had to update the old links since they expire after 90 days.
@GyulyVGC ,
Try to set an environment variable ICED_BACKEND=tiny-skia
It worked, thank you!
from the links in the README, troubleshooting section
Understood, will use this for reference in future.
Is there an existing issue for this?
What's the problem?
When selecting Style in Settings, version 1.2.2, the app crashes. Running with strace shows segfault.
How did you install the app?
downloaded one of the provided packages
Operating System
Linux
Additional context
running on Linux Mint 21.2. Installed Rust using synaptic then sudo apt install libpcap-dev libfontconfig libfontconfig1-dev libasound2-dev then downloaded Sniffnet_LinuxDEB_i386.deb from your github page and sudo apt installed it. All with no errors. Everything seems to work except the Style tab.