Open hadess opened 2 years ago
I have reported this to Flashforge customer support. The problem is that Flashprint dereferences ifa_addr, which may be NULL for tun devices.
I have reported this to Flashforge customer support.
Thanks, much appreciated.
I'm facing the same issue and want to add, that it is not enough to "just disable" VPN. If someone is using tailscale the device tailscale0
still exists if you are running sudo tailscale down
and flashprint keeps crashing when searching for printers. Only if the link is completely removed, so that ip -c a
doesn't show the device anymore, then the search dialog is able to start.
@tuxflo is there an easy way of temporarily disabling the tailscale link?
It is possible to delete it using sudo ip link delete tailscale0
after doing sudo tailscale down
but I have no idea how to bring it up again.
@tuxflo Thanks!
This issue still exists with the latest Ubuntu (23) installation and Proton VPN.
This issue STILL exists. It's not that difficult to guard against dereferencing a null pointer.
if (ifa->ifa_addr == NULL) continue; family = ifa->ifa_addr->sa_family;
(see https://github.com/eProsima/Fast-DDS/issues/37 )
This issue STILL exists. It's not that difficult to guard against dereferencing a null pointer.
You should tell Flashforge, there's nothing we can do here, as we're just repackaging their binaries.
FlashPrint 5.2.0 crashes when opening the
Connect Machine
dialogue.It didn't crash when
--unshare=network
is passed (though you can't connect to any machines obviously), or when the VPN is disabled.ifconfig
output for that VPN:The
valgrind
output is useless: