protect against bug 0x50 (PAGE_FAULT_IN_NON_PAGED_AREA)

Discussion in 'Windows Vista Drivers' started by Matt Vinall, Aug 28, 2003.

  1. Matt Vinall

    Matt Vinall Guest

    Hi All,

    What would be the proper way to protect against this bug check? I've got a
    pointer that used to point into PCI space, but under certain conditions, the
    memory can currently be unmapped before the thread using that pointer knows
    about it. Clearly, I shall remove the cause of this problem as well, but it
    seems like a good idea to perform some checking before the pointer is used.
    I thought __try and __except might do it for me, but it doesn't seem to.

    Thanks in advance for any help,
    Matt
     
    Matt Vinall, Aug 28, 2003
    #1
    1. Advertisements

  2. Matt Vinall

    Matt Vinall Guest

    Ok, thanks. FYI I've now resolved the particular bug that was causing it in
    this case.
     
    Matt Vinall, Aug 29, 2003
    #2
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.