Closed abdelaziz-mahdy closed 3 months ago
Describe the bug crash while disposing of player
Expected behavior no crash
Log
Current executable set to '/Users/AbdelazizMahdy/flutter_projects/anime_here/build/macos/Build/Products/Debug/Anime Here.app' (arm64). (lldb) run Process 41611 launched: '/Users/AbdelazizMahdy/flutter_projects/anime_here/build/macos/Build/Products/Debug/Anime Here.app/Contents/MacOS/Anime Here' (arm64) objc[41611]: Class AVFFrameReceiver is implemented in both /opt/homebrew/Cellar/ffmpeg/7.0.2/lib/libavdevice.61.1.100.dylib (0x101dec3a8) and /Users/AbdelazizMahdy/flutter_projects/anime_here/build/macos/Build/Products/Debug/Anime Here.app/Contents/Frameworks/mdk.framework/Versions/A/libffmpeg.7.dylib (0x106e8cda0). One of the two will be used. Which one is undefined. objc[41611]: Class AVFAudioReceiver is implemented in both /opt/homebrew/Cellar/ffmpeg/7.0.2/lib/libavdevice.61.1.100.dylib (0x101dec3f8) and /Users/AbdelazizMahdy/flutter_projects/anime_here/build/macos/Build/Products/Debug/Anime Here.app/Contents/Frameworks/mdk.framework/Versions/A/libffmpeg.7.dylib (0x106e8cdf0). One of the two will be used. Which one is undefined. objc[41611]: Class AVFFrameReceiver is implemented in both /opt/homebrew/Cellar/ffmpeg/7.0.2/lib/libavdevice.61.1.100.dylib (0x101dec3a8) and /Users/AbdelazizMahdy/flutter_projects/anime_here/build/macos/Build/Products/Debug/Anime Here.app/Contents/Frameworks/libavdevice.framework/Versions/A/libavdevice (0x1005087f8). One of the two will be used. Which one is undefined. objc[41611]: Class AVFAudioReceiver is implemented in both /opt/homebrew/Cellar/ffmpeg/7.0.2/lib/libavdevice.61.1.100.dylib (0x101dec3f8) and /Users/AbdelazizMahdy/flutter_projects/anime_here/build/macos/Build/Products/Debug/Anime Here.app/Contents/Frameworks/libavdevice.framework/Versions/A/libavdevice (0x100508848). One of the two will be used. Which one is undefined. 0.29.0 (git 1920daa) - Multimedia Development Kit. Copyright (c) 2016-2024 WangBin(QtAV author) <wbsecg1 at gmail.com> Build for: macOS110000/14.6.1 16KB ARMv8 AArch64; libc++170006; Apple Clang15.0.0 (clang-1500.3.9.4); 13:38:32 Aug 18 2024 2024-08-22 17:52:14.899305-0300 Anime Here[41611:11219421] FFmpegKitFlutterPlugin 0x600002019560 created. 2024-08-22 17:52:14.926749-0300 Anime Here[41611:11219421] WARNING: Secure coding is automatically enabled for restorable state! However, not on all supported macOS versions of this application. Opt-in to secure coding explicitly by implementing NSApplicationDelegate.applicationSupportsSecureRestorableState:. flutter: The Dart VM service is listening on http://127.0.0.1:62099/CQjt8OHxxvo=/ flutter: FVP fvp.FINE: 17:52:15.130: registerVideoPlayerPlatformsWith: {platforms: [windows, linux, macos, android], player: {buffer: 2000+60000, demux.buffer.ranges: 8, demux.buffer.protocols: file,http,https}} flutter: FVP mdk.INFO: 17:52:15.466: 0.29.0 (git 1920daa) - Multimedia Development Kit. Copyright (c) 2016-2024 WangBin(QtAV author) <wbsecg1 at gmail.com> Build for: macOS110000/14.6.1 16KB ARMv8 AArch64; libc++170006; Apple Clang15.0.0 (clang-1500.3.9.4); 13:38:32 Aug 18 2024 flutter: FVP mdk.FINE: 17:52:15.466: global option: d3d11.sync.cpu = 1 flutter: FVP mdk.FINE: 17:52:15.466: global option: UserAddress = 0x122108028 flutter: FVP mdk.FINE: 17:52:15.466: global option: subtitle.fonts.file = /Users/AbdelazizMahdy/flutter_projects/anime_here/build/macos/Build/Products/Debug/Anime Here.app/Contents/MacOS/../Frameworks/App.framework/Resources/flutter_assets/assets/subfont.ttf flutter: onReady() 2024-08-22 17:52:20.178776-0300 Anime Here[41611:11219612] [StateRestoration] BOOL _NSPersistentUIDeleteItemAtFileURL(NSURL *const __strong) Failed to stat item: file:///Users/AbdelazizMahdy/Library/Saved%20Application%20State/com.zcreations.animeHere.savedState/restorecount.plist 2024-08-22 17:52:21.277820-0300 Anime Here[41611:11219611] [StateRestoration] BOOL _NSPersistentUIDeleteItemAtFileURL(NSURL *const __strong) Failed to stat item: file:///Users/AbdelazizMahdy/Library/Saved%20Application%20State/com.zcreations.animeHere.savedState/ Process 41611 exited with status = 0 (0x00000000) (lldb) exit AbdelazizMahdy@abdelazizs-MacBook-Pro Debug % lldb 'Anime Here.app' (lldb) target create "Anime Here.app" Current executable set to '/Users/AbdelazizMahdy/flutter_projects/anime_here/build/macos/Build/Products/Debug/Anime Here.app' (arm64). (lldb) run Process 43696 launched: '/Users/AbdelazizMahdy/flutter_projects/anime_here/build/macos/Build/Products/Debug/Anime Here.app/Contents/MacOS/Anime Here' (arm64) objc[43696]: Class AVFFrameReceiver is implemented in both /opt/homebrew/Cellar/ffmpeg/7.0.2/lib/libavdevice.61.1.100.dylib (0x101dec3a8) and /Users/AbdelazizMahdy/flutter_projects/anime_here/build/macos/Build/Products/Debug/Anime Here.app/Contents/Frameworks/mdk.framework/Versions/A/libffmpeg.7.dylib (0x106e8cda0). One of the two will be used. Which one is undefined. objc[43696]: Class AVFAudioReceiver is implemented in both /opt/homebrew/Cellar/ffmpeg/7.0.2/lib/libavdevice.61.1.100.dylib (0x101dec3f8) and /Users/AbdelazizMahdy/flutter_projects/anime_here/build/macos/Build/Products/Debug/Anime Here.app/Contents/Frameworks/mdk.framework/Versions/A/libffmpeg.7.dylib (0x106e8cdf0). One of the two will be used. Which one is undefined. objc[43696]: Class AVFFrameReceiver is implemented in both /opt/homebrew/Cellar/ffmpeg/7.0.2/lib/libavdevice.61.1.100.dylib (0x101dec3a8) and /Users/AbdelazizMahdy/flutter_projects/anime_here/build/macos/Build/Products/Debug/Anime Here.app/Contents/Frameworks/libavdevice.framework/Versions/A/libavdevice (0x1005087f8). One of the two will be used. Which one is undefined. objc[43696]: Class AVFAudioReceiver is implemented in both /opt/homebrew/Cellar/ffmpeg/7.0.2/lib/libavdevice.61.1.100.dylib (0x101dec3f8) and /Users/AbdelazizMahdy/flutter_projects/anime_here/build/macos/Build/Products/Debug/Anime Here.app/Contents/Frameworks/libavdevice.framework/Versions/A/libavdevice (0x100508848). One of the two will be used. Which one is undefined. 0.29.0 (git 1920daa) - Multimedia Development Kit. Copyright (c) 2016-2024 WangBin(QtAV author) <wbsecg1 at gmail.com> Build for: macOS110000/14.6.1 16KB ARMv8 AArch64; libc++170006; Apple Clang15.0.0 (clang-1500.3.9.4); 13:38:32 Aug 18 2024 2024-08-22 17:53:09.895446-0300 Anime Here[43696:11226758] FFmpegKitFlutterPlugin 0x600003582860 created. flutter: The Dart VM service is listening on http://127.0.0.1:62243/bWGaeKoLYV8=/ flutter: FVP fvp.FINE: 17:53:10.456: registerVideoPlayerPlatformsWith: {platforms: [windows, linux, macos, android], player: {buffer: 2000+60000, demux.buffer.ranges: 8, demux.buffer.protocols: file,http,https}} flutter: FVP mdk.INFO: 17:53:10.816: 0.29.0 (git 1920daa) - Multimedia Development Kit. Copyright (c) 2016-2024 WangBin(QtAV author) <wbsecg1 at gmail.com> Build for: macOS110000/14.6.1 16KB ARMv8 AArch64; libc++170006; Apple Clang15.0.0 (clang-1500.3.9.4); 13:38:32 Aug 18 2024 flutter: FVP mdk.FINE: 17:53:10.817: global option: d3d11.sync.cpu = 1 flutter: FVP mdk.FINE: 17:53:10.817: global option: UserAddress = 0x11ca08028 flutter: FVP mdk.FINE: 17:53:10.817: global option: subtitle.fonts.file = /Users/AbdelazizMahdy/flutter_projects/anime_here/build/macos/Build/Products/Debug/Anime Here.app/Contents/MacOS/../Frameworks/App.framework/Resources/flutter_assets/assets/subfont.ttf flutter: onReady() 2024-08-22 17:53:12.029631-0300 Anime Here[43696:11226758] WARNING: Secure coding is automatically enabled for restorable state! However, not on all supported macOS versions of this application. Opt-in to secure coding explicitly by implementing NSApplicationDelegate.applicationSupportsSecureRestorableState:. 2024-08-22 17:53:15.024615-0300 Anime Here[43696:11226925] [StateRestoration] BOOL _NSPersistentUIDeleteItemAtFileURL(NSURL *const __strong) Failed to stat item: file:///Users/AbdelazizMahdy/Library/Saved%20Application%20State/com.zcreations.animeHere.savedState/restorecount.plist 2024-08-22 17:53:15.024729-0300 Anime Here[43696:11226925] [StateRestoration] BOOL _NSPersistentUIDeleteItemAtFileURL(NSURL *const __strong) Failed to stat item: file:///Users/AbdelazizMahdy/Library/Saved%20Application%20State/com.zcreations.animeHere.savedState/restorecount.plist flutter: FVP fvp.FINE: 17:53:17.783: 312116560 player5509929920 create(https://acu5tifykrnh.cdn-jupiter.com/hls2/01/04740/dlwrah23z4un_,l,n,h,.urlset/index-f3-v1-a1.m3u8?t=AceAsyi-FSFMMKBNgYdQhQnSi-dQQ5bjIvwAijoX5o0&s=1724359996&e=129600&f=23703362&srv=rtj0thf2kbal&i=0.4&sp=500&p1=rtj0thf2kbal&p2=rtj0thf2kbal&asn=11260) 2024-08-22 17:53:17.812286-0300 Anime Here[43696:11226954] [plugin] AddInstanceForFactory: No factory registered for id <CFUUID 0x600003579620> F8BB1C28-BAE8-11D6-9C31-00039315CD46 flutter: FVP mdk.FINE: 17:53:17.835: default 0x1486d5130 new FrameReader... flutter: FVP mdk.FINE: 17:53:17.835: Registered audio backends: AudioQueue OpenAL null flutter: FVP mdk.FINE: 17:53:17.835: default 0x1486d57a0 new FrameReader... flutter: FVP mdk.FINE: 17:53:17.835: Registered audio backends: AudioQueue OpenAL null flutter: FVP mdk.FINE: 17:53:17.835: 0x1486cdde0 player.Player() flutter: FVP mdk.FINE: 17:53:17.835: 0x1486cdde0 player.onEvent(1, 0x1702c1210) flutter: FVP mdk.FINE: 17:53:17.835: 0x1486cdde0 player.onStateChanged(1) flutter: FVP mdk.FINE: 17:53:17.835: 0x1486cdde0 player.onMediaStatus(1) flutter: FVP mdk.FINE: 17:53:17.835: 0x1486cdde0 player property: video.decoder = shader_resource=0 flutter: FVP mdk.FINE: 17:53:17.835: 0x1486cdde0 player property: avformat.strict = experimental flutter: FVP mdk.FINE: 17:53:17.835: 0x1486cdde0 player property: avio.reconnect = 1 flutter: FVP mdk.FINE: 17:53:17.835: 0x1486cdde0 player property: avio.reconnect_delay_max = 7 flutter: FVP mdk.FINE: 17:53:17.835: 0x1486cdde0 player property: avio.protocol_whitelist = file,rtmp,http,https,tls,rtp,tcp,udp,crypto,httpproxy,data,concatf,concat,subfile flutter: FVP mdk.FINE: 17:53:17.835: 0x1486cdde0 player property: avformat.rtsp_transport = tcp flutter: FVP mdk.FINE: 17:53:17.835: 0x1486cdde0 player property: buffer = 2000+60000 flutter: FVP mdk.FINE: 17:53:17.835: 0x1486cdde0 player.setBufferRange(2000, 60000, 0) flutter: FVP mdk.FINE: 17:53:17.835: 0x1486cdde0 player property: demux.buffer.ranges = 8 flutter: FVP mdk.FINE: 17:53:17.835: 0x1486cdde0 player property: demux.buffer.protocols = file,http,https flutter: FVP mdk.FINE: 17:53:17.835: 0x1486cdde0 player.setDecoders(video, [VT, FFmpeg]) flutter: FVP mdk.FINE: 17:53:17.835: video decoders: "VT", "FFmpeg" flutter: FVP mdk.FINE: 17:53:17.835: video decoders: "VT", "FFmpeg" flutter: FVP mdk.FINE: 17:53:17.835: 0x1486cdde0 player property: avio.headers = Accept: */* Host: acu5tifykrnh.cdn-jupiter.com Origin: https://awish.pro Referer: https://awish.pro/ flutter: FVP mdk.FINE: 17:53:17.835: 0x1486cdde0 player.setMedia(https://acu5tifykrnh.cdn-jupiter.com/hls2/01/04740/dlwrah23z4un_,l,n,h,.urlset/index-f3-v1-a1.m3u8?t=AceAsyi-FSFMMKBNgYdQhQnSi-dQQ5bjIvwAijoX5o0&s=1724359996&e=129600&f=23703362&srv=rtj0thf2kbal&i=0.4&sp=500&p1=rtj0thf2kbal&p2=rtj0thf2kbal&asn=11260) flutter: FVP mdk.FINE: 17:53:17.835: default FrameReader0x1486d5130 state: 0=>0=>0, 0 flutter: FVP mdk.INFO: 17:53:17.835: default0x1486d5130 stop, current state: 0 flutter: FVP mdk.FINE: 17:53:17.836: AudioQueueStart ERROR: 0 flutter: FVP mdk.FINE: 17:53:17.836: default FrameReader0x1486d5130 state: 0=>0=>0, 0 flutter: FVP mdk.INFO: 17:53:17.836: default0x1486d5130 stop, current state: 0 flutter: FVP mdk.FINE: 17:53:17.836: 0x1486cdde0 player.prepare(0, ..., 1282) flutter: FVP mdk.FINE: 17:53:17.836: AudioQueueStart ERROR: 0 flutter: FVP mdk.INFO: 17:53:17.836: 0x31e8c2800 MediaControl.prepare(0, ...) https://acu5tifykrnh.cdn-jupiter.com/hls2/01/04740/dlwrah23z4un_,l,n,h,.urlset/index-f3-v1-a1.m3u8?t=AceAsyi-FSFMMKBNgYdQhQnSi-dQQ5bjIvwAijoX5o0&s=1724359996&e=129600&f=23703362&srv=rtj0thf2kbal&i=0.4&sp=500&p1=rtj0thf2kbal&p2=rtj0thf2kbal&asn=11260 flutter: FVP mdk.FINE: 17:53:17.836: default 0x1486d5130 FrameReader.start(0, ...) flutter: FVP mdk.FINE: 17:53:17.836: default 0x1486d5130 FrameReader::update MediaStatus 0=>0X2 flutter: FVP fvp.FINE: 17:53:17.837: 789503505 player5509929920 onMediaStatus: MediaStatus(noMedia) => MediaStatus(+loading) flutter: FVP mdk.FINE: 17:53:17.838: default FrameReader0x1486d5130 state: 0=>0=>1, 0 flutter: FVP mdk.FINE: 17:53:17.838: default FrameReader0x1486d5130 state: 0=>1=>1, 0 flutter: FVP mdk.FINE: 17:53:17.838: 0x1486d5130default FrameReader0x1486d5130 request to pause 1, loaded: 0.start frame reader thread: flutter: FVP mdk.FINE: 17:53:17.838: default FrameReader0x1486d5130 state: 0=>1=>2, 0 flutter: FVP mdk.FINE: 17:53:17.838: default FrameReader0x1486d5130 state requested: 2, current: 0 flutter: FVP mdk.FINE: 17:53:17.838: virtual void mdk::AudioBackendAudioQueue::pause(bool)138 ERROR>>> AudioQueuePause(queue_): 0x175e87000 flutter: FVP mdk.FINE: 17:53:17.838: -50 flutter: FVP mdk.FINE: 17:53:17.838: flutter: FVP mdk.FINE: 17:53:17.838: FFmpeg/Libav runtime git-2024-08-11-43cde54-avbuild flutter: FVP mdk.FINE: 17:53:17.838: Selected avutil runtime version: 59.34.100 (build: 59.34.100), license: LGPL version 2.1 or later flutter: FVP mdk.FINE: 17:53:17.838: Selected avutil runtime configuration: --extra-version=avbuild --disable-doc --disable-debug --disable-static --enable-shared --enable-runtime-cpudetect --disable-iamf --disable-vulkan --enable-libxml2 --disable-libxcb --disable-xlib --disable-postproc --enable-cross-compile --arch=arm64 --target-os=darwin --install_name_dir='@rpath' --cc=clang --enable-lto --enable-pic --extra-cflags='-I=/usr/include/libxml2 -arch arm64 -mmacosx-version-min=11.0' --extra-ldflags='-arch arm64 -mmacosx-version-min=11.0 -Wl,-dead_strip -Wl,-rpath,@loader_path -Wl,-rpath,@executable_path/../Frameworks -Wl,-rpath,@loader_path/Libraries -Wl,-rpath,@loader_path/../lib' --enable-small --disable-outdevs --disable-filters --disable-muxers --disable-encoders --disable-decoders --disable-demuxers --disable-protocols --enable-decoder='*sub*,movtext,*web*,aac*,ac3*,eac3*,alac*,ape,ass,ccaption,cfhd,cook,dca,dnxhd,exr,truehd,*yuv*,flv,flac,gif,h26[3-4]*,hevc*,hap,mp[1-3]*,prores,*[mj]peg*,mlp,mpl2,nellymoser,opus,pcm*,qtrle,*png*,tiff,rawvideo,rv*,sami,srt,ssa,v210*,vc1*,vorbis,vp[6-9]*,wm*,wrapped_avframe,av1*,ffv*' --enable-demuxer='*sub*,*ac3,*ac,*[mj]peg*,*web*,au,ape,ass,avi,concat,dnxhd,dts*,*dash*,*flv,gif,hls,h264,hevc,kux,matroska,mov,mp3,mxf,ogg,pcm*,rawvideo,rt*p,spdif,srt,vc1,v210*,wav,*pipe,image2,mlv,nsv,nut' --enable-encoder='*_at,aac,gif,h26[3-4]*,av1*,hevc*,mjpeg*,*png,opus,pcm*,prores*,rawvideo,spdif,speedhq,*jpeg,*png,vp[8-9]*,wrapped_avframe,ff*,*nvenc,*qsv,*v4l2m2m,*vaapi,vorbis,*yuv*' --enable-muxer='*jpeg,fifo,flv,gif,hls,h264,hevc,image2,mov,mp4,mpegts,matroska,null,pcm*,rawvideo,spdif,*pipe,*segment,webm,wav,dash,nu*,og*' --enable-filter='*null*,afade,*fifo,*format,*resample,aeval,atempo,pan,crop,eq*,framerate,hw*,scale,volume,allrgb,allyuv,*bars,color,test*,*key,draw*,*_qsv,*_vaapi,*v4l2*' --enable-protocol='cache,concat*,crypto*,data,fd,*file,ftp,h*,i*,pipe,rt*,s*,t*,u*' flutter: FVP mdk.FINE: 17:53:17.838: global option: ffmpeg.configuration = --extra-version=avbuild --disable-doc --disable-debug --disable-static --enable-shared --enable-runtime-cpudetect --disable-iamf --disable-vulkan --enable-libxml2 --disable-libxcb --disable-xlib --disable-postproc --enable-cross-compile --arch=arm64 --target-os=darwin --install_name_dir='@rpath' --cc=clang --enable-lto --enable-pic --extra-cflags='-I=/usr/include/libxml2 -arch arm64 -mmacosx-version-min=11.0' --extra-ldflags='-arch arm64 -mmacosx-version-min=11.0 -Wl,-dead_strip -Wl,-rpath,@loader_path -Wl,-rpath,@executable_path/../Frameworks -Wl,-rpath,@loader_path/Libraries -Wl,-rpath,@loader_path/../lib' --enable-small --disable-outdevs --disable-filters --disable-muxers --disable-encoders --disable-decoders --disable-demuxers --disable-protocols --enable-decoder='*sub*,movtext,*web*,aac*,ac3*,eac3*,alac*,ape,ass,ccaption,cfhd,cook,dca,dnxhd,exr,truehd,*yuv*,flv,flac,gif,h26[3-4]*,hevc*,hap,mp[1-3]*,prores,*[mj]peg*,mlp,mpl2,nellymoser,opus,pcm*,qtrle,*png*,tiff,rawvideo,rv*,sami,srt,ssa,v210*,vc1*,vorbis,vp[6-9]*,wm*,wrapped_avframe,av1*,ffv*' --enable-demuxer='*sub*,*ac3,*ac,*[mj]peg*,*web*,au,ape,ass,avi,concat,dnxhd,dts*,*dash*,*flv,gif,hls,h264,hevc,kux,matroska,mov,mp3,mxf,ogg,pcm*,rawvideo,rt*p,spdif,srt,vc1,v210*,wav,*pipe,image2,mlv,nsv,nut' --enable-encoder='*_at,aac,gif,h26[3-4]*,av1*,hevc*,mjpeg*,*png,opus,pcm*,prores*,rawvideo,spdif,speedhq,*jpeg,*png,vp[8-9]*,wrapped_avframe,ff*,*nvenc,*qsv,*v4l2m2m,*vaapi,vorbis,*yuv*' --enable-muxer='*jpeg,fifo,flv,gif,hls,h264,hevc,image2,mov,mp4,mpegts,matroska,null,pcm*,rawvideo,spdif,*pipe,*segment,webm,wav,dash,nu*,og*' --enable-filter='*null*,afade,*fifo,*format,*resample,aeval,atempo,pan,crop,eq*,framerate,hw*,scale,volume,allrgb,allyuv,*bars,color,test*,*key,draw*,*_qsv,*_vaapi,*v4l2*' --enable-protocol='cache,concat*,crypto*,data,fd,*file,ftp,h*,i*,pipe,rt*,s*,t*,u*' flutter: FVP mdk.FINE: 17:53:17.838: global option: ffmpeg.version = 7 flutter: FVP mdk.FINE: 17:53:17.838: av_dict_set0x106be99bc flutter: FVP mdk.FINE: 17:53:17.838: Selected avformat runtime version: 61.5.101 (build: 61.5.101), license: LGPL version 2.1 or later flutter: FVP mdk.FINE: 17:53:17.838: avformat_version0x106b2dc60 flutter: FVP mdk.FINE: 17:53:17.838: Trying MediaIO FFmpeg flutter: FVP mdk.FINE: 17:53:17.838: 0x600001ef0a80 open url: flutter: FVP mdk.FINE: 17:53:17.838: FFmpeg/Libav runtime git-2024-08-11-43cde54-avbuild flutter: FVP mdk.FINE: 17:53:18.664: 0x600001ef0a80 url opened flutter: FVP mdk.FINE: 17:53:18.664: Selected avcodec runtime version: 61.11.100 (build: 61.11.100), license: LGPL version 2.1 or later flutter: FVP mdk.FINE: 17:53:18.664: avcodec_descriptor_next0x106942d20 flutter: FVP mdk.FINE: 17:53:18.666: format adts is used for https://acu5tifykrnh.cdn-jupiter.com/hls2/01/04740/dlwrah23z4un_,l,n,h,.urlset/index-f3-v1-a1.m3u8?t=AceAsyi-FSFMMKBNgYdQhQnSi-dQQ5bjIvwAijoX5o0&s=1724359996&e=129600&f=23703362&srv=rtj0thf2kbal&i=0.4&sp=500&p1=rtj0thf2kbal&p2=rtj0thf2kbal&asn=11260 flutter: FVP mdk.FINE: 17:53:18.666: default 0x1486d5130 FrameReader::update MediaStatus 0X2=>0X2 flutter: FVP mdk.FINE: 17:53:18.666: 0x1487e0b10 avio set class flutter: FVP mdk.FINE: 17:53:18.666: before avformat_open_input. io: 0x600001ef0a80(FFmpeg)/pb: 0x1487e0b10, url: https://acu5tifykrnh.cdn-jupiter.com/hls2/01/04740/dlwrah23z4un_,l,n,h,.urlset/index-f3-v1-a1.m3u8?t=AceAsyi-FSFMMKBNgYdQhQnSi-dQQ5bjIvwAijoX5o0&s=1724359996&e=129600&f=23703362&srv=rtj0thf2kbal&i=0.4&sp=500&p1=rtj0thf2kbal&p2=rtj0thf2kbal&asn=11260 flutter: FVP mdk.FINE: 17:53:18.666: [FFmpeg:hls] Skip ('#EXT-X-ALLOW-CACHE:YES') flutter: FVP mdk.FINE: 17:53:18.666: [FFmpeg:hls] Skip ('#EXT-X-VERSION:3') flutter: FVP mdk.FINE: 17:53:18.780: [FFmpeg:hls] Opening 'https://acu5tifykrnh.cdn-jupiter.com/hls2/01/04740/dlwrah23z4un_,l,n,h,.urlset/seg-1-f3-v1-a1.ts?t=AceAsyi-FSFMMKBNgYdQhQnSi-dQQ5bjIvwAijoX5o0&s=1724359996&e=129600&f=23703362&srv=rtj0thf2kbal&i=0.4&sp=500&p1=rtj0thf2kbal&p2=rtj0thf2kbal&asn=11260' for reading flutter: FVP mdk.FINE: 17:53:19.435: [FFmpeg:hls] Opening 'https://acu5tifykrnh.cdn-jupiter.com/hls2/01/04740/dlwrah23z4un_,l,n,h,.urlset/seg-2-f3-v1-a1.ts?t=AceAsyi-FSFMMKBNgYdQhQnSi-dQQ5bjIvwAijoX5o0&s=1724359996&e=129600&f=23703362&srv=rtj0thf2kbal&i=0.4&sp=500&p1=rtj0thf2kbal&p2=rtj0thf2kbal&asn=11260' for reading flutter: wakelock: _count = 1 flutter: wakelock: _count = 0 flutter: FVP mdk.FINE: 17:53:20.391: after avformat_open_input. pb: 0x1487e0b10, iformat: 0x106e75180, context flags: 2097280, input format flags: 49664 flutter: FVP mdk.FINE: 17:53:20.391: unsupported avformat options: headers=Accept: */* Host: acu5tifykrnh.cdn-jupiter.com Origin: https://awish.pro Referer: https://awish.pro/ buffer.protocols=file,http,https rtsp_transport=tcp buffer.ranges=8 reconnect_delay_max=7 reconnect=1 flutter: FVP mdk.FINE: 17:53:20.391: supports 208 ffmpeg sw pixel formats. unsupported: uyyvyy411 rgb8 x2rgb10be x2bgr10be gbrap14be gbrap14le flutter: FVP mdk.FINE: 17:53:20.391: Unsupported stream type: data, codec: timed_id3 flutter: FVP mdk.INFO: 17:53:20.391: Format: hls, range: 101 +1449990ms, bitrate: 0, size: 0 Programs: Program id 0 Metadata: variant_bitrate: 0 Video: track 0 stream#0, range: 184 +0ms, frames: 0 codec: h264 tag: 0X1B profile: 100 level: 40, yuv420p, bpc:8, bpp:12(8,8,8), channels:(1,1,1), map: 0 1 2 0, bitrate: 0, 1920x1080, fps: 23.976, bframes: 2, primaries: BT709, trc: BT709, matrix: BT709, range: Limited extra data(43): 00 00 01 67 64 00 28 AC D9 40 78 02 27 E5 C0 5A 80 80 80 A0 00 10 B8 60 03 21 C4 C1 E3 06 32 C0 00 00 00 01 68 EB E2 CB 22 C0 00 Metadata: variant_bitrate: 0 Audio: track 0 stream#1, range: 101 +0ms, frames: 0 codec: aac tag: 0XF profile: 1 level: -99, sample size: 0/0, block align: 0, frame_size: 1024, f32p stereo(2) @44100Hz, bitrate: 0 Metadata: variant_bitrate: 0 flutter: FVP mdk.FINE: 17:53:20.391: 0x31e8c2800 prepared callback is invoked flutter: FVP mdk.FINE: 17:53:20.402: default 0x1486d5130 FrameReader::update MediaStatus 0X2=>0X4 flutter: FVP fvp.FINE: 17:53:20.402: 789503505 player5509929920 onMediaStatus: MediaStatus(+loading) => MediaStatus(+loaded) flutter: FVP mdk.INFO: 17:53:20.402: 0x1486d5130 ***buffering progress 0%*** flutter: FVP mdk.FINE: 17:53:20.402: default 0x1486d5130 FrameReader::update MediaStatus 0X4=>0X14 flutter: FVP mdk.FINE: 17:53:20.402: virtual void mdk::AudioBackendAudioQueue::pause(bool)138 ERROR>>> AudioQueuePause(queue_): -50 flutter: FVP mdk.FINE: 17:53:20.402: flutter: FVP fvp.FINE: 17:53:20.402: 789503505 player5509929920 onMediaStatus: MediaStatus(+loaded) => MediaStatus(+loaded+buffering) flutter: FVP mdk.INFO: 17:53:20.402: ++++++++++++BUFFERING START++++++++++++ flutter: FVP mdk.FINE: 17:53:20.402: flutter: FVP fvp.FINE: 17:53:20.402: 789503505 player5509929920 onEvent: reader.buffering - - 0 flutter: FVP mdk.FINE: 17:53:20.403: 0x6000007bbde0 cache: find stream seek result in ranges flutter: FVP mdk.FINE: 17:53:20.403: 0x6000007bbde0 cache: ranges 0/8: flutter: FVP mdk.FINE: 17:53:20.403: 0x6000007bbde0 cache: new range from video@0.101000 flutter: FVP mdk.FINE: 17:53:20.403: 0x6000007bbde0 cache: ranges 1/8: [0.101000, 0.101000], current: [0.101000, 0.101000] flutter: FVP fvp.FINE: 17:53:20.403: 789503505 player5509929920 onEvent: cache.ranges - - 1 flutter: FVP mdk.FINE: 17:53:20.403: default FrameReader0x1486d5130 state: 0=>2=>1, 1 flutter: FVP mdk.FINE: 17:53:20.403: default FrameReader0x1486d5130 update state: 0=>1 flutter: FVP fvp.FINE: 17:53:20.403: 789503505 player5509929920 onPlaybackStateChanged: PlaybackState.stopped => PlaybackState.playing flutter: FVP mdk.FINE: 17:53:20.403: 0x1486d5130 start to decode video#0 packet @0.184411/0.101000 pos: 376 flutter: FVP mdk.FINE: 17:53:20.403: default FrameReader0x1486d5130 state: 1=>1=>2, 1 flutter: FVP mdk.FINE: 17:53:20.403: default FrameReader0x1486d5130 update state: 1=>2 flutter: FVP fvp.FINE: 17:53:20.403: 789503505 player5509929920 onPlaybackStateChanged: PlaybackState.playing => PlaybackState.paused flutter: FVP mdk.FINE: 17:53:20.403: starting decode loop thread mdk.vdec0@0x1717cb000 flutter: FVP fvp.FINE: 17:53:20.403: 789503505 player5509929920 onEvent: thread.video - - 1 flutter: FVP mdk.FINE: 17:53:20.403: 0x1486d5130 video stream#0 starting decoding loop from decoder index 0... flutter: FVP mdk.FINE: 17:53:20.403: 0x1486d5130 start to decode audio#1 packet @0.101000/0.101000 pos: 2632 flutter: FVP mdk.FINE: 17:53:20.404: 0x1486d5130 creating video decoder: VT... flutter: FVP mdk.FINE: 17:53:20.404: 0x13871db18mdk::NativeVideoBufferPool::NativeVideoBufferPool() flutter: FVP mdk.FINE: 17:53:20.404: Try to use IOSurface OpenGL(ES) interop: true flutter: FVP mdk.INFO: 17:53:20.404: 0x1486d5130 opening video decoder: VT... flutter: FVP mdk.FINE: 17:53:20.404: starting decode loop thread mdk.adec1@0x172007000 flutter: FVP fvp.FINE: 17:53:20.404: 789503505 player5509929920 onEvent: thread.audio - - 1 flutter: FVP mdk.FINE: 17:53:20.404: 0x1486d5130 audio stream#1 starting decoding loop from decoder index 0... flutter: FVP mdk.FINE: 17:53:20.404: 0x1486d5130 creating audio decoder: auto... flutter: FVP mdk.INFO: 17:53:20.404: 0x1486d5130 opening audio decoder: FFmpeg... flutter: FVP mdk.FINE: 17:53:20.404: opening ffmpeg audio decoder: aac flutter: FVP mdk.FINE: 17:53:20.404: AVCodec.Audio[aac.] decoder: 1 Single threads flutter: FVP mdk.FINE: 17:53:20.404: aac f32p, stereo @44100Hz flutter: FVP fvp.FINE: 17:53:20.404: 789503505 player5509929920 onEvent: decoder.audio - FFmpeg - 0 flutter: FVP mdk.INFO: 17:53:20.404: 0x1486d5130 ***buffering progress 32%*** flutter: FVP fvp.FINE: 17:53:20.404: 789503505 player5509929920 onEvent: reader.buffering - - 32 flutter: FVP mdk.FINE: 17:53:20.404: 0x1486d5130 audio stream#1 sending 1 invalid AOT frame @0.101000s. seeking: 0 flutter: FVP mdk.FINE: 17:53:20.404: 0x31e8c2800 1st audio frame @0.101000 flutter: FVP mdk.INFO: 17:53:20.404: 0x31e8c2800 seek end audio frame @0.101000 seek_pos_: -1, sync_ao_ 1 flutter: FVP mdk.FINE: 17:53:20.404: Selected avfilter runtime version: 10.2.102 (build: 10.2.102), license: LGPL version 2.1 or later flutter: FVP mdk.FINE: 17:53:20.404: AudioRenderer format: f32, stereo @44100Hz, requested: f32p, stereo @44100Hz flutter: FVP mdk.FINE: 17:53:20.404: AudioRenderer format changed and reinitialize flutter: FVP mdk.FINE: 17:53:20.404: codec 'avc1' for VT flutter: FVP mdk.FINE: 17:53:20.420: 0x1486cddf0 setRenderAPI(3, 0x0) flutter: wakelock: _count = 1 flutter: wakelock: _count = 0 flutter: FVP mdk.FINE: 17:53:20.953: getVideoOutContext 0x0 => 0x6000037d2080. vo count: 1 flutter: FVP mdk.FINE: 17:53:20.953: 0x1486cddf0 setVideoSurfaceSize(1920x1080, 0x0) flutter: FVP mdk.FINE: 17:53:20.953: 0x1486cdde0 player.setLoop(0) flutter: FVP mdk.INFO: 17:53:20.953: setLoop(0), now 0/0 flutter: FVP mdk.FINE: 17:53:20.953: 0x1486cdde0 player.setVolume(1.000000, -1) flutter: FVP mdk.FINE: 17:53:20.953: 0x1486cdde0 player.set(2) flutter: FVP mdk.FINE: 17:53:20.953: 0x31e8c2800 virtual void mdk::MediaControlPush::setState(PlaybackState)@1068 requested state 2=>2, current state 2. status: 0X14 flutter: FVP mdk.FINE: 17:53:20.953: default FrameReader0x1486d5130 request to pause 1, loaded: 4. flutter: FVP mdk.FINE: 17:53:20.953: default FrameReader0x1486d5130 state: 2=>2=>2, 0 flutter: FVP mdk.FINE: 17:53:20.953: 0x1486cdde0 player.seek(1358000, 1026, ...) flutter: FVP mdk.INFO: 17:53:20.953: 0x31e8c2800-MediaControl::seek(pos: 1358000, flag:0X402 +FromStart). now: 0 flutter: FVP mdk.FINE: 17:53:20.953: default 0x1486d5130-FrameReader::seek(1358000, 0X402) flutter: FVP mdk.FINE: 17:53:20.953: default 0x1486d5130 FrameReader::update MediaStatus 0X14=>0X94 flutter: FVP fvp.FINE: 17:53:20.953: 789503505 player5509929920 onMediaStatus: MediaStatus(+loaded+buffering) => MediaStatus(+loaded+buffering+seeking) flutter: FVP mdk.FINE: 17:53:20.953: 0x1486d5130 default FrameReaderImpl::seekTo(1358000, 0X402 #1) flutter: FVP mdk.FINE: 17:53:20.953: 0x1486cdde0 player.set(1) flutter: FVP mdk.FINE: 17:53:20.953: 0x31e8c2800 virtual void mdk::MediaControlPush::setState(PlaybackState)@1068 requested state 2=>1, current state 2. status: 0X94 flutter: FVP mdk.FINE: 17:53:20.954: seekTo(1358000) found video stream#0 packet at -3 in [0.184411, 1.268411] s flutter: FVP mdk.FINE: 17:53:20.954: seekTo(1358000) found audio stream#1 packet at -3 in [0.124211, 0.797211] s flutter: FVP mdk.INFO: 17:53:20.954: 0x1486d5130 ***buffering progress 100%*** flutter: FVP mdk.FINE: 17:53:20.954: default 0x1486d5130 FrameReader::update MediaStatus 0X94=>0X1A4 flutter: FVP mdk.FINE: 17:53:20.954: VT hardware decode support: 1 flutter: FVP mdk.FINE: 17:53:20.954: NALU count: 2 flutter: FVP mdk.FINE: 17:53:20.954: 0: 3+30, SPS flutter: FVP mdk.FINE: 17:53:20.954: 1: 36+7, PPS flutter: FVP mdk.FINE: 17:53:20.954: <CMVideoFormatDescription 0x600003b608d0 [0x1eef6c8c0]> { mediaType:'vide' mediaSubType:'avc1' mediaSpecific: { codecType: 'avc1' dimensions: 1920 x 1080 } extensions: {{ CVFieldCount = 1; CVImageBufferChromaLocationBottomField = Left; CVImageBufferChromaLocationTopField = Left; CVImageBufferColorPrimaries = "ITU_R_709_2"; CVImageBufferTransferFunction = "ITU_R_709_2"; CVImageBufferYCbCrMatrix = "ITU_R_709_2"; CVPixelAspectRatio = { HorizontalSpacing = 1; VerticalSpacing = 1; }; FullRangeVideo = 0; SampleDescriptionExtensionAtoms = { avcC = {length = 52, bytes = 0x01640028 ffe1001e 67640028 acd94078 ... cb22c000 fdf8f800 }; }; }} } flutter: FVP mdk.FINE: 17:53:20.954: UsingHardwareAcceleratedVideoDecoder: 1 flutter: FVP fvp.FINE: 17:53:20.954: 789503505 player5509929920 onEvent: decoder.video - VT - 0 flutter: FVP mdk.FINE: 17:53:20.954: 0x1486d5130 decode stored recovery packets: 0 flutter: FVP mdk.INFO: 17:53:20.954: 0x1486d5130 ***buffering progress 0%*** flutter: FVP mdk.FINE: 17:53:20.954: default 0x1486d5130 FrameReader::update MediaStatus 0X1A4=>0X194 flutter: FVP mdk.FINE: 17:53:20.954: Using audio backend: AudioQueue flutter: FVP fvp.FINE: 17:53:20.954: 789503505 player5509929920 onMediaStatus: MediaStatus(+loaded+buffering+seeking) => MediaStatus(+loaded+prepared+buffered+seeking) flutter: FVP mdk.FINE: 17:53:20.954: default FrameReader0x1486d5130 request to pause 0, loaded: 4. flutter: FVP mdk.FINE: 17:53:20.954: ++++++++++++BUFFERING END++++++++++++ default FrameReader0x1486d5130 state: 2=>2=>1, 0 flutter: FVP mdk.FINE: 17:53:20.954: flutter: FVP mdk.FINE: 17:53:20.954: flutter: FVP fvp.FINE: 17:53:20.954: 789503505 player5509929920 onEvent: reader.buffering - - 100 flutter: FVP mdk.FINE: 17:53:20.954: default FrameReader0x1486d5130 state requested: 1, current: 2 flutter: FVP mdk.INFO: 17:53:20.954: virtual int64_t mdk::PacketIOWrapper::seek(int64_t, SeekFlag)@699 seek target(from 101): 1358000ms, flags: +FromStart. now: 1.310544 flutter: FVP mdk.FINE: 17:53:20.954: default 0x1486d5130 FrameReader::update MediaStatus 0X194=>0X194 flutter: FVP mdk.FINE: 17:53:20.954: 0x6000007bbde0 cache: seek 1358.000000 check range [0.101000, 1.268833] flutter: FVP mdk.FINE: 17:53:20.954: 0x6000007bbde0 cache: too few video key frames(1) in current range[0.101000, 1.268833], drop flutter: FVP mdk.FINE: 17:53:20.955: 0x6000007bbde0 cache: ranges 0/8: flutter: FVP mdk.FINE: 17:53:20.955: Seek start. target time: 1358101000 avseek flags: 1 flutter: FVP mdk.FINE: 17:53:20.955: Seek end flutter: FVP mdk.FINE: 17:53:20.955: 1 packets is read after seek. read more to get target pts flutter: FVP mdk.FINE: 17:53:20.955: [FFmpeg:hls] Opening 'https://acu5tifykrnh.cdn-jupiter.com/hls2/01/04740/dlwrah23z4un_,l,n,h,.urlset/seg-136-f3-v1-a1.ts?t=AceAsyi-FSFMMKBNgYdQhQnSi-dQQ5bjIvwAijoX5o0&s=1724359996&e=129600&f=23703362&srv=rtj0thf2kbal&i=0.4&sp=500&p1=rtj0thf2kbal&p2=rtj0thf2kbal&asn=11260' for reading flutter: FVP mdk.FINE: 17:53:20.955: 0x1486cdde0 player.setPlaybackRate(1.000000) flutter: FVP fvp.FINE: 17:53:20.955: 789503505 player5509929920 onMediaStatus: MediaStatus(+loaded+prepared+buffered+seeking) => MediaStatus(+loaded+prepared+buffering+seeking) flutter: FVP mdk.INFO: 17:53:20.955: ++++++++++++BUFFERING START++++++++++++ flutter: FVP mdk.FINE: 17:53:20.955: flutter: FVP fvp.FINE: 17:53:20.955: 789503505 player5509929920 onEvent: reader.buffering - - 0 flutter: FVP mdk.FINE: 17:53:20.955: 0x1486d5130 video stream#0 is seeking #1... got flush pkt. flush decoder and drop frames until seek target 1358.0970s... flutter: FVP mdk.FINE: 17:53:20.955: 0x31e8c2800 1st video frame to render @-1.000000s, sync time: 0.101000 flutter: FVP mdk.FINE: 17:53:20.955: invalid video frame @-1.000000 flutter: FVP mdk.FINE: 17:53:20.955: 0x31e8c2800 ao opened: 1, reopen: 1, bad ao: 0. valid: 0 flutter: FVP mdk.FINE: 17:53:20.956: 0x60000048af28 filter graph: flutter: FVP mdk.FINE: 17:53:20.956: +-----------+ | src |default--[44100Hz fltp:stereo]--swr:default | (abuffer) | +-----------+ +---------------+ swr:default--[44100Hz flt:stereo]--default| dst | | (abuffersink) | +---------------+ +-------------+ src:default--[44100Hz fltp:stereo]--default| swr |default--[44100Hz flt:stereo]--dst:default | (aresample) | +-------------+ flutter: FVP mdk.FINE: 17:53:20.956: seeking media's position is 1358000===== flutter: FVP mdk.FINE: 17:53:20.956: seeking media's position is 1358000===== flutter: FVP mdk.FINE: 17:53:21.297: seeking media's position is 1358000===== flutter: wakelock: _count = 1 flutter: FVP mdk.FINE: 17:53:21.391: 0x1486cdde0 player.set(1) flutter: FVP mdk.FINE: 17:53:21.391: 0x31e8c2800 virtual void mdk::MediaControlPush::setState(PlaybackState)@1068 requested state 1=>1, current state 2. status: 0X194 flutter: FVP mdk.FINE: 17:53:21.391: default FrameReader0x1486d5130 request to pause 0, loaded: 4. flutter: FVP mdk.FINE: 17:53:21.391: default FrameReader0x1486d5130 state: 2=>1=>1, 0 flutter: FVP mdk.FINE: 17:53:21.392: 0x1486cdde0 player.setPlaybackRate(1.000000) flutter: FVP mdk.FINE: 17:53:21.425: >>>>>>>>1st audio frame (after seek) rendered: 1, ao: 115, a: 100, delta: 15 +0.023220 flutter: FVP mdk.FINE: 17:53:21.425: 0x1486d5130 audio stream#1 AOT frame is sent flutter: FVP mdk.FINE: 17:53:21.618: [FFmpeg:hls] Opening 'https://acu5tifykrnh.cdn-jupiter.com/hls2/01/04740/dlwrah23z4un_,l,n,h,.urlset/seg-137-f3-v1-a1.ts?t=AceAsyi-FSFMMKBNgYdQhQnSi-dQQ5bjIvwAijoX5o0&s=1724359996&e=129600&f=23703362&srv=rtj0thf2kbal&i=0.4&sp=500&p1=rtj0thf2kbal&p2=rtj0thf2kbal&asn=11260' for reading flutter: FVP mdk.FINE: 17:53:21.895: seeking media's position is 1358000===== flutter: FVP mdk.FINE: 17:53:22.394: seeking media's position is 1358000===== flutter: FVP mdk.FINE: 17:53:22.894: seeking media's position is 1358000===== flutter: FVP mdk.FINE: 17:53:23.394: seeking media's position is 1358000===== flutter: FVP mdk.FINE: 17:53:23.895: seeking media's position is 1358000===== flutter: FVP mdk.FINE: 17:53:23.955: 0x6000007bbde0 cache: find stream seek result in ranges flutter: FVP mdk.FINE: 17:53:23.956: 0x6000007bbde0 cache: ranges 0/8: flutter: FVP mdk.FINE: 17:53:23.956: 0x6000007bbde0 cache: new range from video@1356.455978 flutter: FVP mdk.FINE: 17:53:23.956: 0x6000007bbde0 cache: ranges 1/8: [1356.455978, 1356.455978], current: [1356.455978, 1356.455978] flutter: FVP fvp.FINE: 17:53:23.956: 789503505 player5509929920 onEvent: cache.ranges - - 1 flutter: FVP mdk.FINE: 17:53:23.956: 1 packets is read after seek. seek result pts: 1356.539400s, requested: 1358101ms flutter: FVP mdk.FINE: 17:53:23.956: default 0x1486d5130 FrameReader::update MediaStatus 0X194=>0X114 flutter: FVP fvp.FINE: 17:53:23.956: 789503505 player5509929920 onMediaStatus: MediaStatus(+loaded+prepared+buffering+seeking) => MediaStatus(+loaded+prepared+buffering) flutter: FVP mdk.FINE: 17:53:23.956: seek_drop_non_video_: 1358097 ms, seek_wait_frame_: 0... flutter: FVP mdk.FINE: 17:53:23.956: default FrameReader0x1486d5130 state: 2=>1=>1, 1 flutter: FVP mdk.FINE: 17:53:23.956: default FrameReader0x1486d5130 update state: 2=>1 flutter: FVP fvp.FINE: 17:53:23.956: 789503505 player5509929920 onPlaybackStateChanged: PlaybackState.paused => PlaybackState.playing flutter: FVP mdk.FINE: 17:53:23.957: 0x1486d5130 audio stream#1 is seeking #1... got flush pkt. flush decoder and drop frames until seek target 1358.0970s... flutter: FVP mdk.FINE: 17:53:23.957: invalid audio frame @-1.000000 flutter: FVP mdk.FINE: 17:53:24.395: seeking media's position is 1358000===== flutter: FVP mdk.FINE: 17:53:24.790: 0x1486d5130 #1/1 video seek_done: 1, seek_wait_frame_: 0/0 flutter: FVP mdk.FINE: 17:53:24.791: 0x1486d5130 video stream#0 sending 1 invalid AOT frame @1358.082611s. seeking: 0 flutter: FVP mdk.FINE: 17:53:24.791: 0x31e8c2800 1st video frame to render @1358.082611s, sync time: 0.101000 flutter: FVP mdk.FINE: 17:53:24.791: VideoRenderer clear buffered frames flutter: FVP mdk.FINE: 17:53:24.791: 0-track seek end video frame @1358.082611 seek_pos_: 1358000 flutter: FVP mdk.FINE: 17:53:24.791: 0x31e8c2800 1st video frame to render @1358.082611s, sync time: 0.101000 flutter: FVP fvp.FINE: 17:53:24.791: 789503505 player5509929920 onEvent: video - size - 0 flutter: FVP mdk.FINE: 17:53:24.791: VideoRenderer WxH=1920.000000x1080.000000 1920.000000x1080.000000, frame: 1920x1080 flutter: FVP mdk.FINE: 17:53:24.791: update transform 2d. scale: (1.000000, 1.000000), orientation: 0 flutter: FVP mdk.FINE: 17:53:24.791: m: mat<4, 4>( flutter: FVP mdk.FINE: 17:53:24.791: 1 0 0 0 flutter: FVP mdk.FINE: 17:53:24.791: 0 1 0 0 flutter: FVP mdk.FINE: 17:53:24.791: 0 0 1 0 flutter: FVP mdk.FINE: 17:53:24.791: 0 0 0 1 flutter: FVP mdk.FINE: 17:53:24.791: ) flutter: FVP mdk.FINE: 17:53:24.791: unknown, bpc:0, bpp:0(), channels:(), map: 0 0 0 0 => mapped nv12, bpc:8, bpp:12(8,16), channels:(1,2), map: 0 1 2 0 flutter: FVP mdk.FINE: 17:53:24.791: Metal pixel format 0: MTLPixelFormatR8Unorm flutter: FVP mdk.FINE: 17:53:24.791: Metal pixel format 1: MTLPixelFormatRG8Unorm flutter: FVP mdk.FINE: 17:53:24.791: channel map: mat<4, 4>( flutter: FVP mdk.FINE: 17:53:24.792: 1 0 0 0 flutter: FVP mdk.FINE: 17:53:24.792: 0 1 0 0 flutter: FVP mdk.FINE: 17:53:24.792: 0 0 1 0 flutter: FVP mdk.FINE: 17:53:24.792: 0 0 0 1 flutter: FVP mdk.FINE: 17:53:24.792: ) flutter: FVP mdk.FINE: 17:53:24.792: frame format: nv12, bpc:8, bpp:12(8,16), channels:(1,2), map: 0 1 2 0 flutter: FVP mdk.FINE: 17:53:24.792: frame color: BT709 BT709 BT709 Limited. gamma: 2.200000, signal peak: 1.000000 flutter: FVP mdk.FINE: 17:53:24.792: - flutter: FVP mdk.FINE: 17:53:24.792: output color: BT709 UNSPECIFIED RGB Full. gamma: 2.200000, signal peak: 1.000000 flutter: FVP mdk.FINE: 17:53:24.792: rgb primaries matrix: mat<3, 3>( flutter: FVP mdk.FINE: 17:53:24.792: 1 0 0 flutter: FVP mdk.FINE: 17:53:24.792: 0 1 0 flutter: FVP mdk.FINE: 17:53:24.792: 0 0 1 flutter: FVP mdk.FINE: 17:53:24.792: ) flutter: FVP mdk.FINE: 17:53:24.792: scale: 1.000000, color transform: mat<4, 4>( flutter: FVP mdk.FINE: 17:53:24.792: 1.16438 0 1.79274 -0.972945 flutter: FVP mdk.FINE: 17:53:24.792: 1.16438 -0.213249 -0.532909 0.301483 flutter: FVP mdk.FINE: 17:53:24.792: 1.16438 2.1124 0 -1.1334 flutter: FVP mdk.FINE: 17:53:24.792: 0 0 0 1 flutter: FVP mdk.FINE: 17:53:24.792: ) flutter: FVP mdk.FINE: 17:53:24.792: EQ: mat<4, 4>( flutter: FVP mdk.FINE: 17:53:24.792: 1 0 0 0 flutter: FVP mdk.FINE: 17:53:24.792: 0 1 0 0 flutter: FVP mdk.FINE: 17:53:24.792: 0 0 1 0 flutter: FVP mdk.FINE: 17:53:24.792: 0 0 0 1 flutter: FVP mdk.FINE: 17:53:24.792: ) flutter: FVP mdk.FINE: 17:53:24.792: shader id: 2321 flutter: FVP mdk.FINE: 17:53:24.792: dump UBO layout: align @offset +size /stride address name ~ path: type -> parent 16@0 +64/16 0x60000168d698 u_colorMatrix ~ u_colorMatrix: mat4 -> 0x0 flutter: FVP fvp.FINE: 17:53:24.793: 789503505 player5509929920 onEvent: render.video - 1st_frame - 1358082 flutter: FVP mdk.FINE: 17:53:24.793: 0x1486d5130 video stream#0 AOT frame is sent flutter: FVP mdk.FINE: 17:53:24.856: default FrameReader0x1486d5130 #1 seekComplete 1358082 flutter: FVP mdk.FINE: 17:53:24.856: default 0x1486d5130 FrameReader::update MediaStatus 0X114=>0X114 flutter: FVP mdk.FINE: 17:53:24.856: default FrameReader 0x1486d5130 callbacks 0, seeking 0 flag 0, seekComplete#1 @1358082 flutter: FVP mdk.INFO: 17:53:24.982: 0x1486d5130 ***buffering progress 12%*** flutter: FVP fvp.FINE: 17:53:24.982: 789503505 player5509929920 onEvent: reader.buffering - - 12 flutter: FVP mdk.INFO: 17:53:24.983: 0x1486d5130 ***buffering progress 22%*** flutter: FVP fvp.FINE: 17:53:24.983: 789503505 player5509929920 onEvent: reader.buffering - - 22 flutter: FVP mdk.FINE: 17:53:24.983: 0x1486d5130 #1/1 audio seek_done: 1, seek_wait_frame_: -1/1 flutter: FVP mdk.FINE: 17:53:24.983: 0x1486d5130 audio stream#1 sending 1 invalid AOT frame @1358.096833s. seeking: 0 flutter: FVP mdk.INFO: 17:53:24.984: 0x31e8c2800 seek end audio frame @1358.096833 seek_pos_: -1, sync_ao_ 1 flutter: FVP mdk.FINE: 17:53:25.012: >>>>>>>>1st audio frame (after seek) rendered: 1, ao: 1358111, a: 1358096, delta: 15 +0.023220 flutter: FVP mdk.FINE: 17:53:25.013: 0x1486d5130 audio stream#1 AOT frame is sent flutter: FVP mdk.FINE: 17:53:25.044: default FrameReader0x1486d5130 #1 seekComplete 1358096 flutter: FVP mdk.FINE: 17:53:25.044: default 0x1486d5130 FrameReader::update MediaStatus 0X114=>0X114 flutter: FVP mdk.FINE: 17:53:25.044: default FrameReader 0x1486d5130 callbacks 0, seeking: 0, seekComplete#1 not found @1358096 flutter: FVP mdk.INFO: 17:53:25.047: 0x1486d5130 ***buffering progress 25%*** flutter: FVP fvp.FINE: 17:53:25.047: 789503505 player5509929920 onEvent: reader.buffering - - 25 flutter: FVP mdk.INFO: 17:53:25.238: 0x1486d5130 ***buffering progress 56%*** flutter: FVP fvp.FINE: 17:53:25.238: 789503505 player5509929920 onEvent: reader.buffering - - 56 flutter: FVP mdk.INFO: 17:53:25.309: 0x1486d5130 ***buffering progress 59%*** flutter: FVP fvp.FINE: 17:53:25.309: 789503505 player5509929920 onEvent: reader.buffering - - 59 flutter: FVP mdk.INFO: 17:53:25.560: 0x1486d5130 ***buffering progress 95%*** flutter: FVP fvp.FINE: 17:53:25.560: 789503505 player5509929920 onEvent: reader.buffering - - 95 flutter: FVP mdk.INFO: 17:53:25.945: 0x1486d5130 ***buffering progress 100%*** flutter: FVP mdk.FINE: 17:53:25.945: default 0x1486d5130 FrameReader::update MediaStatus 0X114=>0X124 flutter: FVP fvp.FINE: 17:53:25.946: 789503505 player5509929920 onMediaStatus: MediaStatus(+loaded+prepared+buffering) => MediaStatus(+loaded+prepared+buffered) flutter: FVP mdk.INFO: 17:53:25.946: ++++++++++++BUFFERING END++++++++++++ flutter: FVP mdk.FINE: 17:53:25.946: flutter: FVP fvp.FINE: 17:53:25.946: 789503505 player5509929920 onEvent: reader.buffering - - 100 flutter: FVP mdk.FINE: 17:53:26.204: [FFmpeg:https] Opening 'https://acu5tifykrnh.cdn-jupiter.com/hls2/01/04740/dlwrah23z4un_,l,n,h,.urlset/seg-138-f3-v1-a1.ts?t=AceAsyi-FSFMMKBNgYdQhQnSi-dQQ5bjIvwAijoX5o0&s=1724359996&e=129600&f=23703362&srv=rtj0thf2kbal&i=0.4&sp=500&p1=rtj0thf2kbal&p2=rtj0thf2kbal&asn=11260' for reading flutter: wakelock: _count = 0 flutter: FVP mdk.FINE: 17:53:28.647: 0x1486cdde0 player.set(2) flutter: FVP mdk.FINE: 17:53:28.648: 0x31e8c2800 virtual void mdk::MediaControlPush::setState(PlaybackState)@1068 requested state 1=>2, current state 1. status: 0X124 flutter: FVP mdk.FINE: 17:53:28.655: default FrameReader0x1486d5130 request to pause 1, loaded: 4. flutter: FVP mdk.FINE: 17:53:28.655: default FrameReader0x1486d5130 state: 1=>1=>2, 0 flutter: FVP mdk.FINE: 17:53:28.655: default FrameReader0x1486d5130 state requested: 2, current: 1 flutter: FVP mdk.FINE: 17:53:28.716: default FrameReader0x1486d5130 state: 1=>2=>2, 1 flutter: FVP mdk.FINE: 17:53:28.716: default FrameReader0x1486d5130 update state: 1=>2 flutter: FVP fvp.FINE: 17:53:28.716: 789503505 player5509929920 onPlaybackStateChanged: PlaybackState.playing => PlaybackState.paused flutter: FVP mdk.FINE: 17:53:28.921: 0x1486cdde0 player.set(2) Process 43696 stopped * thread #1, queue = 'com.apple.main-thread', stop reason = EXC_BREAKPOINT (code=1, subcode=0x1821b8064) frame #0: 0x00000001821b8064 CoreFoundation`CFRelease.cold.1 + 16 CoreFoundation`CFRelease.cold.1: -> 0x1821b8064 <+16>: brk #0x1 CoreFoundation`: 0x1821b8068 <+0>: adrp x8, 428 0x1821b806c <+4>: add x8, x8, #0xad2 ; "*** __CFStringCollectionCopy() called with NULL ***" 0x1821b8070 <+8>: adrp x9, 426220 Target 0: (Anime Here) stopped.
this is the detailed crash log
------------------------------------- Translated Report (Full Report Below) ------------------------------------- Process: Anime Here [97019] Path: /Applications/Anime Here.app/Contents/MacOS/Anime Here Identifier: com.zcreations.animeHere Version: 3.5.58 (1) Code Type: ARM-64 (Native) Parent Process: launchd [1] User ID: 501 Date/Time: 2024-08-22 17:44:00.5492 -0300 OS Version: macOS 14.6.1 (23G93) Report Version: 12 Anonymous UUID: C93CF81F-0088-6CF1-B8D3-6692EB01CC16 Sleep/Wake UUID: 1CD4B775-4C27-40BE-A689-04CCA2F17DC6 Time Awake Since Boot: 200000 seconds Time Since Wake: 7672 seconds System Integrity Protection: enabled Crashed Thread: 0 Dispatch queue: com.apple.main-thread Exception Type: EXC_BREAKPOINT (SIGTRAP) Exception Codes: 0x0000000000000001, 0x00000001821b8064 Termination Reason: Namespace SIGNAL, Code 5 Trace/BPT trap: 5 Terminating Process: exc handler [97019] Application Specific Information: *** CFRelease() called with NULL *** Thread 0 Crashed:: Dispatch queue: com.apple.main-thread 0 CoreFoundation 0x1821b8064 CFRelease.cold.1 + 16 1 CoreFoundation 0x181fd9e38 CFRelease + 132 2 fvp 0x100ab2ac0 -[MetalTexture dealloc] + 36 (FvpPlugin.mm:65) 3 fvp 0x100ab3bdc TexturePlayer::~TexturePlayer() + 124 (FvpPlugin.mm:108) 4 fvp 0x100ab3c50 std::__1::__shared_count::__release_shared[abi:ue170006]() + 32 (shared_ptr.h:173) [inlined] 5 fvp 0x100ab3c50 std::__1::__shared_weak_count::__release_shared[abi:ue170006]() + 32 (shared_ptr.h:214) [inlined] 6 fvp 0x100ab3c50 std::__1::shared_ptr<TexturePlayer>::~shared_ptr[abi:ue170006]() + 56 (shared_ptr.h:773) 7 fvp 0x100ab411c std::__1::shared_ptr<TexturePlayer>::~shared_ptr[abi:ue170006]() + 4 (shared_ptr.h:771) [inlined] 8 fvp 0x100ab411c std::__1::pair<long long const, std::__1::shared_ptr<TexturePlayer>>::~pair() + 8 (pair.h:81) [inlined] 9 fvp 0x100ab411c std::__1::pair<long long const, std::__1::shared_ptr<TexturePlayer>>::~pair() + 8 (pair.h:81) [inlined] 10 fvp 0x100ab411c void std::__1::__destroy_at[abi:ue170006]<std::__1::pair<long long const, std::__1::shared_ptr<TexturePlayer>>, 0>(std::__1::pair<long long const, std::__1::shared_ptr<TexturePlayer>>*) + 8 (construct_at.h:69) [inlined] 11 fvp 0x100ab411c void std::__1::destroy_at[abi:ue170006]<std::__1::pair<long long const, std::__1::shared_ptr<TexturePlayer>>, 0>(std::__1::pair<long long const, std::__1::shared_ptr<TexturePlayer>>*) + 8 (construct_at.h:104) [inlined] 12 fvp 0x100ab411c void std::__1::allocator_traits<std::__1::allocator<std::__1::__hash_node<std::__1::__hash_value_type<long long, std::__1::shared_ptr<TexturePlayer>>, void*>>>::destroy[abi:ue170006]<std::__1::pair<long long const, std::__1::shared_ptr<TexturePlayer>>, void, void>(std::__1::allocator<std::__1::__hash_node<std::__1::__hash_value_type<long long, std::__1::shared_ptr<TexturePlayer>>, void*>>&, std::__1::pair<long long const, std::__1::shared_ptr<TexturePlayer>>*) + 8 (allocator_traits.h:323) [inlined] 13 fvp 0x100ab411c std::__1::__hash_node_destructor<std::__1::allocator<std::__1::__hash_node<std::__1::__hash_value_type<long long, std::__1::shared_ptr<TexturePlayer>>, void*>>>::operator()[abi:ue170006](std::__1::__hash_node<std::__1::__hash_value_type<long long, std::__1::shared_ptr<TexturePlayer>>, void*>*) + 16 (__hash_table:674) [inlined] 14 fvp 0x100ab411c std::__1::unique_ptr<std::__1::__hash_node<std::__1::__hash_value_type<long long, std::__1::shared_ptr<TexturePlayer>>, void*>, std::__1::__hash_node_destructor<std::__1::allocator<std::__1::__hash_node<std::__1::__hash_value_type<long long, std::__1::shared_ptr<TexturePlayer>>, void*>>>>::reset[abi:ue170006](std::__1::__hash_node<std::__1::__hash_value_type<long long, std::__1::shared_ptr<TexturePlayer>>, void*>*) + 40 (unique_ptr.h:300) 15 fvp 0x100ab4170 std::__1::unique_ptr<std::__1::__hash_node<std::__1::__hash_value_type<long long, std::__1::shared_ptr<TexturePlayer>>, void*>, std::__1::__hash_node_destructor<std::__1::allocator<std::__1::__hash_node<std::__1::__hash_value_type<long long, std::__1::shared_ptr<TexturePlayer>>, void*>>>>::~unique_ptr[abi:ue170006]() + 12 (unique_ptr.h:266) [inlined] 16 fvp 0x100ab4170 std::__1::unique_ptr<std::__1::__hash_node<std::__1::__hash_value_type<long long, std::__1::shared_ptr<TexturePlayer>>, void*>, std::__1::__hash_node_destructor<std::__1::allocator<std::__1::__hash_node<std::__1::__hash_value_type<long long, std::__1::shared_ptr<TexturePlayer>>, void*>>>>::~unique_ptr[abi:ue170006]() + 12 (unique_ptr.h:266) [inlined] 17 fvp 0x100ab4170 std::__1::__hash_table<std::__1::__hash_value_type<long long, std::__1::shared_ptr<TexturePlayer>>, std::__1::__unordered_map_hasher<long long, std::__1::__hash_value_type<long long, std::__1::shared_ptr<TexturePlayer>>, std::__1::hash<long long>, std::__1::equal_to<long long>, true>, std::__1::__unordered_map_equal<long long, std::__1::__hash_value_type<long long, std::__1::shared_ptr<TexturePlayer>>, std::__1::equal_to<long long>, std::__1::hash<long long>, true>, std::__1::allocator<std::__1::__hash_value_type<long long, std::__1::shared_ptr<TexturePlayer>>>>::erase(std::__1::__hash_const_iterator<std::__1::__hash_node<std::__1::__hash_value_type<long long, std::__1::shared_ptr<TexturePlayer>>, void*>*>) + 24 (__hash_table:2230) [inlined] 18 fvp 0x100ab4170 unsigned long std::__1::__hash_table<std::__1::__hash_value_type<long long, std::__1::shared_ptr<TexturePlayer>>, std::__1::__unordered_map_hasher<long long, std::__1::__hash_value_type<long long, std::__1::shared_ptr<TexturePlayer>>, std::__1::hash<long long>, std::__1::equal_to<long long>, true>, std::__1::__unordered_map_equal<long long, std::__1::__hash_value_type<long long, std::__1::shared_ptr<TexturePlayer>>, std::__1::equal_to<long long>, std::__1::hash<long long>, true>, std::__1::allocator<std::__1::__hash_value_type<long long, std::__1::shared_ptr<TexturePlayer>>>>::__erase_unique<long long>(long long const&) + 56 (__hash_table:2256) 19 fvp 0x100ab3100 std::__1::unordered_map<long long, std::__1::shared_ptr<TexturePlayer>, std::__1::hash<long long>, std::__1::equal_to<long long>, std::__1::allocator<std::__1::pair<long long const, std::__1::shared_ptr<TexturePlayer>>>>::erase[abi:ue170006](long long const&) + 8 (unordered_map:1449) [inlined] 20 fvp 0x100ab3100 -[FvpPlugin handleMethodCall:result:] + 660 (FvpPlugin.mm:157) 21 FlutterMacOS 0x102d9d014 0x1023c4000 + 10326036 22 FlutterMacOS 0x1023d9e18 0x1023c4000 + 89624 23 FlutterMacOS 0x102c53160 0x1023c4000 + 8974688 24 FlutterMacOS 0x102c64ee4 0x1023c4000 + 9047780 25 FlutterMacOS 0x102c659fc 0x1023c4000 + 9050620 26 FlutterMacOS 0x102c62500 0x1023c4000 + 9037056 27 FlutterMacOS 0x102c4b15c 0x1023c4000 + 8941916 28 FlutterMacOS 0x1023dce40 0x1023c4000 + 101952 29 FlutterMacOS 0x1023dcff4 0x1023c4000 + 102388 30 libdispatch.dylib 0x181dbb750 _dispatch_call_block_and_release + 32 31 libdispatch.dylib 0x181dbd3e8 _dispatch_client_callout + 20 32 libdispatch.dylib 0x181dcbbb8 _dispatch_main_queue_drain + 988 33 libdispatch.dylib 0x181dcb7cc _dispatch_main_queue_callback_4CF + 44 34 CoreFoundation 0x18208ead4 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 16 35 CoreFoundation 0x18204c258 __CFRunLoopRun + 1996 36 CoreFoundation 0x18204b434 CFRunLoopRunSpecific + 608 37 HIToolbox 0x18c7f519c RunCurrentEventLoopInMode + 292 38 HIToolbox 0x18c7f4fd8 ReceiveNextEventCommon + 648 39 HIToolbox 0x18c7f4d30 _BlockUntilNextEventMatchingListInModeWithFilter + 76 40 AppKit 0x1858aacc8 _DPSNextEvent + 660 41 AppKit 0x1860a14d0 -[NSApplication(NSEventRouting) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 700 42 AppKit 0x18589dffc -[NSApplication run] + 476 43 AppKit 0x185875240 NSApplicationMain + 880 44 Anime Here 0x1005c3734 specialized static NSApplicationDelegate.main() + 24 [inlined] 45 Anime Here 0x1005c3734 static AppDelegate.$main() + 24 (<compiler-generated>:4) [inlined] 46 Anime Here 0x1005c3734 main + 36 47 dyld 0x181be3154 start + 2476
lldb on debug and release
Process 35242 stopped * thread #1, queue = 'com.apple.main-thread', stop reason = EXC_BREAKPOINT (code=1, subcode=0x1821b8064) frame #0: 0x00000001821b8064 CoreFoundation`CFRelease.cold.1 + 16 CoreFoundation`CFRelease.cold.1: -> 0x1821b8064 <+16>: brk #0x1 CoreFoundation`: 0x1821b8068 <+0>: adrp x8, 428 0x1821b806c <+4>: add x8, x8, #0xad2 ; "*** __CFStringCollectionCopy() called with NULL ***" 0x1821b8070 <+8>: adrp x9, 426220 Target 0: (Anime Here) stopped.
note using fvp 0.24.0
try master branch
no more crash, thank you
Describe the bug crash while disposing of player
Expected behavior no crash
Log
this is the detailed crash log
lldb on debug and release