AudioSwitch icon indicating copy to clipboard operation
AudioSwitch copied to clipboard

Random Crashing

Open Luzr opened this issue 9 years ago • 8 comments

Any way to find out why AudoSwitch randomly crashes? It works for 4-7 hours and 3 or 4 switches but crashes.

Luzr avatar Jun 15 '15 23:06 Luzr

It has happened to me a few times also. Do you use remote desktop or teamviewer or other remote screen sharing software? There might be a connection when the sound devices are being remoted between computers where the host (destination) is running AudioSwitch.

sirWest avatar Jun 16 '15 08:06 sirWest

Yes I use RDP and Team Viewer. What do you think is the best way to narrow it down and see if that is the issue?

Luzr avatar Jun 16 '15 20:06 Luzr

Well in that case it most probably is the problem right there. I somehow think that it's more RDP's fault than TeamViewer's, since I've been only using TeamViewer lately and it hasn't happened anymore for me, it was frequent with RDP. Run AudioSwitch and then connect to this PC with RDP, see if the icon disappears from the tray when hovering on it with your mouse. If so, then I have to look into this on my own system with the debugger.

sirWest avatar Jun 16 '15 20:06 sirWest

I was able to connect in to a PC a few times with RDP and it didn't crash (I even switched the output when connected). I do have two audio cards, integrated and on board, and it looks like it crashes after a few hours. I'll let you know if I can reliability reproduce the crashing.

Running Windows 8.1 x64.

Luzr avatar Jun 19 '15 00:06 Luzr

I've left Team Viewer closed for the last two days its hasn't crashed. I've connected to one Server though RDP for about 10 minutes. Maybe its TV and RDP that AudioSwitch doesn't like.

Luzr avatar Jun 26 '15 16:06 Luzr

RDP hands over audio sessions on Windows audio service level, TeamViewer has its own software on top of Windows. That's why I'm suspecting that it goes boom somewhere in the process of handing over or getting back the sound session(s). If the crash happens again then try to find something about it from the event viewer.

sirWest avatar Jun 26 '15 16:06 sirWest

has this occurred with the latest version?

sirWest avatar Dec 04 '15 12:12 sirWest

I just experienced that. I installed Audio Switch today to try it as a replacement for Audio Router (unfortunately Audio Switch lacks a lot of features compared to that, although I see better UI craftsmanship). When I used Microsoft Remote Desktop to take control of the active session (=without logout) from my android device I was greeted with a standard .Net Unexpected Exception dialog.

beppe9000 avatar Jan 24 '17 00:01 beppe9000