[29971:1295:1012/104443:FATAL:thread_restrictions.cc(38)] Check failed: false. Function marked as IO-only was called from a thread that disallows IO! If this thread really should be allowed to make IO calls, adjust the call to base::ThreadRestrictions::SetIOAllowed() in this thread's startup.
0 libbase.dylib 0x0000000118c315ae _ZN4base5debug10StackTraceC2Ev + 30
1 libbase.dylib 0x0000000118c31615 _ZN4base5debug10StackTraceC1Ev + 21
2 libbase.dylib 0x0000000118cc83d0 _ZN7logging10LogMessageD2Ev + 80
3 libbase.dylib 0x0000000118cc5f85 _ZN7logging10LogMessageD1Ev + 21
4 libbase.dylib 0x0000000118edbad8 _ZN4base18ThreadRestrictions15AssertIOAllowedEv + 168
5 libbase.dylib 0x0000000118ea5a9b _ZN4base14PlatformThread4JoinENS_20PlatformThreadHandleE + 59
6 libbase.dylib 0x0000000118eca63c _ZN4base6Thread4StopEv + 348
7 libcontent.dylib 0x00000001205a9e18 _ZN7content20DesktopCaptureDevice17StopAndDeAllocateEv + 280
8 libcontent.dylib 0x000000011ff51f40 _ZN7content19VideoCaptureManager26DoStopDeviceOnDeviceThreadENSt3__110unique_ptrIN5media18VideoCaptureDeviceENS1_14default_deleteIS4_EEEE + 320
9 libcontent.dylib 0x000000011ff6ca2a _ZN4base8internal13FunctorTraitsIMN7content19VideoCaptureManagerEFvNSt3__110unique_ptrIN5media18VideoCaptureDeviceENS4_14default_deleteIS7_EEEEEvE6InvokeIRK13scoped_refptrIS3_EJSA_EEEvSC_OT_DpOT0_ + 522
10 libcontent.dylib 0x000000011ff6c796 _ZN4base8internal12InvokeHelperILb0EvE8MakeItSoIRKMN7content19VideoCaptureManagerEFvNSt3__110unique_ptrIN5media18VideoCaptureDeviceENS6_14default_deleteIS9_EEEEEJRK13scoped_refptrIS5_ESC_EEEvOT_DpOT0_ + 86
11 libcontent.dylib 0x000000011ff6c660 _ZN4base8internal7InvokerINS0_9BindStateIMN7content19VideoCaptureManagerEFvNSt3__110unique_ptrIN5media18VideoCaptureDeviceENS5_14default_deleteIS8_EEEEEJ13scoped_refptrIS4_ENS0_13PassedWrapperISB_EEEEEFvvEE7RunImplIRKSD_RKNS5_5tupleIJSF_SH_EEEJLm0ELm1EEEEvOT_OT0_NS_13IndexSequenceIJXspT1_EEEE + 160
12 libcontent.dylib 0x000000011ff6c54c _ZN4base8internal7InvokerINS0_9BindStateIMN7content19VideoCaptureManagerEFvNSt3__110unique_ptrIN5media18VideoCaptureDeviceENS5_14default_deleteIS8_EEEEEJ13scoped_refptrIS4_ENS0_13PassedWrapperISB_EEEEEFvvEE3RunEPNS0_13BindStateBaseE + 44
13 libbase.dylib 0x0000000118bef98b _ZNK4base8internal8RunMixinINS_8CallbackIFvvELNS0_8CopyModeE1ELNS0_10RepeatModeE1EEEE3RunEv + 59
14 libbase.dylib 0x0000000118c33111 _ZN4base5debug13TaskAnnotator7RunTaskEPKcRKNS_11PendingTaskE + 673
15 libbase.dylib 0x0000000118d1a5f5 _ZN4base11MessageLoop7RunTaskERKNS_11PendingTaskE + 933
16 libbase.dylib 0x0000000118d1ab74 _ZN4base11MessageLoop21DeferOrRunPendingTaskENS_11PendingTaskE + 68
17 libbase.dylib 0x0000000118d1b5bd _ZN4base11MessageLoop6DoWorkEv + 669
18 libbase.dylib 0x0000000118d2d548 _ZN4base24MessagePumpCFRunLoopBase7RunWorkEv + 104
19 libbase.dylib 0x0000000118d2d4cc ___ZN4base24MessagePumpCFRunLoopBase13RunWorkSourceEPv_block_invoke + 28
20 libbase.dylib 0x0000000118ccc3ba _ZN4base3mac15CallWithEHFrameEU13block_pointerFvvE + 10
21 libbase.dylib 0x0000000118d2ca45 _ZN4base24MessagePumpCFRunLoopBase13RunWorkSourceEPv + 101
22 CoreFoundation 0x00007fff97241881 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
23 CoreFoundation 0x00007fff97220fbc __CFRunLoopDoSources0 + 556
24 CoreFoundation 0x00007fff972204df __CFRunLoopRun + 927
25 CoreFoundation 0x00007fff9721fed8 CFRunLoopRunSpecific + 296
26 HIToolbox 0x00007fff8e328935 RunCurrentEventLoopInMode + 235
27 HIToolbox 0x00007fff8e32876f ReceiveNextEventCommon + 432
28 HIToolbox 0x00007fff8e3285af _BlockUntilNextEventMatchingListInModeWithFilter + 71
29 AppKit 0x00007fff91ad2df6 _DPSNextEvent + 1067
30 AppKit 0x00007fff91ad2226 -[NSApplication _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 454
31 AppKit 0x00007fff91ac6d80 -[NSApplication run] + 682
32 libbase.dylib 0x0000000118d2e2b2 _ZN4base24MessagePumpNSApplication5DoRunEPNS_11MessagePump8DelegateE + 306
33 libbase.dylib 0x0000000118d2d22a _ZN4base24MessagePumpCFRunLoopBase3RunEPNS_11MessagePump8DelegateE + 122
34 libbase.dylib 0x0000000118d1a071 _ZN4base11MessageLoop10RunHandlerEv + 289
35 libbase.dylib 0x0000000118de6175 _ZN4base7RunLoop3RunEv + 85
36 libchrome_dll.dylib 0x0000000105e97da0 _ZN22ChromeBrowserMainParts18MainMessageLoopRunEPi + 400
37 libcontent.dylib 0x000000011f33e321 _ZN7content15BrowserMainLoop23RunMainMessageLoopPartsEv + 417
38 libcontent.dylib 0x000000011f348791 _ZN7content21BrowserMainRunnerImpl3RunEv + 481
39 libcontent.dylib 0x000000011f332305 _ZN7content11BrowserMainERKNS_18MainFunctionParamsE + 421
40 libcontent.dylib 0x0000000121420537 _ZN7content23RunNamedProcessTypeMainERKNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEERKNS_18MainFunctionParamsEPNS_19ContentMainDelegateE + 599
41 libcontent.dylib 0x0000000121422426 _ZN7content21ContentMainRunnerImpl3RunEv + 1462
42 libcontent.dylib 0x000000012141fd9d _ZN7content11ContentMainERKNS_17ContentMainParamsE + 349
43 libchrome_dll.dylib 0x00000001047e9079 ChromeMain + 105
44 Chromium 0x000000010457cd6c main + 780
45 Chromium 0x000000010457ca54 start + 52
Comment 1 by w...@chromium.org
, Oct 12 2016Summary: content::DesktopCaptureDevice::StopAndDeAllocate joins its thread from caller thread that doesn't allow IO. (was: content::DesktopCaptureDevice::StopAndDeAllocate uses IO on thread that doesn't allow IO.)