superyu1337 / radarflow2

A web radar for CS2 utilizing memflow
44 stars 11 forks source link

Error with qemu plugin and ABI Warnings #1

Closed lukrei closed 8 months ago

lukrei commented 8 months ago

Issue: After I compile your rust project i receive errors and warning during runtime. I tried 2 other programs cloudflow and scanflow-cli they are working fine and they also rely on memflow qemu connectors.

Logs: Launched webserver at http://192.168.50.1:8000 2023-12-22T17:01:30.200Z WARN [memflow::plugins] MEMFLOW_OS_WIN32 has invalid ABI. 2023-12-22T17:01:30.201Z WARN [memflow::plugins] MEMFLOW_CONNECTOR_COREDUMP has invalid ABI. 2023-12-22T17:01:30.203Z WARN [memflow::plugins] MEMFLOW_CONNECTOR_KVM has invalid ABI. 2023-12-22T17:01:30.205Z WARN [memflow::plugins] MEMFLOW_CONNECTOR_KCORE has invalid ABI. 2023-12-22T17:01:30.207Z WARN [memflow::plugins] MEMFLOW_CONNECTOR_PCILEECH has invalid ABI. 2023-12-22T17:01:30.211Z WARN [memflow::plugins] MEMFLOW_OS_NATIVE has invalid ABI. 2023-12-22T17:01:30.214Z WARN [memflow::plugins] MEMFLOW_CONNECTOR_QEMU has invalid ABI. 2023-12-22T17:01:30.217Z WARN [memflow::plugins] MEMFLOW_CONNECTOR_KVM has invalid ABI. 2023-12-22T17:01:30.219Z WARN [memflow::plugins] MEMFLOW_CONNECTOR_KVM has invalid ABI. 2023-12-22T17:01:30.220Z ERROR [memflow::plugins] unable to find plugin with name 'qemu'. 2023-12-22T17:01:30.220Z ERROR [memflow::plugins] possible available Connector plugins are: 2023-12-22T17:01:30.220Z ERROR [memflow::plugins] outdated/mismatched Connector plugins where found at: /usr/local/lib/memflow/libmemflow_coredump.dev.so, /usr/local/lib/memflow/libmemflow_kvm.x86_64.so, /usr/local/lib/memflow/libmemflow_kcore.dev.so, /usr/local/lib/memflow/libmemflow_pcileech.dev.so, /usr/local/lib/memflow/libmemflow_qemu.dev.so, /usr/local/lib/memflow/libmemflow_kvm.dev.so, /home/luky/.local/lib/memflow/libmemflow_kvm.x86_64.so

Expected behaviour: Rust Program compiles without error message and starts the webserver with the additional info provided by memflow.

lukrei commented 8 months ago

Problem number one was a wrong git link. I tried to compile the csgo version of your radar not the cs2 version. And i also replaced the memflow version in cargo.toml to newest release. But thanks program is working now and shows data :)

superyu1337 commented 8 months ago

I haven't updated the memflow plugins on my machine for a while, once I'm home I can update and fix this.

I believe I need to bump the memflow deps, and the plugins also need to be compiled with the same version target, so I will put that into the readme aswell.

superyu1337 commented 8 months ago

Should be fixed by b16cf001e2685e5c9fbd555deee61cf4cafa9d3a, I've updated the plugins on my machine and I don't get ABI issues, if the issue persists, please reopen.