<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <p>I confirm that the following steps (with a detour learning about
      sbuild) got my DAC working again.</p>
    <p><br>
    </p>
    <p>Thank you again Elimar and Michael!<br>
    </p>
    <p>florin</p>
    <p><br>
    </p>
    <div class="moz-cite-prefix">On 11/10/18 6:01 PM, Michael Stapelberg
      wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CANnVG6n9ZNweFUQfZG4TDZ+hzr5QqxA_ynyAj4D54QBRRHhRPg@mail.gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <div dir="ltr">
        <div dir="ltr">
          <div dir="ltr">
            <div dir="ltr">The steps I used to verify the patch were:
              <div><br>
              </div>
              <div>
                <div>% wget '<a
href="http://git.alsa-project.org/?p=alsa-plugins.git;a=patch;h=a4e7e1282c57a2f4e83afe9a4008042d8b4c5bb9"
                    moz-do-not-send="true">http://git.alsa-project.org/?p=alsa-plugins.git;a=patch;h=a4e7e1282c57a2f4e83afe9a4008042d8b4c5bb9</a>'
                  -O /tmp/alsa.patch</div>
              </div>
              <div>
                <div>% pk4 libasound2-plugins</div>
              </div>
              <div>
                <div>% patch -p1 < /tmp/alsa.patch</div>
                <div>% pk4-replace</div>
              </div>
            </div>
          </div>
        </div>
      </div>
      <br>
      <div class="gmail_quote">
        <div dir="ltr">On Sat, Nov 10, 2018 at 11:51 PM Florin Iucha
          <<a href="mailto:florin@iucha.net" moz-do-not-send="true">florin@iucha.net</a>>
          wrote:<br>
        </div>
        <blockquote class="gmail_quote" style="margin:0 0 0
          .8ex;border-left:1px #ccc solid;padding-left:1ex">
          <div text="#000000" bgcolor="#FFFFFF">
            <p>Elimar,</p>
            <p><br>
            </p>
            <p>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 <br>
            </p>
            <p><br>
            </p>
            <blockquote>
              <p>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<br>
                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<br>
                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<br>
                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<br>
                lorin/tools/pulseaudio/src/.libs -Wl,-rpath
                -Wl,/usr/local/lib/pulseaudio ./.libs/<a
                  href="http://libpulsecore-12.2.so" target="_blank"
                  moz-do-not-send="true">libpulsecore-12.2.so</a>
                ./.libs/<a href="http://libpulsecommon-12.2.so"
                  target="_blank" moz-do-not-send="true">libpulsecommon-12.2.so</a>
                ./.libs/libpulse.so -L/ho<br>
                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<br>
                  -g -O2   -Wl,-soname -Wl,libalsa-util.so -o
                .libs/libalsa-util.so     <br>
                /usr/bin/ld: .libs/libalsa-util.so: version node not
                found for symbol <a
                  class="m_-5159897508436145004moz-txt-link-abbreviated"
href="mailto:snd_ctl_elem_info_get_dimension@@ALSA_0.9.3"
                  target="_blank" moz-do-not-send="true">snd_ctl_elem_info_get_dimension@@ALSA_0.9.3</a></p>
            </blockquote>
            <p><br>
            </p>
            <p>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?<br>
            </p>
            <p><br>
            </p>
            <p>Thank you,<br>
            </p>
            <p>florin</p>
            <p><br>
            </p>
            <div class="m_-5159897508436145004moz-cite-prefix">On
              11/10/18 2:01 PM, Elimar Riesebieter wrote:<br>
            </div>
            <blockquote type="cite">
              <pre class="m_-5159897508436145004moz-quote-pre">Control: reassign -1 libasound2-plugins 1.1.7-2
Control: forcemerge 912921 -1

* Florin Iucha <a class="m_-5159897508436145004moz-txt-link-rfc2396E" href="mailto:florin@iucha.net" target="_blank" moz-do-not-send="true"><florin@iucha.net></a> [2018-11-10 12:12 -0500]:

</pre>
              <blockquote type="cite">
                <pre class="m_-5159897508436145004moz-quote-pre">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.
</pre>
              </blockquote>
              <pre class="m_-5159897508436145004moz-quote-pre">Please check <a class="m_-5159897508436145004moz-txt-link-freetext" href="https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=912921" target="_blank" moz-do-not-send="true">https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=912921</a>


Elimar
</pre>
            </blockquote>
          </div>
        </blockquote>
      </div>
      <br clear="all">
      <div><br>
      </div>
      -- <br>
      <div dir="ltr" class="gmail_signature"
        data-smartmail="gmail_signature">Best regards,<br>
        Michael</div>
    </blockquote>
  </body>
</html>