elementary / switchboard-plug-sound

Switchboard Sound Plug
GNU Lesser General Public License v2.1
13 stars 11 forks source link

Crash when USB interface connected #113

Open ModernBison opened 5 years ago

ModernBison commented 5 years ago

Hapening in Juno, I'm up to date.

Opening the sound setting panel crashes when my USB audio interface is connected. I have a M-Audio interface and it was working properly in Loki. Now I cannot adjust volume. If the interface isn't connected, everything is okay.

If I connect a usb interface when the sound setting is openned, the whole switchboard crashes...

I started it in GDB, but it's not compiled with the debug symbols, so it's not that helpful, but might help... maybe...

$ gdb io.elementary.switchboard 
GNU gdb (Ubuntu 8.1-0ubuntu3) 8.1.0.20180409-git
Copyright (C) 2018 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from io.elementary.switchboard...(no debugging symbols found)...done.
(gdb) r
Starting program: /usr/bin/io.elementary.switchboard 
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7fffe4da8700 (LWP 5093)]
[New Thread 0x7fffdffff700 (LWP 5094)]
[New Thread 0x7fffd3784700 (LWP 5095)]
[New Thread 0x7fffd2f83700 (LWP 5096)]

Thread 1 "io.elementary.s" received signal SIGSEGV, Segmentation fault.
0x00007fffbedc1fb2 in ?? () from /usr/lib/x86_64-linux-gnu/switchboard/system/libsound.so
(gdb) c
Continuing.
Couldn't get registers: No such process.
Couldn't get registers: No such process.
(gdb) [Thread 0x7fffd2f83700 (LWP 5096) exited]
[Thread 0x7fffd3784700 (LWP 5095) exited]
[Thread 0x7fffdffff700 (LWP 5094) exited]
[Thread 0x7fffe4da8700 (LWP 5093) exited]

Program terminated with signal SIGSEGV, Segmentation fault.
The program no longer exists.
--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/72626617-crash-when-usb-interface-connected?utm_campaign=plugin&utm_content=tracker%2F59962557&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F59962557&utm_medium=issues&utm_source=github).
katsoy commented 5 years ago

Happens to me too. I have HyperX Amp USB sound card connected - audio settings crashes when I try to open it. Also microphone does not work through USB. If I use internal sound card everything seems to be fine. switchboard-plug-sound version: 2.2.1 pulseaudio version: 11.1 image

rouemma1 commented 5 years ago

I found a workaround for the moment, Pavu Control helps to get around this, but, this is not very convivial compared to the previous version of eos.