locked
Access violation in mshtml.dll in a Javascript Metro app

    Question

  • Hello,

    I am developing a javascript windows metro app to show some html content. There is a specific scenario when I get access violation from the mshtml.dll. It includes displaying an html snippet that contains a lot of constructs like this:

    <ul>
        <li>
            <ul>
                <li>lorem</li>
                <li>ipsum</li>
                <li>dolor</li>
            </ul>
        </li>
    </ul>
        

    (approximately 130 - 150 li tags in total). The maximum nesting level is 4. If I replace the <li> tags with their content or replace them with <div> tags the application works fine. After debugging the app seems to crash when I make a call to setTimeout(). I have a dump report from the DebugDiag tool but for some reason I am unable to paste links(account verification). Any suggestions would be helpful.

    Thanks in advance!

    Friday, April 12, 2013 11:10 AM

All replies

  • If you cannot post a link to the dump file, can you paste your entire repro code here if it is not very large?

    @prashantphadke || Windows Store Developer Solutions #WSDevSol || Want more solutions? See our blog! http://aka.ms/t4vuvz

    Friday, April 12, 2013 6:31 PM
    Moderator