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.

ERROR_FILE_CORRUPT

OSR_Community_UserOSR_Community_User Member Posts: 110,217
Dear Windbg gurus -

We are having trouble getting Windbg to open some of our crash dump
files.

Under W2K, when our application crashes with a 0-divide (intentional),
or when we use USERDUMP - in both cases, we get a .DMP file that we
cannot read. We get the following (transcribed) message:

could not initialize dump file , win32 error 1392

We looked up 1392 and it seems to imply that the file was corrupted.
What did we do wrong?

i There's a Cross _|_
r h to bridge |
c the Great Divide.. |

Rich Pennenga -- Voice/Fax (732) 817-5927
Avaya, Rm 2B-530A, 101 Crawfords Corner Road
Holmdel, NJ 07733 -- http://www.avaya.com








---
You are currently subscribed to windbg as: $subst('Recip.EmailAddr')
To unsubscribe send a blank email to leave-windbg-$subst('Recip.MemberIDChar')@lists.osr.com

Comments

  • OSR_Community_UserOSR_Community_User Member Posts: 110,217
    Which version of WinDbg are you using? You should be using 4.0.0011 beta
    which is downloadable from

    http://www.microsoft.com/ddk/debugging

    Gary G. Little
    Staff Engineer
    Broadband Storage, Inc.
    [email protected]

    -----Original Message-----
    From: Pennenga, Richard J (Rich) [mailto:[email protected]]
    Sent: Monday, November 05, 2001 12:44 PM
    To: Kernel Debugging Interest List
    Subject: [windbg] ERROR_FILE_CORRUPT

    Dear Windbg gurus -

    We are having trouble getting Windbg to open some of our crash dump files.

    Under W2K, when our application crashes with a 0-divide (intentional), or
    when we use USERDUMP - in both cases, we get a .DMP file that we cannot
    read. We get the following (transcribed) message:

    could not initialize dump file , win32 error 1392

    We looked up 1392 and it seems to imply that the file was corrupted. What
    did we do wrong?

    i There's a Cross _|_
    r h to bridge |
    c the Great Divide.. |
    Rich Pennenga -- Voice/Fax (732) 817-5927
    Avaya, Rm 2B-530A, 101 Crawfords Corner Road
    Holmdel, NJ 07733 -- http://www.avaya.com



    ---
    You are currently subscribed to windbg as: [email protected]
    To unsubscribe send a blank email to leave-windbg-$subst('Recip.MemberIDChar')@lists.osr.com


    ---
    You are currently subscribed to windbg as: $subst('Recip.EmailAddr')
    To unsubscribe send a blank email to leave-windbg-$subst('Recip.MemberIDChar')@lists.osr.com
  • OSR_Community_UserOSR_Community_User Member Posts: 110,217
    I just a week ago downloaded the most current GA version - i didn't jump
    for the Beta.
    -----Original Message-----
    From: Gary Little [mailto:[email protected]]
    Sent: Monday, November 05, 2001 3:58 PM
    To: Kernel Debugging Interest List
    Subject: [windbg] RE: ERROR_FILE_CORRUPT


    Which version of WinDbg are you using? You should be using 4.0.0011 beta
    which is downloadable from

    http://www.microsoft.com/ddk/debugging

    Gary G. Little
    Staff Engineer
    Broadband Storage, Inc.
    [email protected]

    -----Original Message-----
    From: Pennenga, Richard J (Rich) [mailto:[email protected]]
    Sent: Monday, November 05, 2001 12:44 PM
    To: Kernel Debugging Interest List
    Subject: [windbg] ERROR_FILE_CORRUPT

    Dear Windbg gurus -

    We are having trouble getting Windbg to open some of our crash dump
    files.

    Under W2K, when our application crashes with a 0-divide (intentional),
    or when we use USERDUMP - in both cases, we get a .DMP file that we
    cannot read. We get the following (transcribed) message:

    could not initialize dump file , win32 error 1392

    We looked up 1392 and it seems to imply that the file was corrupted.
    What did we do wrong?

    i There's a Cross _|_
    r h to bridge |
    c the Great Divide.. |
    Rich Pennenga -- Voice/Fax (732) 817-5927
    Avaya, Rm 2B-530A, 101 Crawfords Corner Road
    Holmdel, NJ 07733 -- http://www.avaya.com



    ---
    You are currently subscribed to windbg as: [email protected]
    To unsubscribe send a blank email to leave-windbg-$subst('Recip.MemberIDChar')@lists.osr.com
    ---
    You are currently subscribed to windbg as: [email protected]
    To unsubscribe send a blank email to leave-windbg-$subst('Recip.MemberIDChar')@lists.osr.com


    ---
    You are currently subscribed to windbg as: $subst('Recip.EmailAddr')
    To unsubscribe send a blank email to leave-windbg-$subst('Recip.MemberIDChar')@lists.osr.com
  • OSR_Community_UserOSR_Community_User Member Posts: 110,217
    (WOW talk about SPEEDY response!)

    Nathan -

    I'll look into the .dump command (i'll look in the documentation that
    came with Windbg - hope it's there - please provide references/URLs
    otherwise).

    When we force a dump, we execute a zero divide (you can imagine - "int
    x=0; x= x/x;").

    I was encouraged by a Microsoft engineer to use USERDUMP - in fact this
    gentleman encouraged me to imbed it in my product as a strategy for
    diagnosing difficult 'soft realtime' problems (the nature of our
    business). What kinds of issues are there for this tool?

    Also - we used "userdump -k X.exe" and while it generated a .DMP file,
    the process did not die. The command was issued by a different process
    - one running as a service. Did running the command as a service
    prevent the command from killing the other process (also a service)?

    Thanks for your help.
    i There's a Cross _|_
    r h to bridge |
    c the Great Divide.. |
    Rich Pennenga -- Voice/Fax (732) 817-5927
    Avaya, Rm 2B-530A, 101 Crawfords Corner Road
    Holmdel, NJ 07733 -- http://www.avaya.com


    -----Original Message-----
    From: Nathan Nesbit [mailto:[email protected]]
    Sent: Monday, November 05, 2001 3:55 PM
    To: Kernel Debugging Interest List; Pennenga, Richard J (Rich)
    Subject: RE: [windbg] ERROR_FILE_CORRUPT


    Userdump has known problems. We encourage people to use the debugger
    and the .dump command rather than userdump.

    How else are you making dump files? Dumps made by Dr Watson on Win2k
    should work fine.

    -----Original Message-----
    From: Pennenga, Richard J (Rich) [mailto:[email protected]]
    Sent: Monday, November 05, 2001 12:44 PM
    To: Kernel Debugging Interest List
    Subject: [windbg] ERROR_FILE_CORRUPT

    Dear Windbg gurus -

    We are having trouble getting Windbg to open some of our crash dump
    files.

    Under W2K, when our application crashes with a 0-divide (intentional),
    or when we use USERDUMP - in both cases, we get a .DMP file that we
    cannot read. We get the following (transcribed) message:

    could not initialize dump file , win32 error 1392

    We looked up 1392 and it seems to imply that the file was corrupted.
    What did we do wrong?

    i There's a Cross _|_
    r h to bridge |
    c the Great Divide.. |
    Rich Pennenga -- Voice/Fax (732) 817-5927
    Avaya, Rm 2B-530A, 101 Crawfords Corner Road
    Holmdel, NJ 07733 -- http://www.avaya.com



    ---
    You are currently subscribed to windbg as: [email protected]
    To unsubscribe send a blank email to leave-windbg-$subst('Recip.MemberIDChar')@lists.osr.com


    ---
    You are currently subscribed to windbg as: $subst('Recip.EmailAddr')
    To unsubscribe send a blank email to leave-windbg-$subst('Recip.MemberIDChar')@lists.osr.com
  • OSR_Community_UserOSR_Community_User Member Posts: 110,217
    4.0.0011 is the one to use! It may be beta but is the most stable!

    -Ajay
    -----Original Message-----
    From: Pennenga, Richard J (Rich) [mailto:[email protected]]
    Sent: Monday, November 05, 2001 2:28 PM
    To: Kernel Debugging Interest List
    Subject: [windbg] RE: ERROR_FILE_CORRUPT


    I just a week ago downloaded the most current GA version - i didn't jump for
    the Beta.
    -----Original Message-----
    From: Gary Little [mailto:[email protected]]
    Sent: Monday, November 05, 2001 3:58 PM
    To: Kernel Debugging Interest List
    Subject: [windbg] RE: ERROR_FILE_CORRUPT


    Which version of WinDbg are you using? You should be using 4.0.0011 beta
    which is downloadable from

    http://www.microsoft.com/ddk/debugging

    Gary G. Little
    Staff Engineer
    Broadband Storage, Inc.
    [email protected]

    -----Original Message-----
    From: Pennenga, Richard J (Rich) [mailto:[email protected]]
    Sent: Monday, November 05, 2001 12:44 PM
    To: Kernel Debugging Interest List
    Subject: [windbg] ERROR_FILE_CORRUPT

    Dear Windbg gurus -

    We are having trouble getting Windbg to open some of our crash dump files.

    Under W2K, when our application crashes with a 0-divide (intentional), or
    when we use USERDUMP - in both cases, we get a .DMP file that we cannot
    read. We get the following (transcribed) message:

    could not initialize dump file , win32 error 1392

    We looked up 1392 and it seems to imply that the file was corrupted. What
    did we do wrong?

    i There's a Cross _|_
    r h to bridge |
    c the Great Divide.. |
    Rich Pennenga -- Voice/Fax (732) 817-5927
    Avaya, Rm 2B-530A, 101 Crawfords Corner Road
    Holmdel, NJ 07733 -- http://www.avaya.com



    ---
    You are currently subscribed to windbg as: [email protected]
    To unsubscribe send a blank email to leave-windbg-$subst('Recip.MemberIDChar')@lists.osr.com
    ---
    You are currently subscribed to windbg as: [email protected]
    To unsubscribe send a blank email to leave-windbg-$subst('Recip.MemberIDChar')@lists.osr.com
    ---
    You are currently subscribed to windbg as: [email protected]
    To unsubscribe send a blank email to leave-windbg-$subst('Recip.MemberIDChar')@lists.osr.com


    ---
    You are currently subscribed to windbg as: $subst('Recip.EmailAddr')
    To unsubscribe send a blank email to leave-windbg-$subst('Recip.MemberIDChar')@lists.osr.com
  • OSR_Community_UserOSR_Community_User Member Posts: 110,217
    Then that version should be 3.0.0020, if not you need to download. DO NOT be
    fooled by WinDbg 5.0 versions, mostly they are totally dis-functional.

    Do consider 4.0.0011. It is indeed better than 3.0.0020.

    Gary G. Little
    Staff Engineer
    Broadband Storage, Inc.
    [email protected]

    -----Original Message-----
    From: Pennenga, Richard J (Rich) [mailto:[email protected]]
    Sent: Monday, November 05, 2001 2:28 PM
    To: Kernel Debugging Interest List
    Subject: [windbg] RE: ERROR_FILE_CORRUPT

    I just a week ago downloaded the most current GA version - i didn't jump for
    the Beta.
    -----Original Message-----
    From: Gary Little [mailto:[email protected]]
    Sent: Monday, November 05, 2001 3:58 PM
    To: Kernel Debugging Interest List
    Subject: [windbg] RE: ERROR_FILE_CORRUPT
    Which version of WinDbg are you using? You should be using 4.0.0011 beta
    which is downloadable from

    http://www.microsoft.com/ddk/debugging

    Gary G. Little
    Staff Engineer
    Broadband Storage, Inc.
    [email protected]

    -----Original Message-----
    From: Pennenga, Richard J (Rich) [mailto:[email protected]]
    Sent: Monday, November 05, 2001 12:44 PM
    To: Kernel Debugging Interest List
    Subject: [windbg] ERROR_FILE_CORRUPT

    Dear Windbg gurus -

    We are having trouble getting Windbg to open some of our crash dump files.

    Under W2K, when our application crashes with a 0-divide (intentional), or
    when we use USERDUMP - in both cases, we get a .DMP file that we cannot
    read. We get the following (transcribed) message:

    could not initialize dump file , win32 error 1392

    We looked up 1392 and it seems to imply that the file was corrupted. What
    did we do wrong?

    i There's a Cross _|_
    r h to bridge |
    c the Great Divide.. |
    Rich Pennenga -- Voice/Fax (732) 817-5927
    Avaya, Rm 2B-530A, 101 Crawfords Corner Road
    Holmdel, NJ 07733 -- http://www.avaya.com



    ---
    You are currently subscribed to windbg as: [email protected]
    To unsubscribe send a blank email to leave-windbg-$subst('Recip.MemberIDChar')@lists.osr.com
    ---
    You are currently subscribed to windbg as: [email protected]
    To unsubscribe send a blank email to leave-windbg-$subst('Recip.MemberIDChar')@lists.osr.com
    ---
    You are currently subscribed to windbg as: [email protected]
    To unsubscribe send a blank email to leave-windbg-$subst('Recip.MemberIDChar')@lists.osr.com


    ---
    You are currently subscribed to windbg as: $subst('Recip.EmailAddr')
    To unsubscribe send a blank email to leave-windbg-$subst('Recip.MemberIDChar')@lists.osr.com
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. Sign in or register to get started.

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!
Writing WDF Drivers 24 January 2022 Live, Online
Internals & Software Drivers 7 February 2022 Live, Online
Kernel Debugging 21 March 2022 Live, Online
Developing Minifilters 23 May 2022 Live, Online