Windows System Software -- Consulting, Training, Development -- Unique Expertise, Guaranteed Results

More Info on Driver Writing and Debugging


The free OSR Learning Library has more than 50 articles on a wide variety of topics about writing and debugging device drivers and Minifilters. From introductory level to advanced. All the articles have been recently reviewed and updated, and are written using the clear and definitive style you've come to expect from OSR over the years.


Check out The OSR Learning Library at: https://www.osr.com/osr-learning-library/


Before Posting...

Please check out the Community Guidelines in the Announcements and Administration Category.

Stuck in Access violation - second chance

David_F.David_F. Member Posts: 198
Hi,

So there is a try/except block that has been getting access violation, I hooked up windbg to see where, it trapped it and can see. But I can't continue on, I'm stuck on the access violation. I went to debug/event filters changed the "access violation" to all different kinds of settings and still won't continue (output, just keeps outputting the same text), disable still break, enable breaks, ignore just doesn't do anything have to break and at same location, changing handled/not handled didn't do anything. How do I get it to continue and trap in my try/except loop as it has been without windbg ?

TIA!!

Comments

  • dhananjay_krdhananjay_kr Member - All Emails Posts: 52
    Second chance exception means no exception handler was able to handle that
    exception and the application/kernel can't continue anymore and will crash.

    On Sat, May 13, 2017 at 1:01 AM, wrote:

    > Hi,
    >
    > So there is a try/except block that has been getting access violation, I
    > hooked up windbg to see where, it trapped it and can see. But I can't
    > continue on, I'm stuck on the access violation. I went to debug/event
    > filters changed the "access violation" to all different kinds of settings
    > and still won't continue (output, just keeps outputting the same text),
    > disable still break, enable breaks, ignore just doesn't do anything have to
    > break and at same location, changing handled/not handled didn't do
    > anything. How do I get it to continue and trap in my try/except loop as it
    > has been without windbg ?
    >
    > TIA!!
    >
    >
    > ---
    > WINDBG is sponsored by OSR
    >
    > OSR is hiring!! Info at http://www.osr.com/careers
    >
    >
    > MONTHLY seminars on crash dump analysis, WDF, Windows internals and
    > software drivers!
    > Details at
    >
    > To unsubscribe, visit the List Server section of OSR Online at <
    > http://www.osronline.com/page.cfm?name=ListServer&gt;
    >
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Upcoming OSR Seminars
OSR has suspended in-person seminars due to the Covid-19 outbreak. But, don't miss your training! Attend via the internet instead!
Developing Minifilters 24 May 2021 Live, Online
Writing WDF Drivers 14 June 2021 Live, Online
Internals & Software Drivers 27 September 2021 Live, Online
Kernel Debugging TBD 2021 Live, Online