Is there any way to intentionally crash a process? I’m hunting a bug and
a few people in the field (without debuggers) are seeing this. It’s not
practical to have them install a debugger; all I really want is a drwatson
or drwtsn32 dump. Something that I could build into a small executable
and mail them would be optimal.
TIA.
-sd
Create a remote thread as suspended in the process you want to crash…set
its Start Address to NULL. Call ResumeThread on the Thread Handle you get
back from CreateRemoteThread when you want to crash the Process
it does not function on 9x
Johnny
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com]On Behalf Of Steve Dispensa
Sent: Freitag, 24. Mai 2002 19:43
To: NT Developers Interest List
Subject: [ntdev] Intentionally crashing a process
Is there any way to intentionally crash a process? I’m hunting a bug and
a few people in the field (without debuggers) are seeing this. It’s not
practical to have them install a debugger; all I really want is a drwatson
or drwtsn32 dump. Something that I could build into a small executable
and mail them would be optimal.
TIA.
-sd
You are currently subscribed to ntdev as: xxxxx@yahoo.de
To unsubscribe send a blank email to %%email.unsub%%
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com
We use UserDump to collect a dump from a running process. You can call it
from a command line and pass it the process name or PID. It can also be
setup to monitor a process for specific exceptions and write a dump when the
exception is detected. In our own code we have an macro we use to crash the
process when ever an assertion fires. The macro simply raises an exception,
Userdump catches it and creates a Windbg’able dump for us to debug from.
UserDump can be had from
http://support.microsoft.com/default.aspx?scid=kb;EN-US;q253066
…Ed
-----Original Message-----
From: Steve Dispensa [mailto:xxxxx@positivenetworks.net]
Sent: Friday, May 24, 2002 1:43 PM
To: NT Developers Interest List
Subject: [ntdev] Intentionally crashing a process
Is there any way to intentionally crash a process? I’m hunting a bug and
a few people in the field (without debuggers) are seeing this. It’s not
practical to have them install a debugger; all I really want is a drwatson
or drwtsn32 dump. Something that I could build into a small executable
and mail them would be optimal.
TIA.
-sd
You are currently subscribed to ntdev as: xxxxx@mangosoft.com
To unsubscribe send a blank email to %%email.unsub%%
User USERDUMP tool from OEM Support Tools.
Max
----- Original Message -----
From: “Steve Dispensa”
To: “NT Developers Interest List”
Sent: Friday, May 24, 2002 9:43 PM
Subject: [ntdev] Intentionally crashing a process
> Is there any way to intentionally crash a process? I’m hunting a
bug and
> a few people in the field (without debuggers) are seeing this. It’s
not
> practical to have them install a debugger; all I really want is a
drwatson
> or drwtsn32 dump. Something that I could build into a small
executable
> and mail them would be optimal.
>
> TIA.
>
> -sd
>
>
> —
> You are currently subscribed to ntdev as: xxxxx@storagecraft.com
> To unsubscribe send a blank email to %%email.unsub%%
>
----- Original Message -----
From: “Steve Dispensa”
To: “NT Developers Interest List”
Sent: Friday, May 24, 2002 1:43 PM
Subject: [ntdev] Intentionally crashing a process
> Is there any way to intentionally crash a process? I’m hunting a bug and
> a few people in the field (without debuggers) are seeing this. It’s not
> practical to have them install a debugger; all I really want is a drwatson
> or drwtsn32 dump. Something that I could build into a small executable
> and mail them would be optimal.
>
> TIA.
>
> -sd
>
>
Steve,
drwtsn32 -p should work in addition to Userdump which was already
mentioned.
John Alderson