[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#781780: marked as done (alsa-utils: General protection fault snd-usb-audio: rawmidi drain error (avail = 32, buffer_size = 4096))



Your message dated Sat, 08 May 2021 08:47:41 -0700 (PDT)
with message-id <6096b29d.1c69fb81.64825.5d47@mx.google.com>
and subject line Closing this bug (BTS maintenance for src:linux bugs)
has caused the Debian Bug report #781780,
regarding alsa-utils: General protection fault snd-usb-audio: rawmidi drain error (avail = 32, buffer_size = 4096)
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
781780: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=781780
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: alsa-utils
Version: 1.0.28-1
Severity: critical
Justification: breaks unrelated software

Dear Maintainer,

I might have found an issue with USB-MIDI devices

   * What led up to the situation?
     using pygame.midi to spit out note_on's to an Akai APC mini
     (in an endless loop, without sleep()s, to test/fuzz it)


   * What was the outcome of this action?
     General protection fault in dmesg
     lsusb hangs...

   * What outcome did you expect instead?
     Flicker of a led / Akai device hangs?

Apparently the USB-Midi device froze and the system did not handle that
gracefuly?

Linux xxx 3.16-3-amd64 #1 SMP Debian 3.16.5-1 (2014-10-10) x86_64 GNU/Linux

dmesg:
[718511.056117] usb 3-1: new full-speed USB device number 10 using uhci_hcd
[718511.225616] usb 3-1: New USB device found, idVendor=09e8, idProduct=0028
[718511.225627] usb 3-1: New USB device strings: Mfr=1, Product=2,
SerialNumber=3
[718511.225634] usb 3-1: Product: APC MINI
[718511.225639] usb 3-1: Manufacturer: AKAI PROFESSIONAL,LP
[718511.225645] usb 3-1: SerialNumber: Ver00.10
[718859.797956] ALSA: seq_midi: MIDI output buffer overrun
[718859.797967] ALSA: seq_midi: MIDI output buffer overrun
[718859.797974] ALSA: seq_midi: MIDI output buffer overrun
[718859.797982] ALSA: seq_midi: MIDI output buffer overrun
[718859.797988] ALSA: seq_midi: MIDI output buffer overrun
[718859.797996] ALSA: seq_midi: MIDI output buffer overrun
[718859.798003] ALSA: seq_midi: MIDI output buffer overrun
[718859.798011] ALSA: seq_midi: MIDI output buffer overrun
[718859.798018] ALSA: seq_midi: MIDI output buffer overrun
[718860.884089] usb 3-1: USB disconnect, device number 10
[718865.996043] ALSA: seq_lock: timeout [1 left] in /build/linux-
i5neKT/linux-3.16.5/sound/core/seq/seq_ports.c:264
[718870.884114] snd-usb-audio 3-1:1.0: rawmidi drain error (avail = 32,
buffer_size = 4096)
[718870.884189] general protection fault: 0000 [#1] SMP
[718870.884278] Modules linked in: snd_hrtimer snd_seq_midi snd_seq_midi_event
snd_seq_dummy snd_seq mxl5005s ec100 $
[718870.885584]  ehci_hcd cfg80211 e1000e snd_hda_codec usbcore snd_hwdep
snd_pcm drm_kms_helper usb_common thinkpad$
[718870.886488] CPU: 1 PID: 327 Comm: khubd Tainted: G        W  O
3.16-3-amd64 #1 Debian 3.16.5-1
[718870.886597] Hardware name: LENOVO        /       , BIOS 7WET71WW (3.21 )
11/29/2012
[718870.886693] task: ffff880232b342d0 ti: ffff880231990000 task.ti:
ffff880231990000
[718870.886786] RIP: 0010:[<ffffffffa0b246a7>]  [<ffffffffa0b246a7>]
clear_subscriber_list+0x1d7/0x230 [snd_seq]
[718870.886922] RSP: 0018:ffff880231993950  EFLAGS: 00010246
[718870.886988] RAX: dead000000100100 RBX: ffff88010b86ea00 RCX:
dead000000100100
[718870.887078] RDX: dead000000200200 RSI: 0000000000000246 RDI:
ffff88010b86ea80
[718870.887166] RBP: ffff88011a577240 R08: 0000000000000000 R09:
6475612d6273752d
[718870.887254] R10: 00000000000040f0 R11: 313a312d33206f69 R12:
ffff880231b47ac0
[718870.887342] R13: ffff88010b86ea68 R14: ffff88010b86ea80 R15:
ffff88011a5772a0
[718870.887432] FS:  0000000000000000(0000) GS:ffff88023bc80000(0000)
knlGS:0000000000000000
[718870.887530] CS:  0010 DS: 0000 ES: 0000 CR0: 000000008005003b
[718870.887605] CR2: 00007f0e54390000 CR3: 0000000001813000 CR4:
00000000000407e0
[718870.887693] Stack:
[718870.887721]  ffff880012f3ec00 ffff880231b47a00 ffff880231b47ac0
0000000131993986
[718870.887834]  ffff880231b47b10 ffff880231b47ad0 ffff88007b27b700
ffff880231b47a00
[718870.887945]  ffff880012f3ec00 ffff880231993ac8 ffffffffffffffff
ffff88011ab6d000
[718870.888057] Call Trace:
[718870.888078]  [<ffffffffa0b24751>] ? port_delete+0x51/0x80 [snd_seq]
[718870.888078]  [<ffffffffa0b1e103>] ? snd_seq_ioctl_delete_port+0x53/0xa0
[snd_seq]
[718870.888078]  [<ffffffffa0b1ead2>] ? snd_seq_kernel_client_ctl+0x42/0x60
[snd_seq]
[718870.888078]  [<ffffffffa0b24216>] ? snd_seq_event_port_detach+0x46/0x70
[snd_seq]
[718870.888078]  [<ffffffffa0b3101d>] ? snd_seq_midisynth_delete+0x1d/0x40
[snd_seq_midi]
[718870.888078]  [<ffffffffa0b310c4>] ?
snd_seq_midisynth_unregister_port+0x84/0x100 [snd_seq_midi]
[718870.888078]  [<ffffffffa08262b3>] ? free_device+0x43/0xb0 [snd_seq_device]
[718870.888078]  [<ffffffffa0826759>] ? snd_seq_device_dev_disconnect+0x29/0x50
[snd_seq_device]
[718870.888078]  [<ffffffffa024ca58>] ?
__snd_device_disconnect.part.1+0x18/0x50 [snd]
[718870.888078]  [<ffffffffa024cd2f>] ? snd_device_disconnect_all+0x3f/0x60
[snd]
[718870.888078]  [<ffffffffa0246973>] ? snd_card_disconnect+0x153/0x1d0 [snd]
[718870.888078]  [<ffffffffa082b508>] ? usb_audio_disconnect+0x78/0x1a0
[snd_usb_audio]
[718870.888078]  [<ffffffffa033976c>] ? usb_unbind_interface+0x6c/0x2b0
[usbcore]
[718870.888078]  [<ffffffff8139ea7a>] ? __device_release_driver+0x7a/0xf0
[718870.888078]  [<ffffffff8139eb0e>] ? device_release_driver+0x1e/0x30
[718870.888078]  [<ffffffff8139e413>] ? bus_remove_device+0x103/0x180
[718870.888078]  [<ffffffff8139aeb6>] ? device_del+0x116/0x1b0
[718870.888078]  [<ffffffffa03371d0>] ? usb_disable_device+0xa0/0x280 [usbcore]
[718870.927232]  [<ffffffffa032cdf1>] ? usb_disconnect+0x91/0x280 [usbcore]
[718870.927232]  [<ffffffffa032f36c>] ? hub_thread+0xaac/0x1730 [usbcore]
[718870.927232]  [<ffffffff8109d3c0>] ? check_preempt_wakeup+0x120/0x1d0
[718870.927232]  [<ffffffff810a5800>] ? prepare_to_wait_event+0xf0/0xf0
[718870.927232]  [<ffffffffa032e8c0>] ? hub_port_debounce+0x130/0x130 [usbcore]
[718870.927232]  [<ffffffff81085ddd>] ? kthread+0xbd/0xe0
[718870.927232]  [<ffffffff81085d20>] ? kthread_create_on_node+0x180/0x180
[718870.927232]  [<ffffffff8150c6fc>] ? ret_from_fork+0x7c/0xb0
[718870.927232]  [<ffffffff81085d20>] ? kthread_create_on_node+0x180/0x180
[718870.927232]  [<ffffffff8150c6fc>] ? ret_from_fork+0x7c/0xb0
[718870.927232]  [<ffffffff81085d20>] ? kthread_create_on_node+0x180/0x180
[718870.927232] Code: ff 48 85 db 74 46 4c 8d b3 80 00 00 00 4c 8d 6b 68 4c 89
f7 e8 6b 6a 9e e0 49 8b 4f f0 49 8b 5$
[718870.927232] RIP  [<ffffffffa0b246a7>] clear_subscriber_list+0x1d7/0x230
[snd_seq]
[718870.927232]  RSP <ffff880231993950>
[718870.993281] ---[ end trace 1c27bf870f3c2c8c ]---
[718871.188057] ALSA: seq_lock: timeout [1 left] in /build/linux-
i5neKT/linux-3.16.5/sound/core/seq/seq_clientmgr.c:$






-- System Information:
Debian Release: 8.0
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386, armel, mips

Kernel: Linux 3.16-3-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages alsa-utils depends on:
ii  kmod            20-1
ii  libasound2      1.0.28-1
ii  libc6           2.19-17
ii  libncursesw5    5.9+20140913-1+b1
ii  libsamplerate0  0.1.8-8
ii  libtinfo5       5.9+20140913-1+b1
ii  lsb-base        4.1+Debian13+nmu1
ii  whiptail        0.52.17-1+b1

alsa-utils recommends no packages.

alsa-utils suggests no packages.

-- no debconf information

--- End Message ---
--- Begin Message ---
Hi

This bug was filed for a very old kernel or the bug is old itself
without resolution.

If you can reproduce it with

- the current version in unstable/testing
- the latest kernel from backports

please reopen the bug, see https://www.debian.org/Bugs/server-control
for details.

Regards,
Salvatore

--- End Message ---

Reply to: