<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:dt="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta name="Microsoft Theme 2.00" content="sumipntg 110"><meta http-equiv=Content-Type content="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 12 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:"MS Mincho";
        panose-1:2 2 6 9 4 2 5 8 3 4;}
@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;}
@font-face
        {font-family:Verdana;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:"\@MS Mincho";
        panose-1:2 2 6 9 4 2 5 8 3 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
@font-face
        {font-family:"High Tower Text";
        panose-1:2 4 5 2 5 5 6 3 3 3;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Calibri","sans-serif";
        color:#000066;}
h1
        {mso-style-priority:9;
        mso-style-link:"Heading 1 Char";
        margin-top:24.0pt;
        margin-right:0in;
        margin-bottom:0in;
        margin-left:0in;
        margin-bottom:.0001pt;
        page-break-after:avoid;
        font-size:16.0pt;
        font-family:"Calibri","sans-serif";
        color:#000066;}
h2
        {mso-style-priority:9;
        mso-style-link:"Heading 2 Char";
        margin-top:10.0pt;
        margin-right:0in;
        margin-bottom:0in;
        margin-left:0in;
        margin-bottom:.0001pt;
        page-break-after:avoid;
        font-size:14.0pt;
        font-family:"Calibri","sans-serif";
        color:#000066;
        font-weight:normal;}
h3
        {mso-style-priority:9;
        mso-style-link:"Heading 3 Char";
        margin-top:10.0pt;
        margin-right:0in;
        margin-bottom:0in;
        margin-left:0in;
        margin-bottom:.0001pt;
        page-break-after:avoid;
        font-size:13.0pt;
        font-family:"Calibri","sans-serif";
        color:#000066;
        font-weight:normal;}
h4
        {mso-style-priority:9;
        mso-style-link:"Heading 4 Char";
        margin-top:10.0pt;
        margin-right:0in;
        margin-bottom:0in;
        margin-left:0in;
        margin-bottom:.0001pt;
        page-break-after:avoid;
        font-size:14.0pt;
        font-family:"Calibri","sans-serif";
        color:#000066;
        font-weight:normal;}
h5
        {mso-style-priority:9;
        mso-style-link:"Heading 5 Char";
        margin-top:10.0pt;
        margin-right:0in;
        margin-bottom:0in;
        margin-left:0in;
        margin-bottom:.0001pt;
        page-break-after:avoid;
        font-size:13.0pt;
        font-family:"Calibri","sans-serif";
        color:#000066;
        font-weight:normal;}
h6
        {mso-style-priority:9;
        mso-style-link:"Heading 6 Char";
        margin-top:10.0pt;
        margin-right:0in;
        margin-bottom:0in;
        margin-left:0in;
        margin-bottom:.0001pt;
        page-break-after:avoid;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";
        color:#000066;
        font-weight:normal;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#660099;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#993366;
        text-decoration:underline;}
span.Heading1Char
        {mso-style-name:"Heading 1 Char";
        mso-style-priority:9;
        mso-style-link:"Heading 1";
        font-family:"Verdana","sans-serif";
        color:#000066;
        font-weight:bold;}
span.Heading2Char
        {mso-style-name:"Heading 2 Char";
        mso-style-priority:9;
        mso-style-link:"Heading 2";
        font-family:"Verdana","sans-serif";
        color:#000066;}
span.Heading3Char
        {mso-style-name:"Heading 3 Char";
        mso-style-priority:9;
        mso-style-link:"Heading 3";
        font-family:"Verdana","sans-serif";
        color:#000066;}
span.Heading4Char
        {mso-style-name:"Heading 4 Char";
        mso-style-priority:9;
        mso-style-link:"Heading 4";
        font-family:"Verdana","sans-serif";
        color:#000066;}
span.Heading5Char
        {mso-style-name:"Heading 5 Char";
        mso-style-priority:9;
        mso-style-link:"Heading 5";
        font-family:"Verdana","sans-serif";
        color:#000066;}
span.Heading6Char
        {mso-style-name:"Heading 6 Char";
        mso-style-priority:9;
        mso-style-link:"Heading 6";
        font-family:"Verdana","sans-serif";
        color:#000066;}
span.EmailStyle23
        {mso-style-type:personal;
        font-family:"High Tower Text","serif";
        color:windowtext;
        font-weight:normal;
        font-style:normal;}
span.EmailStyle24
        {mso-style-type:personal-reply;
        font-family:"High Tower Text","serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
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 bgcolor="#FFFFCC" lang=EN-US link="#660099" vlink="#993366"><div class=WordSection1><div><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'><p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext'>From:</span></b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext'> Asa Rossoff [mailto:asa@lovetour.info] <br><b>Sent:</b> Saturday, June 01, 2013 4:33 AM<br><b>To:</b> 'tor-talk@lists.torproject.org'<br><b>Cc:</b> 'tor-relays@lists.torproject.org'<br><b>Subject:</b> Issues with vidalia-obfsproxy-bridge-bundle-0.2.4.12-alpha-0.3.3-alpha on Windows<o:p></o:p></span></p></div></div><p class=MsoNormal><b><i><span style='font-size:11.0pt;font-family:"High Tower Text","serif";color:#1F497D'><o:p> </o:p></span></i></b></p><p class=MsoNormal><b><i><span style='font-size:11.0pt;font-family:"High Tower Text","serif";color:#1F497D'>[A. R.] </span></i></b><span style='font-size:11.0pt;font-family:"High Tower Text","serif";color:#1F497D'>…<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"High Tower Text","serif";color:windowtext'>4) Now, things were better.  Next problem: periodically, usually after some hours of running fine, the Tor log began showing errors re. the cached-microdescs file.  First, a permission/file access error, and then hundreds of other errors related to building the micro descriptor cache would be generated every some minutes.  Actually---I also observed this problem the first time, even running under Vidalia, that Tor ran without crashing on startup.  My solution attempt: delete the file.  It was locked. When I closed Tor --- the lock was released [Tor was tied to the file lock] and I could delete the file.  I restarted Tor and it worked fine for some hours before repeating this behavior.  Once this happens, my node goes down.  I think it has to do more bootstrapping work on restart when this file is lost, if I understand correctly.<o:p></o:p></span></p><p class=MsoNormal><b><i><span style='font-size:11.0pt;font-family:"High Tower Text","serif";color:#1F497D'><o:p> </o:p></span></i></b></p><p class=MsoNormal><b><i><span style='font-size:11.0pt;font-family:"High Tower Text","serif";color:#1F497D'>[A. R.] Another quick update that may offer some insight to programmers:<o:p></o:p></span></i></b></p><p class=MsoNormal><b><i><span style='font-size:11.0pt;font-family:"High Tower Text","serif";color:#1F497D'><o:p> </o:p></span></i></b></p><p class=MsoNormal><b><i><span style='font-size:11.0pt;font-family:"High Tower Text","serif";color:#1F497D'>29 minutes after hitting the ESC key (as I reportd a bit ago in an email update) woke Tor up starting with the message "Your system clock just jumped 64376 seconds forward…," etc., the micro descriptor cache problem described in item 4 above occurred.  In the past, I have solved It by closing/kjilling Tor, deleting the file, and restarting Tor, however this time I relied on Empty Loop's Unlocker Windows Explorer add-in (which I always keep installed) to check what process was locking the file, if any.  I know I couldn't delete the file in Windows Explorer at that point.  Unlocker reported "no locks found" and offered to help me deal with the file itself.  It was able to delete the file (it has elevated priveleges, for one thing, and it may try unconventional means).<o:p></o:p></span></i></b></p><p class=MsoNormal><b><i><span style='font-size:11.0pt;font-family:"High Tower Text","serif";color:#1F497D'><o:p> </o:p></span></i></b></p><p class=MsoNormal><b><i><span style='font-size:11.0pt;font-family:"High Tower Text","serif";color:#1F497D'>I am now leaving Tor running to see if it will recover without a restart, probably within minutes if it does.<o:p></o:p></span></i></b></p><p class=MsoNormal><b><i><span style='font-size:11.0pt;font-family:"High Tower Text","serif";color:#1F497D'><o:p> </o:p></span></i></b></p><p class=MsoNormal><b><i><span style='font-size:11.0pt;font-family:"High Tower Text","serif";color:#1F497D'>The logged (warn/info level only) messages upon issue #4 occurring begin like this:<o:p></o:p></span></i></b></p><p class=MsoNormal><b><i><span style='font-size:11.0pt;font-family:"High Tower Text","serif";color:#1F497D'><o:p> </o:p></span></i></b></p><p class=MsoNormal style='margin-left:.5in'><span style='font-size:8.0pt;font-family:Consolas;color:#1F497D'>[warn] Error replacing "C:\.........\tor\cached-microdescs": Permission denied<o:p></o:p></span></p><p class=MsoNormal style='margin-left:.5in'><span style='font-size:8.0pt;font-family:Consolas;color:#1F497D'>[warn] Error rebuilding microdescriptor cache: Permission denied<o:p></o:p></span></p><p class=MsoNormal style='margin-left:.5in'><span style='font-size:8.0pt;font-family:Consolas;color:#1F497D'>[warn] Couldn't dump microdescriptor (wrote 4294967295 out of 261): Invalid argument<o:p></o:p></span></p><p class=MsoNormal style='margin-left:.5in'><span style='font-size:8.0pt;font-family:Consolas;color:#1F497D'>[warn] microdesc_cache_rebuild(): Bug: Discontinuity in position in microdescriptor cache.By my count, I'm at 294, but I should be at 327<o:p></o:p></span></p><p class=MsoNormal style='margin-left:.5in'><span style='font-size:8.0pt;font-family:Consolas;color:#1F497D'>[warn] Couldn't dump microdescriptor (wrote 4294967295 out of 619): Invalid argument<o:p></o:p></span></p><p class=MsoNormal style='margin-left:.5in'><span style='font-size:8.0pt;font-family:Consolas;color:#1F497D'>[warn] Couldn't dump microdescriptor (wrote 4294967295 out of 261): Invalid argument<o:p></o:p></span></p><p class=MsoNormal style='margin-left:.5in'><span style='font-size:8.0pt;font-family:Consolas;color:#1F497D'>[warn] Couldn't dump microdescriptor (wrote 4294967295 out of 939): Invalid argument<o:p></o:p></span></p><p class=MsoNormal style='margin-left:.5in'><span style='font-size:8.0pt;font-family:Consolas;color:#1F497D'>[warn] microdesc_cache_rebuild(): Bug: Discontinuity in position in microdescriptor cache.By my count, I'm at 621, but I should be at 720<o:p></o:p></span></p><p class=MsoNormal style='margin-left:.5in'><span style='font-size:8.0pt;font-family:Consolas;color:#1F497D'>[warn] Couldn't dump microdescriptor (wrote 4294967295 out of 333): Invalid argument<o:p></o:p></span></p><p class=MsoNormal style='margin-left:.5in'><span style='font-size:8.0pt;font-family:Consolas;color:#1F497D'>[warn] microdesc_cache_rebuild(): Bug: Discontinuity in position in microdescriptor cache.By my count, I'm at 1357, but I should be at 1390<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"High Tower Text","serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><b><i><span style='font-size:11.0pt;font-family:"High Tower Text","serif";color:#1F497D'>The pattern continues for many entries, culminating in the following:<o:p></o:p></span></i></b></p><p class=MsoNormal><b><i><span style='font-size:11.0pt;font-family:"High Tower Text","serif";color:#1F497D'><o:p> </o:p></span></i></b></p><p class=MsoNormal style='margin-left:.5in'><span style='font-size:8.0pt;font-family:Consolas;color:#1F497D'>[warn] microdesc_cache_rebuild(): Bug: Discontinuity in position in microdescriptor cache.By my count, I'm at 1517569, but I should be at 1517701<o:p></o:p></span></p><p class=MsoNormal style='margin-left:.5in'><span style='font-size:8.0pt;font-family:Consolas;color:#1F497D'>[warn] Error replacing "C:\.........\tor\cached-microdescs": Permission denied<o:p></o:p></span></p><p class=MsoNormal style='margin-left:.5in'><span style='font-size:8.0pt;font-family:Consolas;color:#1F497D'>[warn] Error rebuilding microdescriptor cache: Permission denied<o:p></o:p></span></p><p class=MsoNormal><b><i><span style='font-size:11.0pt;font-family:"High Tower Text","serif";color:#1F497D'><o:p> </o:p></span></i></b></p><p class=MsoNormal><b><i><span style='font-size:11.0pt;font-family:"High Tower Text","serif";color:#1F497D'>UPDATE  -- - As I write this message, some timeout expired and Tor attempted it's microsdescriptor business again.  The results were NOT good; obviously deleting the file while Tor was running backfired.<o:p></o:p></span></i></b></p><p class=MsoNormal><b><i><span style='font-size:11.0pt;font-family:"High Tower Text","serif";color:#1F497D'><o:p> </o:p></span></i></b></p><p class=MsoNormal><b><i><span style='font-size:11.0pt;font-family:"High Tower Text","serif";color:#1F497D'>Result: Tons of messages like "Couldn't dump microdescriptor," "Bug: Discontinuity in position in microsdescriptor cache," etc.  I don't know what the first of this new batch of entries was, but the last of them were these:<o:p></o:p></span></i></b></p><p class=MsoNormal><b><i><span style='font-size:11.0pt;font-family:"High Tower Text","serif";color:#1F497D'><o:p> </o:p></span></i></b></p><p class=MsoNormal style='margin-left:.5in'><span style='font-size:8.0pt;font-family:Consolas;color:#1F497D'>[err] microdesc_cache_rebuild(): Bug: After rebuilding microdesc cache, offsets seem wrong.  At offset 33, I expected to find a microdescriptor starting  with "onion-key".  Instead I got "@last-listed 2013-05-30 03:29:37\nonion-key\n-----BEGIN RSA PUBLIC KEY-----\n[key here....................]".<o:p></o:p></span></p><p class=MsoNormal style='margin-left:.5in'><span style='font-size:8.0pt;font-family:Consolas;color:#1F497D'>[err] microdesc_cache_rebuild(): Bug: microdesc.c:510: microdesc_cache_rebuild: Assertion fast_memeq(md->body, "onion-key", 9) failed; aborting.<o:p></o:p></span></p><p class=MsoNormal style='margin-left:.5in'><span style='font-size:8.0pt;font-family:Consolas;color:#1F497D'>microdesc.c:510 microdesc_cache_rebuild: Assertion fast_memeq(md->body, "onion-key", 9) failed, aborting.<o:p></o:p></span></p><p class=MsoNormal style='margin-left:.5in'><span style='font-size:8.0pt;font-family:Consolas;color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal style='margin-left:.5in'><span style='font-size:8.0pt;font-family:Consolas;color:#1F497D'>This application has requested the Runtime to terminate in an unusual way.<o:p></o:p></span></p><p class=MsoNormal style='margin-left:.5in'><span style='font-size:8.0pt;font-family:Consolas;color:#1F497D'>Please contact the application's support team for more information.<o:p></o:p></span></p><p class=MsoNormal><b><i><span style='font-size:11.0pt;font-family:"High Tower Text","serif";color:#1F497D'><o:p> </o:p></span></i></b></p><p class=MsoNormal><b><i><span style='font-size:11.0pt;font-family:"High Tower Text","serif";color:#1F497D'>Those console messages were followed by the Tor console freezing and a windows dialog "tor.exe has stopped working....... with a "Close the program" button.<o:p></o:p></span></i></b></p><p class=MsoNormal><b><i><span style='font-size:11.0pt;font-family:"High Tower Text","serif";color:#1F497D'><o:p> </o:p></span></i></b></p><p class=MsoNormal><b><i><span style='font-size:11.0pt;font-family:"High Tower Text","serif";color:#1F497D'>Thanks,<o:p></o:p></span></i></b></p><p class=MsoNormal><b><i><span style='font-size:11.0pt;font-family:"High Tower Text","serif";color:#1F497D'>Asa<o:p></o:p></span></i></b></p></div></body></html>