All of lore.kernel.org
 help / color / mirror / Atom feed
From: folkert <folkert@vanheusden.com>
To: Takashi Iwai <tiwai@suse.de>
Cc: alsa-devel@alsa-project.org
Subject: Re: aconnect occasionally causes kernel oopses
Date: Mon, 2 Aug 2021 17:21:17 +0200	[thread overview]
Message-ID: <20210802152117.GT890690@belle.intranet.vanheusden.com> (raw)
In-Reply-To: <s5hczqvyj8m.wl-tiwai@suse.de>

[ kernel bug if repeatingly aconnect'ing midi devices ]

> Does this happen if you do reconnect of kernel sequencer client?
> You can use snd-virmidi as well as snd-dummy.
> I'm asking it because it'll simplify the test a lot, which will be
> almost self-contained.

Like this?

root@lappiemctopface:~# aplaymidi -l
 Port    Client name                      Port name
 14:0    Midi Through                     Midi Through Port-0
 20:0    Virtual Raw MIDI 1-0             VirMIDI 1-0
 21:0    Virtual Raw MIDI 1-1             VirMIDI 1-1
 22:0    Virtual Raw MIDI 1-2             VirMIDI 1-2
 23:0    Virtual Raw MIDI 1-3             VirMIDI 1-3
128:0    rtpmidi lappiemctopface          Network
128:1    rtpmidi lappiemctopface          metronoom
128:2    rtpmidi lappiemctopface          AppleMidi2IPMidiBridge
128:3    rtpmidi lappiemctopface          oensoens
130:0    FLUID Synth (11462)              Synth input port (11462:0)

and then:

root@lappiemctopface:~# cat test.sh 
while true
do
	aconnect 20:0 21:0
	aconnect -d 20:0 21:0
done

root@lappiemctopface:~# for i in `seq 0 3` ; do (./test.sh &) ; done

This hard locks-up my laptop: it doesn't even respond to capslock (led
on/off) anymore nor the ctrl+prtscr+alt+b combination.

  reply	other threads:[~2021-08-02 15:22 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-01 18:27 aconnect occasionally causes kernel oopses folkert
2021-08-02  6:16 ` Takashi Iwai
2021-08-02  6:18   ` folkert
2021-08-02  6:59     ` Takashi Iwai
2021-08-02  9:10       ` folkert
2021-08-02 15:11         ` Takashi Iwai
2021-08-02 15:21           ` folkert [this message]
2021-08-02 17:12             ` Takashi Iwai
2021-08-02 19:53               ` folkert
2021-08-03  6:55                 ` Takashi Iwai
2021-08-03  7:40                   ` folkert
2021-08-03  7:43                     ` Takashi Iwai
2021-08-03  7:44                       ` folkert
2021-08-03  7:49                         ` Takashi Iwai
2021-08-03  7:52                           ` folkert
2021-08-03 10:12                   ` folkert
2021-08-03 11:42                     ` Takashi Iwai

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210802152117.GT890690@belle.intranet.vanheusden.com \
    --to=folkert@vanheusden.com \
    --cc=alsa-devel@alsa-project.org \
    --cc=tiwai@suse.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.