Search object failed

Hi All,

Anyone ever used the s-v command of WinDBG? It sounds not work at
current release (6.7.0005.1).

0:000> s-v 12fc30 l1000 12fd50
Object ‘12fd50’ has no vtables

In fact at 12fd50 there is a CButton object:
0:000> dt CButton 12fd50
MfcHello!CButton
+0x000 __VFN_table : 0x782e35fc

And at the searched range, there is another CButton object at 12fda4.
0:000> dt CButton 12fda4
MfcHello!CButton
+0x000 __VFN_table : 0x782e35fc

So above search should return at least one item. But it didn’t. Anyone
has a clue about the failure reason? Thx.

BR, Raymond

I can’t say that I have. However, just as a guess, some WinDbg commands
have their own idea of radix, and errors either don’t get reported or
you get something fairly meaningless. This is probably not your
problem, but it might be worth a shot.

mm

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Zhang, Raymond
Sent: Monday, July 23, 2007 22:10
To: Kernel Debugging Interest List
Cc: xxxxx@microsoft.com
Subject: [windbg] Search object failed

Hi All,

Anyone ever used the s-v command of WinDBG? It sounds not work at
current release (6.7.0005.1).

0:000> s-v 12fc30 l1000 12fd50
Object ‘12fd50’ has no vtables

In fact at 12fd50 there is a CButton object:
0:000> dt CButton 12fd50
MfcHello!CButton
+0x000 __VFN_table : 0x782e35fc

And at the searched range, there is another CButton object at 12fda4.
0:000> dt CButton 12fda4
MfcHello!CButton
+0x000 __VFN_table : 0x782e35fc

So above search should return at least one item. But it didn’t. Anyone
has a clue about the failure reason? Thx.

BR, Raymond


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

Thanks for the attention and the command with explicit radix prefix got same failure.
0:000> s-v 0x12fc30 l1000 0x12fd50
Object ‘0x12fd50’ has no vtables
BR, Raymond

-----Original Message-----
From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of Martin O’Brien
Sent: 2007??7??24?? 10:45
To: Kernel Debugging Interest List
Subject: RE: [windbg] Search object failed

I can’t say that I have. However, just as a guess, some WinDbg commands
have their own idea of radix, and errors either don’t get reported or
you get something fairly meaningless. This is probably not your
problem, but it might be worth a shot.

mm

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Zhang, Raymond
Sent: Monday, July 23, 2007 22:10
To: Kernel Debugging Interest List
Cc: xxxxx@microsoft.com
Subject: [windbg] Search object failed

Hi All,

Anyone ever used the s-v command of WinDBG? It sounds not work at
current release (6.7.0005.1).

0:000> s-v 12fc30 l1000 12fd50
Object ‘12fd50’ has no vtables

In fact at 12fd50 there is a CButton object:
0:000> dt CButton 12fd50
MfcHello!CButton
+0x000 __VFN_table : 0x782e35fc

And at the searched range, there is another CButton object at 12fda4.
0:000> dt CButton 12fda4
MfcHello!CButton
+0x000 __VFN_table : 0x782e35fc

So above search should return at least one item. But it didn’t. Anyone
has a clue about the failure reason? Thx.

BR, Raymond


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

Looks like s -v expects a variable name, not an address.

As a workaround, you can use dps:

0:000> dps 12fc30 l1000

For large ranges you could pipe the output to a file and search it
for the appropriate vtable ptr.


This posting is provided “AS IS” with no warranties, and confers no
rights.

“Zhang, Raymond” wrote:

Anyone ever used the s-v command of WinDBG? It sounds not work at
current release (6.7.0005.1).

0:000> s-v 12fc30 l1000 12fd50
Object ‘12fd50’ has no vtables

In fact at 12fd50 there is a CButton object:
0:000> dt CButton 12fd50
MfcHello!CButton
+0x000 __VFN_table : 0x782e35fc

And at the searched range, there is another CButton object at 12fda4.
0:000> dt CButton 12fda4
MfcHello!CButton
+0x000 __VFN_table : 0x782e35fc

So above search should return at least one item. But it didn’t. Anyone
has a clue about the failure reason? Thx.