Describe the bug
Running vdump <cd_name> errors with not enough byte received or error: 0 and exits. The same error occurs by invoking uml_dump directly with uml_dump .netkit/hubs/cd_name.cnct. It can be traced back to line 205 of core/src/uml_dump/uml_dump.c:
/* receive the data out socket addr (we don't really care about it) */
struct sockaddr_un data_out_sun;
n = recv(connect_fd, &data_out_sun, sizeof(data_out_sun), 0);
if(n < sizeof(data_out_sun)) {
fprintf(stderr,"not enough byte received or error: %d\n", n);
exit(1);
}
However since this file has not been changed by us (and it works in previous versions of Netkit-JH and in Netkit-NG) the issue probably lies somewhere else.
Describe the bug Running
vdump <cd_name>
errors withnot enough byte received or error: 0
and exits. The same error occurs by invokinguml_dump
directly withuml_dump .netkit/hubs/cd_name.cnct
. It can be traced back to line 205 ofcore/src/uml_dump/uml_dump.c
:However since this file has not been changed by us (and it works in previous versions of Netkit-JH and in Netkit-NG) the issue probably lies somewhere else.
To Reproduce Steps to reproduce the behavior:
vdump <cd_name>