Analyzers
Talk to fellow users of Intel Analyzer tools (Intel VTune™ Profiler, Intel Advisor)

A bug in vtss.sys

Slava_I_
Beginner
14,852 Views

There is a bug in vtss.sys - an attempt to close an invalid handle from the driver, the bug reveales itself only when the driver verifier is active. Mostly it is a nuisance as this bug should not have any impact on the system but the driver verifier must be disabled to use VTune 2013 as Microsoft considers this bug as a fatal error that should be fixed so the driver verifier crashes the system. The following is a crash analysis

 

0: kd> !analyze -v
*******************************************************************************
* *
* Bugcheck Analysis *
* *
*******************************************************************************

INVALID_KERNEL_HANDLE (93)
This message occurs if kernel code (server, redirector, other driver, etc.)
attempts to close a handle that is not a valid handle.
Arguments:
Arg1: 0000000000000000, The handle that NtClose was called with.
Arg2: fffff8a0000018b0,
Arg3: 0000000000000000
Arg4: 0000000000000001

Debugging Details:
------------------


DEFAULT_BUCKET_ID: VISTA_DRIVER_FAULT

BUGCHECK_STR: 0x93

PROCESS_NAME: System

CURRENT_IRQL: 2

LAST_CONTROL_TRANSFER: from fffff80003bbc3c2 to fffff80003abd620

STACK_TEXT:
fffff880`02fd2da8 fffff800`03bbc3c2 : 00000000`00000000 fffffa80`03d1e040 00000000`00000065 fffff800`03b03b10 : nt!RtlpBreakWithStatusInstruction
fffff880`02fd2db0 fffff800`03bbd1ae : 00000000`00000003 00000000`00000000 fffff800`03b006d0 00000000`00000093 : nt!KiBugCheckDebugBreak+0x12
fffff880`02fd2e10 fffff800`03ac56c4 : 00000000`0000001c fffff980`1288efe0 00000000`00000000 00000000`00000000 : nt!KeBugCheck2+0x71e
fffff880`02fd34e0 fffff800`03d2261b : 00000000`00000093 00000000`00000000 fffff8a0`000018b0 00000000`00000000 : nt!KeBugCheckEx+0x104
fffff880`02fd3520 fffff800`03ac4813 : fffff880`02fd3600 00000000`00000000 00000000`00000000 00000000`00000000 : nt! ?? ::NNGAKEGL::`string'+0x51ce4
fffff880`02fd3620 fffff800`03ac0db0 : fffff880`1fe0d3ff 00000000`00000000 fffff800`03c54880 00000000`00240024 : nt!KiSystemServiceCopyEnd+0x13
fffff880`02fd3828 fffff880`1fe0d3ff : 00000000`00000000 fffff800`03c54880 00000000`00240024 fffffa80`0509d4a0 : nt!KiServiceLinkage
fffff880`02fd3830 fffff880`1fe10502 : 00000000`00000000 fffffa80`05184db0 00000000`746c6600 fffff880`02fd3970 : vtss+0x73ff
fffff880`02fd38a0 fffff800`03eadeb7 : fffffa80`05184db0 ffffffff`80001bf0 fffff980`1288efe0 00000000`00000001 : vtss+0xa502
fffff880`02fd39a0 fffff800`03eae2b5 : 00000000`00000010 00000000`00000000 00000000`00000010 00000000`00010202 : nt!IopLoadDriver+0xa07
fffff880`02fd3c70 fffff800`03ad27e1 : fffff880`00000000 ffffffff`80001bf0 fffff800`03eae260 00000000`00000000 : nt!IopLoadUnloadDriver+0x55
fffff880`02fd3cb0 fffff800`03d656fa : ffffffff`ffffffff fffffa80`03d1e040 00000000`00000080 fffffa80`03d065a0 : nt!ExpWorkerThread+0x111
fffff880`02fd3d40 fffff800`03aa3b46 : fffff880`009e6180 fffffa80`03d1e040 fffff880`009f0f40 01e09a41`0c0a3590 : nt!PspSystemThreadStartup+0x5a
fffff880`02fd3d80 00000000`00000000 : fffff880`02fd4000 fffff880`02fce000 fffff880`02fd28b0 00000000`00000000 : nt!KiStartSystemThread+0x16

0 Kudos
148 Replies
Bernard
Valued Contributor I
1,494 Views

So far VTune did not cause  new BSOD.

 

0 Kudos
Peter_W_Intel
Employee
1,494 Views

@ iliyapolak

I have forwarded your workaround of #62 to our engineering team. Thank you

0 Kudos
Bernard
Valued Contributor I
1,494 Views

@Peter

Thank you.

0 Kudos
Bernard
Valued Contributor I
1,494 Views

@Peter

Do you have an answer from VTune developers?

0 Kudos
Bernard
Valued Contributor I
1,494 Views

It seems that after introduction the new award system my Black Belt status has been downgraded.

0 Kudos
Peter_W_Intel
Employee
1,494 Views

@iliyapolak

Still has no update from our engineering...don't know why your Black Belt was downgraded:-(

It should be system issue...after replying to you, I was downloaded too. Don't worry, it should be recovered.

0 Kudos
Bernard
Valued Contributor I
1,494 Views

Yes it seems that this is a system issue.I have already informed Kathy about that.

0 Kudos
Marián__VooDooMan__M
New Contributor II
1,494 Views

FYI, FWIW

Recently, I have a new machine (Haswell architecture, Core I7, 4 cores, 8 logical processors) and the behaviour is the same.

Win 8.1 x64, x64 project.

But I don't have enough resources to upload memory dump again, since I have 16 GiB of RAM compared to 8 GiB on the old machine (core2 quad).

0 Kudos
Bernard
Valued Contributor I
1,494 Views

Hi @Marian

Fortunately I do not have those crashes anymore,but now VS 2013 VTune integration causes access violation when VS debugger is active.So for debugging I must switch to VS 2010.

0 Kudos
James_H_
Beginner
1,494 Views

My computer crashed even in idle time because of vtss.sys

Seems the only way is to remove it...

 

0 Kudos
Bernard
Valued Contributor I
1,494 Views

@James H 

Can you upload the kernel dump file?

0 Kudos
James_H_
Beginner
1,494 Views

sorry, I can't find the dump file after rebooting... odd thing even the screen read as it finished dumping mem file

and this is the third time it crashed within a week after I installed the newest edition for testing...

and after installation, I even haven't open VTune program for any one time...

and it keeps bothering me with BSOD (twice in idle while I sleeping and woke up find it BLUE, the other time I was doing other things with comp not programming with VS/Intel Studio)

0 Kudos
Bernard
Valued Contributor I
1,494 Views

>>>sorry, I can't find the dump file after rebooting... odd thing even the screen read as it finished dumping mem file>>>

Please check if the setting for creating dump file are not set to "Create Full Dump".Set  dump file to full kernel dump.

BSOD explanation

http://msdn.microsoft.com/en-us/library/windows/hardware/ff558949(v=vs.85).aspx

0 Kudos
Bernard
Valued Contributor I
1,494 Views

>>>and after installation, I even haven't open VTune program for any one time...

and it keeps bothering me with BSOD (twice in idle while I sleeping and woke up find it BLUE, the other time I was doing other things with comp not programming with VS/Intel Studio>>>

Does it mean that BSOD happened when VTune was not in use?

0 Kudos
James_H_
Beginner
1,494 Views

Yes, VS/Vtune not running, it crashed again this morning, same BSOD error

still no dump even I double checked the configuration of BSOD dumping setting (fixing it now)

I've decided to remove VTune...it bothers me so much

iliyapolak wrote:

>>>and after installation, I even haven't open VTune program for any one time...

and it keeps bothering me with BSOD (twice in idle while I sleeping and woke up find it BLUE, the other time I was doing other things with comp not programming with VS/Intel Studio>>>

Does it mean that BSOD happened when VTune was not in use?

0 Kudos
Bernard
Valued Contributor I
1,494 Views

@James H

Have you searched for .dmp file?

0 Kudos
Bernard
Valued Contributor I
1,494 Views

>>>Yes, VS/Vtune not running, it crashed again this morning, same BSOD error>>>

vtss.sys is active and I suppose that it is corrupting paged pool.

Did you try to reinstall VTune? Or maybe install it on different machine?

0 Kudos
Marián__VooDooMan__M
New Contributor II
1,489 Views

@ Intel

Is the any time schedule for update of Vtune fixing this bug? I need advanced analysis so badly.
 

0 Kudos
Bernard
Valued Contributor I
1,489 Views

Still there is not an answer from Intel.

0 Kudos
Marián__VooDooMan__M
New Contributor II
1,489 Views

iliyapolak wrote:

Still there is not an answer from Intel.

I don't want to be rude, but this fact I am seeing myself.

I was questioning Intel's response by tag "@ Intel".

0 Kudos
Bernard
Valued Contributor I
1,489 Views

@Marian

If you need VTune analysis I can do it.My installation works perfectly.

0 Kudos
Reply