Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Andreas Hartmann <mail@andreashartmann.eu>
To: alsa-devel@alsa-project.org
Subject: Re: Bug: LADSPA implementation - no up/downmix handling
Date: Thu, 24 Sep 2015 12:44:53 +0200	[thread overview]
Message-ID: <1544609.lNj7aapdUP@deep-thought> (raw)
In-Reply-To: <s5hpp196wjx.wl-tiwai@suse.de>


[-- Attachment #1.1: Type: text/plain, Size: 1415 bytes --]

Am Mittwoch, 23. September 2015, 16:26:58 schrieb Takashi Iwai:
> On Sat, 12 Sep 2015 22:10:40 +0200,
> 
> Andreas Hartmann wrote:
> > Hi,
> > 
> > Using the surround_encoder of the swh-plugins I noticed, that the alsa
> > implementation only assumes an equal number of in- and output channels for
> > ladspa plugins. This occurs from Line 752 onwards in pcm_ladspa.c and
> > leads to a Segfault shortly after.
> > There needs to be a check and correct handling for up/downmix scenarios.
> 
> Could you give the back trace?  Or at best submit a fix patch?
> 
> 
> thanks,
> 
> Takashi
> _______________________________________________
> Alsa-devel mailing list
> Alsa-devel@alsa-project.org
> http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

Sure here you go

#0  0x00007ffff78623ef in snd_pcm_ladspa_allocate_memory (pcm=0x626fa0, 
pcm=0x626fa0, pcm=0x626fa0, ladspa=0x621ad0) at pcm_ladspa.c:753
#1  snd_pcm_ladspa_init (pcm=0x626fa0) at pcm_ladspa.c:834
#2  0x00007ffff7842946 in snd_pcm_plugin_prepare (pcm=0x626fa0) at 
pcm_plugin.c:171
#3  0x00007ffff784290f in snd_pcm_plugin_prepare (pcm=0x62c760) at 
pcm_plugin.c:162
#4  0x000000000040256a in ?? ()
#5  0x00007ffff7222ec5 in __libc_start_main (main=0x401d80, argc=4, 
argv=0x7fffffffde28, init=<optimized out>, fini=<optimized out>, 
rtld_fini=<optimized out>,
    stack_end=0x7fffffffde18) at libc-start.c:287
#6  0x0000000000402fdd in ?? ()

[-- Attachment #1.2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

[-- Attachment #2: Type: text/plain, Size: 0 bytes --]



  reply	other threads:[~2015-09-24 10:44 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-09-12 20:10 Bug: LADSPA implementation - no up/downmix handling Andreas Hartmann
2015-09-22 14:16 ` Andreas Hartmann
2015-09-23 14:26 ` Takashi Iwai
2015-09-24 10:44   ` Andreas Hartmann [this message]
2015-09-24 13:07     ` Takashi Iwai
     [not found]       ` <2508294.jvp4p1Q0mz@deep-thought>
2015-10-02 10:01         ` 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=1544609.lNj7aapdUP@deep-thought \
    --to=mail@andreashartmann.eu \
    --cc=alsa-devel@alsa-project.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox