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

EarTrumpet Crashing after open any media #1522

Open
mfrls opened this issue Mar 12, 2024 · 20 comments
Open

EarTrumpet Crashing after open any media #1522

mfrls opened this issue Mar 12, 2024 · 20 comments

Comments

@mfrls
Copy link

mfrls commented Mar 12, 2024

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
Copy link
Contributor

riverar commented Mar 12, 2024

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

@mfrls
Copy link
Author

mfrls commented Mar 12, 2024

@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 mfrls closed this as completed Mar 12, 2024
@mfrls mfrls reopened this Mar 12, 2024
@mfrls
Copy link
Author

mfrls commented Mar 12, 2024

image
image

@riverar
Copy link
Contributor

riverar commented Mar 12, 2024

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
Copy link
Author

mfrls commented Mar 12, 2024

@riverar Yes it open

@mfrls
Copy link
Author

mfrls commented Mar 12, 2024

image

@mfrls
Copy link
Author

mfrls commented Mar 12, 2024

sorry for the system in Portuguese

@riverar
Copy link
Contributor

riverar commented Mar 12, 2024

@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
Copy link
Author

mfrls commented Mar 12, 2024

image
image
image
image
image

@mfrls
Copy link
Author

mfrls commented Mar 12, 2024

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

@riverar
Copy link
Contributor

riverar commented Mar 12, 2024

@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
Copy link
Author

mfrls commented Mar 12, 2024

EarTrumpetTrace.log

@mfrls

This comment was marked as duplicate.

@mfrls
Copy link
Author

mfrls commented Mar 12, 2024

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

@mfrls

This comment was marked as duplicate.

@mfrls
Copy link
Author

mfrls commented Mar 12, 2024

it something wrong with my pc?

@riverar
Copy link
Contributor

riverar commented Mar 12, 2024

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

@riverar
Copy link
Contributor

riverar commented Mar 12, 2024

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

@mfrls
Copy link
Author

mfrls commented Mar 14, 2024

Any fix?

@riverar
Copy link
Contributor

riverar commented Nov 13, 2024

Sorry for the long delay @mfrls, I just finished a major port to .NET 8+. If you don't mind trying again, I've added additional code to our dev builds.

If you could repeat the steps here, that'd be great! #1522 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants