RE: {Disarmed} Re: WinDbg 6.10.3.233 doesn't close PDB files

That is a VERY fine point of semantics; what is the issue is
(a) the existing version of the OS shut down
(b) a boot cycle was initiated

There is no reason to expect that this is going to load the same version of
the OS that existed at (a) during time (b).
joe


From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Jim Donelson
Sent: Tuesday, November 25, 2008 3:08 PM
To: Kernel Debugging Interest List
Subject: {Disarmed} Re: [windbg] WinDbg 6.10.3.233 doesn’t close PDB files

Ya, but then you are not re-booting.
You are new booting…
On Tue, Nov 25, 2008 at 1:21 PM, Joseph M. Newcomer
wrote:
See below…

_____

From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Jim Donelson

Sent: Tuesday, November 25, 2008 12:00 PM
To: Kernel Debugging Interest List
Subject: Re: [windbg] WinDbg http: MailScanner warning:
numerical links are often malicious: 6.10.3.233 doesn’t close PDB files

>This is patently wrong. The next time the debugger reconnects, the OS
may

>be different. It might even be a different system altogether.

Interesting, you change the os between reboots. How is that done?

By the most trivial of techniques. Selecting a different operating system
in the boot-time menu.
*

>So does rebooting the system to stop a runaway app. Doesn’t mean it’s the
>most efficient approach to dealing with that particular problem …

I thought the issue was re-building the driver, normally you reboot so you
can re-build and re-load, or because you raised an exception in the kernel
and found the issue, so now you need to re-boot and re-build.
****
Very often the problem in a driver does not require a reboot; just
unplugging the device and then plugging the device back in again. PnP will
unload the driver when it is unplugged and reload the driver when it detects
the device, and in between you do the rebuild. If you have enabled the
dynamic download (“map file”) capability in WinDbg, it will download the new
driver from the connected development machine with no effort on your part.
In fact, one of the great motivators for building robust drivers is that
even when they are wrong, all IRPs get completed anyway, so the driver is
always in a stable and recoverable state. Once my students get beyond the
“oh, it blue-screened” stage of development, they can usually use this
technique and only need to reboot the test machine infrequently.
joe
*****
On Tue, Nov 25, 2008 at 11:53 AM, Philip D. Barila
wrote:
“Jim Donelson” wrote in message news:xxxxx@windbg…
> Good point - this has been discussed.
> Not releasing the files on reboot is a good thing. Then it does not have
> to
> reload them.
This is patently wrong. The next time the debugger reconnects, the OS may
be different. It might even be a different system altogether.

> When I need to rebuild, I just close windbg. That always works.
So does rebooting the system to stop a runaway app. Doesn’t mean it’s the
most efficient approach to dealing with that particular problem …

Phil

Philip D. Barila
Seagate Technology LLC
(720) 684-1842
As if I need to say it: Not speaking for Seagate.


You are currently subscribed to windbg as: xxxxx@jimdonelson.com
To unsubscribe send a blank email to xxxxx@lists.osr.com

— You are currently subscribed to windbg as: xxxxx@flounder.com To
unsubscribe send a blank email to xxxxx@lists.osr.com

This message has been scanned for viruses and
dangerous content by http:</http:> MailScanner, and is
believed to be clean.


You are currently subscribed to windbg as: unknown lmsubst tag argument: ‘’
To unsubscribe send a blank email to xxxxx@lists.osr.com

— You are currently subscribed to windbg as: unknown lmsubst tag argument:
‘’ To unsubscribe send a blank email to xxxxx@lists.osr.com

This message has been scanned for viruses and
dangerous content by http:</http:> MailScanner, and is
believed to be clean.</http:>

“Jim Donelson” wrote in message news:xxxxx@windbg…
> Ya, but then you are not re-booting.
> You are new booting…

Are you really determined to die on this particular (indefensible) hill,
Jim? Keeping the symbols loaded is dumb for a whole bunch of reasons, one
of the least of which is the one I mentioned. I get that loading symbols is
slow under certain circumstances. Those conditions are less prevalent every
day.

> On Tue, Nov 25, 2008 at 1:21 PM, Joseph M. Newcomer
> wrote:
> > See below….
> >
> > From: xxxxx@lists.osr.com [mailto:
> > xxxxx@lists.osr.com] On**Behalf Of Jim Donelson
> > Sent: Tuesday, November 25, 2008 12:00 PM
> > To: Kernel Debugging Interest List
> > Subject: Re: [windbg] WinDbg 6.10.3.233 doesn’t close PDB files
> > [I wrote:]
> > >This is patently wrong. The next time the debugger reconnects, the
> > >OS
> > may
> > >be different. It might even be a different system altogether.
> >
> > Interesting, you change the os between reboots. How is that done?
> >
**
> >
> > By the most trivial of techniques. Selecting a different operating
> > system
> > in the boot-time menu.
> >
> > *****

In any case, the documented behavior of the 'Bag is to unload all the pdbs
when the target shuts down. It even says “All symbol files unloaded” (Or
something like that, I don’t have that in a debugger command history right
now.)

Phil

Philip D. Barila
Seagate Technology LLC
(720) 684-1842
As if I need to say it: Not speaking for Seagate.

I’ve found that students become immensely frustrated when the tools are
unreliable. They’ve got enough crises in their life at that point that
tossing unreliable tools at them actively interferes with the learning
process. This was based on a lot of early experiences teaching the course
where I was cycling through different versions of WinDbg. After the
meltdown, I got real nervous about this, and in addition, because I’m not
doing active driver development on a daily basis, I’m not familiar with the
latest set of bugs, and that would add additional time (Back In The Day, I
spent a lot of time on the phone to Ed, who was using the latest version,
saying “What just went wrong here?” and it was usually WinDbg). If I were
doing full-time development, I’d want the Latest and Greatest (ideally), and
would know all the pitfalls. Putting a bad tool and an instructor
inexperienced in the tool in the critical path of learning seems to be a bit
too much for the students to deal with.

joe

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Scott Noone
Sent: Tuesday, November 25, 2008 2:48 PM
To: Kernel Debugging Interest List
Subject: Re:[windbg] WinDbg 6.10.3.233 doesn’t close PDB files

“Jim Donelson” wrote in message news:xxxxx@windbg…
>Has anyone found any other new noteworthy “features” ?

I’m struggling with the issue someone reported last week where WinDBG just
disappears while the target is booting. Not sure what it is yet but it just
terminates while in the waiting to connect state. Hopefully I’ll have time
later for a better bug report.

On the good side, dt now accepts wildcards again which makes me supremely
happy.

* On Tue, Nov 25, 2008 at 01:32:19PM -0500 Joseph M. Newcomer wrote:
> For teaching, I use a fairly old version of WinDbg, because it is fairly
> robust.

I always foist the latest and greatest on my students. I figure it’s better
for them to learn what’s user error and what’s the 'Bag in the lab
environment where they have moral support :slight_smile:

-scott


Scott Noone
Software Engineer
OSR Open Systems Resources, Inc.
http://www.osronline.com

“Jim Donelson” wrote in message news:xxxxx@windbg…
Well, I guess if you are using .10 and need to re-build, you will be.
For me, closing windbg to re-build is such a non-issue. If you have a
shortcut with all your parameters set up, it is nothing to do that.

Has anyone found any other new noteworthy “features” ?

On Tue, Nov 25, 2008 at 12:22 PM, Don Burn wrote:

Dual boot, or swappable disks. I have a test system which at a given moment
of the day, may have anyting from NT4.0RTM upto Win7 on it, and no I do not
expect to close WinDBG to reboot.


Don Burn (MVP, Windows DDK)
Windows Filesystem and Driver Consulting
Website: http://www.windrvr.com
Blog: http://msmvps.com/blogs/WinDrvr
Remove StopSpam to reply

“Skywing” wrote in message
news:xxxxx@windbg…
Dual boot?

- S

From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Jim Donelson
Sent: Tuesday, November 25, 2008 12:00 PM

To: Kernel Debugging Interest List

Subject: Re: [windbg] WinDbg 6.10.3.233 doesn’t close PDB files

>This is patently wrong. The next time the debugger reconnects, the OS
>may
>be different. It might even be a different system altogether.

Interesting, you change the os between reboots. How is that done?

>So does rebooting the system to stop a runaway app. Doesn’t mean it’s the
>most efficient approach to dealing with that particular problem …

I thought the issue was re-building the driver, normally you reboot so you
can re-build and re-load, or because you raised an exception in the kernel
and found the issue, so now you need to re-boot and re-build.

On Tue, Nov 25, 2008 at 11:53 AM, Philip D. Barila

> wrote:
“Jim Donelson” > wrote in

message news:xxxxx@windbg…
> Good point - this has been discussed.
> Not releasing the files on reboot is a good thing. Then it does not have
> to
> reload them.
This is patently wrong. The next time the debugger reconnects, the OS may
be different. It might even be a different system altogether.

> When I need to rebuild, I just close windbg. That always works.
So does rebooting the system to stop a runaway app. Doesn’t mean it’s the
most efficient approach to dealing with that particular problem …

Phil

Philip D. Barila
Seagate Technology LLC
(720) 684-1842
As if I need to say it: Not speaking for Seagate.


You are currently subscribed to windbg as:

xxxxx@jimdonelson.commailto:xxxxx

To unsubscribe send a blank email to

xxxxx@lists.osr.commailto:xxxxx

— You are currently subscribed to windbg as: xxxxx@valhallalegends.com
To unsubscribe send a blank email to xxxxx@lists.osr.com



You are currently subscribed to windbg as: xxxxx@jimdonelson.com

To unsubscribe send a blank email to xxxxx@lists.osr.com


You are currently subscribed to windbg as: xxxxx@flounder.com
To unsubscribe send a blank email to xxxxx@lists.osr.com


This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.</mailto:xxxxx></mailto:xxxxx>

Sounds to me like the VC88-era _invalid_parameter handler hard terminating the process due to something that upset its security checks. (The invalid parameter handler is quite debugger-unfriendly. Even if you have the debugger attached to the process you’re debugging (another WinDbg in kd mode in this instance), the process will still just blow away out from under you with no useful call stack data. Supposedly this is fixed in the VS9 timeframe, but I’m not sure if WinDbg is built against VS8 or VS9-era CRTs.)

I will see if I can repro this the next time I reboot my Hyper-V test VM.

If it is this issue, you need to ``bp ntdll!NtTerminateProcess’’ in order to be able to have any hope at debugging it. (Good luck with sporadic symbols on WinDbg itself, though. *Sigh.)

  • S

-----Original Message-----
From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of Scott Noone
Sent: Tuesday, November 25, 2008 2:48 PM
To: Kernel Debugging Interest List
Subject: Re:[windbg] WinDbg 6.10.3.233 doesn’t close PDB files

“Jim Donelson” wrote in message news:xxxxx@windbg…
>Has anyone found any other new noteworthy “features” ?

I’m struggling with the issue someone reported last week where WinDBG just
disappears while the target is booting. Not sure what it is yet but it just
terminates while in the waiting to connect state. Hopefully I’ll have time
later for a better bug report.

On the good side, dt now accepts wildcards again which makes me supremely
happy.

* On Tue, Nov 25, 2008 at 01:32:19PM -0500 Joseph M. Newcomer wrote:
> For teaching, I use a fairly old version of WinDbg, because it is fairly
> robust.

I always foist the latest and greatest on my students. I figure it’s better
for them to learn what’s user error and what’s the 'Bag in the lab
environment where they have moral support :slight_smile:

-scott


Scott Noone
Software Engineer
OSR Open Systems Resources, Inc.
http://www.osronline.com

“Jim Donelson” wrote in message news:xxxxx@windbg…
Well, I guess if you are using .10 and need to re-build, you will be.
For me, closing windbg to re-build is such a non-issue. If you have a
shortcut with all your parameters set up, it is nothing to do that.

Has anyone found any other new noteworthy “features” ?

On Tue, Nov 25, 2008 at 12:22 PM, Don Burn wrote:

Dual boot, or swappable disks. I have a test system which at a given moment
of the day, may have anyting from NT4.0RTM upto Win7 on it, and no I do not
expect to close WinDBG to reboot.


Don Burn (MVP, Windows DDK)
Windows Filesystem and Driver Consulting
Website: http://www.windrvr.com
Blog: http://msmvps.com/blogs/WinDrvr
Remove StopSpam to reply

“Skywing” wrote in message
news:xxxxx@windbg…
Dual boot?

- S

From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Jim Donelson
Sent: Tuesday, November 25, 2008 12:00 PM

To: Kernel Debugging Interest List

Subject: Re: [windbg] WinDbg 6.10.3.233 doesn’t close PDB files

>This is patently wrong. The next time the debugger reconnects, the OS
>may
>be different. It might even be a different system altogether.

Interesting, you change the os between reboots. How is that done?

>So does rebooting the system to stop a runaway app. Doesn’t mean it’s the
>most efficient approach to dealing with that particular problem …

I thought the issue was re-building the driver, normally you reboot so you
can re-build and re-load, or because you raised an exception in the kernel
and found the issue, so now you need to re-boot and re-build.

On Tue, Nov 25, 2008 at 11:53 AM, Philip D. Barila

> wrote:
“Jim Donelson” > wrote in

message news:xxxxx@windbg…
> Good point - this has been discussed.
> Not releasing the files on reboot is a good thing. Then it does not have
> to
> reload them.
This is patently wrong. The next time the debugger reconnects, the OS may
be different. It might even be a different system altogether.

> When I need to rebuild, I just close windbg. That always works.
So does rebooting the system to stop a runaway app. Doesn’t mean it’s the
most efficient approach to dealing with that particular problem …

Phil

Philip D. Barila
Seagate Technology LLC
(720) 684-1842
As if I need to say it: Not speaking for Seagate.


You are currently subscribed to windbg as:

xxxxx@jimdonelson.commailto:xxxxx

To unsubscribe send a blank email to

xxxxx@lists.osr.commailto:xxxxx

— You are currently subscribed to windbg as: xxxxx@valhallalegends.com
To unsubscribe send a blank email to xxxxx@lists.osr.com



You are currently subscribed to windbg as: xxxxx@jimdonelson.com

To unsubscribe send a blank email to xxxxx@lists.osr.com


You are currently subscribed to windbg as: xxxxx@valhallalegends.com
To unsubscribe send a blank email to xxxxx@lists.osr.com</mailto:xxxxx></mailto:xxxxx>

This is actually a bugfix; dt used to before, but it was just broken for “symbols-added” pdbs. Private pdbs showed symbols just fine, which probably explains how it got out into the world in the first place.

  • S

-----Original Message-----
From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of Martin O’Brien
Sent: Tuesday, November 25, 2008 2:49 PM
To: Kernel Debugging Interest List
Subject: Re:[windbg] WinDbg 6.10.3.233 doesn’t close PDB files

Indeed it does - dt, that is. It makes me happy as well.

Scott Noone wrote:

“Jim Donelson” wrote in message news:xxxxx@windbg…
>> Has anyone found any other new noteworthy “features” ?
>
> I’m struggling with the issue someone reported last week where WinDBG just
> disappears while the target is booting. Not sure what it is yet but it just
> terminates while in the waiting to connect state. Hopefully I’ll have time
> later for a better bug report.
>
> On the good side, dt now accepts wildcards again which makes me supremely
> happy.
>
> * On Tue, Nov 25, 2008 at 01:32:19PM -0500 Joseph M. Newcomer wrote:
> > For teaching, I use a fairly old version of WinDbg, because it is fairly
>> robust.
>
> I always foist the latest and greatest on my students. I figure it’s better
> for them to learn what’s user error and what’s the 'Bag in the lab
> environment where they have moral support :slight_smile:
>
> -scott
>


You are currently subscribed to windbg as: xxxxx@valhallalegends.com
To unsubscribe send a blank email to xxxxx@lists.osr.com

I have a crash dump recording the state at the time of the exit. The
coherent stack before disappearing into dbgeng.dll is:

ntdll!NtTerminateProcess+0x12
kernel32!_ExitProcess+0x4b
kernel32!ExitProcess+0x14
windbg!ExitDebugger+0x50
windbg!ErrorExit+0x4c
windbg!SessionActive+0x8e
windbg!EventCallbacks::SessionStatus+0x28

Searching the stack for strings I found what could be interesting:

0:002> dpu 00c8f4ac 00c8fd5c
00c8f4ac 7d61cbe5 “.?I.”
00c8f4b0 7d503faf “?.?»?.?..?.?..ÿ”
00c8f4b4 ffffffff
00c8f4b8 80004005
00c8f4bc 00000000
00c8f4c0 00000000
00c8f4c4 00000000
00c8f4c8 00000000
00c8f4cc 00003d50
00c8f4d0 00c8f4bc “”
00c8f4d4 00000000
00c8f4d8 00c8fd84 “.È???”
00c8f4dc 7d4d89c4 “??.???.?.?.”
00c8f4e0 7d503fc8 “…”
00c8f4e4 00000000
00c8f4e8 00c8f4fc “.È?A???È.A?«??Debug target initialization failed, 0x800”
00c8f4ec 7d503f5a “???.??.?.???..???À??..???.???.1”
00c8f4f0 80004005
00c8f4f4 77e8f3b0
00c8f4f8 ffffffff
00c8f4fc 00c8f508 “?È.A?«??Debug target initialization failed, 0x8000FFFF.”

The error there isn’t particularly useful

0:002> !error 0x8000FFFF
Error code: (HRESULT) 0x8000ffff (2147549183) - Catastrophic failure

Though it’s very possible that something trampled the stack.

It’s almost 100% reproducible in my current environment. I guess the next
step is (in my copious free time) setting a breakpoint in SessionActive and
see what I see.

-scott


Scott Noone
Software Engineer
OSR Open Systems Resources, Inc.
http://www.osronline.com

“Skywing” wrote in message
news:xxxxx@windbg…
Sounds to me like the VC88-era _invalid_parameter handler hard terminating
the process due to something that upset its security checks. (The invalid
parameter handler is quite debugger-unfriendly. Even if you have the
debugger attached to the process you’re debugging (another WinDbg in kd mode
in this instance), the process will still just blow away out from under you
with no useful call stack data. Supposedly this is fixed in the VS9
timeframe, but I’m not sure if WinDbg is built against VS8 or VS9-era CRTs.)

I will see if I can repro this the next time I reboot my Hyper-V test VM.

If it is this issue, you need to ``bp ntdll!NtTerminateProcess’’ in order to
be able to have any hope at debugging it. (Good luck with sporadic symbols
on WinDbg itself, though. Sigh.)

- S

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Scott Noone
Sent: Tuesday, November 25, 2008 2:48 PM
To: Kernel Debugging Interest List
Subject: Re:[windbg] WinDbg 6.10.3.233 doesn’t close PDB files

“Jim Donelson” wrote in message news:xxxxx@windbg…
>Has anyone found any other new noteworthy “features” ?

I’m struggling with the issue someone reported last week where WinDBG just
disappears while the target is booting. Not sure what it is yet but it just
terminates while in the waiting to connect state. Hopefully I’ll have time
later for a better bug report.

On the good side, dt now accepts wildcards again which makes me supremely
happy.

On Tue, Nov 25, 2008 at 01:32:19PM -0500 Joseph M. Newcomer wrote:
> For teaching, I use a fairly old version of WinDbg, because it is fairly
> robust.

I always foist the latest and greatest on my students. I figure it’s better
for them to learn what’s user error and what’s the 'Bag in the lab
environment where they have moral support :slight_smile:

-scott


Scott Noone
Software Engineer
OSR Open Systems Resources, Inc.
http://www.osronline.com

“Jim Donelson” wrote in message news:xxxxx@windbg…
Well, I guess if you are using .10 and need to re-build, you will be.
For me, closing windbg to re-build is such a non-issue. If you have a
shortcut with all your parameters set up, it is nothing to do that.

Has anyone found any other new noteworthy “features” ?

On Tue, Nov 25, 2008 at 12:22 PM, Don Burn wrote:

Dual boot, or swappable disks. I have a test system which at a given moment
of the day, may have anyting from NT4.0RTM upto Win7 on it, and no I do not
expect to close WinDBG to reboot.


Don Burn (MVP, Windows DDK)
Windows Filesystem and Driver Consulting
Website: http://www.windrvr.com
Blog: http://msmvps.com/blogs/WinDrvr
Remove StopSpam to reply

“Skywing” wrote in message
news:xxxxx@windbg…
Dual boot?

- S

From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Jim Donelson
Sent: Tuesday, November 25, 2008 12:00 PM

To: Kernel Debugging Interest List

Subject: Re: [windbg] WinDbg 6.10.3.233 doesn’t close PDB files

>This is patently wrong. The next time the debugger reconnects, the OS
>may
>be different. It might even be a different system altogether.

Interesting, you change the os between reboots. How is that done?

>So does rebooting the system to stop a runaway app. Doesn’t mean it’s the
>most efficient approach to dealing with that particular problem …

I thought the issue was re-building the driver, normally you reboot so you
can re-build and re-load, or because you raised an exception in the kernel
and found the issue, so now you need to re-boot and re-build.

On Tue, Nov 25, 2008 at 11:53 AM, Philip D. Barila

> wrote:
“Jim Donelson” > wrote in

message news:xxxxx@windbg…
> Good point - this has been discussed.
> Not releasing the files on reboot is a good thing. Then it does not have
> to
> reload them.
This is patently wrong. The next time the debugger reconnects, the OS may
be different. It might even be a different system altogether.

> When I need to rebuild, I just close windbg. That always works.
So does rebooting the system to stop a runaway app. Doesn’t mean it’s the
most efficient approach to dealing with that particular problem …

Phil

Philip D. Barila
Seagate Technology LLC
(720) 684-1842
As if I need to say it: Not speaking for Seagate.


You are currently subscribed to windbg as:

xxxxx@jimdonelson.commailto:xxxxx

To unsubscribe send a blank email to

xxxxx@lists.osr.commailto:xxxxx

— You are currently subscribed to windbg as: xxxxx@valhallalegends.com
To unsubscribe send a blank email to xxxxx@lists.osr.com



You are currently subscribed to windbg as: xxxxx@jimdonelson.com

To unsubscribe send a blank email to xxxxx@lists.osr.com


You are currently subscribed to windbg as: xxxxx@valhallalegends.com
To unsubscribe send a blank email to xxxxx@lists.osr.com</mailto:xxxxx></mailto:xxxxx>

If fact, there SHOULD be a command to unload windbgs lock at any time. There
shouldhave been from day one.

But to be honest, I am so totally (pissed, discouraged, amazed) at MS’s
obvious total lack of concern for those of us that develop drivers, that I
give up attempting to even mention it. It 's pretty ironic that they had the
never to blame us for Vista’s driver problems, when they support is so bad.

There is no point in enumerating the long list of how messed up windbg is,
and I have no choice now that noice is out of business (and why didn’t MS
just purchase NuMega and continue it - they certainly had the available
funds).

Well, all you can say is “forget it jack its chinatown (windbg)”.

On Tue, Nov 25, 2008 at 4:44 PM, Skywing wrote:

> This is actually a bugfix; dt used to before, but it was just broken for
> “symbols-added” pdbs. Private pdbs showed symbols just fine, which probably
> explains how it got out into the world in the first place.
>
> - S
>
> -----Original Message-----
> From: xxxxx@lists.osr.com [mailto:
> xxxxx@lists.osr.com] On Behalf Of Martin O’Brien
> Sent: Tuesday, November 25, 2008 2:49 PM
> To: Kernel Debugging Interest List
> Subject: Re:[windbg] WinDbg 6.10.3.233 doesn’t close PDB files
>
> Indeed it does - dt, that is. It makes me happy as well.
>
> Scott Noone wrote:
> > “Jim Donelson” wrote in message news:xxxxx@windbg.
> …
> >> Has anyone found any other new noteworthy “features” ?
> >
> > I’m struggling with the issue someone reported last week where WinDBG
> just
> > disappears while the target is booting. Not sure what it is yet but it
> just
> > terminates while in the waiting to connect state. Hopefully I’ll have
> time
> > later for a better bug report.
> >
> > On the good side, dt now accepts wildcards again which makes me supremely
> > happy.
> >
> > * On Tue, Nov 25, 2008 at 01:32:19PM -0500 Joseph M. Newcomer wrote:
> > > For teaching, I use a fairly old version of WinDbg, because it is
> fairly
> >> robust.
> >
> > I always foist the latest and greatest on my students. I figure it’s
> better
> > for them to learn what’s user error and what’s the 'Bag in the lab
> > environment where they have moral support :slight_smile:
> >
> > -scott
> >
>
> —
> You are currently subscribed to windbg as: xxxxx@valhallalegends.com
> To unsubscribe send a blank email to xxxxx@lists.osr.com
>
> —
> You are currently subscribed to windbg as: unknown lmsubst tag argument: ‘’
> To unsubscribe send a blank email to xxxxx@lists.osr.com
>

I should add:

The ultimate exit status is 0x80004005. So, either there is some reuse here
or the status was mapped.

-scott


Scott Noone
Software Engineer
OSR Open Systems Resources, Inc.
http://www.osronline.com

“Scott Noone” wrote in message news:xxxxx@windbg…
>I have a crash dump recording the state at the time of the exit. The
>coherent stack before disappearing into dbgeng.dll is:
>
> ntdll!NtTerminateProcess+0x12
> kernel32!_ExitProcess+0x4b
> kernel32!ExitProcess+0x14
> windbg!ExitDebugger+0x50
> windbg!ErrorExit+0x4c
> windbg!SessionActive+0x8e
> windbg!EventCallbacks::SessionStatus+0x28
>
> Searching the stack for strings I found what could be interesting:
>
> 0:002> dpu 00c8f4ac 00c8fd5c
> 00c8f4ac 7d61cbe5 “.?I.”
> 00c8f4b0 7d503faf “?.?»?.?..?.?..ÿ”
> 00c8f4b4 ffffffff
> 00c8f4b8 80004005
> 00c8f4bc 00000000
> 00c8f4c0 00000000
> 00c8f4c4 00000000
> 00c8f4c8 00000000
> 00c8f4cc 00003d50
> 00c8f4d0 00c8f4bc “”
> 00c8f4d4 00000000
> 00c8f4d8 00c8fd84 “.È???”
> 00c8f4dc 7d4d89c4 “??.???.?.?.”
> 00c8f4e0 7d503fc8 “…”
> 00c8f4e4 00000000
> 00c8f4e8 00c8f4fc “.È?A???È.A?«??Debug target initialization failed,
> 0x800”
> 00c8f4ec 7d503f5a “???.??.?.???..???À??..???.???.1”
> 00c8f4f0 80004005
> 00c8f4f4 77e8f3b0
> 00c8f4f8 ffffffff
> 00c8f4fc 00c8f508 “?È.A?«??Debug target initialization failed,
> 0x8000FFFF.”
>
> The error there isn’t particularly useful
>
> 0:002> !error 0x8000FFFF
> Error code: (HRESULT) 0x8000ffff (2147549183) - Catastrophic failure
>
> Though it’s very possible that something trampled the stack.
>
> It’s almost 100% reproducible in my current environment. I guess the next
> step is (in my copious free time) setting a breakpoint in SessionActive
> and see what I see.
>
> -scott
>
> –
> Scott Noone
> Software Engineer
> OSR Open Systems Resources, Inc.
> http://www.osronline.com
>
>
> “Skywing” wrote in message
> news:xxxxx@windbg…
> Sounds to me like the VC88-era _invalid_parameter handler hard terminating
> the process due to something that upset its security checks. (The invalid
> parameter handler is quite debugger-unfriendly. Even if you have the
> debugger attached to the process you’re debugging (another WinDbg in kd
> mode in this instance), the process will still just blow away out from
> under you with no useful call stack data. Supposedly this is fixed in the
> VS9 timeframe, but I’m not sure if WinDbg is built against VS8 or VS9-era
> CRTs.)
>
> I will see if I can repro this the next time I reboot my Hyper-V test VM.
>
> If it is this issue, you need to ``bp ntdll!NtTerminateProcess’’ in order
> to be able to have any hope at debugging it. (Good luck with sporadic
> symbols on WinDbg itself, though. *Sigh.)
>
> - S
>
> -----Original Message-----
> From: xxxxx@lists.osr.com
> [mailto:xxxxx@lists.osr.com] On Behalf Of Scott Noone
> Sent: Tuesday, November 25, 2008 2:48 PM
> To: Kernel Debugging Interest List
> Subject: Re:[windbg] WinDbg 6.10.3.233 doesn’t close PDB files
>
> “Jim Donelson” wrote in message news:xxxxx@windbg…
>>Has anyone found any other new noteworthy “features” ?
>
> I’m struggling with the issue someone reported last week where WinDBG just
> disappears while the target is booting. Not sure what it is yet but it
> just
> terminates while in the waiting to connect state. Hopefully I’ll have time
> later for a better bug report.
>
> On the good side, dt now accepts wildcards again which makes me supremely
> happy.
>
> * On Tue, Nov 25, 2008 at 01:32:19PM -0500 Joseph M. Newcomer wrote:
> > For teaching, I use a fairly old version of WinDbg, because it is fairly
>> robust.
>
> I always foist the latest and greatest on my students. I figure it’s
> better
> for them to learn what’s user error and what’s the 'Bag in the lab
> environment where they have moral support :slight_smile:
>
> -scott
>
> –
> Scott Noone
> Software Engineer
> OSR Open Systems Resources, Inc.
> http://www.osronline.com
>
>
> “Jim Donelson” wrote in message news:xxxxx@windbg…
> Well, I guess if you are using .10 and need to re-build, you will be.
> For me, closing windbg to re-build is such a non-issue. If you have a
> shortcut with all your parameters set up, it is nothing to do that.
>
> Has anyone found any other new noteworthy “features” ?
>
>
> On Tue, Nov 25, 2008 at 12:22 PM, Don Burn wrote:
>
> Dual boot, or swappable disks. I have a test system which at a given
> moment
> of the day, may have anyting from NT4.0RTM upto Win7 on it, and no I do
> not
> expect to close WinDBG to reboot.
>
>
> –
> Don Burn (MVP, Windows DDK)
> Windows Filesystem and Driver Consulting
> Website: http://www.windrvr.com
> Blog: http://msmvps.com/blogs/WinDrvr
> Remove StopSpam to reply
>
>
>
> “Skywing” wrote in message
> news:xxxxx@windbg…
> Dual boot?
>
> - S
>
> From: xxxxx@lists.osr.com
> [mailto:xxxxx@lists.osr.com] On Behalf Of Jim Donelson
> Sent: Tuesday, November 25, 2008 12:00 PM
>
> To: Kernel Debugging Interest List
>
> Subject: Re: [windbg] WinDbg 6.10.3.233 doesn’t close PDB files
>
>
>>This is patently wrong. The next time the debugger reconnects, the OS
>>may
>>be different. It might even be a different system altogether.
>
> Interesting, you change the os between reboots. How is that done?
>
>>So does rebooting the system to stop a runaway app. Doesn’t mean it’s the
>>most efficient approach to dealing with that particular problem …
>
> I thought the issue was re-building the driver, normally you reboot so you
> can re-build and re-load, or because you raised an exception in the kernel
> and found the issue, so now you need to re-boot and re-build.
>
>
> On Tue, Nov 25, 2008 at 11:53 AM, Philip D. Barila
>
> > wrote:
> “Jim Donelson” > wrote in
>
> message news:xxxxx@windbg…
>> Good point - this has been discussed.
>> Not releasing the files on reboot is a good thing. Then it does not have
>> to
>> reload them.
> This is patently wrong. The next time the debugger reconnects, the OS
> may
> be different. It might even be a different system altogether.
>
>> When I need to rebuild, I just close windbg. That always works.
> So does rebooting the system to stop a runaway app. Doesn’t mean it’s the
> most efficient approach to dealing with that particular problem …
>
> Phil
> –
> Philip D. Barila
> Seagate Technology LLC
> (720) 684-1842
> As if I need to say it: Not speaking for Seagate.
>
>
>
> —
> You are currently subscribed to windbg as:
>
> xxxxx@jimdonelson.commailto:xxxxx
>
> To unsubscribe send a blank email to
>
> xxxxx@lists.osr.commailto:xxxxx
>
>
> — You are currently subscribed to windbg as: xxxxx@valhallalegends.com
> To unsubscribe send a blank email to xxxxx@lists.osr.com
>
>
>
> —
>
> You are currently subscribed to windbg as: xxxxx@jimdonelson.com
>
> To unsubscribe send a blank email to xxxxx@lists.osr.com
>
>
>
> —
> You are currently subscribed to windbg as: xxxxx@valhallalegends.com
> To unsubscribe send a blank email to xxxxx@lists.osr.com
>
>
></mailto:xxxxx></mailto:xxxxx>

“ErrorExit” compiled in? Awesome…

Well, at least it’s not the CRT’s fault.

  • S

-----Original Message-----
From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of Scott Noone
Sent: Tuesday, November 25, 2008 5:06 PM
To: Kernel Debugging Interest List
Subject: Re:[windbg] Re:WinDbg 6.10.3.233 doesn’t close PDB files

I have a crash dump recording the state at the time of the exit. The
coherent stack before disappearing into dbgeng.dll is:

ntdll!NtTerminateProcess+0x12
kernel32!_ExitProcess+0x4b
kernel32!ExitProcess+0x14
windbg!ExitDebugger+0x50
windbg!ErrorExit+0x4c
windbg!SessionActive+0x8e
windbg!EventCallbacks::SessionStatus+0x28

Searching the stack for strings I found what could be interesting:

0:002> dpu 00c8f4ac 00c8fd5c
00c8f4ac 7d61cbe5 “.?I.”
00c8f4b0 7d503faf “?.???.?..?.?..?”
00c8f4b4 ffffffff
00c8f4b8 80004005
00c8f4bc 00000000
00c8f4c0 00000000
00c8f4c4 00000000
00c8f4c8 00000000
00c8f4cc 00003d50
00c8f4d0 00c8f4bc “”
00c8f4d4 00000000
00c8f4d8 00c8fd84 “.???”
00c8f4dc 7d4d89c4 “??.???.?.?.”
00c8f4e0 7d503fc8 “…”
00c8f4e4 00000000
00c8f4e8 00c8f4fc “.??A???.A???Debug target initialization failed, 0x800”
00c8f4ec 7d503f5a “???.??.?.???..???..???.???.1”
00c8f4f0 80004005
00c8f4f4 77e8f3b0
00c8f4f8 ffffffff
00c8f4fc 00c8f508 “??.A???Debug target initialization failed, 0x8000FFFF.”

The error there isn’t particularly useful

0:002> !error 0x8000FFFF
Error code: (HRESULT) 0x8000ffff (2147549183) - Catastrophic failure

Though it’s very possible that something trampled the stack.

It’s almost 100% reproducible in my current environment. I guess the next
step is (in my copious free time) setting a breakpoint in SessionActive and
see what I see.

-scott


Scott Noone
Software Engineer
OSR Open Systems Resources, Inc.
http://www.osronline.com

“Skywing” wrote in message
news:xxxxx@windbg…
Sounds to me like the VC88-era _invalid_parameter handler hard terminating
the process due to something that upset its security checks. (The invalid
parameter handler is quite debugger-unfriendly. Even if you have the
debugger attached to the process you’re debugging (another WinDbg in kd mode
in this instance), the process will still just blow away out from under you
with no useful call stack data. Supposedly this is fixed in the VS9
timeframe, but I’m not sure if WinDbg is built against VS8 or VS9-era CRTs.)

I will see if I can repro this the next time I reboot my Hyper-V test VM.

If it is this issue, you need to ``bp ntdll!NtTerminateProcess’’ in order to
be able to have any hope at debugging it. (Good luck with sporadic symbols
on WinDbg itself, though. Sigh.)

- S

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Scott Noone
Sent: Tuesday, November 25, 2008 2:48 PM
To: Kernel Debugging Interest List
Subject: Re:[windbg] WinDbg 6.10.3.233 doesn’t close PDB files

“Jim Donelson” wrote in message news:xxxxx@windbg…
>Has anyone found any other new noteworthy “features” ?

I’m struggling with the issue someone reported last week where WinDBG just
disappears while the target is booting. Not sure what it is yet but it just
terminates while in the waiting to connect state. Hopefully I’ll have time
later for a better bug report.

On the good side, dt now accepts wildcards again which makes me supremely
happy.

On Tue, Nov 25, 2008 at 01:32:19PM -0500 Joseph M. Newcomer wrote:
> For teaching, I use a fairly old version of WinDbg, because it is fairly
> robust.

I always foist the latest and greatest on my students. I figure it’s better
for them to learn what’s user error and what’s the 'Bag in the lab
environment where they have moral support :slight_smile:

-scott


Scott Noone
Software Engineer
OSR Open Systems Resources, Inc.
http://www.osronline.com

“Jim Donelson” wrote in message news:xxxxx@windbg…
Well, I guess if you are using .10 and need to re-build, you will be.
For me, closing windbg to re-build is such a non-issue. If you have a
shortcut with all your parameters set up, it is nothing to do that.

Has anyone found any other new noteworthy “features” ?

On Tue, Nov 25, 2008 at 12:22 PM, Don Burn wrote:

Dual boot, or swappable disks. I have a test system which at a given moment
of the day, may have anyting from NT4.0RTM upto Win7 on it, and no I do not
expect to close WinDBG to reboot.


Don Burn (MVP, Windows DDK)
Windows Filesystem and Driver Consulting
Website: http://www.windrvr.com
Blog: http://msmvps.com/blogs/WinDrvr
Remove StopSpam to reply

“Skywing” wrote in message
news:xxxxx@windbg…
Dual boot?

- S

From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Jim Donelson
Sent: Tuesday, November 25, 2008 12:00 PM

To: Kernel Debugging Interest List

Subject: Re: [windbg] WinDbg 6.10.3.233 doesn’t close PDB files

>This is patently wrong. The next time the debugger reconnects, the OS
>may
>be different. It might even be a different system altogether.

Interesting, you change the os between reboots. How is that done?

>So does rebooting the system to stop a runaway app. Doesn’t mean it’s the
>most efficient approach to dealing with that particular problem …

I thought the issue was re-building the driver, normally you reboot so you
can re-build and re-load, or because you raised an exception in the kernel
and found the issue, so now you need to re-boot and re-build.

On Tue, Nov 25, 2008 at 11:53 AM, Philip D. Barila

> wrote:
“Jim Donelson” > wrote in

message news:xxxxx@windbg…
> Good point - this has been discussed.
> Not releasing the files on reboot is a good thing. Then it does not have
> to
> reload them.
This is patently wrong. The next time the debugger reconnects, the OS may
be different. It might even be a different system altogether.

> When I need to rebuild, I just close windbg. That always works.
So does rebooting the system to stop a runaway app. Doesn’t mean it’s the
most efficient approach to dealing with that particular problem …

Phil

Philip D. Barila
Seagate Technology LLC
(720) 684-1842
As if I need to say it: Not speaking for Seagate.


You are currently subscribed to windbg as:

xxxxx@jimdonelson.commailto:xxxxx

To unsubscribe send a blank email to

xxxxx@lists.osr.commailto:xxxxx

— You are currently subscribed to windbg as: xxxxx@valhallalegends.com
To unsubscribe send a blank email to xxxxx@lists.osr.com



You are currently subscribed to windbg as: xxxxx@jimdonelson.com

To unsubscribe send a blank email to xxxxx@lists.osr.com


You are currently subscribed to windbg as: xxxxx@valhallalegends.com
To unsubscribe send a blank email to xxxxx@lists.osr.com


You are currently subscribed to windbg as: xxxxx@valhallalegends.com
To unsubscribe send a blank email to xxxxx@lists.osr.com</mailto:xxxxx></mailto:xxxxx>

80004005 is E_FAIL, 8000FFFF is E_UNEXPECTED. Neither of which is particularly enlightening, might as well have been a bool retval :slight_smile:

  • S

-----Original Message-----
From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of Scott Noone
Sent: Tuesday, November 25, 2008 5:09 PM
To: Kernel Debugging Interest List
Subject: Re:[windbg] WinDbg 6.10.3.233 doesn’t close PDB files

I should add:

The ultimate exit status is 0x80004005. So, either there is some reuse here
or the status was mapped.

-scott


Scott Noone
Software Engineer
OSR Open Systems Resources, Inc.
http://www.osronline.com

“Scott Noone” wrote in message news:xxxxx@windbg…
>I have a crash dump recording the state at the time of the exit. The
>coherent stack before disappearing into dbgeng.dll is:
>
> ntdll!NtTerminateProcess+0x12
> kernel32!_ExitProcess+0x4b
> kernel32!ExitProcess+0x14
> windbg!ExitDebugger+0x50
> windbg!ErrorExit+0x4c
> windbg!SessionActive+0x8e
> windbg!EventCallbacks::SessionStatus+0x28
>
> Searching the stack for strings I found what could be interesting:
>
> 0:002> dpu 00c8f4ac 00c8fd5c
> 00c8f4ac 7d61cbe5 “.?I.”
> 00c8f4b0 7d503faf “?.???.?..?.?..?”
> 00c8f4b4 ffffffff
> 00c8f4b8 80004005
> 00c8f4bc 00000000
> 00c8f4c0 00000000
> 00c8f4c4 00000000
> 00c8f4c8 00000000
> 00c8f4cc 00003d50
> 00c8f4d0 00c8f4bc “”
> 00c8f4d4 00000000
> 00c8f4d8 00c8fd84 “.???”
> 00c8f4dc 7d4d89c4 “??.???.?.?.”
> 00c8f4e0 7d503fc8 “…”
> 00c8f4e4 00000000
> 00c8f4e8 00c8f4fc “.??A???.A???Debug target initialization failed,
> 0x800”
> 00c8f4ec 7d503f5a “???.??.?.???..???..???.???.1”
> 00c8f4f0 80004005
> 00c8f4f4 77e8f3b0
> 00c8f4f8 ffffffff
> 00c8f4fc 00c8f508 “??.A???Debug target initialization failed,
> 0x8000FFFF.”
>
> The error there isn’t particularly useful
>
> 0:002> !error 0x8000FFFF
> Error code: (HRESULT) 0x8000ffff (2147549183) - Catastrophic failure
>
> Though it’s very possible that something trampled the stack.
>
> It’s almost 100% reproducible in my current environment. I guess the next
> step is (in my copious free time) setting a breakpoint in SessionActive
> and see what I see.
>
> -scott
>
> –
> Scott Noone
> Software Engineer
> OSR Open Systems Resources, Inc.
> http://www.osronline.com
>
>
> “Skywing” wrote in message
> news:xxxxx@windbg…
> Sounds to me like the VC88-era _invalid_parameter handler hard terminating
> the process due to something that upset its security checks. (The invalid
> parameter handler is quite debugger-unfriendly. Even if you have the
> debugger attached to the process you’re debugging (another WinDbg in kd
> mode in this instance), the process will still just blow away out from
> under you with no useful call stack data. Supposedly this is fixed in the
> VS9 timeframe, but I’m not sure if WinDbg is built against VS8 or VS9-era
> CRTs.)
>
> I will see if I can repro this the next time I reboot my Hyper-V test VM.
>
> If it is this issue, you need to ``bp ntdll!NtTerminateProcess’’ in order
> to be able to have any hope at debugging it. (Good luck with sporadic
> symbols on WinDbg itself, though. *Sigh.)
>
> - S
>
> -----Original Message-----
> From: xxxxx@lists.osr.com
> [mailto:xxxxx@lists.osr.com] On Behalf Of Scott Noone
> Sent: Tuesday, November 25, 2008 2:48 PM
> To: Kernel Debugging Interest List
> Subject: Re:[windbg] WinDbg 6.10.3.233 doesn’t close PDB files
>
> “Jim Donelson” wrote in message news:xxxxx@windbg…
>>Has anyone found any other new noteworthy “features” ?
>
> I’m struggling with the issue someone reported last week where WinDBG just
> disappears while the target is booting. Not sure what it is yet but it
> just
> terminates while in the waiting to connect state. Hopefully I’ll have time
> later for a better bug report.
>
> On the good side, dt now accepts wildcards again which makes me supremely
> happy.
>
> * On Tue, Nov 25, 2008 at 01:32:19PM -0500 Joseph M. Newcomer wrote:
> > For teaching, I use a fairly old version of WinDbg, because it is fairly
>> robust.
>
> I always foist the latest and greatest on my students. I figure it’s
> better
> for them to learn what’s user error and what’s the 'Bag in the lab
> environment where they have moral support :slight_smile:
>
> -scott
>
> –
> Scott Noone
> Software Engineer
> OSR Open Systems Resources, Inc.
> http://www.osronline.com
>
>
> “Jim Donelson” wrote in message news:xxxxx@windbg…
> Well, I guess if you are using .10 and need to re-build, you will be.
> For me, closing windbg to re-build is such a non-issue. If you have a
> shortcut with all your parameters set up, it is nothing to do that.
>
> Has anyone found any other new noteworthy “features” ?
>
>
> On Tue, Nov 25, 2008 at 12:22 PM, Don Burn wrote:
>
> Dual boot, or swappable disks. I have a test system which at a given
> moment
> of the day, may have anyting from NT4.0RTM upto Win7 on it, and no I do
> not
> expect to close WinDBG to reboot.
>
>
> –
> Don Burn (MVP, Windows DDK)
> Windows Filesystem and Driver Consulting
> Website: http://www.windrvr.com
> Blog: http://msmvps.com/blogs/WinDrvr
> Remove StopSpam to reply
>
>
>
> “Skywing” wrote in message
> news:xxxxx@windbg…
> Dual boot?
>
> - S
>
> From: xxxxx@lists.osr.com
> [mailto:xxxxx@lists.osr.com] On Behalf Of Jim Donelson
> Sent: Tuesday, November 25, 2008 12:00 PM
>
> To: Kernel Debugging Interest List
>
> Subject: Re: [windbg] WinDbg 6.10.3.233 doesn’t close PDB files
>
>
>>This is patently wrong. The next time the debugger reconnects, the OS
>>may
>>be different. It might even be a different system altogether.
>
> Interesting, you change the os between reboots. How is that done?
>
>>So does rebooting the system to stop a runaway app. Doesn’t mean it’s the
>>most efficient approach to dealing with that particular problem …
>
> I thought the issue was re-building the driver, normally you reboot so you
> can re-build and re-load, or because you raised an exception in the kernel
> and found the issue, so now you need to re-boot and re-build.
>
>
> On Tue, Nov 25, 2008 at 11:53 AM, Philip D. Barila
>
> > wrote:
> “Jim Donelson” > wrote in
>
> message news:xxxxx@windbg…
>> Good point - this has been discussed.
>> Not releasing the files on reboot is a good thing. Then it does not have
>> to
>> reload them.
> This is patently wrong. The next time the debugger reconnects, the OS
> may
> be different. It might even be a different system altogether.
>
>> When I need to rebuild, I just close windbg. That always works.
> So does rebooting the system to stop a runaway app. Doesn’t mean it’s the
> most efficient approach to dealing with that particular problem …
>
> Phil
> –
> Philip D. Barila
> Seagate Technology LLC
> (720) 684-1842
> As if I need to say it: Not speaking for Seagate.
>
>
>
> —
> You are currently subscribed to windbg as:
>
> xxxxx@jimdonelson.commailto:xxxxx
>
> To unsubscribe send a blank email to
>
> xxxxx@lists.osr.commailto:xxxxx
>
>
> — You are currently subscribed to windbg as: xxxxx@valhallalegends.com
> To unsubscribe send a blank email to xxxxx@lists.osr.com
>
>
>
> —
>
> You are currently subscribed to windbg as: xxxxx@jimdonelson.com
>
> To unsubscribe send a blank email to xxxxx@lists.osr.com
>
>
>
> —
> You are currently subscribed to windbg as: xxxxx@valhallalegends.com
> To unsubscribe send a blank email to xxxxx@lists.osr.com
>
>
>


You are currently subscribed to windbg as: xxxxx@valhallalegends.com
To unsubscribe send a blank email to xxxxx@lists.osr.com</mailto:xxxxx></mailto:xxxxx>

Your forgetting something - MS really only cares about it’s internal needs,
and I’ll bet if you work at MS you really only care about one OS - the “new”
one you are working on.
If it was an intentional feature, this is why. (even chance it’s a bug).

On Tue, Nov 25, 2008 at 4:19 PM, Joseph M. Newcomer
wrote:

> That is a VERY fine point of semantics; what is the issue is
>
> (a) the existing version of the OS shut down
>
> (b) a boot cycle was initiated
>
>
>
> There is no reason to expect that this is going to load the same version of
> the OS that existed at (a) during time (b).
>
>
> joe
>
>
>
>
> ------------------------------
>
> From: xxxxx@lists.osr.com [mailto:
> xxxxx@lists.osr.com] *OnBehalf Of Jim Donelson
> Sent: Tuesday, November 25, 2008 3:08 PM
> To: Kernel Debugging Interest List
> Subject: {Disarmed} Re: [windbg] WinDbg 6.10.3.233 doesn’t close PDB
> files
>
>
>
> Ya, but then you are not re-booting.
> You are new booting…
>
> On Tue, Nov 25, 2008 at 1:21 PM, Joseph M. Newcomer
> wrote:
>
> See below?.
>
>
> ------------------------------
>
> From: xxxxx@lists.osr.com [mailto:
> xxxxx@lists.osr.com] On
Behalf Of Jim Donelson
>
>
> Sent: Tuesday, November 25, 2008 12:00 PM
> To: Kernel Debugging Interest List
> Subject: Re: [windbg] WinDbg MailScanner warning: numerical links are
> often malicious:
6.10.3.233 http: doesn’t close PDB files
>
>
>
> >This is patently wrong. The next time the debugger reconnects, the OS
> may
>
>
> >be different. It might even be a different system altogether.
>
> Interesting, you change the os between reboots. How is that done?
>
>
>
> By the most trivial of techniques. Selecting a different operating system
> in the boot-time menu.
>
>

>
>
> >So does rebooting the system to stop a runaway app. Doesn’t mean it’s the
> >most efficient approach to dealing with that particular problem …
>
> I thought the issue was re-building the driver, normally you reboot so you
> can re-build and re-load, or because you raised an exception in the kernel
> and found the issue, so now you need to re-boot and re-build.
>
> ****
>
> Very often the problem in a driver does not require a reboot; just
> unplugging the device and then plugging the device back in again. PnP will
> unload the driver when it is unplugged and reload the driver when it detects
> the device, and in between you do the rebuild. If you have enabled the
> dynamic download (“map file”) capability in WinDbg, it will download the new
> driver from the connected development machine with no effort on your part.
>
> In fact, one of the great motivators for building robust drivers is that
> even when they are wrong, all IRPs get completed anyway, so the driver is
> always in a stable and recoverable state. Once my students get beyond the
> “oh, it blue-screened” stage of development, they can usually use this
> technique and only need to reboot the test machine infrequently.
>
> joe
>
>
***
>
> On Tue, Nov 25, 2008 at 11:53 AM, Philip D. Barila <
> xxxxx@seagate.com> wrote:
>
> “Jim Donelson” wrote in message news:xxxxx@windbg…
>
> > Good point - this has been discussed.
> > Not releasing the files on reboot is a good thing. Then it does not have
> > to
> > reload them.
>
> This is patently wrong. The next time the debugger reconnects, the OS
> may
> be different. It might even be a different system altogether.
>
>
> > When I need to rebuild, I just close windbg. That always works.
>
> So does rebooting the system to stop a runaway app. Doesn’t mean it’s the
> most efficient approach to dealing with that particular problem …
>
>
> Phil
> –
> Philip D. Barila
> Seagate Technology LLC
> (720) 684-1842
> As if I need to say it: Not speaking for Seagate.
>
>
>
> —
>
> You are currently subscribed to windbg as: xxxxx@jimdonelson.com
> To unsubscribe send a blank email to xxxxx@lists.osr.com
>
>
> — You are currently subscribed to windbg as: xxxxx@flounder.com To
> unsubscribe send a blank email to xxxxx@lists.osr.com
> –
> This message has been scanned for viruses and
> dangerous content by MailScanner http:</http:>, and is
> believed to be clean.
>
>
> —
> You are currently subscribed to windbg as: unknown lmsubst tag argument: ‘’
>
> To unsubscribe send a blank email to xxxxx@lists.osr.com
>
>
> — You are currently subscribed to windbg as: unknown lmsubst tag
> argument: ‘’ To unsubscribe send a blank email to
> xxxxx@lists.osr.com
> –
> This message has been scanned for viruses and
> dangerous content by MailScanner http:</http:>, and is
> believed to be clean.
>
> —
> You are currently subscribed to windbg as: unknown lmsubst tag argument: ‘’
>
> To unsubscribe send a blank email to xxxxx@lists.osr.com
></http:>

That’s a very interesting and sadly accurate way of looking at many widnows error codes - Device
Code x, pretty much any com error.

mm

Skywing wrote:

80004005 is E_FAIL, 8000FFFF is E_UNEXPECTED. Neither of which is particularly enlightening, might as well have been a bool retval :slight_smile:

  • S

-----Original Message-----
From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of Scott Noone
Sent: Tuesday, November 25, 2008 5:09 PM
To: Kernel Debugging Interest List
Subject: Re:[windbg] WinDbg 6.10.3.233 doesn’t close PDB files

I should add:

The ultimate exit status is 0x80004005. So, either there is some reuse here
or the status was mapped.

-scott

I think it is more that everyone uses the internal builds of their tools and symbols, and thus the external-facing stuff only gets tested as an afterthought (if that). The DTW team doesn?t exactly have a plethora of resources to spare either, the last I heard.

It would be nice if people tried using the next public release candidate for a few days for their general work before it got released. Alas, without public symbols posted for internal builds, that probably still won?t catch all of the private symbol dependency stuff.

  • S

From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of Jim Donelson
Sent: Tuesday, November 25, 2008 5:11 PM
To: Kernel Debugging Interest List
Subject: Re: {Disarmed} Re: [windbg] WinDbg 6.10.3.233 doesn’t close PDB files

Your forgetting something - MS really only cares about it’s internal needs, and I’ll bet if you work at MS you really only care about one OS - the “new” one you are working on.
If it was an intentional feature, this is why. (even chance it’s a bug).

On Tue, Nov 25, 2008 at 4:19 PM, Joseph M. Newcomer > wrote:

That is a VERY fine point of semantics; what is the issue is

(a) the existing version of the OS shut down

(b) a boot cycle was initiated

There is no reason to expect that this is going to load the same version of the OS that existed at (a) during time (b).

joe



From: xxxxx@lists.osr.commailto:xxxxx [mailto:xxxxx@lists.osr.commailto:xxxxx] On Behalf Of Jim Donelson
Sent: Tuesday, November 25, 2008 3:08 PM
To: Kernel Debugging Interest List
Subject: {Disarmed} Re: [windbg] WinDbg 6.10.3.233http: doesn’t close PDB files

Ya, but then you are not re-booting.
You are new booting…

On Tue, Nov 25, 2008 at 1:21 PM, Joseph M. Newcomer > wrote:

See below?.



From: xxxxx@lists.osr.commailto:xxxxx [mailto:xxxxx@lists.osr.commailto:xxxxx] On Behalf Of Jim Donelson

Sent: Tuesday, November 25, 2008 12:00 PM
To: Kernel Debugging Interest List
Subject: Re: [windbg] WinDbg MailScanner warning: numerical links are often malicious: 6.10.3.233http: doesn’t close PDB files

>This is patently wrong. The next time the debugger reconnects, the OS may

>be different. It might even be a different system altogether.

Interesting, you change the os between reboots. How is that done?



By the most trivial of techniques. Selecting a different operating system in the boot-time menu.

*

>So does rebooting the system to stop a runaway app. Doesn’t mean it’s the
>most efficient approach to dealing with that particular problem …

I thought the issue was re-building the driver, normally you reboot so you can re-build and re-load, or because you raised an exception in the kernel and found the issue, so now you need to re-boot and re-build.

****

Very often the problem in a driver does not require a reboot; just unplugging the device and then plugging the device back in again. PnP will unload the driver when it is unplugged and reload the driver when it detects the device, and in between you do the rebuild. If you have enabled the dynamic download (“map file”) capability in WinDbg, it will download the new driver from the connected development machine with no effort on your part.

In fact, one of the great motivators for building robust drivers is that even when they are wrong, all IRPs get completed anyway, so the driver is always in a stable and recoverable state. Once my students get beyond the “oh, it blue-screened” stage of development, they can usually use this technique and only need to reboot the test machine infrequently.

joe

*****

On Tue, Nov 25, 2008 at 11:53 AM, Philip D. Barila > wrote:

“Jim Donelson” > wrote in message news:xxxxx@windbg…

> Good point - this has been discussed.
> Not releasing the files on reboot is a good thing. Then it does not have
> to
> reload them.

This is patently wrong. The next time the debugger reconnects, the OS may
be different. It might even be a different system altogether.

> When I need to rebuild, I just close windbg. That always works.

So does rebooting the system to stop a runaway app. Doesn’t mean it’s the
most efficient approach to dealing with that particular problem …

Phil

Philip D. Barila
Seagate Technology LLC
(720) 684-1842
As if I need to say it: Not speaking for Seagate.



You are currently subscribed to windbg as: xxxxx@jimdonelson.commailto:xxxxx
To unsubscribe send a blank email to xxxxx@lists.osr.commailto:xxxxx

— You are currently subscribed to windbg as: xxxxx@flounder.commailto:xxxxx To unsubscribe send a blank email to xxxxx@lists.osr.commailto:xxxxx

This message has been scanned for viruses and
dangerous content by MailScannerhttp:</http:>, and is
believed to be clean.


You are currently subscribed to windbg as: unknown lmsubst tag argument: ‘’
To unsubscribe send a blank email to xxxxx@lists.osr.commailto:xxxxx

— You are currently subscribed to windbg as: unknown lmsubst tag argument: ‘’ To unsubscribe send a blank email to xxxxx@lists.osr.commailto:xxxxx

This message has been scanned for viruses and
dangerous content by MailScannerhttp:</http:>, and is
believed to be clean.


You are currently subscribed to windbg as: unknown lmsubst tag argument: ‘’
To unsubscribe send a blank email to xxxxx@lists.osr.commailto:xxxxx

— You are currently subscribed to windbg as: unknown lmsubst tag argument: ‘’ To unsubscribe send a blank email to xxxxx@lists.osr.com</mailto:xxxxx></mailto:xxxxx></mailto:xxxxx></mailto:xxxxx></mailto:xxxxx></mailto:xxxxx></mailto:xxxxx></http:></mailto:xxxxx></mailto:xxxxx></http:></mailto:xxxxx></mailto:xxxxx>

“The DTW team doesn’t exactly have a plethora of resources to spare either,
the last I heard.”

Only because MS chooses not to allocate funds. It’s not about the team.
Although, I might be afraid to admit in public I worked on windbg if there
were any devs around. You could get hurt. Bad.

On Tue, Nov 25, 2008 at 5:13 PM, Skywing wrote:

> I think it is more that everyone uses the internal builds of their tools
> and symbols, and thus the external-facing stuff only gets tested as an
> afterthought (if that). The DTW team doesn’t exactly have a plethora of
> resources to spare either, the last I heard.
>
>
>
> It would be nice if people tried using the next public release candidate
> for a few days for their general work before it got released. Alas, without
> public symbols posted for internal builds, that probably still won’t catch
> all of the private symbol dependency stuff.
>
>
>
> - S
>
>
>
> From: xxxxx@lists.osr.com [mailto:
> xxxxx@lists.osr.com] *On Behalf Of *Jim Donelson
> Sent: Tuesday, November 25, 2008 5:11 PM
> To: Kernel Debugging Interest List
> Subject: Re: {Disarmed} Re: [windbg] WinDbg 6.10.3.233 doesn’t close PDB
> files
>
>
>
> Your forgetting something - MS really only cares about it’s internal needs,
> and I’ll bet if you work at MS you really only care about one OS - the “new”
> one you are working on.
> If it was an intentional feature, this is why. (even chance it’s a bug).
>
>
> On Tue, Nov 25, 2008 at 4:19 PM, Joseph M. Newcomer <
> xxxxx@flounder.com> wrote:
>
> That is a VERY fine point of semantics; what is the issue is
>
> (a) the existing version of the OS shut down
>
> (b) a boot cycle was initiated
>
>
>
> There is no reason to expect that this is going to load the same version of
> the OS that existed at (a) during time (b).
>
> joe
>
>
>
>
> ------------------------------
>
> From: xxxxx@lists.osr.com [mailto:
> xxxxx@lists.osr.com] *On Behalf Of *Jim Donelson
> Sent: Tuesday, November 25, 2008 3:08 PM
> To: Kernel Debugging Interest List
> Subject: {Disarmed} Re: [windbg] WinDbg 6.10.3.233 doesn’t close PDB
> files
>
>
>
> Ya, but then you are not re-booting.
> You are new booting…
>
> On Tue, Nov 25, 2008 at 1:21 PM, Joseph M. Newcomer
> wrote:
>
> See below?.
>
>
> ------------------------------
>
> From: xxxxx@lists.osr.com [mailto:
> xxxxx@lists.osr.com] *On Behalf Of Jim Donelson
>
>
> Sent: Tuesday, November 25, 2008 12:00 PM
> To: Kernel Debugging Interest List
> Subject: Re: [windbg] WinDbg MailScanner warning: numerical links are
> often malicious:
6.10.3.233 http: doesn’t close PDB files
>
>
>
> >This is patently wrong. The next time the debugger reconnects, the OS
> may
>
>
> >be different. It might even be a different system altogether.
>
> Interesting, you change the os between reboots. How is that done?
>
>
>
> By the most trivial of techniques. Selecting a different operating system
> in the boot-time menu.
>
>

>
>
> >So does rebooting the system to stop a runaway app. Doesn’t mean it’s the
> >most efficient approach to dealing with that particular problem …
>
> I thought the issue was re-building the driver, normally you reboot so you
> can re-build and re-load, or because you raised an exception in the kernel
> and found the issue, so now you need to re-boot and re-build.
>
> ****
>
> Very often the problem in a driver does not require a reboot; just
> unplugging the device and then plugging the device back in again. PnP will
> unload the driver when it is unplugged and reload the driver when it detects
> the device, and in between you do the rebuild. If you have enabled the
> dynamic download (“map file”) capability in WinDbg, it will download the new
> driver from the connected development machine with no effort on your part.
>
> In fact, one of the great motivators for building robust drivers is that
> even when they are wrong, all IRPs get completed anyway, so the driver is
> always in a stable and recoverable state. Once my students get beyond the
> “oh, it blue-screened” stage of development, they can usually use this
> technique and only need to reboot the test machine infrequently.
>
> joe
>
>*****
>
> On Tue, Nov 25, 2008 at 11:53 AM, Philip D. Barila <
> xxxxx@seagate.com> wrote:
>
> “Jim Donelson” wrote in message news:xxxxx@windbg…
>
> > Good point - this has been discussed.
> > Not releasing the files on reboot is a good thing. Then it does not have
> > to
> > reload them.
>
> This is patently wrong. The next time the debugger reconnects, the OS
> may
> be different. It might even be a different system altogether.
>
>
> > When I need to rebuild, I just close windbg. That always works.
>
> So does rebooting the system to stop a runaway app. Doesn’t mean it’s the
> most efficient approach to dealing with that particular problem …
>
>
> Phil
> –
> Philip D. Barila
> Seagate Technology LLC
> (720) 684-1842
> As if I need to say it: Not speaking for Seagate.
>
>
>
> —
>
> You are currently subscribed to windbg as: xxxxx@jimdonelson.com
> To unsubscribe send a blank email to xxxxx@lists.osr.com
>
>
> — You are currently subscribed to windbg as: xxxxx@flounder.com To
> unsubscribe send a blank email to xxxxx@lists.osr.com
> –
> This message has been scanned for viruses and
> dangerous content by MailScanner http:</http:>, and is
> believed to be clean.
>
>
> —
> You are currently subscribed to windbg as: unknown lmsubst tag argument: ‘’
>
> To unsubscribe send a blank email to xxxxx@lists.osr.com
>
>
> — You are currently subscribed to windbg as: unknown lmsubst tag
> argument: ‘’ To unsubscribe send a blank email to
> xxxxx@lists.osr.com
> –
> This message has been scanned for viruses and
> dangerous content by MailScanner http:</http:>, and is
> believed to be clean.
>
>
> —
> You are currently subscribed to windbg as: unknown lmsubst tag argument: ‘’
>
> To unsubscribe send a blank email to xxxxx@lists.osr.com
>
>
> — You are currently subscribed to windbg as: unknown lmsubst tag
> argument: ‘’ To unsubscribe send a blank email to
> xxxxx@lists.osr.com
>
> —
> You are currently subscribed to windbg as: unknown lmsubst tag argument: ‘’
>
> To unsubscribe send a blank email to xxxxx@lists.osr.com
></http:>

On the other hand, despite its shortcomings, I still firmly believe that WinDbg is way better than any other user mode Windows debugger out there for native code debugging.

That is not to say that the shortcomings should not be fixed and that sometimes it is better to not upgrade for a particular release, but overall it’s still lightyears ahead of the VS native code debugger, IDA’s debugger, W32Dasm (old-time!), etc. IMO.

  • S

From: Jim Donelson
Sent: Tuesday, November 25, 2008 16:26
To: Kernel Debugging Interest List
Subject: Re: {Disarmed} Re: [windbg] WinDbg 6.10.3.233 doesn’t close PDB files

“The DTW team doesn’t exactly have a plethora of resources to spare either,
the last I heard.”

Only because MS chooses not to allocate funds. It’s not about the team.
Although, I might be afraid to admit in public I worked on windbg if there
were any devs around. You could get hurt. Bad.

On Tue, Nov 25, 2008 at 5:13 PM, Skywing > wrote:

I think it is more that everyone uses the internal builds of their tools and symbols, and thus the external-facing stuff only gets tested as an afterthought (if that). The DTW team doesn’t exactly have a plethora of resources to spare either, the last I heard.

It would be nice if people tried using the next public release candidate for a few days for their general work before it got released. Alas, without public symbols posted for internal builds, that probably still won’t catch all of the private symbol dependency stuff.

- S

From: xxxxx@lists.osr.commailto:xxxxx [mailto:xxxxx@lists.osr.commailto:xxxxx] On Behalf Of Jim Donelson
Sent: Tuesday, November 25, 2008 5:11 PM

To: Kernel Debugging Interest List
Subject: Re: {Disarmed} Re: [windbg] WinDbg 6.10.3.233http: doesn’t close PDB files

Your forgetting something - MS really only cares about it’s internal needs, and I’ll bet if you work at MS you really only care about one OS - the “new” one you are working on.
If it was an intentional feature, this is why. (even chance it’s a bug).

On Tue, Nov 25, 2008 at 4:19 PM, Joseph M. Newcomer > wrote:

That is a VERY fine point of semantics; what is the issue is

(a) the existing version of the OS shut down

(b) a boot cycle was initiated

There is no reason to expect that this is going to load the same version of the OS that existed at (a) during time (b).

joe



From: xxxxx@lists.osr.commailto:xxxxx [mailto:xxxxx@lists.osr.commailto:xxxxx] On Behalf Of Jim Donelson
Sent: Tuesday, November 25, 2008 3:08 PM
To: Kernel Debugging Interest List
Subject: {Disarmed} Re: [windbg] WinDbg 6.10.3.233http: doesn’t close PDB files

Ya, but then you are not re-booting.
You are new booting…

On Tue, Nov 25, 2008 at 1:21 PM, Joseph M. Newcomer > wrote:

See below?.



From: xxxxx@lists.osr.commailto:xxxxx [mailto:xxxxx@lists.osr.commailto:xxxxx] On Behalf Of Jim Donelson

Sent: Tuesday, November 25, 2008 12:00 PM
To: Kernel Debugging Interest List
Subject: Re: [windbg] WinDbg MailScanner warning: numerical links are often malicious: 6.10.3.233http: doesn’t close PDB files

>This is patently wrong. The next time the debugger reconnects, the OS may

>be different. It might even be a different system altogether.

Interesting, you change the os between reboots. How is that done?



By the most trivial of techniques. Selecting a different operating system in the boot-time menu.

*

>So does rebooting the system to stop a runaway app. Doesn’t mean it’s the
>most efficient approach to dealing with that particular problem …

I thought the issue was re-building the driver, normally you reboot so you can re-build and re-load, or because you raised an exception in the kernel and found the issue, so now you need to re-boot and re-build.

****

Very often the problem in a driver does not require a reboot; just unplugging the device and then plugging the device back in again. PnP will unload the driver when it is unplugged and reload the driver when it detects the device, and in between you do the rebuild. If you have enabled the dynamic download (“map file”) capability in WinDbg, it will download the new driver from the connected development machine with no effort on your part.

In fact, one of the great motivators for building robust drivers is that even when they are wrong, all IRPs get completed anyway, so the driver is always in a stable and recoverable state. Once my students get beyond the “oh, it blue-screened” stage of development, they can usually use this technique and only need to reboot the test machine infrequently.

joe

*****

On Tue, Nov 25, 2008 at 11:53 AM, Philip D. Barila > wrote:

“Jim Donelson” > wrote in message news:xxxxx@windbg…

> Good point - this has been discussed.
> Not releasing the files on reboot is a good thing. Then it does not have
> to
> reload them.

This is patently wrong. The next time the debugger reconnects, the OS may
be different. It might even be a different system altogether.

> When I need to rebuild, I just close windbg. That always works.

So does rebooting the system to stop a runaway app. Doesn’t mean it’s the
most efficient approach to dealing with that particular problem …

Phil

Philip D. Barila
Seagate Technology LLC
(720) 684-1842
As if I need to say it: Not speaking for Seagate.



You are currently subscribed to windbg as: xxxxx@jimdonelson.commailto:xxxxx
To unsubscribe send a blank email to xxxxx@lists.osr.commailto:xxxxx

— You are currently subscribed to windbg as: xxxxx@flounder.commailto:xxxxx To unsubscribe send a blank email to xxxxx@lists.osr.commailto:xxxxx

This message has been scanned for viruses and
dangerous content by MailScannerhttp:</http:>, and is
believed to be clean.


You are currently subscribed to windbg as: unknown lmsubst tag argument: ‘’
To unsubscribe send a blank email to xxxxx@lists.osr.commailto:xxxxx

— You are currently subscribed to windbg as: unknown lmsubst tag argument: ‘’ To unsubscribe send a blank email to xxxxx@lists.osr.commailto:xxxxx

This message has been scanned for viruses and
dangerous content by MailScannerhttp:</http:>, and is
believed to be clean.


You are currently subscribed to windbg as: unknown lmsubst tag argument: ‘’
To unsubscribe send a blank email to xxxxx@lists.osr.commailto:xxxxx

— You are currently subscribed to windbg as: unknown lmsubst tag argument: ‘’ To unsubscribe send a blank email to xxxxx@lists.osr.commailto:xxxxx


You are currently subscribed to windbg as: unknown lmsubst tag argument: ‘’
To unsubscribe send a blank email to xxxxx@lists.osr.commailto:xxxxx

— You are currently subscribed to windbg as: unknown lmsubst tag argument: ‘’ To unsubscribe send a blank email to xxxxx@lists.osr.com</mailto:xxxxx></mailto:xxxxx></mailto:xxxxx></mailto:xxxxx></mailto:xxxxx></mailto:xxxxx></mailto:xxxxx></mailto:xxxxx></mailto:xxxxx></http:></mailto:xxxxx></mailto:xxxxx></http:></mailto:xxxxx></mailto:xxxxx></http:></mailto:xxxxx></mailto:xxxxx>

Better in abstract terms considering features that if only they worked right
and and had a more reasonable syntax and were properly documented. It’s true
that
there are thing you can do only with the “bag”.

However in practice, you will be hard pressed to find any significant
numbers of user mode devs that agree with you.

You and I both have become convoluted in our opinions, because sadly, given
my qualifications above, I agree with you.

It still does change the fact that obviously MS just does not care, and seem
to do slop bucket releases.

On Tue, Nov 25, 2008 at 5:32 PM, Skywing wrote:

> On the other hand, despite its shortcomings, I still firmly believe that
> WinDbg is way better than any other user mode Windows debugger out there for
> native code debugging.
>
> That is not to say that the shortcomings should not be fixed and that
> sometimes it is better to not upgrade for a particular release, but overall
> it’s still lightyears ahead of the VS native code debugger, IDA’s debugger,
> W32Dasm (old-time!), etc. IMO.
>
> - S
>
> ------------------------------
> From: Jim Donelson
> Sent: Tuesday, November 25, 2008 16:26
> To: Kernel Debugging Interest List
>
> Subject: Re: {Disarmed} Re: [windbg] WinDbg 6.10.3.233 doesn’t close PDB
> files
>
> “The DTW team doesn’t exactly have a plethora of resources to spare
> either,
> the last I heard.”
>
> Only because MS chooses not to allocate funds. It’s not about the team.
> Although, I might be afraid to admit in public I worked on windbg if there
> were any devs around. You could get hurt. Bad.
>
>
> On Tue, Nov 25, 2008 at 5:13 PM, Skywing wrote:
>
>> I think it is more that everyone uses the internal builds of their tools
>> and symbols, and thus the external-facing stuff only gets tested as an
>> afterthought (if that). The DTW team doesn’t exactly have a plethora of
>> resources to spare either, the last I heard.
>>
>>
>>
>> It would be nice if people tried using the next public release candidate
>> for a few days for their general work before it got released. Alas, without
>> public symbols posted for internal builds, that probably still won’t catch
>> all of the private symbol dependency stuff.
>>
>>
>>
>> - S
>>
>>
>>
>> From: xxxxx@lists.osr.com [mailto:
>> xxxxx@lists.osr.com] *On Behalf Of *Jim Donelson
>> Sent: Tuesday, November 25, 2008 5:11 PM
>>
>> To: Kernel Debugging Interest List
>> Subject: Re: {Disarmed} Re: [windbg] WinDbg 6.10.3.233 doesn’t close
>> PDB files
>>
>>
>>
>> Your forgetting something - MS really only cares about it’s internal
>> needs, and I’ll bet if you work at MS you really only care about one OS -
>> the “new” one you are working on.
>> If it was an intentional feature, this is why. (even chance it’s a bug).
>>
>>
>> On Tue, Nov 25, 2008 at 4:19 PM, Joseph M. Newcomer <
>> xxxxx@flounder.com> wrote:
>>
>> That is a VERY fine point of semantics; what is the issue is
>>
>> (a) the existing version of the OS shut down
>>
>> (b) a boot cycle was initiated
>>
>>
>>
>> There is no reason to expect that this is going to load the same version
>> of the OS that existed at (a) during time (b).
>>
>>
>> joe
>>
>>
>>
>>
>> ------------------------------
>>
>> From: xxxxx@lists.osr.com [mailto:
>> xxxxx@lists.osr.com] *On Behalf Of *Jim Donelson
>> Sent: Tuesday, November 25, 2008 3:08 PM
>> To: Kernel Debugging Interest List
>> Subject: {Disarmed} Re: [windbg] WinDbg 6.10.3.233 doesn’t close PDB
>> files
>>
>>
>>
>> Ya, but then you are not re-booting.
>> You are new booting…
>>
>> On Tue, Nov 25, 2008 at 1:21 PM, Joseph M. Newcomer <
>> xxxxx@flounder.com> wrote:
>>
>> See below?.
>>
>>
>> ------------------------------
>>
>> From: xxxxx@lists.osr.com [mailto:
>> xxxxx@lists.osr.com] *On Behalf Of Jim Donelson
>>
>>
>> Sent: Tuesday, November 25, 2008 12:00 PM
>> To: Kernel Debugging Interest List
>> Subject: Re: [windbg] WinDbg MailScanner warning: numerical links are
>> often malicious:
6.10.3.233 http: doesn’t close PDB files
>>
>>
>>
>> >This is patently wrong. The next time the debugger reconnects, the OS
>> may
>>
>>
>> >be different. It might even be a different system altogether.
>>
>> Interesting, you change the os between reboots. How is that done?
>>
>>
>>
>> By the most trivial of techniques. Selecting a different operating system
>> in the boot-time menu.
>>
>>

>>
>>
>> >So does rebooting the system to stop a runaway app. Doesn’t mean it’s
>> the
>> >most efficient approach to dealing with that particular problem …
>>
>> I thought the issue was re-building the driver, normally you reboot so you
>> can re-build and re-load, or because you raised an exception in the kernel
>> and found the issue, so now you need to re-boot and re-build.
>>
>> ****
>>
>> Very often the problem in a driver does not require a reboot; just
>> unplugging the device and then plugging the device back in again. PnP will
>> unload the driver when it is unplugged and reload the driver when it detects
>> the device, and in between you do the rebuild. If you have enabled the
>> dynamic download (“map file”) capability in WinDbg, it will download the new
>> driver from the connected development machine with no effort on your part.
>>
>> In fact, one of the great motivators for building robust drivers is that
>> even when they are wrong, all IRPs get completed anyway, so the driver is
>> always in a stable and recoverable state. Once my students get beyond the
>> “oh, it blue-screened” stage of development, they can usually use this
>> technique and only need to reboot the test machine infrequently.
>>
>>
>> joe
>>
>>*****
>>
>> On Tue, Nov 25, 2008 at 11:53 AM, Philip D. Barila <
>> xxxxx@seagate.com> wrote:
>>
>> “Jim Donelson” wrote in message news:xxxxx@windbg.
>> …
>>
>> > Good point - this has been discussed.
>> > Not releasing the files on reboot is a good thing. Then it does not have
>> > to
>> > reload them.
>>
>> This is patently wrong. The next time the debugger reconnects, the OS
>> may
>> be different. It might even be a different system altogether.
>>
>>
>> > When I need to rebuild, I just close windbg. That always works.
>>
>> So does rebooting the system to stop a runaway app. Doesn’t mean it’s the
>> most efficient approach to dealing with that particular problem …
>>
>>
>> Phil
>> –
>> Philip D. Barila
>> Seagate Technology LLC
>> (720) 684-1842
>> As if I need to say it: Not speaking for Seagate.
>>
>>
>>
>> —
>>
>> You are currently subscribed to windbg as: xxxxx@jimdonelson.com
>> To unsubscribe send a blank email to xxxxx@lists.osr.com
>>
>>
>> — You are currently subscribed to windbg as: xxxxx@flounder.com To
>> unsubscribe send a blank email to xxxxx@lists.osr.com
>> –
>> This message has been scanned for viruses and
>> dangerous content by MailScanner http:</http:>, and is
>>
>> believed to be clean.
>>
>>
>> —
>> You are currently subscribed to windbg as: unknown lmsubst tag argument:
>> ‘’
>> To unsubscribe send a blank email to xxxxx@lists.osr.com
>>
>>
>> — You are currently subscribed to windbg as: unknown lmsubst tag
>> argument: ‘’ To unsubscribe send a blank email to
>> xxxxx@lists.osr.com
>> –
>> This message has been scanned for viruses and
>> dangerous content by MailScanner http:</http:>, and is
>>
>> believed to be clean.
>>
>>
>> —
>> You are currently subscribed to windbg as: unknown lmsubst tag argument:
>> ‘’
>> To unsubscribe send a blank email to xxxxx@lists.osr.com
>>
>>
>> — You are currently subscribed to windbg as: unknown lmsubst tag
>> argument: ‘’ To unsubscribe send a blank email to
>> xxxxx@lists.osr.com
>>
>> —
>> You are currently subscribed to windbg as: unknown lmsubst tag argument:
>> ‘’
>> To unsubscribe send a blank email to xxxxx@lists.osr.com
>>
>
> — You are currently subscribed to windbg as: unknown lmsubst tag
> argument: ‘’ To unsubscribe send a blank email to
> xxxxx@lists.osr.com
>
> —
> You are currently subscribed to windbg as: unknown lmsubst tag argument: ‘’
>
> To unsubscribe send a blank email to xxxxx@lists.osr.com
></http:>

I think some state gets torn down with the .reboot and not built back up on
the subsequent attach. From the symbols involved, looks to me like
windbg!SessionActive is trying to get the processor type via dbgeng and it’s
just not there. The API call returns the ever helpful “no” (E_UNEXPECTED)
and WinDBG barfs (technical term).

I have more details, but not having dbgeng symbols makes it annoying to
follow and I’m at the point of diminishing returns anyway. Just wanted to
put it out there as a known issue should some other poor soul come along.

-scott


Scott Noone
Software Engineer
OSR Open Systems Resources, Inc.
http://www.osronline.com

“Martin O’Brien” wrote in message
news:xxxxx@windbg…
> That’s a very interesting and sadly accurate way of looking at many
> widnows error codes - Device Code x, pretty much any com error.
>
> mm
>
> Skywing wrote:
>> 80004005 is E_FAIL, 8000FFFF is E_UNEXPECTED. Neither of which is
>> particularly enlightening, might as well have been a bool retval :slight_smile:
>>
>> - S
>>
>> -----Original Message-----
>> From: xxxxx@lists.osr.com
>> [mailto:xxxxx@lists.osr.com] On Behalf Of Scott Noone
>> Sent: Tuesday, November 25, 2008 5:09 PM
>> To: Kernel Debugging Interest List
>> Subject: Re:[windbg] WinDbg 6.10.3.233 doesn’t close PDB files
>>
>> I should add:
>>
>> The ultimate exit status is 0x80004005. So, either there is some reuse
>> here or the status was mapped.
>>
>> -scott
>>
>