deadlock violation from maps walk refactoring
-loglevel 3 on burst_threads hits:
<rank order violation module_data_lock(readwrite)@/work/dr/git/src/core/module_list.c:60 acquired after all_memory_areas(readwrite)@/work/dr/git/src/core/unix/memcache.c:97 in tid:46d2>
#3 0x00000000004b45a6 in deadlock_avoidance_lock (lock=0x7d7fc0 <module_data_lock>, acquired=true, ownable=false)
at /work/dr/git/src/core/utils.c:613
#4 0x00000000004b56d8 in read_lock (rw=0x7d7fc0 <module_data_lock>) at /work/dr/git/src/core/utils.c:1226
#5 0x0000000000589c42 in os_get_module_info_lock () at /work/dr/git/src/core/module_list.c:69
#6 0x000000000058aff0 in module_iterator_start () at /work/dr/git/src/core/module_list.c:544
#7 0x00000000006a41e3 in print_modules (f=4000, dump_xml=false) at /work/dr/git/src/core/unix/module.c:234
#8 0x000000000068af38 in os_walk_address_space (iter=0x7f94e17a3ac0, add_modules=false) at /work/dr/git/src/core/unix/os.c:9222
#9 0x00000000006acbb7 in memcache_update_all_from_os () at /work/dr/git/src/core/unix/memcache.c:590
#10 0x000000000067981a in os_process_under_dynamorio_complete (dcontext=0x47a57940) at /work/dr/git/src/core/unix/os.c:2600
#11 0x000000000042cfe9 in dynamorio_take_over_threads (dcontext=0x47a57940) at /work/dr/git/src/core/dynamo.c:2867
#12 0x000000000065cd34 in dynamo_start (mc=0x7f94e17a3c40) at /work/dr/git/src/core/arch/x86_code.c:110
#13 0x000000000042cd24 in dr_app_start_helper (mc=0x7f94e17a3c40) at /work/dr/git/src/core/dynamo.c:2756
#14 0x000000000065d8c4 in dr_app_start () at /work/dr/git/src/core/arch/x86/x86.asm:516
This is from #2037 (closed) 8471d5cc.