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

Windows crashes as soon as audio is played #11

Open
aguilaair opened this issue Nov 25, 2022 · 9 comments
Open

Windows crashes as soon as audio is played #11

aguilaair opened this issue Nov 25, 2022 · 9 comments
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@aguilaair
Copy link

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):

  • OS: Windows 11 Build 22621.819

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!
@aguilaair aguilaair added the bug Something isn't working label Nov 25, 2022
@gustoliveira
Copy link

I'm having this exact same error.

@niltonvasques
Copy link

Same crash happening here

@bdlukaa
Copy link
Owner

bdlukaa commented Dec 29, 2022

What version are you guys using?

@aguilaair
Copy link
Author

just_audio_windows: ^0.2.0

@bdlukaa
Copy link
Owner

bdlukaa commented Jan 14, 2023

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!

@bdlukaa bdlukaa added the help wanted Extra attention is needed label Jan 14, 2023
@sunilguptasg

This comment was marked as off-topic.

@kendginwff
Copy link

kendginwff commented Jun 14, 2023

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

@GiedreRaubaite
Copy link

The same issue ..

@bdlukaa
Copy link
Owner

bdlukaa commented Sep 16, 2024

I can not reproduce this issue locally on the /example app.

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

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

No branches or pull requests

7 participants