I have encountered a consistent crash when using Auto-Tag on video files.
Steps to reproduce:
1. Right-click a video file (e.g. MKV) and select "Auto-Tag from Web"
2. Ensure the file name is clean and recognizable (e.g. "Shazam (2019)")
3. Let MediaMonkey populate metadata and artwork automatically
4. Do NOT manually change or select a different image
5. Click "Save"
Result:
MediaMonkey crashes with the following error:
"Application thrown an exception: Access violation at address ... in module 'MediaMonkeyEngine.exe'"
Important observations:
- If the file is NOT recognized (unclean filename), no crash occurs
- If I manually select an artwork image before saving, the crash does NOT occur
- The crash only happens when the default auto-selected artwork is left unchanged
This suggests the default artwork object may not be fully initialized or validated before being written.
Environment:
- MediaMonkey version: 2024.2.1.3213 Gold Lifetime
- OS: Windows 11
- File type: MKV
This issue is reproducible 100% of the time under the conditions above.
Please let me know if logs or additional testing would be helpful.
Crash: Auto-Tag causes Access Violation On Video Files [#22053.]
Moderator: Gurus
Re: Crash: Auto-Tag causes Access Violation when saving without modifying default artwork
I'm unable to reproduce this. Please capture this issue in a debug log (step 4b) and attach the log to a Support Ticket: https://www.mediamonkey.com/forum/viewtopic.php?t=86643
This will help a developer analyze why this happens on your setup.
This will help a developer analyze why this happens on your setup.
Download MediaMonkey ♪ License ♪ Knowledge Base ♪ MediaMonkey for Windows 2024 Help ♪ MediaMonkey for Android Help
Lowlander (MediaMonkey user since 2003)
Lowlander (MediaMonkey user since 2003)
Re: Crash: Auto-Tag causes Access Violation when saving without modifying default artwork
Here is my log.
Code: Select all
00000001 0.00000000 23876 15:45:35.486 20 AudioDeviceSession OnStateChanged Inactive *SystemSounds {0.0.0.00000000}.{eda8e28b-8e15-43bf-a2e2-21bca8601d64}|#%b{A9EF3FD9-4240-455E-A4D5-F2B3301887B2}|6%b#
00000002 0.00017570 23876 15:45:35.723 20 AudioDeviceSession OnStateChanged Inactive *SystemSounds {0.0.0.00000000}.{eda8e28b-8e15-43bf-a2e2-21bca8601d64}|#%b{A9EF3FD9-4240-455E-A4D5-F2B3301887B2}|6%b#
00000003 8.24743557 35676 qt.bluetooth.windows: COM uninitialization without initialization
00000001 13.73969936 System [9acc:9788]CcDeleteSharedCacheMap: QUEUE-DEL-PVCM SCM:FFFFDE0EB3904B40, VCM:FFFFDE0E97DC9500(vid:5c), PVCM:FFFFDE0EA12C08F0(vid:5c)
00000002 13.86910439 System [01ec:7d78]CcInsertPrivateVolumeCacheMap: VCM:FFFFDE0E97DC9500(vid:5c), DO:FFFFDE0E6AC08D10, PVCM:FFFFDE0EA12C08F0(vid:5c)
00000003 13.86910915 System [01ec:7d78]CcInsertPrivateVolumeCacheMap: VCM:FFFFDE0E97DC9500(vid:5c), DO:FFFFDE0E6AC08D10, PVCM:FFFFDE0EA12C08F0(vid:5c), PVCMCount:17, Inserted:YES
00000004 14.07895660 System [0004:746c]CcFlushCachePriv: PreProcess returned FALSE, nothing to do (SOP=FFFFDE0E6B3F3E18, IoStatus=0x0)
00000005 19.09256744 System [0004:59b0]CcFlushCachePriv: PreProcess returned FALSE, nothing to do (SOP=FFFFDE0E6B3F3E18, IoStatus=0x0)
00000006 24.10544014 System [0004:58d8]CcFlushCachePriv: PreProcess returned FALSE, nothing to do (SOP=FFFFDE0E6B3F3E18, IoStatus=0x0)
00000007 29.11384964 System [0004:7da4]CcFlushCachePriv: PreProcess returned FALSE, nothing to do (SOP=FFFFDE0E6B3F3E18, IoStatus=0x0)
00000004 29.98644066 38312 FastMM has been installed.
00000005 29.99274826 38312 iPhone (MM5): [26904] going to create mapped memory MediaMonkey_x64Helper_shared_mem327853801
00000006 29.99310493 38312 iPhone (MM5): [26904] MediaMonkey_x64Helper_shared_mem327853801 created
00000007 29.99338150 38312 iPhone (MM5): [26904] MediaMonkey_x64Helper_shared_mem327853801 mapped
00000008 30.00537300 38312 iPod (MM5): [10880] iPodConnected.ProcessEntries: CanonName: VID_05AC&PID_12
00000009 30.00815964 38312 iPod (MM5): [10880] iPodConnected.ProcessEntries: CanonName: VID_05AC&PID_13
00000010 30.00957680 38312 iPod (MM5): [10880] iPodConnected.ProcessEntries: CanonName: 1394\APPLE_COMPUTER__INC.&IPOD
00000011 30.01090813 38312 iPod (MM5): [10880] iPodConnected.ProcessEntries: CanonName: VID_22B8&PID_4810
00000012 30.01217842 38312 iPod (MM5): [10880] iPodConnected.ProcessEntries: CanonName: VID_05AC&PID_80
00000013 30.01344681 38312 iPod (MM5): [10880] iPodConnected: letter:
00000014 30.04931831 38312 iPhone (MM5): [26904] process MediaMonkey64Helper.exe created successfuly
00000015 30.05671692 25648 x64MMHelper: RunAppleMobileDeviceProcess failed
00000016 30.05724144 38312 iPhone (MM5): [26904] process communication started successfuly
00000017 30.05730247 38312 iPhone (MM5): [26904] TDllX64Call.Destroy
00000018 30.07128334 38312 iPhone (MM5): [26904] process communication terminated successfuly
00000019 30.07130623 38312 iPhone (MM5): [26904] Read from registry:
00000020 30.07139587 38312 iPhone (MM5): [26904] Read from registry falied: used DLLDir: C:\Program Files\Digi DNA\iMazing\
00000021 30.07143021 38312 iPhone (MM5): [26904] Loading library: | app directory: C:\Program Files\Digi DNA\iMazing\, runOwnCFLoop: False
00000022 30.07145309 38312 iPhone (MM5): [26904] LoadLibrary() finished
00000023 30.07147598 38312 iPhone (MM5): [26904] iTunesMobileDevice.dll couldn't be loaded, error = 0
00000008 31.73862457 System [01ec:1530]CcDeleteSharedCacheMap: QUEUE-DEL-PVCM SCM:FFFFDE0EB9379050, VCM:FFFFDE0E97DC9500(vid:5c), PVCM:FFFFDE0EA12C08F0(vid:5c)
00000009 31.78989029 System [01ec:1530]CcInsertPrivateVolumeCacheMap: VCM:FFFFDE0E97DC9500(vid:5c), DO:FFFFDE0E6AC08D10, PVCM:FFFFDE0EA12C08F0(vid:5c)
00000010 31.78989792 System [01ec:1530]CcInsertPrivateVolumeCacheMap: VCM:FFFFDE0E97DC9500(vid:5c), DO:FFFFDE0E6AC08D10, PVCM:FFFFDE0EA12C08F0(vid:5c), PVCMCount:17, Inserted:YES
00000024 33.55574417 38312 iPod (MM5): [10880] DeviceChange: wParam: 7, devtype: -1
00000011 34.12890625 System [0004:7908]CcFlushCachePriv: PreProcess returned FALSE, nothing to do (SOP=FFFFDE0E6B3F3E18, IoStatus=0x0)
00000025 36.71096420 23360 ************************************************************************
00000026 36.71100998 23360 Total process Kernel time: 15.63 ms
00000027 36.71102905 23360 Total process User time: 62.50 ms
00000028 36.71104813 23360 Main thread Kernel time: 15.63 ms
00000029 36.71106720 23360 Main thread User time: 62.50 ms
00000030 36.71108627 23360 ************************************************************************
00000031 38.23273468 35676 qt.bluetooth.windows: Main thread COM init tried from another thread
00000012 39.14489746 System [0004:581c]CcFlushCachePriv: PreProcess returned FALSE, nothing to do (SOP=FFFFDE0E6B3F3E18, IoStatus=0x0)
00000013 44.15321732 System [0004:96a4]CcFlushCachePriv: PreProcess returned FALSE, nothing to do (SOP=FFFFDE0E6B3F3E18, IoStatus=0x0)
00000014 49.15660095 System [0004:915c]CcFlushCachePriv: PreProcess returned FALSE, nothing to do (SOP=FFFFDE0E6B3F3E18, IoStatus=0x0)
00000015 49.44229126 System [01ec:1530]CcDeleteSharedCacheMap: QUEUE-DEL-PVCM SCM:FFFFDE0EB39058A0, VCM:FFFFDE0E97DC9500(vid:5c), PVCM:FFFFDE0EA12C08F0(vid:5c)
00000016 49.50870132 System [01ec:1530]CcInsertPrivateVolumeCacheMap: VCM:FFFFDE0E97DC9500(vid:5c), DO:FFFFDE0E6AC08D10, PVCM:FFFFDE0EA12C08F0(vid:5c)
00000017 49.50870514 System [01ec:1530]CcInsertPrivateVolumeCacheMap: VCM:FFFFDE0E97DC9500(vid:5c), DO:FFFFDE0E6AC08D10, PVCM:FFFFDE0EA12C08F0(vid:5c), PVCMCount:17, Inserted:YES
00000032 50.09777069 23876 15:46:25.874 31 AudioDeviceSession OnStateChanged Active *SystemSounds {0.0.0.00000000}.{eda8e28b-8e15-43bf-a2e2-21bca8601d64}|#%b{A9EF3FD9-4240-455E-A4D5-F2B3301887B2}|6%b#
00000033 50.09783936 23876 15:46:25.874 32 AudioDeviceSessionCollection OnSessionCreated
00000034 50.09792709 23876 15:46:25.874 31 AudioDeviceSession OnStateChanged Active *SystemSounds {0.0.0.00000000}.{eda8e28b-8e15-43bf-a2e2-21bca8601d64}|#%b{A9EF3FD9-4240-455E-A4D5-F2B3301887B2}|6%b#
00000035 50.09803391 23876 15:46:25.874 28 AudioDeviceSessionCollection OnSessionCreated
00000036 50.09816360 23876 15:46:25.874 32 AudioDeviceSessionCollection CreateAndAddSession System.Runtime.InteropServices.COMException (0x88890004): Exception from HRESULT: 0x88890004
00000037 50.09816360 23876 at EarTrumpet.Interop.MMDeviceAPI.IChannelAudioVolume.GetChannelCount()
00000038 50.09816360 23876 at EarTrumpet.DataModel.WindowsAudio.Internal.AudioDeviceSessionChannelCollection..ctor(IChannelAudioVolume session, Dispatcher dispatcher) in D:\a\EarTrumpet\EarTrumpet\EarTrumpet\DataModel\WindowsAudio\Internal\AudioDeviceSessionChannelCollection.cs:line 14
00000039 50.09816360 23876 at EarTrumpet.DataModel.WindowsAudio.Internal.AudioDeviceSession..ctor(IAudioDevice parent, IAudioSessionControl session, Dispatcher foregroundDispatcher) in D:\a\EarTrumpet\EarTrumpet\EarTrumpet\DataModel\WindowsAudio\Internal\AudioDeviceSession.cs:line 151
00000040 50.09816360 23876 at EarTrumpet.DataModel.WindowsAudio.Internal.AudioDeviceSessionCollection.CreateAndAddSession(IAudioSessionControl session) in D:\a\EarTrumpet\EarTrumpet\EarTrumpet\DataModel\WindowsAudio\Internal\AudioDeviceSessionCollection.cs:line 68
00000041 50.09820557 23876 15:46:25.874 28 AudioDeviceSessionCollection CreateAndAddSession System.Runtime.InteropServices.COMException (0x88890004): Exception from HRESULT: 0x88890004
00000042 50.09820557 23876 at EarTrumpet.Interop.MMDeviceAPI.IChannelAudioVolume.GetChannelCount()
00000043 50.09820557 23876 at EarTrumpet.DataModel.WindowsAudio.Internal.AudioDeviceSessionChannelCollection..ctor(IChannelAudioVolume session, Dispatcher dispatcher) in D:\a\EarTrumpet\EarTrumpet\EarTrumpet\DataModel\WindowsAudio\Internal\AudioDeviceSessionChannelCollection.cs:line 14
00000044 50.09820557 23876 at EarTrumpet.DataModel.WindowsAudio.Internal.AudioDeviceSession..ctor(IAudioDevice parent, IAudioSessionControl session, Dispatcher foregroundDispatcher) in D:\a\EarTrumpet\EarTrumpet\EarTrumpet\DataModel\WindowsAudio\Internal\AudioDeviceSession.cs:line 151
00000045 50.09820557 23876 at EarTrumpet.DataModel.WindowsAudio.Internal.AudioDeviceSessionCollection.CreateAndAddSession(IAudioSessionControl session) in D:\a\EarTrumpet\EarTrumpet\EarTrumpet\DataModel\WindowsAudio\Internal\AudioDeviceSessionCollection.cs:line 68
00000046 50.09825516 23876 15:46:25.874 31 AudioDeviceSession OnStateChanged Active *SystemSounds {0.0.0.00000000}.{eda8e28b-8e15-43bf-a2e2-21bca8601d64}|#%b{A9EF3FD9-4240-455E-A4D5-F2B3301887B2}|6%b#
00000047 51.09968185 23876 15:46:26.875 28 AudioDeviceManager-(Playback) OnPropertyValueChanged {0.0.0.00000000}.{eda8e28b-8e15-43bf-a2e2-21bca8601d64} 9855c4cd-df8c-449c-a181-8191b68bd06c,0
00000048 52.22291565 23876 15:46:27.999 31 AudioDeviceSession OnStateChanged Inactive *SystemSounds {0.0.0.00000000}.{eda8e28b-8e15-43bf-a2e2-21bca8601d64}|#%b{A9EF3FD9-4240-455E-A4D5-F2B3301887B2}|6%b#
00000049 52.22300339 23876 15:46:27.999 31 AudioDeviceSession OnStateChanged Inactive *SystemSounds {0.0.0.00000000}.{eda8e28b-8e15-43bf-a2e2-21bca8601d64}|#%b{A9EF3FD9-4240-455E-A4D5-F2B3301887B2}|6%b#
00000050 52.22308350 23876 15:46:27.999 31 AudioDeviceSession OnStateChanged Inactive *SystemSounds {0.0.0.00000000}.{eda8e28b-8e15-43bf-a2e2-21bca8601d64}|#%b{A9EF3FD9-4240-455E-A4D5-F2B3301887B2}|6%b#
00000018 54.16003799 System [0004:59b0]CcFlushCachePriv: PreProcess returned FALSE, nothing to do (SOP=FFFFDE0E6B3F3E18, IoStatus=0x0)
00000051 54.69631195 38312 iPhone (MM5): [40936] iPod: UpdateDeviceState
00000052 54.69633865 38312 iPhone (MM5): [40936] iPod: Disconnected
00000053 54.69635773 38312 iPhone (MM5): [40936] iPhone: going to free iPhone class
00000054 54.69637680 38312 iPhone (MM5): [40936] iPhone: iPhone class freed
00000055 54.69639587 38312 iPhone (MM5): [40936] iPhone: DllCaller freed
00000056 54.69645309 38312 iPod (MM5): [40936] iPod: UpdateDeviceState
00000057 54.69647980 38312 iPod (MM5): [40936] iPod: Disconnected
00000058 55.98826218 38044 ************************************************************************
00000059 55.98829269 38044 Total process Kernel time: 62.50 ms
00000060 55.98831940 38044 Total process User time: 93.75 ms
00000061 55.98833847 38044 Main thread Kernel time: 46.88 ms
00000062 55.98835754 38044 Main thread User time: 62.50 ms
00000063 55.98839569 38044 ************************************************************************
00000064 56.01543045 39188 ************************************************************************
00000065 56.01546097 39188 Total process Kernel time: 2046.88 ms
00000066 56.01547623 39188 Total process User time: 2390.63 ms
00000067 56.01549911 39188 Main thread Kernel time: 812.50 ms
00000068 56.01551819 39188 Main thread User time: 609.38 ms
00000069 56.01553345 39188 ************************************************************************
00000070 57.89473343 20852 FastMM has been installed.
00000071 58.01607513 20852 iPod (MM5): [20892] iPodConnected.ProcessEntries: CanonName: VID_05AC&PID_12
00000072 58.01624298 20852 iPhone (MM5): [40744] going to create mapped memory MediaMonkey_x64Helper_shared_mem189467504
00000073 58.01630783 20852 iPhone (MM5): [40744] MediaMonkey_x64Helper_shared_mem189467504 created
00000074 58.01632690 20852 iPhone (MM5): [40744] MediaMonkey_x64Helper_shared_mem189467504 mapped
00000075 58.01897430 20852 iPod (MM5): [20892] iPodConnected.ProcessEntries: CanonName: VID_05AC&PID_13
00000076 58.01919174 20852 iPhone (MM5): [40744] process MediaMonkey64Helper.exe created successfuly
00000077 58.02038574 20852 iPod (MM5): [20892] iPodConnected.ProcessEntries: CanonName: 1394\APPLE_COMPUTER__INC.&IPOD
00000078 58.02481842 40272 x64MMHelper: RunAppleMobileDeviceProcess failed
00000079 58.03203964 20852 iPhone (MM5): [40744] process communication started successfuly
00000080 58.03261948 20852 iPhone (MM5): [40744] TDllX64Call.Destroy
00000081 58.03322983 20852 iPod (MM5): [20892] iPodConnected.ProcessEntries: CanonName: VID_22B8&PID_4810
00000082 58.03416443 20852 iPod (MM5): [20892] iPodConnected.ProcessEntries: CanonName: VID_05AC&PID_80
00000083 58.03537750 20852 iPod (MM5): [20892] iPodConnected: letter:
00000084 58.04725266 20852 iPhone (MM5): [40744] process communication terminated successfuly
00000085 58.04735947 20852 iPhone (MM5): [40744] Read from registry:
00000086 58.04744339 20852 iPhone (MM5): [40744] Read from registry falied: used DLLDir: C:\Program Files\Digi DNA\iMazing\
00000087 58.04750824 20852 iPhone (MM5): [40744] Loading library: | app directory: C:\Program Files\Digi DNA\iMazing\, runOwnCFLoop: False
00000088 58.04768753 20852 iPhone (MM5): [40744] LoadLibrary() finished
00000089 58.04828262 20852 iPhone (MM5): [40744] iTunesMobileDevice.dll couldn't be loaded, error = 0
00000090 61.44857025 20852 iPod (MM5): [37032] DeviceChange: wParam: 7, devtype: -1
00000091 68.46822357 35676 qt.bluetooth.windows: COM uninitialization without initialization
00000019 68.93392944 System [01ec:1530]CcDeleteSharedCacheMap: QUEUE-DEL-PVCM SCM:FFFFDE0EB6234530, VCM:FFFFDE0E97DC9500(vid:5c), PVCM:FFFFDE0EA12C08F0(vid:5c)
00000020 68.96450806 System [01ec:1530]CcInsertPrivateVolumeCacheMap: VCM:FFFFDE0E97DC9500(vid:5c), DO:FFFFDE0E6AC08D10, PVCM:FFFFDE0EA12C08F0(vid:5c)
00000021 68.96451569 System [01ec:1530]CcInsertPrivateVolumeCacheMap: VCM:FFFFDE0E97DC9500(vid:5c), DO:FFFFDE0E6AC08D10, PVCM:FFFFDE0EA12C08F0(vid:5c), PVCMCount:17, Inserted:YESRe: Crash: Auto-Tag causes Access Violation when saving without modifying default artwork
Hi. Reproduced also in latest 2024.2.2 build. Tracked as #22053.
EDIT: will be fixed in 2024.2.2.3219
EDIT: will be fixed in 2024.2.2.3219
How to make a debuglog - step 4b: viewtopic.php?f=30&t=86643