[ecasound] Ecasound processes not exiting on CentOS 7

From: William Goldsmith <bill@email-addr-hidden>
Date: Mon Jan 25 2016 - 00:13:12 EET

I've been using ecasound on a variety of Linux distros (mostly RedHat
variants) for close to 20 years now, and have never encountered this
problem until CentOS 7.

My application spawns ecasound processes that look like this:

ecasound -i /audio/unprocessed-mp3/36485.mp3 -o alsa -eadb:-4 -ea:100
-kl2:1,100,0,251.6,3

Until now, they've always expired gracefully when the song file ends. Now,
they continue to accumulate & eventually start generating these errors:

Jan 24 13:21:04 otto-sj-new kernel: INFO: task ecasound:2698 blocked for
more than 120 seconds.
Jan 24 13:21:04 otto-sj-new kernel: "echo 0 >
/proc/sys/kernel/hung_task_timeout_secs" disables this message.
Jan 24 13:21:04 otto-sj-new kernel: ecasound D ffff88017fd93680
0 2698 1 0x00000086
Jan 24 13:21:04 otto-sj-new kernel: ffff880179b3f960 0000000000000046
ffff880179b3ffd8 0000000000013680
Jan 24 13:21:04 otto-sj-new kernel: ffff880179b3ffd8 0000000000013680
ffff880179b138e0 ffff880076576e20
Jan 24 13:21:04 otto-sj-new kernel: ffff880076576e28 7fffffffffffffff
ffff880179b138e0 0000000000000000
Jan 24 13:21:04 otto-sj-new kernel: Call Trace:
Jan 24 13:21:04 otto-sj-new kernel: [<ffffffff81609e39>] schedule+0x29/0x70
Jan 24 13:21:04 otto-sj-new kernel: [<ffffffff81607d79>]
schedule_timeout+0x209/0x2d0
Jan 24 13:21:04 otto-sj-new kernel: [<ffffffff8160a346>]
wait_for_completion+0x116/0x170
Jan 24 13:21:04 otto-sj-new kernel: [<ffffffff810a9620>] ?
wake_up_state+0x20/0x20
Jan 24 13:21:04 otto-sj-new kernel: [<ffffffff8144b71f>]
xhci_configure_endpoint+0xcf/0x550
Jan 24 13:21:04 otto-sj-new kernel: [<ffffffff8144c4fd>]
xhci_check_bandwidth+0x10d/0x2e0
Jan 24 13:21:04 otto-sj-new kernel: [<ffffffff81418013>]
usb_hcd_alloc_bandwidth+0x2a3/0x340
Jan 24 13:21:04 otto-sj-new kernel: [<ffffffff8141b4a2>]
usb_set_interface+0xc2/0x380
Jan 24 13:21:04 otto-sj-new kernel: [<ffffffff81191772>] ?
__vunmap+0xb2/0x100
Jan 24 13:21:04 otto-sj-new kernel: [<ffffffffa038a3f5>]
snd_usb_pcm_close.isra.9+0x55/0x80 [snd_usb_audio]
Jan 24 13:21:04 otto-sj-new kernel: [<ffffffffa038a454>]
snd_usb_playback_close+0x14/0x20 [snd_usb_audio]
Jan 24 13:21:04 otto-sj-new kernel: [<ffffffffa0225d9f>]
snd_pcm_release_substream.part.29+0x3f/0x90 [snd_pcm]
Jan 24 13:21:04 otto-sj-new kernel: [<ffffffffa0225ec8>]
snd_pcm_release+0xa8/0xc0 [snd_pcm]
Jan 24 13:21:04 otto-sj-new kernel: [<ffffffff811c8849>] __fput+0xe9/0x270
Jan 24 13:21:04 otto-sj-new kernel: [<ffffffff811c8b1e>] ____fput+0xe/0x10
Jan 24 13:21:04 otto-sj-new kernel: [<ffffffff81093c84>]
task_work_run+0xc4/0xe0
Jan 24 13:21:04 otto-sj-new kernel: [<ffffffff8107467b>] do_exit+0x2cb/0xa60
Jan 24 13:21:04 otto-sj-new kernel: [<ffffffff81074e8f>]
do_group_exit+0x3f/0xa0
Jan 24 13:21:04 otto-sj-new kernel: [<ffffffff810851e0>]
get_signal_to_deliver+0x1d0/0x6e0
Jan 24 13:21:04 otto-sj-new kernel: [<ffffffff81013467>]
do_signal+0x57/0x6c0
Jan 24 13:21:04 otto-sj-new kernel: [<ffffffff8109c22d>] ?
hrtimer_nanosleep+0xad/0x170
Jan 24 13:21:04 otto-sj-new kernel: [<ffffffff8109af80>] ?
hrtimer_get_res+0x50/0x50
Jan 24 13:21:04 otto-sj-new kernel: [<ffffffff81013b39>]
do_notify_resume+0x69/0xb0
Jan 24 13:21:04 otto-sj-new kernel: [<ffffffff81614cdd>]
int_signal+0x12/0x17

Here's this:

[root@email-addr-hidden-sj-new ~]# cat /proc/version
Linux version 3.10.0-229.el7.x86_64 (builder@email-addr-hidden) (gcc
version 4.8.2 20140120 (Red Hat 4.8.2-16) (GCC) ) #1 SMP Fri Mar 6 11:36:42
UTC 2015

Any thoughts would be appreciated.

thanks
-bg

---
Bill Goldsmith
Radio Paradise
www.radioparadise.com

------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140

_______________________________________________
Ecasound-list mailing list
Ecasound-list@email-addr-hidden
https://lists.sourceforge.net/lists/listinfo/ecasound-list
Received on Mon Jan 25 04:15:01 2016

This archive was generated by hypermail 2.1.8 : Mon Jan 25 2016 - 04:15:01 EET