bdlukaa / just_audio_windows

Audio Player
9 stars 14 forks source link

Windows crashes as soon as audio is played #11

Open aguilaair opened 1 year ago

aguilaair commented 1 year ago

Which API doesn't behave as documented, and how does it misbehave? .setAudioSource and .play()

Minimal reproduction project Provide a link here using one of two options:

https://github.com/aguilaair/just_audio/tree/minor/just_audio/example

To Reproduce (i.e. user steps, not code) Run app, crashes

Error messages

Launching lib\main.dart on Windows in debug mode...
lib\main.dart:1
Connecting to VM Service at ws://127.0.0.1:60047/i8qvas6k-44=/ws
000002ABD62412B8
Lost connection to device.
Exited (sigterm)

Expected behavior Audio plays

Screenshots If applicable, add screenshots to help explain your problem. imagen

Desktop (please complete the following information):

Flutter SDK version

[√] Flutter (Channel stable, 3.3.9, on Microsoft Windows [Version 10.0.22621.819], locale es-ES)
    • Flutter version 3.3.9 on channel stable at C:\Users\Eduardo\fvm\default
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision b8f7f1f986 (2 days ago), 2022-11-23 06:43:51 +0900
    • Engine revision 8f2221fbef
    • Dart version 2.18.5
    • DevTools version 2.15.0

[√] Android toolchain - develop for Android devices (Android SDK version 33.0.0)
    • Android SDK at C:\Users\Eduardo\AppData\Local\Android\sdk
    • Platform android-33, build-tools 33.0.0
    • Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 11.0.11+9-b60-7590822)
    • All Android licenses accepted.

[√] Chrome - develop for the web
    • Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe

[√] Visual Studio - develop for Windows (Visual Studio Community 2022 17.2.0)
    • Visual Studio at C:\Program Files\Microsoft Visual Studio\2022\Community
    • Visual Studio Community 2022 version 17.2.32505.173
    • Windows 10 SDK version 10.0.22000.0

[√] Android Studio (version 2021.1)
    • Android Studio at C:\Program Files\Android\Android Studio
    • Flutter plugin can be installed from:
       https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
       https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.11+9-b60-7590822)

[√] VS Code (version 1.73.1)
    • VS Code at C:\Users\Eduardo\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.48.0

[√] Connected device (3 available)
    • Windows (desktop) • windows • windows-x64    • Microsoft Windows [Version 10.0.22621.819]
    • Chrome (web)      • chrome  • web-javascript • Google Chrome 107.0.5304.107
    • Edge (web)        • edge    • web-javascript • Microsoft Edge 106.0.1370.47

[√] HTTP Host Availability
    • All required HTTP hosts are available

• No issues found!
gustoliveira commented 1 year ago

I'm having this exact same error.

niltonvasques commented 1 year ago

Same crash happening here

bdlukaa commented 1 year ago

What version are you guys using?

aguilaair commented 1 year ago

just_audio_windows: ^0.2.0

bdlukaa commented 1 year ago

I'd need the whole stacktrace to find the source of the issue. It can be found when running the app using Visual Studio. It'd help a lot if you guys could provide it, since I can not reproduce this!

sunilguptasg commented 1 year ago

I've reported a detailed error on just_audio and was redirected here. I have attached a sample file there - perhaps this is a related issue.

Please see https://github.com/ryanheise/just_audio/issues/975

kendginwff commented 1 year ago

you can not reproduce this beacase they debug in remote desktop , i reproduce this when using remote desktop debug !

GiedreRaubaite commented 1 month ago

The same issue ..