<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 12 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
span.E-MailFormatvorlage17
{mso-style-type:personal-reply;
font-family:"Calibri","sans-serif";
color:#1F497D;}
.MsoChpDefault
{mso-style-type:export-only;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:70.85pt 70.85pt 2.0cm 70.85pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=DE link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Hi all,<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>we had the same experiences here @DL0GTH and @DK0NA a couple of times.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Please see my findings below:<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>The Windows sound subsystem doesn’t seem to have a proper exception handling at least for all versions until Win10.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>If any call to one of the subsystem’s procedures runs on failure, the call hangs infinitely but no exception is thrown.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Depending on the design, this behavior can cause serious problems in the parent application.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Regarding Win-Test we observed the following when using an USB sound card for recording:<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>If we unplug the soundcard during an active recording, Win-Test freezes immediately (probably due to above).<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Same happens when storing Win-Test log & recordings on a network drive and the network dropped out for a moment.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>My suggestion to avoid this:<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Use an internal sound card for recording whenever possible.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Use a reliable local drive for saving the log & recordings (no USB stick or disk)<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>@Larry: my tests are somewhat outdated with an older version of Win-Test. But it should be easy for you to reproduce the above mentioned behavior with current versions.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>As a workaround in my own applications I’m using a separate thread for audio recording and another one the supervise the audio thread.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>This can be done easily by monitoring a heartbeat or by checking the file size of the recording. If the audio thread hangs I simply kill it and start it over again.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>This will cause a short dropout but better than freezing the thread or application.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Hope that helps!<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>73 de Frank, DL2ALF<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><div style='border:none;border-left:solid blue 1.5pt;padding:0cm 0cm 0cm 4.0pt'><div><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>Von:</span></b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> support [mailto:support-bounces@win-test.com] <b>Im Auftrag von </b>Bob Wilson, N6TV<br><b>Gesendet:</b> Donnerstag, 10. August 2023 10:35<br><b>An:</b> Win-Test support mailing list<br><b>Betreff:</b> Re: [WT-support] WT freezes randomly with contest recorder on<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p> </o:p></p><div><p class=MsoNormal style='margin-bottom:12.0pt'>I've also had some trouble with recording lately on Windows 10, but I blamed it on also running HamCap (Ionoprobe + VOACAP) continuously at the same time (map display), which seems to get stuck in a loop after a few hours, messing up the recorder, but not the rest of Win-Test.<o:p></o:p></p><div><p class=MsoNormal>73,<br>Bob, N6TV<o:p></o:p></p></div></div><p class=MsoNormal><o:p> </o:p></p><div><div><p class=MsoNormal>On Thu, Aug 10, 2023, 1:10 AM Christian Janssen <<a href="mailto:chris@dl1mgb.com">chris@dl1mgb.com</a>> wrote:<o:p></o:p></p></div><blockquote style='border:none;border-left:solid #CCCCCC 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-right:0cm'><p class=MsoNormal>Hi Laurent,<br><br>last year, we had the same issue here at the station when we had audio recording running. We then switched off the audio recording and the freezing was not anymore.<br><br>The audio recording was done in that way that a new file is created every 40 Mb (around 1 hour). The freezing happened randomly about 3 to 7 hours after starting the audio recording.<br><br>My feeling is that something in Windows 10 wants to get access to the audio resources, doesn't get it and creates trouble. Windows 10 is known to be a trouble maker with audio...<br><br>73s Chris<br><br><br><br><br>Laurent HAAS - F6FVY schrieb am 10.08.2023 09:43 (GMT +02:00):<br><br>> Hi Chris<br>> <br>> Le 10/08/2023 à 08:07, Christian Janssen DL1MGB a écrit :<br>> <br>>> We have a 3 PC setup (Windows 10), 1x IC7610, 1x Flex 6400, 1x TS590. All WT<br>>> 4.47.4. All three are now running for two days, all three with contest<br>>> recorder on. Randomly, WT on any of these three can freeze and has to be<br>>> aborted and restarted.<br>> <br>> Are you saying that it's because the recorder is on that Win-Test <br>> crashes, or is it a coincidence ? To be fair, I personally never <br>> recorded over 48h or so in a row (the mp3 file size is around 600 MB in <br>> that case).<br>> <br>> For the record (pun intended), we have several Win-Test running on <br>> remote stations for days or weeks in a row (with no recording) and only <br>> power outages make them restart ;-) But, there are running on Win7 <br>> machines (for those I know).<br>> <br>> 73<br>> <br>> Larry - F6FVY<br>> <br>> -- <br>> <br>> Si vis pacem, para bellum - Végèce, Epitoma Rei Militaris<br>> <br>> -- <br>> support mailing list<br>> <a href="mailto:support@win-test.com" target="_blank">support@win-test.com</a><br>> <a href="https://lists.win-test.com/cgi-bin/mailman/listinfo/support" target="_blank">https://lists.win-test.com/cgi-bin/mailman/listinfo/support</a><br>> <br><br>-- <br>support mailing list<br><a href="mailto:support@win-test.com" target="_blank">support@win-test.com</a><br><a href="https://lists.win-test.com/cgi-bin/mailman/listinfo/support" target="_blank">https://lists.win-test.com/cgi-bin/mailman/listinfo/support</a><o:p></o:p></p></blockquote></div></div></div></body></html>