Skip to content
This repository was archived by the owner on Feb 20, 2021. It is now read-only.
This repository was archived by the owner on Feb 20, 2021. It is now read-only.

Command SendManifest couse issue #99

Description

@zawiasam

Hi, I can't retrieve EventSource events using SLAB when "source" process is already started and it generates events. SLAB stops collecting any data and shows error like:

ProviderId : 8943bf09-be18-551a-efe5-612ee62ded5e
EventId : 0
Keywords : None
Level : LogAlways
Message :
Opcode : Info
Task : 65534
Version : 0
Payload : [message : ERROR: Exception in Command Processing for EventSource Host-Performance: Object reference not set to an instance of an object.]
EventName : EventSourceMessageInfo
Timestamp : 2017-07-18T05:35:34.5389392Z
ProcessId : 14624
ThreadId : 10552

This problem occurs on Windows Server 2008 R2, Windows 7 but not on Windows 10.
I found that in SLAB this problem disappears when I don't send SendManifest command

semantic-logging\source\Src\SemanticLogging.Etw\Utility\TraceEventUtil.cs:53 // session.EnableProvider(providerId, (TraceEventLevel)level, (ulong)matchAnyKeyword, options); session.EnableProvider(providerId, (TraceEventLevel)level, (ulong)matchAnyKeyword, null);

I can't find what exactly is going on when this command is send and how could I handel it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions