- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hey, rarely tbb will get into a state where every single thread starts spin waiting, and uses 100% cpu for each core. The call stack for each thread is:
00000000`6ba7fae8 00000000`76d26e7a ntdll!ZwYieldExecution+0xa
00000000`6ba7faf0 00000001`80010eb1 kernel32!SwitchToThread+0xa
00000000`6ba7fb20 00000001`80010271 tbb!GenericScheduler::get_ task+0x2c1
00000000`6ba7fb80 00000001`8000ff36 tbb!IntelSchedulerTraits>:: local_wait_for_all+0x331
00000000`6ba7fc20 00000001`80015a6b tbb!IntelSchedulerTraits>:: wait_for_all+0x26
00000000`6ba7fc60 00000000`02a9a6a4 tbb!UnpaddedArenaPrefix:: process+0x1b
00000000`6ba7fc90 00000000`72e82fdf irml!server_thread::thread_ routine+0x164
00000000`6ba7fd50 00000000`72e83080 msvcr90!endthreadex+0x47
00000000`6ba7fd80 00000000`76d2be3d msvcr90!endthreadex+0xe8
00000000`6ba7fdb0 00000000`76e66a51 kernel32!BaseThreadInitThunk+ 0xd
00000000`6ba7fde0 00000000`00000000 ntdll!RtlUserThreadStart+0x21
00000000`6ba7fae8 00000000`76d26e7a ntdll!ZwYieldExecution+0xa
00000000`6ba7faf0 00000001`80010eb1 kernel32!SwitchToThread+0xa
00000000`6ba7fb20 00000001`80010271 tbb!GenericScheduler::get_
00000000`6ba7fb80 00000001`8000ff36 tbb!IntelSchedulerTraits>::
00000000`6ba7fc20 00000001`80015a6b tbb!IntelSchedulerTraits>::
00000000`6ba7fc60 00000000`02a9a6a4 tbb!UnpaddedArenaPrefix::
00000000`6ba7fc90 00000000`72e82fdf irml!server_thread::thread_
00000000`6ba7fd50 00000000`72e83080 msvcr90!endthreadex+0x47
00000000`6ba7fd80 00000000`76d2be3d msvcr90!endthreadex+0xe8
00000000`6ba7fdb0 00000000`76e66a51 kernel32!BaseThreadInitThunk+
00000000`6ba7fde0 00000000`00000000 ntdll!RtlUserThreadStart+0x21
This is on TBB 2.2...
Has anyone seen this behavior or know how this could possibly happen? Thanks,
Mike
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Is this reproducible with recent TBB updates? Can you provide a test that shows the behavior?

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page