Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

2.3.4 crash in ucrtbase, possible issue with asio driver. #11426

Closed
hsn10 opened this issue Mar 31, 2023 · 7 comments
Closed

2.3.4 crash in ucrtbase, possible issue with asio driver. #11426

hsn10 opened this issue Mar 31, 2023 · 7 comments

Comments

@hsn10
Copy link

hsn10 commented Mar 31, 2023

Mine 2.3.4 crashing inside ucrtbase here is stack dump. Probably some problems with asio driver.
mixxx --safeMode --developer --disableVuMeterGL do not fix the problem.

safe mode should disable asio so program can still start even with problematic driver

ID vl Adresa           Na               Z                Veli Párty    Komentáře                                   
7908                                                                   
      0000005940D8B4B8 00007FFCDC6631D0 00007FFD1098286E A0   Uživatel ucrtbase.00007FFD1098286E
      0000005940D8B558 00007FFCDC63DBB2 00007FFCDC6631D0 570  Uživatel music maker asio.00007FFCDC6631D0
      0000005940D8BAC8 00007FFCDC633B8F 00007FFCDC63DBB2 1C0  Uživatel music maker asio.00007FFCDC63DBB2
      0000005940D8BC88 00007FFCDC639FB7 00007FFCDC633B8F 50   Uživatel music maker asio.00007FFCDC633B8F
      0000005940D8BCD8 00007FFCDEE4B361 00007FFCDC639FB7 30   Uživatel music maker asio.00007FFCDC639FB7
      0000005940D8BD08 00007FFCDEE486E5 00007FFCDEE4B361 30   Uživatel portaudio.00007FFCDEE4B361
      0000005940D8BD38 00007FFCDEE48321 00007FFCDEE486E5 1070 Uživatel portaudio.00007FFCDEE486E5
      0000005940D8CDA8 00007FFCDEE4AC69 00007FFCDEE48321 C0   Uživatel portaudio.00007FFCDEE48321
      0000005940D8CE68 00007FFCDEE43B5E 00007FFCDEE4AC69 40   Uživatel portaudio.00007FFCDEE4AC69
      0000005940D8CEA8 00007FFCDC63DBEB 00007FFCDEE43B5E 570  Uživatel portaudio.00007FFCDEE43B5E
      0000005940D8D418 00007FFCDC633B8F 00007FFCDC63DBEB 1C0  Uživatel music maker asio.00007FFCDC63DBEB
      0000005940D8D5D8 00007FFCDC639FB7 00007FFCDC633B8F 50   Uživatel music maker asio.00007FFCDC633B8F
      0000005940D8D628 00007FFCDEE4B361 00007FFCDC639FB7 30   Uživatel music maker asio.00007FFCDC639FB7
      0000005940D8D658 00007FFCDEE486E5 00007FFCDEE4B361 30   Uživatel portaudio.00007FFCDEE4B361
      0000005940D8D688 00007FFCDEE48321 00007FFCDEE486E5 1070 Uživatel portaudio.00007FFCDEE486E5
      0000005940D8E6F8 00007FFCDEE4AC69 00007FFCDEE48321 C0   Uživatel portaudio.00007FFCDEE48321
      0000005940D8E7B8 00007FFCDEE43B5E 00007FFCDEE4AC69 40   Uživatel portaudio.00007FFCDEE4AC69
      0000005940D8E7F8 00007FF66B77039C 00007FFCDEE43B5E F0   Uživatel portaudio.00007FFCDEE43B5E
      0000005940D8E8E8 00007FF66B7701AE 00007FF66B77039C 30   Uživatel mixxx.SoundManager::queryDevicesPortaudio+2C
      0000005940D8E918 00007FF66B76D2BC 00007FF66B7701AE 100  Uživatel mixxx.SoundManager::queryDevices+E
      0000005940D8EA18 00007FF66B743991 00007FF66B76D2BC 7F0  Uživatel mixxx.SoundManager::SoundManager+46C
      0000005940D8F208 00007FF66B73DB34 00007FF66B743991 C0   Uživatel mixxx.MixxxMainWindow::initialize+841
      0000005940D8F2C8 00007FF66B7393E9 00007FF66B73DB34 180  Uživatel mixxx.MixxxMainWindow::MixxxMainWindow+384
      0000005940D8F448 00007FF66B73972B 00007FF66B7393E9 2E0  Uživatel mixxx.`anonymous namespace'::runMixxx+19
      0000005940D8F728 00007FF66BB8CDE4 00007FF66B73972B 40   Uživatel mixxx.main+23B
      0000005940D8F768 00007FFD121D7614 00007FF66BB8CDE4 30   Systém   mixxx.__scrt_common_main_seh+10C
      0000005940D8F798 00007FFD130826A1 00007FFD121D7614 80   Systém   kernel32.00007FFD121D7614
      0000005940D8F818 0000000000000000 00007FFD130826A1      Uživatel ntdll.00007FFD130826A1
20864                                                                  
      00000059414FF468 00007FFD13082E17 00007FFD130D0B14 300  Systém   ntdll.00007FFD130D0B14
      00000059414FF768 00007FFD121D7614 00007FFD13082E17 30   Systém   ntdll.00007FFD13082E17
      00000059414FF798 00007FFD130826A1 00007FFD121D7614 80   Systém   kernel32.00007FFD121D7614
      00000059414FF818 0000000000000000 00007FFD130826A1      Uživatel ntdll.00007FFD130826A1
3100                                                                   
      00000059413FF8F8 00007FFD13082E17 00007FFD130D0B14 300  Systém   ntdll.00007FFD130D0B14
      00000059413FFBF8 00007FFD121D7614 00007FFD13082E17 30   Systém   ntdll.00007FFD13082E17
      00000059413FFC28 00007FFD130826A1 00007FFD121D7614 80   Systém   kernel32.00007FFD121D7614
      00000059413FFCA8 0000000000000000 00007FFD130826A1      Uživatel ntdll.00007FFD130826A1
1192                                                                   
      00000059416FF4A8 00007FFD13082E17 00007FFD130D0B14 300  Systém   ntdll.00007FFD130D0B14
      00000059416FF7A8 00007FFD121D7614 00007FFD13082E17 30   Systém   ntdll.00007FFD13082E17
      00000059416FF7D8 00007FFD130826A1 00007FFD121D7614 80   Systém   kernel32.00007FFD121D7614
      00000059416FF858 0000000000000000 00007FFD130826A1      Uživatel ntdll.00007FFD130826A1
14368                                                                  
      00000059410FF8A8 00007FFD13082E17 00007FFD130D0B14 300  Systém   ntdll.00007FFD130D0B14
      00000059410FFBA8 00007FFD121D7614 00007FFD13082E17 30   Systém   ntdll.00007FFD13082E17
      00000059410FFBD8 00007FFD130826A1 00007FFD121D7614 80   Systém   kernel32.00007FFD121D7614
      00000059410FFC58 0000000000000000 00007FFD130826A1      Uživatel ntdll.00007FFD130826A1
8540                                                                   
      00000059411FFB28 00007FFD13082E17 00007FFD130D0B14 300  Systém   ntdll.00007FFD130D0B14
      00000059411FFE28 00007FFD121D7614 00007FFD13082E17 30   Systém   ntdll.00007FFD13082E17
      00000059411FFE58 00007FFD130826A1 00007FFD121D7614 80   Systém   kernel32.00007FFD121D7614
      00000059411FFED8 0000000000000000 00007FFD130826A1      Uživatel ntdll.00007FFD130826A1
14824                                                                  
      00000059417FFA68 00007FFD13082E17 00007FFD130D0B14 300  Systém   ntdll.00007FFD130D0B14
      00000059417FFD68 00007FFD121D7614 00007FFD13082E17 30   Systém   ntdll.00007FFD13082E17
      00000059417FFD98 00007FFD130826A1 00007FFD121D7614 80   Systém   kernel32.00007FFD121D7614
      00000059417FFE18 0000000000000000 00007FFD130826A1      Uživatel ntdll.00007FFD130826A1
21896                                                                  
      00000059412FF8A8 00007FFD13082E17 00007FFD130D0B14 300  Systém   ntdll.00007FFD130D0B14
      00000059412FFBA8 00007FFD121D7614 00007FFD13082E17 30   Systém   ntdll.00007FFD13082E17
      00000059412FFBD8 00007FFD130826A1 00007FFD121D7614 80   Systém   kernel32.00007FFD121D7614
      00000059412FFC58 0000000000000000 00007FFD130826A1      Uživatel ntdll.00007FFD130826A1
22116                                                                  
      00000059415FF898 00007FFD10A60590 00007FFD130CDC14 2F0  Systém   ntdll.00007FFD130CDC14
      00000059415FFB88 00007FFD12C13426 00007FFD10A60590 290  Systém   kernelbase.00007FFD10A60590
      00000059415FFE18 00007FFD12C132A0 00007FFD12C13426 50   Systém   combase.00007FFD12C13426
      00000059415FFE68 00007FFD12C130B0 00007FFD12C132A0 60   Systém   combase.00007FFD12C132A0
      00000059415FFEC8 00007FFD12C13039 00007FFD12C130B0 30   Systém   combase.00007FFD12C130B0
      00000059415FFEF8 00007FFD121D7614 00007FFD12C13039 30   Systém   combase.00007FFD12C13039
      00000059415FFF28 00007FFD130826A1 00007FFD121D7614 80   Systém   kernel32.00007FFD121D7614
      00000059415FFFA8 0000000000000000 00007FFD130826A1      Uživatel ntdll.00007FFD130826A1
7684                                                                   
      00000059418FFC58 00007FFD10A3306E 00007FFD130CD144 A0   Systém   ntdll.00007FFD130CD144
      00000059418FFCF8 00007FFCD5E9B10B 00007FFD10A3306E 50   Uživatel kernelbase.00007FFD10A3306E
      00000059418FFD48 00007FFCD5E9B176 00007FFCD5E9B10B 30   Uživatel qt5core.00007FFCD5E9B10B
      00000059418FFD78 00007FF66B8578CC 00007FFCD5E9B176 60   Uživatel qt5core.00007FFCD5E9B176
      00000059418FFDD8 00007FFCD5E95FA1 00007FF66B8578CC 30   Uživatel mixxx.EngineWorkerScheduler::run+16C
      00000059418FFE08 00007FFD121D7614 00007FFCD5E95FA1 30   Systém   qt5core.00007FFCD5E95FA1
      00000059418FFE38 00007FFD130826A1 00007FFD121D7614 80   Systém   kernel32.00007FFD121D7614
      00000059418FFEB8 0000000000000000 00007FFD130826A1      Uživatel ntdll.00007FFD130826A1
17812                                                                  
      00000059419FF848 00007FFD10A3306E 00007FFD130CD144 A0   Systém   ntdll.00007FFD130CD144
      00000059419FF8E8 00007FFCD5E9B10B 00007FFD10A3306E 50   Uživatel kernelbase.00007FFD10A3306E
      00000059419FF938 00007FFCD5E9B176 00007FFCD5E9B10B 30   Uživatel qt5core.00007FFCD5E9B10B
      00000059419FF968 00007FF66B8119B1 00007FFCD5E9B176 210  Uživatel qt5core.00007FFCD5E9B176
      00000059419FFB78 00007FFCD5E95FA1 00007FF66B8119B1 30   Uživatel mixxx.EngineSideChain::run+1C1
      00000059419FFBA8 00007FFD121D7614 00007FFCD5E95FA1 30   Systém   qt5core.00007FFCD5E95FA1
      00000059419FFBD8 00007FFD130826A1 00007FFD121D7614 80   Systém   kernel32.00007FFD121D7614
      00000059419FFC58 0000000000000000 00007FFD130826A1      Uživatel ntdll.00007FFD130826A1

Originally posted by @hsn10 in #11342 (comment)

@JoergAtGithub
Copy link
Member

Does the same setup work with Mixxx 2.3.3 ?

@Aryan-Mishra24
Copy link

Disable ASIO driver in Mixxx (temporary workaround): If the problem persists, you can try disabling the ASIO driver in Mixxx to see if the software starts successfully. To do this, open Mixxx, navigate to Preferences > Sound Hardware, and change the Audio API to a different option (e.g., DirectSound or WASAPI on Windows).

@hsn10
Copy link
Author

hsn10 commented Apr 4, 2023

It crashes before you can even go to preferences. I am not using ASIO driver in mix for output.

Music maker installed its own ASIO driver and mixx is crashing while it is scanning for asio drivers.

@JoergAtGithub
Copy link
Member

@hsn10 Could you test if the issue still occurs with the following build (from #11451) : https://github.com/mixxxdj/mixxx/actions/runs/4637080755

@hsn10
Copy link
Author

hsn10 commented Apr 7, 2023

After I uninstalled Music Maker (and its driver), problem is fixed.

I do not plan to install MM back, download is very slow, it is several hours.
https://www.magix.com/int/music/music-maker/

@daschuer
Copy link
Member

Since we see this stack:
Mixxx -> Portaudio -> music maker -> Portaudio -> music maker -> crash
I assume the music maker does itself use Portaudio which leads to an recursive Loop

The recent Portaudio version has a protection against it:
PortAudio/portaudio#766
PortAudio/portaudio#809

I am quite sure it is fixed after #11426 is merged.

@daschuer daschuer added this to the 2.3.5 milestone Apr 14, 2023
@daschuer
Copy link
Member

Fixes since #11451

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants