Thanks so much for all the tips on SumatraPDF! I will play with that stuff in a bit.
> Please, try *uninstalling* McAfee and try again. In the meantime, I have uninstalled McAfee, disabled Windows Defender as thoroughly as Vista allows, rebooted, and tried again. It still just goes to the beginning of the buffer. Regarding Kornel's patch: setCursorFromRow receives the correct argument. The problem is that setCursorFromRow fails since rowlist is not properly populated. According to my previous experiment, rowlist should have about 1200 entries. Instead it only has six. Curiously, this time rowlist got further on the first run (but still not very far). As you can see, the subsequent runs have only the usual six entries: filename: '/tmp/lyx_tmpdir.JL2336/lyx_tmpbuf0/LaTeXConfig.tex' abstmp: '/tmp/lyx_tmpdir.JL2336' realtmp: '/tmp/lyx_tmpdir.JL2336' rowlist.size: '33' id: -1, pos: -1 id: -1, pos: -1 id: -1, pos: -1 id: 13, pos: 0 id: 13, pos: 74 id: 15, pos: 0 id: 15, pos: 63 id: 15, pos: 123 id: 15, pos: 123 id: 15, pos: 123 id: 15, pos: 123 id: 15, pos: 123 id: 15, pos: 123 id: 15, pos: 123 id: 15, pos: 123 id: 15, pos: 123 id: 15, pos: 123 id: 15, pos: 123 id: 15, pos: 123 id: 15, pos: 123 id: 15, pos: 123 id: 15, pos: 193 id: 15, pos: 255 id: 34, pos: 0 id: 34, pos: 60 id: 34, pos: 126 id: 36, pos: 0 id: 36, pos: 63 id: 36, pos: 130 id: 38, pos: 0 id: 38, pos: 61 id: 38, pos: 130 id: 38, pos: 130 filename: '/tmp/lyx_tmpdir.JL2336/lyx_tmpbuf0/LaTeXConfig.tex' abstmp: '/tmp/lyx_tmpdir.JL2336' realtmp: '/tmp/lyx_tmpdir.JL2336' rowlist.size: '6' id: -1, pos: -1 id: -1, pos: -1 id: -1, pos: -1 id: 3, pos: 0 id: 3, pos: 0 id: 3, pos: 0 filename: '/tmp/lyx_tmpdir.JL2336/lyx_tmpbuf0/LaTeXConfig.tex' abstmp: '/tmp/lyx_tmpdir.JL2336' realtmp: '/tmp/lyx_tmpdir.JL2336' rowlist.size: '6' id: -1, pos: -1 id: -1, pos: -1 id: -1, pos: -1 id: 3, pos: 0 id: 3, pos: 0 id: 3, pos: 0 I am willing to accept that Vista itself is probably BLODA, but shouldn't Cygwin-LyX at least properly compute rowlist? And even if Vista were BLODA, then why does 1.6.1 consistently work while branch consistently fails? Kornel--Perhaps you could try adding the following lines to the function TexRow::getIdFromRow to see if you're having the same rowlist problem as me? $ diff ../../lyx-1.6.2/src/TexRow.cpp TexRow.cpp 49a50,52 > > int rowlistsize = int(rowlist.size()); > lyxerr << "rowlist.size: '" << rowlistsize << "'\n"; 50a54,58 > > for(int i=1; i<=rowlistsize; i++) { > lyxerr << "id: " << rowlist[i - 1].id() << ", pos: " << rowli st[i - 1].pos() << "\n"; > } > Thanks so much for your efforts! -Ben