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

audio/out/ao_coreaudio_utils.c:453:nan outside of long long #14828

Open
6 tasks done
forthrin opened this issue Sep 10, 2024 · 0 comments
Open
6 tasks done

audio/out/ao_coreaudio_utils.c:453:nan outside of long long #14828

forthrin opened this issue Sep 10, 2024 · 0 comments

Comments

@forthrin
Copy link

mpv Information

mpv version: git-2024-09-08-e169302
FFmpeg version: git-2024-09-07-8a314e3
System Version: macOS 14.6.1 (23G93)
Model Identifier: MacBookAir10,1

Other Information

[ao/coreaudio] cannot get device latency (jbo[33]/560947818)
[ao/coreaudio] cannot get device latency (jbo[33]/560947818)
[ao/coreaudio] cannot get device latency (jbo[33]/560947818)
[ao/coreaudio] cannot get device sample rate, falling back to AO sample rate!(jbo[33]/560947818)
AV: 00:00:55.480 / 00:48:08.440 (2%) A-V:  0.000 Cache: 462s/150MB

^^ The above may be unrelated to the main issue below ^^

runtime error: nan is outside the range of representable values of type 'long long'
SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior audio/out/ao_coreaudio_utils.c:453:12

Reproduction Steps

Unknown

  • Never saw this before
  • Happened while playing a HLS video over https
  • May be related to fast-forwarding, which often causes "Packet corrupt" messages, etc.

https://github.com/mpv-player/mpv/blob/master/audio/out/ao_coreaudio_utils.c#L453

Expected Behavior

Graceful handling of nan, or resolution of core issue

Actual Behavior

Unhandled nan from unknown core source

Log File

N/A

Sample Files

No response

I carefully read all instruction and confirm that I did the following:

  • I tested with the latest mpv version to validate that the issue is not already fixed.
  • I provided all required information including system and mpv version.
  • I produced the log file with the exact same set of files, parameters, and conditions used in "Reproduction Steps", with the addition of --log-file=output.txt.
  • I produced the log file while the behaviors described in "Actual Behavior" were actively observed.
  • I attached the full, untruncated log file.
  • I attached the backtrace in the case of a crash.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
2 participants