Bug#913409: libasound2: plugging in RME ADI2-DAC causes pulseaudio to crash in libasound2

2018-11-10 Thread Florin Iucha
I confirm that the following steps (with a detour learning about sbuild) 
got my DAC working again.



Thank you again Elimar and Michael!

florin


On 11/10/18 6:01 PM, Michael Stapelberg wrote:

The steps I used to verify the patch were:

% wget 
'http://git.alsa-project.org/?p=alsa-plugins.git;a=patch;h=a4e7e1282c57a2f4e83afe9a4008042d8b4c5bb9' 
-O /tmp/alsa.patch

% pk4 libasound2-plugins
% patch -p1 < /tmp/alsa.patch
% pk4-replace

On Sat, Nov 10, 2018 at 11:51 PM Florin Iucha > wrote:


Elimar,


Seems to be a duplicate. I noticed that Michael was able to test
the patch from alsa (git). I tried to build pulseaudio and alsa
from source to debug the issue, but I'm getting to


libtool: link: gcc -shared  -fPIC -DPIC
modules/alsa/.libs/libalsa_util_la-alsa-util.o
modules/alsa/.libs/libalsa_util_la-alsa-ucm.o
modules/alsa/.libs/libals
a_util_la-alsa-mixer.o
modules/alsa/.libs/libalsa_util_la-alsa-sink.o
modules/alsa/.libs/libalsa_util_la-alsa-source.o
modules/.libs/libalsa_util_la-reserve-wr
ap.o modules/.libs/libalsa_util_la-udev-util.o
modules/.libs/libalsa_util_la-reserve.o
modules/.libs/libalsa_util_la-reserve-monitor.o
-Wl,--whole-archive /ho
me/florin/tools/alsa-lib/src/mixer//.libs/libmixer.a
/home/florin/tools/alsa-lib/src/control//.libs/libcontrol.a
-Wl,--no-whole-archive  -Wl,-rpath -Wl,/home/f
lorin/tools/pulseaudio/src/.libs -Wl,-rpath
-Wl,/usr/local/lib/pulseaudio ./.libs/libpulsecore-12.2.so
 ./.libs/libpulsecommon-12.2.so
 ./.libs/libpulse.so -L/ho
me/florin/tools/alsa-lib/src/
-L/home/florin/tools/alsa-lib/src/mixer/
-L/home/florin/tools/alsa-lib/src/control/ -ludev -ldbus-1
-lcap -lpthread -lrt -ldl -lm
  -g -O2   -Wl,-soname -Wl,libalsa-util.so -o
.libs/libalsa-util.so
/usr/bin/ld: .libs/libalsa-util.so: version node not found for
symbol snd_ctl_elem_info_get_dimension@@ALSA_0.9.3



How can I test the patch? Do I need to try and re-build the
package? Can I build alsa and pulseaudio just in some normal
directories and try it that way?


Thank you,

florin


On 11/10/18 2:01 PM, Elimar Riesebieter wrote:

Control: reassign -1 libasound2-plugins 1.1.7-2
Control: forcemerge 912921 -1

* Florin Iucha    [2018-11-10 
12:12 -0500]:


Package: libasound2
Version: 1.1.7-1
Severity: grave
Justification: renders package unusable

Dear Maintainer,

* What led up to the situation?

Purchased a new USB DAC. It worked fine last night, then this morning
it is crashing pulseaudio every time it is attached / turned on.

* What exactly did you do (or not do) that was effective (or
  ineffective)?

Plug the USB DAC.

* What was the outcome of this action?

Nov 10 12:03:07 herakles kernel: do_general_protection: 10 callbacks 
suppressed
Nov 10 12:03:07 herakles kernel: traps: pulseaudio[6311] general 
protection ip:7f8f3e557532 sp:7fff1aa8bb20 error:0 in 
libasound.so.2.0.0[7f8f3e51e000+8f000]

* What outcome did you expect instead?

Music coming out from the headphones.

Please checkhttps://bugs.debian.org/cgi-bin/bugreport.cgi?bug=912921


Elimar




--
Best regards,
Michael


Bug#913409: libasound2: plugging in RME ADI2-DAC causes pulseaudio to crash in libasound2

2018-11-10 Thread Florin Iucha

Thank you Michael.


florin


On 11/10/18 6:01 PM, Michael Stapelberg wrote:

The steps I used to verify the patch were:

% wget 
'http://git.alsa-project.org/?p=alsa-plugins.git;a=patch;h=a4e7e1282c57a2f4e83afe9a4008042d8b4c5bb9' 
-O /tmp/alsa.patch

% pk4 libasound2-plugins
% patch -p1 < /tmp/alsa.patch
% pk4-replace

On Sat, Nov 10, 2018 at 11:51 PM Florin Iucha > wrote:


Elimar,


Seems to be a duplicate. I noticed that Michael was able to test
the patch from alsa (git). I tried to build pulseaudio and alsa
from source to debug the issue, but I'm getting to


libtool: link: gcc -shared  -fPIC -DPIC
modules/alsa/.libs/libalsa_util_la-alsa-util.o
modules/alsa/.libs/libalsa_util_la-alsa-ucm.o
modules/alsa/.libs/libals
a_util_la-alsa-mixer.o
modules/alsa/.libs/libalsa_util_la-alsa-sink.o
modules/alsa/.libs/libalsa_util_la-alsa-source.o
modules/.libs/libalsa_util_la-reserve-wr
ap.o modules/.libs/libalsa_util_la-udev-util.o
modules/.libs/libalsa_util_la-reserve.o
modules/.libs/libalsa_util_la-reserve-monitor.o
-Wl,--whole-archive /ho
me/florin/tools/alsa-lib/src/mixer//.libs/libmixer.a
/home/florin/tools/alsa-lib/src/control//.libs/libcontrol.a
-Wl,--no-whole-archive  -Wl,-rpath -Wl,/home/f
lorin/tools/pulseaudio/src/.libs -Wl,-rpath
-Wl,/usr/local/lib/pulseaudio ./.libs/libpulsecore-12.2.so
 ./.libs/libpulsecommon-12.2.so
 ./.libs/libpulse.so -L/ho
me/florin/tools/alsa-lib/src/
-L/home/florin/tools/alsa-lib/src/mixer/
-L/home/florin/tools/alsa-lib/src/control/ -ludev -ldbus-1
-lcap -lpthread -lrt -ldl -lm
  -g -O2   -Wl,-soname -Wl,libalsa-util.so -o
.libs/libalsa-util.so
/usr/bin/ld: .libs/libalsa-util.so: version node not found for
symbol snd_ctl_elem_info_get_dimension@@ALSA_0.9.3



How can I test the patch? Do I need to try and re-build the
package? Can I build alsa and pulseaudio just in some normal
directories and try it that way?


Thank you,

florin


On 11/10/18 2:01 PM, Elimar Riesebieter wrote:

Control: reassign -1 libasound2-plugins 1.1.7-2
Control: forcemerge 912921 -1

* Florin Iucha    [2018-11-10 
12:12 -0500]:


Package: libasound2
Version: 1.1.7-1
Severity: grave
Justification: renders package unusable

Dear Maintainer,

* What led up to the situation?

Purchased a new USB DAC. It worked fine last night, then this morning
it is crashing pulseaudio every time it is attached / turned on.

* What exactly did you do (or not do) that was effective (or
  ineffective)?

Plug the USB DAC.

* What was the outcome of this action?

Nov 10 12:03:07 herakles kernel: do_general_protection: 10 callbacks 
suppressed
Nov 10 12:03:07 herakles kernel: traps: pulseaudio[6311] general 
protection ip:7f8f3e557532 sp:7fff1aa8bb20 error:0 in 
libasound.so.2.0.0[7f8f3e51e000+8f000]

* What outcome did you expect instead?

Music coming out from the headphones.

Please checkhttps://bugs.debian.org/cgi-bin/bugreport.cgi?bug=912921


Elimar




--
Best regards,
Michael


Bug#913409: libasound2: plugging in RME ADI2-DAC causes pulseaudio to crash in libasound2

2018-11-10 Thread Michael Stapelberg
The steps I used to verify the patch were:

% wget '
http://git.alsa-project.org/?p=alsa-plugins.git;a=patch;h=a4e7e1282c57a2f4e83afe9a4008042d8b4c5bb9'
-O /tmp/alsa.patch
% pk4 libasound2-plugins
% patch -p1 < /tmp/alsa.patch
% pk4-replace

On Sat, Nov 10, 2018 at 11:51 PM Florin Iucha  wrote:

> Elimar,
>
>
> Seems to be a duplicate. I noticed that Michael was able to test the patch
> from alsa (git). I tried to build pulseaudio and alsa from source to debug
> the issue, but I'm getting to
>
>
> libtool: link: gcc -shared  -fPIC -DPIC
> modules/alsa/.libs/libalsa_util_la-alsa-util.o
> modules/alsa/.libs/libalsa_util_la-alsa-ucm.o modules/alsa/.libs/libals
> a_util_la-alsa-mixer.o modules/alsa/.libs/libalsa_util_la-alsa-sink.o
> modules/alsa/.libs/libalsa_util_la-alsa-source.o
> modules/.libs/libalsa_util_la-reserve-wr
> ap.o modules/.libs/libalsa_util_la-udev-util.o
> modules/.libs/libalsa_util_la-reserve.o
> modules/.libs/libalsa_util_la-reserve-monitor.o  -Wl,--whole-archive /ho
> me/florin/tools/alsa-lib/src/mixer//.libs/libmixer.a
> /home/florin/tools/alsa-lib/src/control//.libs/libcontrol.a
> -Wl,--no-whole-archive  -Wl,-rpath -Wl,/home/f
> lorin/tools/pulseaudio/src/.libs -Wl,-rpath -Wl,/usr/local/lib/pulseaudio
> ./.libs/libpulsecore-12.2.so ./.libs/libpulsecommon-12.2.so
> ./.libs/libpulse.so -L/ho
> me/florin/tools/alsa-lib/src/ -L/home/florin/tools/alsa-lib/src/mixer/
> -L/home/florin/tools/alsa-lib/src/control/ -ludev -ldbus-1 -lcap -lpthread
> -lrt -ldl -lm
>   -g -O2   -Wl,-soname -Wl,libalsa-util.so -o .libs/libalsa-util.so
> /usr/bin/ld: .libs/libalsa-util.so: version node not found for symbol
> snd_ctl_elem_info_get_dimension@@ALSA_0.9.3
>
>
> How can I test the patch? Do I need to try and re-build the package? Can I
> build alsa and pulseaudio just in some normal directories and try it that
> way?
>
>
> Thank you,
>
> florin
>
>
> On 11/10/18 2:01 PM, Elimar Riesebieter wrote:
>
> Control: reassign -1 libasound2-plugins 1.1.7-2
> Control: forcemerge 912921 -1
>
> * Florin Iucha   [2018-11-10 12:12 -0500]:
>
>
> Package: libasound2
> Version: 1.1.7-1
> Severity: grave
> Justification: renders package unusable
>
> Dear Maintainer,
>
>* What led up to the situation?
>
>Purchased a new USB DAC. It worked fine last night, then this morning
>it is crashing pulseaudio every time it is attached / turned on.
>
>* What exactly did you do (or not do) that was effective (or
>  ineffective)?
>
>Plug the USB DAC.
>
>* What was the outcome of this action?
>
>Nov 10 12:03:07 herakles kernel: do_general_protection: 10 callbacks 
> suppressed
>Nov 10 12:03:07 herakles kernel: traps: pulseaudio[6311] general 
> protection ip:7f8f3e557532 sp:7fff1aa8bb20 error:0 in 
> libasound.so.2.0.0[7f8f3e51e000+8f000]
>
>* What outcome did you expect instead?
>
>Music coming out from the headphones.
>
>
> Please check https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=912921
>
>
> Elimar
>
>

-- 
Best regards,
Michael


Bug#913409: libasound2: plugging in RME ADI2-DAC causes pulseaudio to crash in libasound2

2018-11-10 Thread Florin Iucha

Elimar,


Seems to be a duplicate. I noticed that Michael was able to test the 
patch from alsa (git). I tried to build pulseaudio and alsa from source 
to debug the issue, but I'm getting to



   libtool: link: gcc -shared  -fPIC -DPIC
   modules/alsa/.libs/libalsa_util_la-alsa-util.o
   modules/alsa/.libs/libalsa_util_la-alsa-ucm.o modules/alsa/.libs/libals
   a_util_la-alsa-mixer.o
   modules/alsa/.libs/libalsa_util_la-alsa-sink.o
   modules/alsa/.libs/libalsa_util_la-alsa-source.o
   modules/.libs/libalsa_util_la-reserve-wr
   ap.o modules/.libs/libalsa_util_la-udev-util.o
   modules/.libs/libalsa_util_la-reserve.o
   modules/.libs/libalsa_util_la-reserve-monitor.o -Wl,--whole-archive /ho
   me/florin/tools/alsa-lib/src/mixer//.libs/libmixer.a
   /home/florin/tools/alsa-lib/src/control//.libs/libcontrol.a
   -Wl,--no-whole-archive  -Wl,-rpath -Wl,/home/f
   lorin/tools/pulseaudio/src/.libs -Wl,-rpath
   -Wl,/usr/local/lib/pulseaudio ./.libs/libpulsecore-12.2.so
   ./.libs/libpulsecommon-12.2.so ./.libs/libpulse.so -L/ho
   me/florin/tools/alsa-lib/src/
   -L/home/florin/tools/alsa-lib/src/mixer/
   -L/home/florin/tools/alsa-lib/src/control/ -ludev -ldbus-1 -lcap
   -lpthread -lrt -ldl -lm
  -g -O2   -Wl,-soname -Wl,libalsa-util.so -o .libs/libalsa-util.so
   /usr/bin/ld: .libs/libalsa-util.so: version node not found for
   symbol snd_ctl_elem_info_get_dimension@@ALSA_0.9.3


How can I test the patch? Do I need to try and re-build the package? Can 
I build alsa and pulseaudio just in some normal directories and try it 
that way?



Thank you,

florin


On 11/10/18 2:01 PM, Elimar Riesebieter wrote:

Control: reassign -1 libasound2-plugins 1.1.7-2
Control: forcemerge 912921 -1

* Florin Iucha  [2018-11-10 12:12 -0500]:


Package: libasound2
Version: 1.1.7-1
Severity: grave
Justification: renders package unusable

Dear Maintainer,

* What led up to the situation?

Purchased a new USB DAC. It worked fine last night, then this morning
it is crashing pulseaudio every time it is attached / turned on.

* What exactly did you do (or not do) that was effective (or
  ineffective)?

Plug the USB DAC.

* What was the outcome of this action?

Nov 10 12:03:07 herakles kernel: do_general_protection: 10 callbacks 
suppressed
Nov 10 12:03:07 herakles kernel: traps: pulseaudio[6311] general protection 
ip:7f8f3e557532 sp:7fff1aa8bb20 error:0 in 
libasound.so.2.0.0[7f8f3e51e000+8f000]

* What outcome did you expect instead?

Music coming out from the headphones.

Please check https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=912921


Elimar


Bug#913409: libasound2: plugging in RME ADI2-DAC causes pulseaudio to crash in libasound2

2018-11-10 Thread Elimar Riesebieter
Control: reassign -1 libasound2-plugins 1.1.7-2
Control: forcemerge 912921 -1

* Florin Iucha  [2018-11-10 12:12 -0500]:

> Package: libasound2
> Version: 1.1.7-1
> Severity: grave
> Justification: renders package unusable
> 
> Dear Maintainer,
> 
>* What led up to the situation?
> 
>Purchased a new USB DAC. It worked fine last night, then this morning
>it is crashing pulseaudio every time it is attached / turned on.
> 
>* What exactly did you do (or not do) that was effective (or
>  ineffective)?
> 
>Plug the USB DAC.
> 
>* What was the outcome of this action?
> 
>Nov 10 12:03:07 herakles kernel: do_general_protection: 10 callbacks 
> suppressed
>Nov 10 12:03:07 herakles kernel: traps: pulseaudio[6311] general 
> protection ip:7f8f3e557532 sp:7fff1aa8bb20 error:0 in 
> libasound.so.2.0.0[7f8f3e51e000+8f000]
> 
>* What outcome did you expect instead?
> 
>Music coming out from the headphones.

Please check https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=912921


Elimar
-- 
  On the keyboard of life you have always
  to keep a finger at the escape key;-)


signature.asc
Description: PGP signature


Bug#913409: libasound2: plugging in RME ADI2-DAC causes pulseaudio to crash in libasound2

2018-11-10 Thread Florin Iucha
Package: libasound2
Version: 1.1.7-1
Severity: grave
Justification: renders package unusable

Dear Maintainer,

   * What led up to the situation?

   Purchased a new USB DAC. It worked fine last night, then this morning
   it is crashing pulseaudio every time it is attached / turned on.

   * What exactly did you do (or not do) that was effective (or
 ineffective)?

   Plug the USB DAC.

   * What was the outcome of this action?

   Nov 10 12:03:07 herakles kernel: do_general_protection: 10 callbacks 
suppressed
   Nov 10 12:03:07 herakles kernel: traps: pulseaudio[6311] general protection 
ip:7f8f3e557532 sp:7fff1aa8bb20 error:0 in 
libasound.so.2.0.0[7f8f3e51e000+8f000]

   * What outcome did you expect instead?

   Music coming out from the headphones.


-- System Information:
Debian Release: buster/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 4.18.0-2-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages libasound2 depends on:
ii  libasound2-data  1.1.7-1
ii  libc62.27-8

libasound2 recommends no packages.

Versions of packages libasound2 suggests:
ii  libasound2-plugins  1.1.7-2

-- no debconf information