* alsa-lib dmix segfault; latest Git
@ 2021-05-13 9:55 Mark Hills
2021-05-13 10:02 ` Jaroslav Kysela
0 siblings, 1 reply; 2+ messages in thread
From: Mark Hills @ 2021-05-13 9:55 UTC (permalink / raw)
To: Jaroslav Kysela; +Cc: Takashi Iwai, alsa-devel
The current Git master looks very broken, segfaulting immediately.
It seems to be caused by commit 27f4a85a95 ("pcm: direct - move the direct
struct init to _snd_pcm_direct_new()")
Here's the trace:
$ aplay -D plug:master testing.wav
Program received signal SIGSEGV, Segmentation fault.
0x00007ffff7f14ea6 in snd_pcm_dmix_open (pcmp=0x7fffffffe170, name=0x0, opts=0x7fffffffdef0, params=0x7fffffffdf30, root=0x43b1e0, sconf=0x455ae0, stream=SND_PCM_STREAM_PLAYBACK, mode=0) at pcm_dmix.c:1017
1017 pcm->ops = &snd_pcm_dmix_ops;
(gdb) bt
#0 0x00007ffff7f14ea6 in snd_pcm_dmix_open (pcmp=0x7fffffffe170, name=0x0, opts=0x7fffffffdef0, params=0x7fffffffdf30, root=0x43b1e0, sconf=0x455ae0, stream=SND_PCM_STREAM_PLAYBACK, mode=0) at pcm_dmix.c:1017
#1 0x00007ffff7f15763 in _snd_pcm_dmix_open (pcmp=0x7fffffffe170, name=0x0, root=0x43b1e0, conf=0x43b620, stream=SND_PCM_STREAM_PLAYBACK, mode=0) at pcm_dmix.c:1374
#2 0x00007ffff7ec72d8 in snd_pcm_open_conf (pcmp=0x7fffffffe170, name=0x0, pcm_root=0x43b1e0, pcm_conf=0x43b620, stream=SND_PCM_STREAM_PLAYBACK, mode=0) at pcm.c:2609
#3 0x00007ffff7ec7a1b in snd1_pcm_open_named_slave (pcmp=0x7fffffffe170, name=0x0, root=0x43b1e0, conf=0x43b620, stream=SND_PCM_STREAM_PLAYBACK, mode=0, parent_conf=0x43c390) at pcm.c:2823
#4 0x00007ffff7ee38a3 in snd_pcm_open_slave (pcmp=0x7fffffffe170, root=0x43b1e0, conf=0x43b620, stream=SND_PCM_STREAM_PLAYBACK, mode=0, parent_conf=0x43c390) at pcm_local.h:1008
#5 0x00007ffff7ee87a3 in _snd_pcm_route_open (pcmp=0x7fffffffe420, name=0x43cc50 "master", root=0x43b1e0, conf=0x43c390, stream=SND_PCM_STREAM_PLAYBACK, mode=0) at pcm_route.c:1367
#6 0x00007ffff7ec72d8 in snd_pcm_open_conf (pcmp=0x7fffffffe420, name=0x43cc50 "master", pcm_root=0x43b1e0, pcm_conf=0x43c390, stream=SND_PCM_STREAM_PLAYBACK, mode=0) at pcm.c:2609
#7 0x00007ffff7ec7547 in snd_pcm_open_noupdate (pcmp=0x7fffffffe420, root=0x43b1e0, name=0x43cc50 "master", stream=SND_PCM_STREAM_PLAYBACK, mode=0, hop=1) at pcm.c:2668
#8 0x00007ffff7ec79f4 in snd1_pcm_open_named_slave (pcmp=0x7fffffffe420, name=0x0, root=0x43b1e0, conf=0x43c320, stream=SND_PCM_STREAM_PLAYBACK, mode=0, parent_conf=0x43d120) at pcm.c:2821
#9 0x00007ffff7ef57ba in snd_pcm_open_slave (pcmp=0x7fffffffe420, root=0x43b1e0, conf=0x43c320, stream=SND_PCM_STREAM_PLAYBACK, mode=0, parent_conf=0x43d120) at pcm_local.h:1008
#10 0x00007ffff7ef824e in _snd_pcm_plug_open (pcmp=0x413768 <handle>, name=0x7fffffffebbb "plug:master", root=0x43b1e0, conf=0x43d120, stream=SND_PCM_STREAM_PLAYBACK, mode=0) at pcm_plug.c:1324
#11 0x00007ffff7ec72d8 in snd_pcm_open_conf (pcmp=0x413768 <handle>, name=0x7fffffffebbb "plug:master", pcm_root=0x43b1e0, pcm_conf=0x43d120, stream=SND_PCM_STREAM_PLAYBACK, mode=0) at pcm.c:2609
#12 0x00007ffff7ec7547 in snd_pcm_open_noupdate (pcmp=0x413768 <handle>, root=0x43b1e0, name=0x7fffffffebbb "plug:master", stream=SND_PCM_STREAM_PLAYBACK, mode=0, hop=0) at pcm.c:2668
#13 0x00007ffff7ec7610 in snd_pcm_open (pcmp=0x413768 <handle>, name=0x7fffffffebbb "plug:master", stream=SND_PCM_STREAM_PLAYBACK, mode=0) at pcm.c:2698
#14 0x00000000004054ab in main (argc=4, argv=0x7fffffffe898) at aplay.c:850
--
Mark
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: alsa-lib dmix segfault; latest Git
2021-05-13 9:55 alsa-lib dmix segfault; latest Git Mark Hills
@ 2021-05-13 10:02 ` Jaroslav Kysela
0 siblings, 0 replies; 2+ messages in thread
From: Jaroslav Kysela @ 2021-05-13 10:02 UTC (permalink / raw)
To: Mark Hills; +Cc: Takashi Iwai, alsa-devel
Dne 13. 05. 21 v 11:55 Mark Hills napsal(a):
> The current Git master looks very broken, segfaulting immediately.
>
> It seems to be caused by commit 27f4a85a95 ("pcm: direct - move the direct
> struct init to _snd_pcm_direct_new()")
>
> Here's the trace:
>
> $ aplay -D plug:master testing.wav
Yes, I noted this today, too. It's fixed in
da33eda632c86b5c2d71e0aedf3037a67053ebd9 . Sorry about that.
Jaroslav
--
Jaroslav Kysela <perex@perex.cz>
Linux Sound Maintainer; ALSA Project; Red Hat, Inc.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-05-13 10:03 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-13 9:55 alsa-lib dmix segfault; latest Git Mark Hills
2021-05-13 10:02 ` Jaroslav Kysela
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.