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

Crash on Windows 10 Enterprise 2016 LTSB #35

Open
Veselchak-U opened this issue May 29, 2024 · 6 comments
Open

Crash on Windows 10 Enterprise 2016 LTSB #35

Veselchak-U opened this issue May 29, 2024 · 6 comments
Labels
bug Something isn't working

Comments

@Veselchak-U
Copy link

Veselchak-U commented May 29, 2024

Which API doesn't behave as documented, and how does it misbehave?
When calling the "AudioPlayer.setAudioSource()" method with any type of source in "Windows 10 Enterprise 2016 LTSB", the application crashes without any errors intercepted by Flutter. An error message appears in the Windows Application log - see below.

At the same time, mp3-files are normally started and played on the same Windows system via Windows Media Player.

Additional information: The "media-kit" library-based player also fails when trying to play in this Windows-version.
https://github.com/media-kit/media-kit/tree/main/media_kit_test
Therefore, there is a suspicion that some component in the system is missing.

Minimal reproduction project
The example.

To Reproduce (i.e. user steps, not code)
Steps to reproduce the behavior:

  1. Make Windows build based on the example project.
  2. Move the build to target Windows system and run.

Error messages

Log Name:      Application
Source:        Application Error
Date:          29-May-24 10:27:45 AM
Event ID:      1000
Task Category: (100)
Level:         Error
Keywords:      Classic
User:          N/A
Computer:      DESKTOP-LPMLSCR
Description:
Faulting application name: just_audio_example.exe, version: 1.0.0.0, time stamp: 0x6656ce36
Faulting module name: just_audio_windows_plugin.dll, version: 0.0.0.0, time stamp: 0x66564d48
Exception code: 0xc0000005
Fault offset: 0x0000000000007865
Faulting process id: 0x4f4
Faulting application start time: 0x01dab199b1d4d463
Faulting application path: Z:\just_audio_example\just_audio_example.exe
Faulting module path: Z:\just_audio_example\just_audio_windows_plugin.dll
Report Id: 44f0a0bb-c2ec-4775-9917-d304ca345eed
Faulting package full name: 
Faulting package-relative application ID: 
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
  <System>
    <Provider Name="Application Error" />
    <EventID Qualifiers="0">1000</EventID>
    <Level>2</Level>
    <Task>100</Task>
    <Keywords>0x80000000000000</Keywords>
    <TimeCreated SystemTime="2024-05-29T07:27:45.092241600Z" />
    <EventRecordID>1168</EventRecordID>
    <Channel>Application</Channel>
    <Computer>DESKTOP-LPMLSCR</Computer>
    <Security />
  </System>
  <EventData>
    <Data>just_audio_example.exe</Data>
    <Data>1.0.0.0</Data>
    <Data>6656ce36</Data>
    <Data>just_audio_windows_plugin.dll</Data>
    <Data>0.0.0.0</Data>
    <Data>66564d48</Data>
    <Data>c0000005</Data>
    <Data>0000000000007865</Data>
    <Data>4f4</Data>
    <Data>01dab199b1d4d463</Data>
    <Data>Z:\just_audio_example\just_audio_example.exe</Data>
    <Data>Z:\just_audio_example\just_audio_windows_plugin.dll</Data>
    <Data>44f0a0bb-c2ec-4775-9917-d304ca345eed</Data>
    <Data>
    </Data>
    <Data>
    </Data>
  </EventData>
</Event>

Expected behavior
Launching the app and playing music.

Screenshots
error_1
error_2
error_3

Desktop (please complete the following information):

  • OS: Windows 10 Enterprise 2016 LTSB, ver.1607
  • Browser: Google Chrome, version 125.0.6422.113 (Official Build) (64-bit)

Smartphone (please complete the following information):
None.

Flutter SDK version

[√] Flutter (Channel stable, 3.22.1, on Microsoft Windows [Version 10.0.19045.3570], locale en-EN)
[√] Windows Version (Installed version of Windows is version 10 or higher)
[√] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
[√] Chrome - develop for the web
[√] Visual Studio - develop Windows apps (Visual Studio Community 2022 17.9.5)
[√] Android Studio (version 2023.3)
[√] VS Code, 64-bit edition (version 1.86.2)
[√] Connected device (2 available)
[√] Network resources

• No issues found!

Additional context
Libs versions:

  • just_audio: 0.9.38
  • just_audio_windows: 0.2.1
  • audio_service: 0.18.13
@Veselchak-U Veselchak-U added the bug Something isn't working label May 29, 2024
@Veselchak-U
Copy link
Author

Additional information: The player based on the "audioplayers" library works fine in this version of Windows.

@bdlukaa
Copy link
Owner

bdlukaa commented May 31, 2024

Can you run the app with Visual Studio and get the stacktrace from there? These info aren't really useful.

@utpalruparel
Copy link

Hello,

We are getting same crash on windows 10 on some licenses. Is this resolved? any update on this?

@Veselchak-U
Copy link
Author

Hello,

We are getting same crash on windows 10 on some licenses. Is this resolved? any update on this?

Hello! There are no updates yet. We have switched to the "audio_service" package so far.

@utpalruparel
Copy link

Hello,
We are getting same crash on windows 10 on some licenses. Is this resolved? any update on this?

Hello! There are no updates yet. We have switched to the "audio_service" package so far.

Thanks for reply. Are you using it for Windows? Plugin not showing for windows.

@bdlukaa
Copy link
Owner

bdlukaa commented Sep 16, 2024

I do not own a Windows 10 Enterprise 2016 LTSB device, so I can not debug this issue.

Can you run the app with Visual Studio and get the stacktrace from there? Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants