Menu

#26 0.1.20 Crashes on Windows 10 1909 with Port Audio Exception 0x40000015

v1.0 (example)
open
crash (1)
5
2020-06-17
2020-04-23
No

Hello,

Verion 0.1.20 is crashing after a few seconds upon attempt to launch on Windows 10 1909. Previous versions work fine.

It appears to be an issue with libportaudio-2.dll. I attempted to copy the libportaudio-2.dll from both 0.1.19 and 0.1.18 versions to see if that would resolve it but it did not.

I also tried removing my "buttrc" roaming config just incase it was the cause.

From Event Viewer:

Faulting application name: butt.exe, version: 0.0.0.0, time stamp: 0x5e9efd88
Faulting module name: libportaudio-2.dll, version: 0.0.0.0, time stamp: 0x00000000
Exception code: 0x40000015
Fault offset: 0x000000000001f632
Faulting process id: 0x2608
Faulting application start time: 0x01d619167ecbe143
Faulting application path: C:\Users\User\AppData\Local\butt-0.1.20\butt.exe
Faulting module path: C:\Users\User\AppData\Local\butt-0.1.20\libportaudio-2.dll
Report Id: 60e1ff5b-eb0c-4ac4-9186-c9f9651f4761
Faulting package full name:
Faulting package-relative application ID:

Thanks!

Discussion

  • Daniel Nöthen

    Daniel Nöthen - 2020-04-23

    Hello, thanks for reporting this. Do you get the same error with the portaudio dlls from 0.1.18 and 0.1.19, or a different one?

     
  • Caleb Carges

    Caleb Carges - 2020-04-23

    No, with the swapped DLL I get "The application was unable to start correctly (0xc000007b)."

     
  • Daniel Nöthen

    Daniel Nöthen - 2020-04-23

    Ok, I switched the build environment between 0.1.19 and 0.1.20 and use the shipped portaudio dll from msys2. I will compile portaudio from source now with different build options and send them to you.

     
  • Caleb Carges

    Caleb Carges - 2020-04-23

    Thanks :)

     
  • Daniel Nöthen

    Daniel Nöthen - 2020-04-23

    Ok, let's try this one.

     
  • Caleb Carges

    Caleb Carges - 2020-04-23

    That works! 0.1.20 is now running smoothly with that dll, thanks!

     
  • Daniel Nöthen

    Daniel Nöthen - 2020-04-23

    Great, thanks! I will update the original setup.exe now.

    For all other people who stumble over this thread for some reason:
    It seems there are problems with the wasapi implementation in portaudio. Disabling support for wasapi solves the issue.

     
  • Caleb Carges

    Caleb Carges - 2020-04-23

    That's unfortunate as I remember some older versions handling WASAPI, which is also a better way to get bit-transparent audio through without the windows mixing engine getting involved or adding dither noise. Since that's sometimes important in my workflow I'll probably use older versions of BUTT on those machines for now, but a that's a topic for a seperate thread. Thanks again for the quick fix!

     

    Last edit: Caleb Carges 2020-04-23
  • Daniel Nöthen

    Daniel Nöthen - 2020-04-23

    I have looked into the portaudio git repo and and found many WASAPI related commits between the lastest stable from 2016 (which butt uses) until now. I have attached a version of the latest master. It has enabled support for wmme, wasapi, dsound and wdmks. Could you try this?

     

    Last edit: Daniel Nöthen 2020-04-23
  • Daniel Nöthen

    Daniel Nöthen - 2020-04-24

    Caleb and me were able to fix this. Thanks for your time Caleb!
    Now butt-0.1.20 for Windows contains a portaudio version from git master (799a6834a5) with enabled wmme, wasapi and dsound.

     

Log in to post a comment.

MongoDB Logo MongoDB