File-New-Project / EarTrumpet

EarTrumpet - Volume Control for Windows
https://eartrumpet.app
Other
8.76k stars 512 forks source link

EarTrumpet Crashing after open any media #1522

Open mfrls opened 5 months ago

mfrls commented 5 months ago

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

riverar commented 5 months ago

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

mfrls commented 5 months ago

@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 commented 5 months ago

image image

riverar commented 5 months ago

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

mfrls commented 5 months ago

@riverar Yes it open

mfrls commented 5 months ago

image

mfrls commented 5 months ago

sorry for the system in Portuguese

riverar commented 5 months ago

@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!
mfrls commented 5 months ago

image image image image image

mfrls commented 5 months ago

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

riverar commented 5 months ago

@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!

mfrls commented 5 months ago

EarTrumpetTrace.log

mfrls commented 5 months ago

`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 commented 5 months ago

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

mfrls commented 5 months ago

`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 commented 5 months ago

it something wrong with my pc?

riverar commented 5 months ago

The EarTrumpetTrace log is missing for some reason. Can you email it to team@eartrumpet.app? Something might be wrong with GitHub.

riverar commented 5 months ago

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

mfrls commented 5 months ago

Any fix?