Menu

#24 Instant crash when starting playback

1.0
open
None
2022-07-25
2022-04-26
No

Hi,
I've got intrigued by your project so I went ahead and downloaded it and installed the plugin as described. It showed up in my Foobar and changed my output and to test it I tried playing a file. Foobar keeps crashing instantly after starting playback. I tried different files too, hi-res, normal CD quality.
Here's one of my crashlogs from the crashes: https://pastebin.com/SCe5MDH8

Thank you in advance for your help and hard work!

Related

Tickets: #24

Discussion

  • Didier Galardon

    Didier Galardon - 2022-05-01

    Hi,
    did you keep the default in advanced asio2 config ?
    just to know if it could come from your audio card, does it work with the standard asio plugin ?
    can you send me your log with trace level set to 1 ? (checkbox in asio2 advanced config)

    Best regards

     
  • Nemes Bálint

    Nemes Bálint - 2022-05-01

    Hey,
    Everything was on default, the standard asio plugin works perfectly with my DAC.

    Here is my log with trace level 1 as you requested : https://pastebin.com/51tL06gi

     
  • Didier Galardon

    Didier Galardon - 2022-05-01

    Could you try this changes in advanced config:
    first set the "Disable Asio config queries" checkbox then try .
    If it crashes again, reset the checkbox then change the following parameter: "Sample cache size (Mb") : use e.g. 32 instead of 1024, then try

     
  • Nemes Bálint

    Nemes Bálint - 2022-05-03

    I looked at my advanced config and there was no option to disable asio config queries.
    I tried setting sample cache size to 32, but it still crashed. Here is the crashlog: https://pastebin.com/5hHVmMTU

    I decided to revert to an older version to see if my problems persists and with the 1.1 beta2 with the patch I have zero problems and it works perfectly out of the box.

     
  • Didier Galardon

    Didier Galardon - 2022-05-03

    sorry. "Disable Asio config queries" is only in my debug version. it is not set anyway in 1.1beta2 version so I doubt it changes anything.
    However I see in your crash log that your asio driver is in version 1:
    "output_asio2_impl::open - asioVersion:2, driverVersion:1, Name:hdspfire, ErrorMessage:No ASIO Driver Error"
    There is some controls based on asioVersion and driverVersion in asio2 v2.0.x which didn't exist in asio2 v1.1beta2. That could be the cause of the crash.
    May be you could try to install a more recent version of your asio driver if any. If in version 2 or more, I think it will be OK.
    Otherwise I will provide you with a patch but not before the end of week.

     
  • Nemes Bálint

    Nemes Bálint - 2022-05-03

    I checked my driver and firmware and both are up to date according to their website, driver is compatible with ASIO 2.3. I think the best option is the patch but I will try to reinstall the driver at least.

     
  • Patricio Funes

    Patricio Funes - 2022-05-07

    Hi, Same issue here. Tried the same, checked the same as Nemes.
    https://pastebin.com/TyPtDZBX

     
  • Nemes Bálint

    Nemes Bálint - 2022-05-07

    Hey,
    Thank you very much for the patch, it works perfectly now!

     
  • Didier Galardon

    Didier Galardon - 2022-05-07

    Hi.
    good news ! thank you.
    I have uploaded the new version 2.0.2 with the fix.

     
  • Patricio Funes

    Patricio Funes - 2022-05-07

    IT WORKS! Thank you very much.

     
  • Nordfinn

    Nordfinn - 2022-06-18

    Tried the ASIO2 plug-in today. Sounds great, however, I get surprising crashes: If I try to use the Foobar volume slider (but no crash if I use the Windows volume control); also if I change output from another mode (e.g., default exclusive) to ASIO2 (but not if I go from ASIO 2 to default exclusive). Any idea what's going on? Thanks. N.

     
  • Didier Galardon

    Didier Galardon - 2022-06-19

    may you try the patch here:
    https://drive.google.com/file/d/1XoAp95sz6IMDvX_sRbfOiqZx8bfR9knL/view?usp=sharing

    it should fix the crash when changing volume.
    I cannot reproduce the other crash with output change.

     
    • Nordfinn

      Nordfinn - 2022-06-21

      Didier--
      Tried the patch (I assume the file belongs in the Components folder with the rest of the component .dll files?). Did not fix the problem. Instant crash when using Foobar volume slider.

      I'm on Windows 10 Pro, and using an EVGA NU Audio card.

      Thanks,
      David

       
      • Didier Galardon

        Didier Galardon - 2022-06-21

        David,
        Can you check if the patch is installed correctly ? the asio2 patch version should be 2.0.3 in the component view, as shown in the attached picture.
        If it is not an installation mistake, could you set the trace level to 1 in asio2 advanced options, then, after the crash occurs, send me the crash report files (i.e . failure_xxxxxx.dmp and failure_xxxxxx.txt files) ?
        could you send me a screen copy of your asio2 advanced options, if ever you changed them ?
        Thanks
        Didier

         
        • Nordfinn

          Nordfinn - 2022-06-22

          Didier--

          Perhaps the file in the link you provided above (https://drive.google.com/file/d/1XoAp95sz6IMDvX_sRbfOiqZx8bfR9knL/view?usp=sharing) is wrong? Once I added it to components, the version comes up as 2.0.2, not 2.0.3.

          David

           
          • Jean-Claude Peilloud

            Hi David

            I test also the patch but  the version is 2.0.3 on my computer

            Jean-Claude

            Le 22/06/2022 à 17:49, Nordfinn a écrit :

            Didier--

            Perhaps the file in the link you provided above
            (https://drive.google.com/file/d/1XoAp95sz6IMDvX_sRbfOiqZx8bfR9knL/view?usp=sharing)
            is wrong? Once I added it to components, the version comes up as
            2.0.2, not 2.0.3.

            David


            [tickets:#24]
            https://sourceforge.net/p/foobar2000-wasap2-output/tickets/24/
            Instant crash when starting playback

            Status: open
            Milestone: 1.0
            Created: Tue Apr 26, 2022 09:48 PM UTC by Nemes Bálint
            Last Updated: Tue Jun 21, 2022 05:01 PM UTC
            Owner: Didier Galardon

            Hi,
            I've got intrigued by your project so I went ahead and downloaded it
            and installed the plugin as described. It showed up in my Foobar and
            changed my output and to test it I tried playing a file. Foobar keeps
            crashing instantly after starting playback. I tried different files
            too, hi-res, normal CD quality.
            Here's one of my crashlogs from the crashes: https://pastebin.com/SCe5MDH8

            Thank you in advance for your help and hard work!


            Sent from sourceforge.net because you indicated interest in
            https://sourceforge.net/p/foobar2000-wasap2-output/tickets/24/

            To unsubscribe from further messages, please visit
            https://sourceforge.net/auth/subscriptions/

             

            Related

            Tickets: #24

          • Didier Galardon

            Didier Galardon - 2022-06-22

            David,

            the link is good.
            you have just to copy the foo_out_asio2.dll file in the component directory of your foobar instance then restart foobar.
            perhaps you have more than 1 foobar instance installed ? or 2 versions of foo_out_asio2.dll in your component directory with different names ?
            Anyway, you will fin the dll attached.

            Didier

             
            • Nordfinn

              Nordfinn - 2022-06-22

              Didier--

              Ok, thanks. That file worked (I now have 2.0.3 loaded). Sorry if the mistake was on my end earlier--can't explain it.
              I now can use the Foobar volume control without a problem. However, if I switch output from Foobar exclusive to ASIO2 (while streaming) I get an instant crash. Also, if I switch from ASIO2 to Foobar exclusive, I don't get a crash, but I get, for a while, a double output (like an echo), I assume until the cache runs out, perhaps? At any rate, not a clean switch from one to the other.
              I'll send a crash report sometime soon, if I can figure it out.
              Thanks,
              David

               
  • Jean-Claude Peilloud

    Hi Didier
    As I met some small problems with asio2, I test this last patch.
    The problem I met was that with 44100 and 48000 songs, foobar crashed when I use my Presonus studio 192 . So I need to resample to 88200 or 92000 to avoid crashing.
    With the new patch everything is OK.
    It was also necessary to keep foobar volume to 0 db to avoid foobar crash. With the new patch , I can change foobar volume without problems.
    I was also surprised by the audio quality. It was already very good but seems improved.
    Did you work on this subject ?
    Just another small remark :
    With another DAC, SMSL M500Mk2, I can use native DSD with DSD transcoder
    Everything is OK . there is only like a pink noise with the song. when phase is inverted .
    With Dop DSD, phase can be inverted without any noise.
    Thank you for this nice plugin !!

     
  • Didier Galardon

    Didier Galardon - 2022-06-20

    Hello Jean-Claude,
    Thank you for your feedback.
    Did you use the latest version before (2.0.2) ? The only difference between the patch and 2.0.2 version is the fix for volume control . There is nothing more regarding sound quality.
    your config with DSD transcoder is interesting. I did'nt know that it worked with asio2. By the way, I'm working on a new asio2 version and it will support native DSD if everything goes well.

    best regards

     
  • Jean-Claude Peilloud

    Hi Didier
    I confirm that I used the latest version (2.0.2)
    For Native DSD, I use the XMOS USB DAC Driver supplied by SMSL for the 500MK2 Dac.
    Without inverted phase, the result is perfect.
    With PCM or flac files, it's also possible to use the DSD Processor and after the transcoder. The result is also very good, slightly different from a basic PCM.
    Regards

     
  • Jean-Claude Peilloud

    Hi Didier
    About Asio2 ( 2.0.3 test version ) and foobar volume control, I meet a problem with SACD files:
    When starting a sacd ( Dop or Native ) with foobar volume at 0 ( full volume ) everything is OK except that If I change the volume , the cursor move but the volume stay full.
    When starting with volume decreased, the file is not read as SACD but PCM and the sound stay silent.
    Regards
    Jean-Claude

     
  • HansWurst

    HansWurst - 2022-07-25

    Confirmed. Same error on DSD file with Asio2 2.0.3. and 2.0.1 (with Super Audio CD Decoder 1.4.3..)

     
  • HansWurst

    HansWurst - 2022-07-25

    @Didier

    I know it sounds obsurd but:

    What did you change from 2.0.1 to 2.0.2/2.0.3?

    2.0.2/2.0.3. suddenly sounds different in comparison.
    What did you change quality wise?
    Is it the asio driver support < 2?

    I changed nothing but the foo_out_asio2.dll from 2.0.1 to 2.0.2/2.0.3 in my system and notice a different sound.

     

    Last edit: HansWurst 2022-07-27

Log in to post a comment.