EarTrumpet icon indicating copy to clipboard operation
EarTrumpet copied to clipboard

EarTrumpet Crashing after open any media

Open mfrls opened this issue 1 year ago • 20 comments

Summary

My app is crashing after open any type of media in any app. I have repaired and restore data, uninstall and install again. Probably is windows. I don't know.

Steps to reproduce

EarTrumpet start with Windows, after open any app of media like Youtube, Spotify, it crashes.

EarTrumpet version

2.3.0.0

Windows version

10.0.22631.3235

Additional information

No response

mfrls avatar Mar 12 '24 21:03 mfrls

Can you find any EarTrumpet events in Event Viewer > Windows Logs > Application?

riverar avatar Mar 12 '24 21:03 riverar

@riverar Hey, i don't know what i am doing, but i have found this files and some of them i cant open. image image WER.fe47e1fc-0415-4097-9684-b13cd30222c7.tmp.WERInternalMetadata.txt thub.com/File-New-Project/EarTrumpet/assets/163205146/91ac824c-452c-439a-bc9d-dc02100e85e2)

mfrls avatar Mar 12 '24 21:03 mfrls

image image

mfrls avatar Mar 12 '24 22:03 mfrls

This one is interesting, thanks.

Aplicativo: EarTrumpet.exe
Versao do Framework: v4.0.30319
Descricao: O processo foi terminado devido a uma excecao sem tratamento.
Informacoes da Excecao: System.AccessViolationException
em EarTrumpet.Interop.Shell32.SHCreateltemInKnownFolder(System.Guid, Ulnt32, System.String, System.Guid)
em EarTrumpet.DataModel.AppInformation.Internal.DesktopAppInfo .. ctor(Int32, Boolean)
em EarTrumpet.DataModel.AppInformation.AppInformationFactory.CreateForProcess(Int32, Boolean)
em EarTrumpet.DataModel.WindowsAudio.Internal.AudioDeviceSession .. ctor(EarTrumpet.DataModel.Audio.lAudioDevice, EarTrumpet.Interop.MMDeviceAPI.IAudioSessionControl,
System.Windows.Threading.Dispatcher)
em EarTrumpet.DataModel.WindowsAudio.Internal.AudioDeviceSessionCollection.CreateAndAddSession(EarTrumpet.Interop.MMDeviceAPI.IAudioSessionControl)
em EarTrumpet.DataModel.WindowsAudio.Internal.AudioDeviceSessionCollection.EarTrumpet.Interop.MMDeviceAPI.IAudioSessionNotification.OnSessionCreated
(EarTrumpet.Interop.MMDeviceAPI.IAudioSessionControl)

If you open File Explorer and type shell:appsfolder and ENTER, what happens? Does it show a list of all your applications on the machine?

image image

riverar avatar Mar 12 '24 22:03 riverar

@riverar Yes it open

mfrls avatar Mar 12 '24 22:03 mfrls

image

mfrls avatar Mar 12 '24 22:03 mfrls

sorry for the system in Portuguese

mfrls avatar Mar 12 '24 22:03 mfrls

@mfrls That's okay.

  1. Remove EarTrumpet
  2. Install a development build https://install.eartrumpet.app/dev/EarTrumpet.Package.appinstaller
  3. Let me know if that crashes and we'll add some code to figure this out
  4. Thank you for your help!

riverar avatar Mar 12 '24 22:03 riverar

image image image image image

mfrls avatar Mar 12 '24 22:03 mfrls

I don't understand, but i read something about software protection. Windows defender is blocking the app?

mfrls avatar Mar 12 '24 22:03 mfrls

@mfrls So it crashed again with the development version? That's good.

I pushed some code to development for you to try.

  1. Click here https://install.eartrumpet.app/dev/EarTrumpet.Package.appinstaller
  2. Upgrade to 2.3.0.18, do not launch when ready.
  3. Close/Kill EarTrumpet completely if it opened automatically
  4. Hold the LEFT ALT key on your keyboard and launch EarTrumpet. You can let go of the key when you see the EarTrumpet icon or after about 5 seconds.
  5. In File Explorer, type %temp% and press ENTER.
  6. Verify you have a file EarTrumpetTrace.log. If not, try steps 3-5 again.
  7. Start the media that crashes EarTrumpet.
  8. Drag/drop the EarTrumpetTrace.log into this GitHub issue.

Thank you!

riverar avatar Mar 12 '24 22:03 riverar

EarTrumpetTrace.log

mfrls avatar Mar 12 '24 23:03 mfrls

`AudioDeviceManager-(Playback) Create AudioDeviceManager-(Playback) Create Exit TaskbarIconSource Changed: kind=NoDevice dpi=96 isSysLight=False isLegacy=False AudioDeviceManager-(Playback) OnDeviceAdded {0.0.0.00000000}.{2fd2a16d-4b1e-4d02-b9e4-508b4cb81ea7} AudioDevice Create {0.0.0.00000000}.{2fd2a16d-4b1e-4d02-b9e4-508b4cb81ea7} IconHelper LoadIconForTaskbar C:\WINDOWS\System32\SndVolSSO.dll,125 16x16 AudioDeviceSession Create *SystemSounds {0.0.0.00000000}.{2fd2a16d-4b1e-4d02-b9e4-508b4cb81ea7}|#%b{A9EF3FD9-4240-455E-A4D5-F2B3301887B2}|16%b# FlyoutViewModel ChangeState Hidden AudioDeviceManager-(Playback) OnDeviceAdded {0.0.0.00000000}.{ab758034-d6fe-49dc-b0a6-e81babb08b38} AudioDevice Create {0.0.0.00000000}.{ab758034-d6fe-49dc-b0a6-e81babb08b38} AudioDeviceSession Create *SystemSounds {0.0.0.00000000}.{ab758034-d6fe-49dc-b0a6-e81babb08b38}|#%b{A9EF3FD9-4240-455E-A4D5-F2B3301887B2}|16%b# AudioDeviceManager-(Playback) QueryDefaultDevice TaskbarIconSource Changed: kind=SpeakerTwoBars dpi=96 isSysLight=False isLegacy=False IconHelper LoadIconForTaskbar C:\WINDOWS\System32\SndVolSSO.dll,123 16x16 AddonResolver Load AudioDeviceManager-(Recording) Create AudioDeviceManager-(Recording) Create Exit AudioDeviceManager-(Recording) OnDeviceAdded {0.0.1.00000000}.{385d783d-d7d4-4a3b-9cc8-07d86c7d25db} AudioDevice Create {0.0.1.00000000}.{385d783d-d7d4-4a3b-9cc8-07d86c7d25db} ProcessWatcher Clear AudioDeviceSession Create *SystemSounds {0.0.1.00000000}.{385d783d-d7d4-4a3b-9cc8-07d86c7d25db}|#%b{A9EF3FD9-4240-455E-A4D5-F2B3301887B2}|16%b# ShellNotifyIcon IsVisible True App DisplayFirstRunExperience Showing welcome dialog DialogWindow .ctor

BrushValueParser Parse FAILED ## 'ControlLightBackgroundRest/0.5' System.Windows.Controls.Primitives.RepeatButton

BrushValueParser Parse FAILED ## 'ControlLightBackgroundRest/0.5' System.Windows.Controls.Primitives.RepeatButton

AudioDeviceManager-(Recording) QueryDefaultDevice AudioDeviceSessionCollection AddSession *SystemSounds {0.0.0.00000000}.{2fd2a16d-4b1e-4d02-b9e4-508b4cb81ea7}|#%b{A9EF3FD9-4240-455E-A4D5-F2B3301887B2}|16%b# AudioDeviceSessionCollection AddSession *SystemSounds {0.0.0.00000000}.{ab758034-d6fe-49dc-b0a6-e81babb08b38}|#%b{A9EF3FD9-4240-455E-A4D5-F2B3301887B2}|16%b#

BrushValueParser Parse FAILED ## 'ControlLightBackgroundRest/0.5' System.Windows.Controls.Primitives.RepeatButton

ImageEx LoadImage 24x24 C:\WINDOWS\sysnative\audiosrv.dll,203

BrushValueParser Parse FAILED ## 'ControlLightBackgroundRest/0.5' System.Windows.Controls.Primitives.RepeatButton

DialogWindow Closed AudioDeviceSessionCollection OnSessionCreated AudioDeviceSessionCollection OnSessionCreated DesktopAppInfo Attempting AppID resolve for pid 13040 DesktopAppInfo Attempting AppID resolve for pid 13040 AudioDeviceSessionCollection OnSessionCreated DesktopAppInfo Attempting AppID resolve for pid 13040 DesktopAppInfo Attempting display name read for AppID Valve.Steam.Client DesktopAppInfo Attempting display name read for AppID Valve.Steam.Client DesktopAppInfo Attempting display name read for AppID Valve.Steam.Client `

mfrls avatar Mar 12 '24 23:03 mfrls

I try open steam and crash, but it crash with other apps to

mfrls avatar Mar 12 '24 23:03 mfrls

`AudioDeviceManager-(Playback) Create AudioDeviceManager-(Playback) Create Exit TaskbarIconSource Changed: kind=NoDevice dpi=96 isSysLight=False isLegacy=False AudioDeviceManager-(Playback) OnDeviceAdded {0.0.0.00000000}.{2fd2a16d-4b1e-4d02-b9e4-508b4cb81ea7} IconHelper LoadIconForTaskbar C:\WINDOWS\System32\SndVolSSO.dll,125 16x16 AudioDevice Create {0.0.0.00000000}.{2fd2a16d-4b1e-4d02-b9e4-508b4cb81ea7} AudioDeviceSession Create *SystemSounds {0.0.0.00000000}.{2fd2a16d-4b1e-4d02-b9e4-508b4cb81ea7}|#%b{A9EF3FD9-4240-455E-A4D5-F2B3301887B2}|16%b# FlyoutViewModel ChangeState Hidden AudioDeviceManager-(Playback) OnDeviceAdded {0.0.0.00000000}.{ab758034-d6fe-49dc-b0a6-e81babb08b38} AudioDevice Create {0.0.0.00000000}.{ab758034-d6fe-49dc-b0a6-e81babb08b38} AudioDeviceSession Create *SystemSounds {0.0.0.00000000}.{ab758034-d6fe-49dc-b0a6-e81babb08b38}|#%b{A9EF3FD9-4240-455E-A4D5-F2B3301887B2}|16%b# AudioDeviceManager-(Playback) QueryDefaultDevice TaskbarIconSource Changed: kind=SpeakerTwoBars dpi=96 isSysLight=False isLegacy=False IconHelper LoadIconForTaskbar C:\WINDOWS\System32\SndVolSSO.dll,123 16x16 AddonResolver Load AudioDeviceManager-(Recording) Create AudioDeviceManager-(Recording) Create Exit AudioDeviceManager-(Recording) OnDeviceAdded {0.0.1.00000000}.{385d783d-d7d4-4a3b-9cc8-07d86c7d25db} AudioDevice Create {0.0.1.00000000}.{385d783d-d7d4-4a3b-9cc8-07d86c7d25db} ProcessWatcher Clear AudioDeviceSession Create *SystemSounds {0.0.1.00000000}.{385d783d-d7d4-4a3b-9cc8-07d86c7d25db}|#%b{A9EF3FD9-4240-455E-A4D5-F2B3301887B2}|16%b# ShellNotifyIcon IsVisible True AudioDeviceManager-(Recording) QueryDefaultDevice AudioDeviceSessionCollection AddSession *SystemSounds {0.0.0.00000000}.{2fd2a16d-4b1e-4d02-b9e4-508b4cb81ea7}|#%b{A9EF3FD9-4240-455E-A4D5-F2B3301887B2}|16%b# AudioDeviceSessionCollection AddSession *SystemSounds {0.0.0.00000000}.{ab758034-d6fe-49dc-b0a6-e81babb08b38}|#%b{A9EF3FD9-4240-455E-A4D5-F2B3301887B2}|16%b#

BrushValueParser Parse FAILED ## 'ControlLightBackgroundRest/0.5' System.Windows.Controls.Primitives.RepeatButton

BrushValueParser Parse FAILED ## 'ControlLightBackgroundRest/0.5' System.Windows.Controls.Primitives.RepeatButton

BrushValueParser Parse FAILED ## 'ControlLightBackgroundRest/0.5' System.Windows.Controls.Primitives.RepeatButton

ImageEx LoadImage 24x24 C:\WINDOWS\sysnative\audiosrv.dll,203

BrushValueParser Parse FAILED ## 'ControlLightBackgroundRest/0.5' System.Windows.Controls.Primitives.RepeatButton

FlyoutViewModel ChangeState Opening WindowsTaskbar Current: Location=Bottom, AutoHide=False, Taskbar=65832, Size=[Left=0,Top=1032,Right=1920,Bottom=1080], Monitor=Screen[Bounds={X=0,Y=0,Width=1920,Height=1080} WorkingArea={X=0,Y=0,Width=1920,Height=1032} Primary=True DeviceName=\.\DISPLAY1 FlyoutViewModel ChangeState Open FlyoutViewModel ChangeState Closing_Stage1 FlyoutViewModel ChangeState Closing_Stage2 FlyoutViewModel ChangeState Hidden FlyoutViewModel ChangeState Opening WindowsTaskbar Current: Location=Bottom, AutoHide=False, Taskbar=65832, Size=[Left=0,Top=1032,Right=1920,Bottom=1080], Monitor=Screen[Bounds={X=0,Y=0,Width=1920,Height=1080} WorkingArea={X=0,Y=0,Width=1920,Height=1032} Primary=True DeviceName=\.\DISPLAY1 FlyoutViewModel ChangeState Open FlyoutViewModel ChangeState Closing_Stage1 FlyoutViewModel ChangeState Closing_Stage2 FlyoutViewModel ChangeState Hidden AudioDeviceSessionCollection OnSessionCreated DesktopAppInfo Attempting AppID resolve for pid 11748 DesktopAppInfo Attempting display name read for AppID MSEdge`

mfrls avatar Mar 12 '24 23:03 mfrls

it something wrong with my pc?

mfrls avatar Mar 12 '24 23:03 mfrls

The EarTrumpetTrace log is missing for some reason. Can you email it to [email protected]? Something might be wrong with GitHub.

riverar avatar Mar 12 '24 23:03 riverar

Perfect, got your logs. Very interesting problem, almost seems like an OS issue. Standby.

riverar avatar Mar 12 '24 23:03 riverar

Any fix?

mfrls avatar Mar 14 '24 21:03 mfrls