EvlWatcher icon indicating copy to clipboard operation
EvlWatcher copied to clipboard

Collection was modified; enumeration operation may not execute.

Open kimboslice99 opened this issue 3 years ago • 7 comments

Seeing Collection was modified; enumeration operation may not execute. in the live output, what does this mean?

kimboslice99 avatar Mar 19 '22 04:03 kimboslice99

hi, this seems to be a programming error that can happen during parallel computing of something / multithreading.

  • do you see any more output?
  • how often does this occur?

devnulli avatar Mar 19 '22 13:03 devnulli

No other output, I notice this occurs every once in a while (every few weeks maybe?). A restart of the service seems to resolve it, at least until it reoccurs

Is there some place I might find a logfile so I can trace back to the first occurrence?

kimboslice99 avatar Mar 19 '22 17:03 kimboslice99

you could check the windows event log (application) if there are any events with source EvlWatcher, and see if theres more there

devnulli avatar Mar 20 '22 17:03 devnulli

Haven't seen anything in the event log, will update this thread when/if I do find anything

kimboslice99 avatar Mar 21 '22 21:03 kimboslice99

I'm getting the same thing (Collection was modified; enumeration operation may not execute.)

MadCowChicken avatar Mar 27 '22 16:03 MadCowChicken

since the eventlog does not show errors, it seems to be a bug on the console side. i'll look into it

devnulli avatar Mar 29 '22 18:03 devnulli

Hi, I just found this program and installed it to test. I see this same problem in the console and eventlogs. This is from the eventlog:

Log Name:      Application
Source:        EvlWatcher
Date:          6/2/2022 7:51:26 AM
Event ID:      0
Task Category: None
Level:         Error
Keywords:      Classic
User:          N/A
Computer:      TESTRDS2022
Description:
Collection was modified; enumeration operation may not execute.
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
  <System>
    <Provider Name="EvlWatcher" />
    <EventID Qualifiers="0">0</EventID>
    <Version>0</Version>
    <Level>2</Level>
    <Task>0</Task>
    <Opcode>0</Opcode>
    <Keywords>0x80000000000000</Keywords>
    <TimeCreated SystemTime="2022-06-02T05:51:26.1807342Z" />
    <EventRecordID>16549</EventRecordID>
    <Correlation />
    <Execution ProcessID="0" ThreadID="0" />
    <Channel>Application</Channel>
    <Computer>TESTRDS2022</Computer>
    <Security />
  </System>
  <EventData>
    <Data>Collection was modified; enumeration operation may not execute.</Data>
  </EventData>
</Event>

KRiZ-R avatar Jun 02 '22 06:06 KRiZ-R

cant reporduce .( im closing this until its being reported again

devnulli avatar Dec 02 '22 18:12 devnulli