Page MenuHome
Paste P228

T44871 threading report
ActivePublic

Authored by Campbell Barton (campbellbarton) on Jun 2 2015, 2:06 PM.
WARNING: ThreadSanitizer: data race (pid=28947)
Read of size 4 at 0x00000d5260d0 by thread T18 (mutexes: write M1144):
#0 BLI_end_threads /src/blender/source/blender/blenlib/intern/threads.c:332 (blender+0x0000038d3df0)
#1 WorkScheduler::stop() /src/blender/source/blender/compositor/intern/COM_WorkScheduler.cpp:252 (blender+0x0000025752c4)
#2 ExecutionSystem::execute() /src/blender/source/blender/compositor/intern/COM_ExecutionSystem.cpp:186 (blender+0x000002509bca)
#3 COM_execute /src/blender/source/blender/compositor/intern/COM_compositor.cpp:100 (blender+0x0000025070d3)
#4 ntreeCompositExecTree /src/blender/source/blender/nodes/composite/node_composite_tree.c:233 (blender+0x000002f6f2e9)
#5 compo_startjob /src/blender/source/blender/editors/space_node/node_edit.c:243 (blender+0x000000cfecc1)
#6 do_job_thread /src/blender/source/blender/windowmanager/intern/wm_jobs.c:331 (blender+0x000000b72835)
#7 tslot_thread_start /src/blender/source/blender/blenlib/intern/threads.c:252 (blender+0x0000038d33d8)
Previous write of size 4 at 0x00000d5260d0 by main thread (mutexes: write M801):
#0 BLI_end_threaded_malloc /src/blender/source/blender/blenlib/intern/threads.c:819 (blender+0x0000038d5e75)
#1 BLI_task_pool_free /src/blender/source/blender/blenlib/intern/task.c:346 (blender+0x0000038d15e3)
#2 scene_update_objects /src/blender/source/blender/blenkernel/intern/scene.c:1590 (blender+0x000002d9f848)
#3 scene_update_tagged_recursive /src/blender/source/blender/blenkernel/intern/scene.c:1631 (blender+0x000002d9facb)
#4 BKE_scene_update_tagged /src/blender/source/blender/blenkernel/intern/scene.c:1737 (blender+0x000002da022f)
#5 wm_event_do_notifiers /src/blender/source/blender/windowmanager/intern/wm_event_system.c:410 (blender+0x000000b5088d)
#6 WM_main /src/blender/source/blender/windowmanager/intern/wm.c:490 (blender+0x000000b39e2f)
#7 main /src/blender/source/creator/creator.c:1886 (blender+0x000000b372b5)
Location is global 'thread_levels' of size 4 at 0x00000d5260d0 (blender+0x00000d5260d0)
Mutex M1144 (0x00000d4ad560) created at:
#0 pthread_mutex_init /build/gcc/src/gcc-5-20150519/libsanitizer/tsan/tsan_interceptors.cc:1079 (libtsan.so.0+0x000000028575)
#1 BLI_mutex_init /src/blender/source/blender/blenlib/intern/threads.c:440 (blender+0x0000038d4265)
#2 COM_execute /src/blender/source/blender/compositor/intern/COM_compositor.cpp:55 (blender+0x000002506aa4)
#3 ntreeCompositExecTree /src/blender/source/blender/nodes/composite/node_composite_tree.c:233 (blender+0x000002f6f2e9)
#4 do_render_composite_fields_blur_3d /src/blender/source/blender/render/intern/source/pipeline.c:2499 (blender+0x000001c4a415)
#5 do_render_all_options /src/blender/source/blender/render/intern/source/pipeline.c:2689 (blender+0x000001c4c24c)
#6 RE_BlenderFrame /src/blender/source/blender/render/intern/source/pipeline.c:3086 (blender+0x000001c4f16c)
#7 render_startjob /src/blender/source/blender/editors/render/render_internal.c:600 (blender+0x000001914298)
#8 do_job_thread /src/blender/source/blender/windowmanager/intern/wm_jobs.c:331 (blender+0x000000b72835)
#9 tslot_thread_start /src/blender/source/blender/blenlib/intern/threads.c:252 (blender+0x0000038d33d8)
Mutex M801 (0x00000d525e08) created at:
#0 pthread_spin_init /build/gcc/src/gcc-5-20150519/libsanitizer/tsan/tsan_interceptors.cc:1123 (libtsan.so.0+0x0000000289c2)
#1 BLI_spin_init /src/blender/source/blender/blenlib/intern/threads.c:483 (blender+0x0000038d4553)
#2 BLI_threadapi_init /src/blender/source/blender/blenlib/intern/threads.c:155 (blender+0x0000038d2c96)
#3 main /src/blender/source/creator/creator.c:1714 (blender+0x000000b36d72)
Thread T18 (tid=30244, running) created by main thread at:
#0 pthread_create /build/gcc/src/gcc-5-20150519/libsanitizer/tsan/tsan_interceptors.cc:895 (libtsan.so.0+0x000000027a37)
#1 BLI_insert_thread /src/blender/source/blender/blenlib/intern/threads.c:268 (blender+0x0000038d35cf)
#2 WM_jobs_start /src/blender/source/blender/windowmanager/intern/wm_jobs.c:416 (blender+0x000000b731e2)
#3 wm_jobs_timer /src/blender/source/blender/windowmanager/intern/wm_jobs.c:607 (blender+0x000000b74999)
#4 wm_window_timer /src/blender/source/blender/windowmanager/intern/wm_window.c:1146 (blender+0x000000bafc93)
#5 wm_window_process_events /src/blender/source/blender/windowmanager/intern/wm_window.c:1179 (blender+0x000000baff6a)
#6 WM_main /src/blender/source/blender/windowmanager/intern/wm.c:484 (blender+0x000000b39e17)
#7 main /src/blender/source/creator/creator.c:1886 (blender+0x000000b372b5)
SUMMARY: ThreadSanitizer: data race /src/blender/source/blender/blenlib/intern/threads.c:332 BLI_end_threads

Event Timeline

Campbell Barton (campbellbarton) changed the title of this paste from untitled to T44871 threading report.
Campbell Barton (campbellbarton) updated the paste's language from autodetect to text.