Public bug reported: This is probably the same problem as Bug #63646, which was closed due to inactivity.
I have been experimenting with custom PCM definitions in my ~/.asoundrc, from recipes on the ALSA Wiki: http://alsa.opensrc.org/Low-pass_filter_for_subwoofer_channel_%28HOWTO%29 http://alsa.opensrc.org/Default_device_from_environment_variable I run the music player like this: env ALSA_DEFAULT_PCM=upmix20to51 exaile or: aplay -Dupmix20to51 ... ... and I get pretty good sound out of it, but more often than not when the music player closes the PCM, it will cause a segmentation fault that I have begun to attempt to track down. It is happening inside the LADSPA plugin where it attempts to access a pointer to an invalid address. That pointer is inside of a data structure filled out and passed in by the ALSA librarie's LADSPA PCM plugin. I am in the process of reading the alsa-lib documentation and source code to try and understand it better. I will also look into LADSPA, and when I can, I'll try and debug the problem... unless somebody beats me to it -- don't hesitate to do so if you like. # Program received signal SIGSEGV, Segmentation fault. # [Switching to Thread 1133033792 (LWP 18078)] # 0x00002aaab1c350c7 in ?? () from /usr/lib/ladspa/highpass_iir_1890.so # 0 { # id 1890 # policy none # input.bindings.0 "Input" # output.bindings.0 "Output" # input { # controls [ 250 2 ] # } # } # 1 { # id 1890 # policy none # input.bindings.1 "Input" # output.bindings.1 "Output" # input { # controls [ 250 2 ] # } # } The same thing happens when I use one entry and "policy duplicate", IIRC. I'm pretty sure it has to do with the alsa-lib code not doing something quite right WRT how it sets up and uses the LADSPA plugins. ** Affects: alsa-lib (Ubuntu) Importance: Undecided Status: Unconfirmed -- LADSPA virtual PCM causes music players to SEGV https://bugs.launchpad.net/bugs/112959 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs