ANONYMOUS wrote:
> I'm getting a segmentation fault when trying to run cnet on WSL2 ([1] 8874 segmentation fault /usr/local/bin/cnet). I've followed all the instructions with updating WSL and installing cnet, so unsure where the issue resides. Has anyone managed to resolve this error?
A few other students have reported the same problem:
[help3002]⬈
but it's proving very difficult to pin-down. There's been no reported problems on a native-Linux installation, only when running the (same) binary within WSL-2. T appears to be a problem with individual students' laptop installations.
I've sat with a few students and their laptops - some 'just magically' got it to work by reviewing the installation instructions, but others had no success (and started working with another student in the lab session).
I've built a new binary which just annotates where it's up to in its execution.
Download and make executable the modified binary:
[CITS3002]⬈
Now (hopefully) if you just run
d1-cnet-Linux-x86_64 STOPANDWAIT
it should just crash as it was before.
Now enable some additional debugging compiled into this binary with:
D1=y d1-cnet-Linux-x86_64 STOPANDWAIT
and it should list many of the functions that it calls to initialise itself and parse your topology file.
Please post a copy of this output.