songgaoye commented on PR #3738:
URL: https://github.com/apache/brpc/pull/3738#issuecomment-6916172322

   ```
   WARNING: ThreadSanitizer: data race (pid=318516)
   
     Write of size 1 at 0x7fffffffe3fc by main thread:
       #0 brpc::EventDispatcher::Stop()
          src/brpc/event_dispatcher_epoll.cpp:101
       #1 EventDispatcherTest_running_is_safe_after_stop_Test::TestBody()
          test/brpc_event_dispatcher_unittest.cpp:172
       ...
   
     Previous read of size 1 at 0x7fffffffe3fc by thread T10:
       #0 brpc::EventDispatcher::Run()
          src/brpc/event_dispatcher_epoll.cpp:204
       #1 brpc::EventDispatcher::RunThis(void*)
          src/brpc/event_dispatcher_epoll.cpp:199
       #2 bthread::TaskGroup::task_runner(long)
          src/bthread/task_group.cpp:367
       #3 bthread_make_fcontext
       #4 bthread::TaskGroup::sched_to(bthread::TaskGroup**, unsigned long)
          src/bthread/task_group_inl.h:82
       #5 bthread::TaskGroup::run_main_task()
          src/bthread/task_group.cpp:173
       #6 bthread::TaskControl::worker_thread(void*)
          src/bthread/task_control.cpp:135
   
     Location is stack of main thread.
   
   SUMMARY: ThreadSanitizer: data race
   src/brpc/event_dispatcher_epoll.cpp:101
   in brpc::EventDispatcher::Stop()
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to