spotube icon indicating copy to clipboard operation
spotube copied to clipboard

Spotube doesn't start under Windows 11

Open Giovix92 opened this issue 2 years ago • 17 comments

Describe the bug Spotube won't start under Windows 11, no matter from where I install it.

To Reproduce Steps to reproduce the behavior:

  1. Install it using winget or by downloading the .exe setup
  2. Try to open it

Expected behavior The application starts.

Installation Source/Method

  • Package manager: winget
  • Other: standard .exe setup

Desktop (please complete the following information):

  • OS: Windows 11 Pro, Insider Preview.
  • Version: 22610.1

Additional context Picked a little log from eventvwr, if this helps in any way.

  AppName spotube.exe 
  AppVersion 1.0.0.0 
  AppTimeStamp 62713c77 
  ModuleName spotube.exe 
  ModuleVersion 1.0.0.0 
  ModuleTimeStamp 62713c77 
  ExceptionCode c000041d 
  FaultingOffset 00000000000057e0 
  ProcessId 0x3714 
  ProcessCreationTime 0x1d86078abe6f515 
  AppPath C:\Program Files (x86)\Spotube\spotube.exe 
  ModulePath C:\Program Files (x86)\Spotube\spotube.exe 
  IntegratorReportId b50b7e96-74ee-4df5-a1db-95a2ca7372f3 
  PackageFullName  
  PackageRelativeAppId  

Thank you!

Giovix92 avatar May 05 '22 12:05 Giovix92

Does it show any kind of Error dialog? Like vcruntime.dll missing or something similar? If that's the case then please download & install Visual C++ Redistributable 2015 from official Microsoft website

KRTirtho avatar May 05 '22 16:05 KRTirtho

Nope, doesn't show any error. As far as I can tell, by looking at the task manager, the program starts and exits in 2/3 seconds. That's the strangest thing.

Giovix92 avatar May 05 '22 16:05 Giovix92

Do you have vcredist-x64 & vcredist-x86 installed?

KRTirtho avatar May 05 '22 16:05 KRTirtho

Yep, I guess so. image

Giovix92 avatar May 05 '22 19:05 Giovix92

So c000041d is a NTSTATUS exception code that indicates that this program has a thread related issue where there's a race condition I don't think Spotube can have thread issues as Dart/Flutter is single threaded & I'm also not using Dart isolates. Could be a issue occurring because of the Insider Preview build, not sure though

At this time, I can only advice you to uninstall the app & install the latest nightly build to see if that fixes the issue

KRTirtho avatar May 06 '22 02:05 KRTirtho

Tried yesterday's nightly, version 2.0.0+8, same issue

Giovix92 avatar May 06 '22 07:05 Giovix92

Same issue for me. Insider, beta channel, build 22621

dansauve avatar May 13 '22 18:05 dansauve

same for me on W10, it doesn't open or show any error. Have tried latest stable and nightly versions, anything I could try?

maxsubs avatar May 15 '22 15:05 maxsubs

@KRTirtho could you please check it out? I guess it's replicable also in a VM. If you need it, I can check if it happens also there.

Giovix92 avatar May 15 '22 19:05 Giovix92

properties->compatibility->run this program in compatibility for windows 8 It will solve this problem

Lucas-TY avatar May 17 '22 04:05 Lucas-TY

properties->compatibility->run this program in compatibility for windows 8 It will solve this problem

didn't work for me (W10) same thing

maxsubs avatar May 17 '22 11:05 maxsubs

I can't guarantee Spotube to run on unstable versions (beta, dev, insider preview) of Windows as I've not tested it on those platforms So the best way to investigate this issue is to build from source in Windows Insider Preview

Note: You'll need Visual Studio 2022 (with Desktop Development with C++) for developing Flutter on Windows for Windows

KRTirtho avatar May 17 '22 11:05 KRTirtho

properties->compatibility->run this program in compatibility for windows 8 It will solve this problem

This works for me on Windows 11 insider beta build 22621.1

dansauve avatar May 17 '22 12:05 dansauve

I'm not on any beta or unstable version of Windows, just Windows 10, I guess it should start, but it doesn't, even with compatibility mode turned on, I can't use the app on Android or Windows, any idea?

maxsubs avatar May 23 '22 13:05 maxsubs

Well, this issue could be rising from the underlying outdated Audio Engine Spotube was previously using. The Audio Engine has been changed in v2.3.0 which was just released. Can you guys update to the latest v2.3.0 & check if it works now?

Note: Chocolatey & Winget edition gets released after a while due to review processes. So directly use the .exe from the release

KRTirtho avatar Jul 11 '22 06:07 KRTirtho

Well, this issue could be rising from the underlying outdated Audio Engine Spotube was previously using. The Audio Engine has been changed in v2.3.0 which was just released. Can you guys update to the latest v2.3.0 & check if it works now?

Still doesn't load for me. Installed using x64 exe on Windows 11 build 22622.290

dansauve avatar Jul 11 '22 14:07 dansauve

I still cannot boot, I am on the latest beta of Windows 11 and have tried setting the compatibility version to Windows 8, 7, and Vista. I installed through Scoop.

dajix350 avatar Sep 16 '22 03:09 dajix350

Possible fix: https://github.com/fluttertools/sidekick/pull/261

karniv00l avatar Oct 07 '22 08:10 karniv00l

Do you know what was the reason that was causing this issue

KRTirtho avatar Oct 07 '22 13:10 KRTirtho

Don't know, looks like bitsdojo though

karniv00l avatar Oct 07 '22 17:10 karniv00l

But bitsdojo is already at latest version

KRTirtho avatar Oct 08 '22 04:10 KRTirtho

@dansauve @maxsubs @Giovix92 can you guys check with the latest nightly to see if it works now

KRTirtho avatar Oct 08 '22 04:10 KRTirtho

The latest release is running perfectly for me on Windows 11. I think this issue can be closed.

dajix350 avatar Nov 09 '22 07:11 dajix350