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

Crash when changing audio source #110

Closed
srwi opened this issue Mar 10, 2019 · 1 comment
Closed

Crash when changing audio source #110

srwi opened this issue Mar 10, 2019 · 1 comment
Labels
bug Something isn't working

Comments

@srwi
Copy link

srwi commented Mar 10, 2019

Quite often (maybe every other time) audio-band crashes when changing the audio source.

grafik

************** Ausnahmetext **************
System.InvalidOperationException: Die Sammlung wurde geändert. Der Enumerationsvorgang kann möglicherweise nicht ausgeführt werden.
   bei System.ThrowHelper.ThrowInvalidOperationException(ExceptionResource resource)
   bei System.Collections.Generic.List`1.Enumerator.MoveNextRare()
   bei AudioBand.Views.Winforms.FormattedTextRenderer.Draw(Graphics graphics, Boolean measure, Double scaling) in D:\a\1\s\src\AudioBand\Views\Winforms\FormattedTextRenderer.cs:Zeile 435.
   bei AudioBand.Views.Winforms.FormattedTextLabel.OnPaint(PaintEventArgs e) in D:\a\1\s\src\AudioBand\Views\Winforms\FormattedTextLabel.cs:Zeile 244.
   bei System.Windows.Forms.Control.PaintWithErrorHandling(PaintEventArgs e, Int16 layer)
   bei System.Windows.Forms.Control.WmPaint(Message& m)
   bei System.Windows.Forms.Control.WndProc(Message& m)
   bei System.Windows.Forms.UserControl.WndProc(Message& m)
   bei System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

(Sorry for the German)

I can reproduce it quite easily simply by changing the audio source.

Version Info

  • Windows 10 Pro 1809
  • AudioBand Version 0.8.0 (but happened on 0.7.6 too)
@srwi srwi added the bug Something isn't working label Mar 10, 2019
@dsafa
Copy link
Owner

dsafa commented Jun 5, 2019

Closing fixed issue

@dsafa dsafa closed this as completed Jun 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants