Closed hexadecatrienoic closed 6 years ago
We know about this issue, though we haven't run strace
like you have. Since it's hanging in an ioctl
, that points to the problem being in the kernel, and not in our code.
We plan to switch to libusb on Linux; it might solve it, it might not, but it's worth a shot.
Ok, I'm happy to help debug if needed.
The easiest way to do that is to join us in IRC - #ckb-next on Freenode. That way we get fast response, and it's much easier to do.
Running
ckb-next-git 1:0.2.8.r226.g79987f8-1
from the AUR, on Arch4.13.12-1-ARCH
.When ckb-daemon exits, it hangs for around 30 seconds before actually exiting. I have attached the output from
sudo strace ckb-daemon |& tee ckb-daemon-strace.out
here. The process was killed bysudo pkill ckb-daemon
in another terminal, and this was all run with ckb-daemon.service stopped. The exit hangs on line 4120, atioctl(3, USBDEVFS_IOCTL
before printing the rest of the line. The rest of the output is printed immediately after it finishes hanging. I can provide more information if required.