Public bug reported: Binary package hint: pulseaudio
I'm testing with 2 USB sound devices. One works, one doesn't. Using a Cakewalk (Roland) UA-25EX (2 audio channels in/out + midi in/out) works fine. The device may be connected, removed and reconnected at any time wouthout problems. A Digitech RP1000 guitar processor (2 audio channels in/out + midi in/out) sends pulseaudio into an endless loop when it is disconnected or powered off. It appears to be an unhandled ENODEV as repeated in strace: [pid 21874] ppoll([{fd=3, events=POLLIN}, {fd=56, events=POLLIN}, {fd=55, events=POLLIN}, {fd=7, events=POLLIN}, {fd=58, events=POLLIN}, {fd=64, events=POLLIN}, {fd=67, events=POLLIN}, {fd=19, events=POLLIN}, {fd=57, events=POLLIN}, {fd=18, events=POLLIN}, {fd=25, events=POLLIN}, {fd=51, events=POLLIN}, {fd=54, events=POLLIN}, {fd=50, events=POLLIN}, {fd=49, events=POLLIN}, {fd=48, events=POLLIN}, {fd=47, events=POLLIN}, {fd=46, events=POLLIN}, {fd=45, events=POLLIN}, {fd=37, events=POLLIN}, {fd=40, events=POLLIN}, {fd=36, events=POLLIN}, {fd=35, events=POLLIN}, {fd=34, events=POLLIN}, {fd=33, events=POLLIN|POLLERR|POLLHUP}, {fd=33, events=0}, {fd=27, events=POLLIN}, {fd=30, events=POLLIN}, {fd=21, events=POLLIN}, {fd=24, events=POLLIN}, {fd=14, events=POLLIN}, {fd=17, events=POLLIN}, ...], 37, {5, 749931000}, NULL, 8) = 1 ([{fd=58, revents=POLLERR}], left {5, 749924521}) [pid 21874] clock_gettime(CLOCK_MONOTONIC, {12993, 777619310}) = 0 [pid 21874] read(58, 0xbf8d1194, 72) = -1 ENODEV (No such device) [pid 21874] clock_gettime(CLOCK_MONOTONIC, {12993, 777676225}) = 0 ... then back to poll() and it keeps looping trying to read off the same fd (58). Output from pulseaudio (--log-level=debug) from pulseaudio starting when the RP1000 gets connected is attached. There is only one line of info written after the cable is pulled (or turned off) before pulseaudio spins off in the loop. D: module-udev-detect.c: /dev/snd/controlC2 is accessible: no ** Affects: pulseaudio (Ubuntu) Importance: Undecided Status: New -- pulseaudio goes into poll-read loop when removing usb device https://bugs.launchpad.net/bugs/680861 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs