Skip to content

Merge zmap upstream#2

Merged
sattler merged 39 commits into
masterfrom
merge-zmap-upstream
Jul 5, 2022
Merged

Merge zmap upstream#2
sattler merged 39 commits into
masterfrom
merge-zmap-upstream

Conversation

@sattler

@sattler sattler commented Jul 1, 2022

Copy link
Copy Markdown

No description provided.

dadrian and others added 30 commits April 12, 2021 11:29
This converts the TravisCI build to a Github Action. Similar to Travis,
we compile and run the script that checks that all options are defined
in the manfile. The action runs inside the new `zmap/builder` container,
which is defined in `\\container\builder.dockerfile`, and is (manually)
published to Dockerhub.

This action runs considerably faster than Travis (completes in less than
one minute).

zmap#660
Update gitignore to properly ignore zblocklist and remove miscommited binary

Co-authored-by: David Adrian <davidcadrian@gmail.com>
Some probes may include additional data in probe packets like
timestamps, TTL, etc. It may be desirable to include additional
information into validation input besides src and dst IPs.
This patch adds additional validation generator function which
allows to fill all fields of the aes_input array, so that probe
could use it to include additional information to sourch of the
validation.

zmap#650

Signed-off-by: Alexander Zubkov <green@qrator.net>
Co-authored-by: Zakir Durumeric <zakird@gmail.com>
This makes a few more functions operate on const char * so that we can
remove casts in zmap.c.
* remove unused probe modules fields and use consistent help file capitalization

* Sane default behavior + more helpful error messages

* info that's really not needed

* fixing man file

* Update zmap.c
* Ensure all probe modules set *buf_len

Probe modules with dynamic output already needed to set `*buf_len`
during calls to `make_packet`. Not all probe modules did this. Some
opted to update the value of `probe_module.packet_length`. This is not
safe in a multithreaded invocation.

This commit forces all probe modules to update `*buf_len`, and replaces
the packet_length parameter with a max_packet_length, which is used for
bandwidth rate calculation as an upper bound. It is unclear if the rate
calculation works currently, but at least it's getting consistent input
now.

* wip

* split templated from static udp

* fix templating

* remove debug logs
The send rate variable is only used when calculating sleep times for
"slow" rates. It was not correctly accounting for multiple probes.
Adding this in fixes the percent calculation.
* Set MSS to default Linux MSS in synscan modules

For both synscan and synackscan, set MSS to 1450. This is the default
Linux MSS, and the option is required to be set for certain hosts to
respond.

Fixes zmap#601

* set_tcp_options to set_mss_option
* move udp_unreach strings to icmp_unreach_strings since that's what they are. Also move to using PACKET_(IN)VALID instead of random constants for my sanity

* udp module uses abstracted out ICMP validation logic

* udp and tcp use the same style of packet validation

* starting to look like we have reasonable validation for expected protocol as well as ICMP in most places

* more fixups for reasonable packet validation

* tcp synack scan

* always more

* and we're compiling again

* chugging along.

* fix formatting

* compile, get rid of warnings

* standardize UNUSED and PRINT_PACKET_SEP

* successful build

* TCP looks sane

* bacnet looks sane

* fieldsets govern that the right fields are added at the right times

* Trying to start fixing DNS

* tcp fixes now that validation uncovers problems

* dns and udp work

* i

* ntp works

* starting to fix tcp_synack_scan

* synack scan

* moving remote changes here

* some small fixes

* icmp

* no idea on comment

* more sane formatting

* inline correct

* Removign nonsensical command

* char -> uint8_t

* removing cisco to be an example

Co-authored-by: Alex Holland <ajholland77@yahoo.com>
In the current code it is not possible to pass `--probe-args=hex:..`
to the `udp` probe module. The following error message is displayed:
```
udp: unknown UDP probe specification (expected file:/path or text:STRING or hex:01020304 or template:/path or template-fields)
```
Fixes zmap#677

Co-authored-by: ycaibb <ycaibb@gmail.com>
dadrian and others added 9 commits September 17, 2021 09:25
The function is not called anywhere. The module's make_packet uses `udp_make_packet`.
The type of `ntp_make_packet` is also not compatible with `probe_make_packet_cb` any longer. For example the `size_t *buf_len` argument is missing.

zmap#681
* Use multi-stage building to reduce image size
* Add GitHub Action to publish image automatically on GitHub container registry

zmap#688
@sattler sattler merged commit da0a0ca into master Jul 5, 2022
zirngibl pushed a commit that referenced this pull request Dec 16, 2024
…ap#780)

* fist pass at a debian workflow

* Refactored debian workflow into a common bsd/linux yml. Edited Dockerfile

* attempt #2

* attempt #3

* attempt #4

* attempt #5

* attempt #6

* attempt #7

* attempt #8

* attempt #9

* attempt #10, at least we're getting into the debian dockerfile

* Looks like its working, causing a compile error in get_gateway_linux to see if check fails

* Confirmed, debian workflow is working!

* Removed debugging ls in .yml

* testing arch build

* Added fedora test

* testing Gentoo test

* phillip/773: refactored all the github compile actions to be in a single .yml file

* phillip/773: added arch and gentoo Install instructions

* phillip/773: removed extra space in arch.Dockerfile

* phillip/773: apparently the free-bsd vm is picky about having the run being on the same line
tgesthuizen added a commit to tgesthuizen/zmap that referenced this pull request Nov 7, 2025
Thread sanitizer found another data race regarding the access of the
thread shards between multiple worker threads:
```
  WARNING: ThreadSanitizer: data race (pid=3257)
    Read of size 8 at 0x725000000400 by thread T6 (mutexes: write M0):
      #0 iterator_get_sent /usr/local/src/src/iterator.c:111 (zmap+0x19a0b) (BuildId: 6bd4bc4303161311b665663353ccdfa2bac024d8)
      tumi8#1 export_stats /usr/local/src/src/monitor.c:193 (zmap+0x1a911) (BuildId: 6bd4bc4303161311b665663353ccdfa2bac024d8)
      tumi8#2 export_then_update /usr/local/src/src/monitor.c:483 (zmap+0x1a911)
      tumi8#3 monitor_run /usr/local/src/src/monitor.c:517 (zmap+0x1be08) (BuildId: 6bd4bc4303161311b665663353ccdfa2bac024d8)
      tumi8#4 start_mon /usr/local/src/src/zmap.c:132 (zmap+0x21346) (BuildId: 6bd4bc4303161311b665663353ccdfa2bac024d8)

    Previous write of size 8 at 0x725000000400 by thread T2:
      #0 send_run /usr/local/src/src/send.c:485 (zmap+0x1e319) (BuildId: 6bd4bc4303161311b665663353ccdfa2bac024d8)
      tumi8#1 start_send /usr/local/src/src/zmap.c:110 (zmap+0x21479) (BuildId: 6bd4bc4303161311b665663353ccdfa2bac024d8)

    Location is heap block of size 480 at 0x725000000400 allocated by main thread:
      #0 calloc ../../../../src/libsanitizer/tsan/tsan_interceptors_posix.cpp:685 (libtsan.so.2+0x54d0d) (BuildId: 38097064631f7912bd33117a9c83d08b42e15571)
      tumi8#1 xcalloc /usr/local/src/lib/xalloc.c:27 (zmap+0x479e4) (BuildId: 6bd4bc4303161311b665663353ccdfa2bac024d8)
      tumi8#2 iterator_init /usr/local/src/src/iterator.c:94 (zmap+0x197a4) (BuildId: 6bd4bc4303161311b665663353ccdfa2bac024d8)
      tumi8#3 send_init /usr/local/src/src/send.c:94 (zmap+0x1d255) (BuildId: 6bd4bc4303161311b665663353ccdfa2bac024d8)
      tumi8#4 start_zmap /usr/local/src/src/zmap.c:208 (zmap+0x1368a) (BuildId: 6bd4bc4303161311b665663353ccdfa2bac024d8)
      tumi8#5 main /usr/local/src/src/zmap.c:1201 (zmap+0x1368a)

    Mutex M0 (0x5612c1126c40) created at:
      #0 pthread_mutex_lock ../../../../src/libsanitizer/tsan/tsan_interceptors_posix.cpp:1341 (libtsan.so.2+0x59a13) (BuildId: 38097064631f7912bd33117a9c83d08b42e15571)
      tumi8#1 recv_update_stats /usr/local/src/src/recv-pcap.c:161 (zmap+0x42fec) (BuildId: 6bd4bc4303161311b665663353ccdfa2bac024d8)
      tumi8#2 update_pcap_stats /usr/local/src/src/monitor.c:183 (zmap+0x1a8f5) (BuildId: 6bd4bc4303161311b665663353ccdfa2bac024d8)
      tumi8#3 export_then_update /usr/local/src/src/monitor.c:482 (zmap+0x1a8f5)
      tumi8#4 monitor_run /usr/local/src/src/monitor.c:517 (zmap+0x1be08) (BuildId: 6bd4bc4303161311b665663353ccdfa2bac024d8)
      tumi8#5 start_mon /usr/local/src/src/zmap.c:132 (zmap+0x21346) (BuildId: 6bd4bc4303161311b665663353ccdfa2bac024d8)

    Thread T6 (tid=3266, running) created by main thread at:
      #0 pthread_create ../../../../src/libsanitizer/tsan/tsan_interceptors_posix.cpp:1022 (libtsan.so.2+0x5ac1a) (BuildId: 38097064631f7912bd33117a9c83d08b42e15571)
      tumi8#1 start_zmap /usr/local/src/src/zmap.c:272 (zmap+0x13982) (BuildId: 6bd4bc4303161311b665663353ccdfa2bac024d8)
      tumi8#2 main /usr/local/src/src/zmap.c:1201 (zmap+0x13982)

    Thread T2 (tid=3262, running) created by main thread at:
      #0 pthread_create ../../../../src/libsanitizer/tsan/tsan_interceptors_posix.cpp:1022 (libtsan.so.2+0x5ac1a) (BuildId: 38097064631f7912bd33117a9c83d08b42e15571)
      tumi8#1 start_zmap /usr/local/src/src/zmap.c:258 (zmap+0x13881) (BuildId: 6bd4bc4303161311b665663353ccdfa2bac024d8)
      tumi8#2 main /usr/local/src/src/zmap.c:1201 (zmap+0x13881)
```

Mitigate this race condition.
tgesthuizen added a commit to tgesthuizen/zmap that referenced this pull request Nov 7, 2025
Thread sanitizer is complaining about unsynchronized access to the
zconf data structure:
```
==================
  WARNING: ThreadSanitizer: data race (pid=3272)
    Read of size 8 at 0x556715cf3528 by thread T6:
      #0 compute_remaining_time /usr/local/src/src/monitor.c:150 (zmap+0x1a48f) (BuildId: d7f52659819cc2869c5001e1dd27d5430420426b)
      tumi8#1 compute_remaining_time /usr/local/src/src/monitor.c:124 (zmap+0x1a48f)
      tumi8#2 export_stats /usr/local/src/src/monitor.c:205 (zmap+0x1a9e9) (BuildId: d7f52659819cc2869c5001e1dd27d5430420426b)
      tumi8#3 export_then_update /usr/local/src/src/monitor.c:483 (zmap+0x1a9e9)
      tumi8#4 monitor_run /usr/local/src/src/monitor.c:517 (zmap+0x1be28) (BuildId: d7f52659819cc2869c5001e1dd27d5430420426b)
      tumi8#5 start_mon /usr/local/src/src/zmap.c:132 (zmap+0x213a6) (BuildId: d7f52659819cc2869c5001e1dd27d5430420426b)

    Previous write of size 8 at 0x556715cf3528 by thread T1:
      #0 recv_run /usr/local/src/src/recv.c:267 (zmap+0x1cd66) (BuildId: d7f52659819cc2869c5001e1dd27d5430420426b)
      tumi8#1 start_recv /usr/local/src/src/zmap.c:123 (zmap+0x2143f) (BuildId: d7f52659819cc2869c5001e1dd27d5430420426b)

    Location is global 'zconf' of size 8168 at 0x556715cf3500 (zmap+0x63528)

    Thread T6 (tid=3281, running) created by main thread at:
      #0 pthread_create ../../../../src/libsanitizer/tsan/tsan_interceptors_posix.cpp:1022 (libtsan.so.2+0x5ac1a) (BuildId: 38097064631f7912bd33117a9c83d08b42e15571)
      tumi8#1 start_zmap /usr/local/src/src/zmap.c:272 (zmap+0x13982) (BuildId: d7f52659819cc2869c5001e1dd27d5430420426b)
      tumi8#2 main /usr/local/src/src/zmap.c:1201 (zmap+0x13982)

    Thread T1 (tid=3276, running) created by main thread at:
      #0 pthread_create ../../../../src/libsanitizer/tsan/tsan_interceptors_posix.cpp:1022 (libtsan.so.2+0x5ac1a) (BuildId: 38097064631f7912bd33117a9c83d08b42e15571)
      tumi8#1 start_zmap /usr/local/src/src/zmap.c:224 (zmap+0x13736) (BuildId: d7f52659819cc2869c5001e1dd27d5430420426b)
      tumi8#2 main /usr/local/src/src/zmap.c:1201 (zmap+0x13736)

  SUMMARY: ThreadSanitizer: data race /usr/local/src/src/monitor.c:150 in compute_remaining_time
```

Mitigate this by adding a mutex to the data structure and acquiring it
for read/write access.
tgesthuizen added a commit to tgesthuizen/zmap that referenced this pull request Nov 7, 2025
Fixes all findings of thread sanitizer for my test invocations.
Namely all findings listed below, plus some extra findings that
occured once the process did not crash anymore.
The Dockerfile to build the instrumented binary is checked in now
under Dockerfile.tsan.

┌────
│ tim@SCAN02:~/measurements/data$ docker run --rm --net=host -v /home/tim/measurements/data/tmp:/data --entrypoint /bin/bash -it --rm zmap-tumi:debug
│ root@SCAN02:/# gdb zmap
│ GNU gdb (Ubuntu 15.0.50.20240403-0ubuntu1) 15.0.50.20240403-git
│ Copyright (C) 2024 Free Software Foundation, Inc.
│ License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
│ This is free software: you are free to change and redistribute it.
│ There is NO WARRANTY, to the extent permitted by law.
│ Type "show copying" and "show warranty" for details.
│ This GDB was configured as "x86_64-linux-gnu".
│ Type "show configuration" for configuration details.
│ For bug reporting instructions, please see:
│ <https://www.gnu.org/software/gdb/bugs/>.
│ Find the GDB manual and other documentation resources online at:
│     <http://www.gnu.org/software/gdb/documentation/>.
│
│ For help, type "help".
│ Type "apropos word" to search for commands related to "word"...
│ Reading symbols from zmap...
│ (gdb) run -B 10M -i rj4501 -M ipv6_tcp_synscan --ipv6-target-file /data/ips_v6.txt -o /data/alive_tcp443_v6.txt --ipv6-source-ip 2001:638:500:9b00::200 -p 443 --blocklist-file=/dev/null
│ Starting program: /opt/zmap/sbin/zmap -B 10M -i rj4501 -M ipv6_tcp_synscan --ipv6-target-file /data/ips_v6.txt -o /data/alive_tcp443_v6.txt --ipv6-source-ip 2001:638:500:9b00::200 -p 443 --blocklist-file=/dev/null
│
│ warning: Error disabling address space randomization: Operation not permitted
│ [Thread debugging using libthread_db enabled]
│ Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
│ warning: could not find '.gnu_debugaltlink' file for /lib/x86_64-linux-gnu/libcap.so.2
│ Nov 07 14:59:55.577 [INFO] zmap: By default, ZMap will output the unique IP addresses of hosts that respond successfully (e.g., SYN-ACK packet). This is equivalent to running ZMap with the following flags: --output-module=csv --output-fields=saddr --output-filter='success=1 && repeat=0' --no-header-row. If you want all responses, explicitly set an output module or set --output-filter="".
│ Nov 07 14:59:55.578 [INFO] dedup: Response deduplication method is full
│ [New Thread 0x7fbba00fe6c0 (LWP 22)]
│ [New Thread 0x7fbb9f8fd6c0 (LWP 23)]
│ Nov 07 14:59:55.646 [INFO] recv: duplicate responses will be excluded from output
│ Nov 07 14:59:55.646 [INFO] recv: unsuccessful responses will be excluded from output
│ [New Thread 0x7fbb9eefc6c0 (LWP 24)]
│ [New Thread 0x7fbb9e6fb6c0 (LWP 25)]
│ [New Thread 0x7fbb9defa6c0 (LWP 26)]
│ [New Thread 0x7fbb9d6f96c0 (LWP 27)]
│ [New Thread 0x7fbb9ce166c0 (LWP 28)]
│ ==================
│ WARNING: ThreadSanitizer: data race (pid=19)
│   Read of size 8 at 0x725000000400 by thread T6:
│     #0 iterator_get_sent /usr/local/src/src/iterator.c:111 (zmap+0x199eb) (BuildId: 7cabb68c80686eede01ec83169690fcae77c3af7)
│     #1 export_stats /usr/local/src/src/monitor.c:190 (zmap+0x1a8e5) (BuildId: 7cabb68c80686eede01ec83169690fcae77c3af7)
│     #2 export_then_update /usr/local/src/src/monitor.c:477 (zmap+0x1a8e5)
│     #3 monitor_run /usr/local/src/src/monitor.c:502 (zmap+0x1bda8) (BuildId: 7cabb68c80686eede01ec83169690fcae77c3af7)
│     #4 start_mon /usr/local/src/src/zmap.c:132 (zmap+0x212c6) (BuildId: 7cabb68c80686eede01ec83169690fcae77c3af7)
│
│   Previous write of size 8 at 0x725000000400 by thread T2:
│     #0 send_run /usr/local/src/src/send.c:485 (zmap+0x1e299) (BuildId: 7cabb68c80686eede01ec83169690fcae77c3af7)
│     #1 start_send /usr/local/src/src/zmap.c:110 (zmap+0x213f9) (BuildId: 7cabb68c80686eede01ec83169690fcae77c3af7)
│
│   Location is heap block of size 480 at 0x725000000400 allocated by main thread:
│     #0 calloc ../../../../src/libsanitizer/tsan/tsan_interceptors_posix.cpp:685 (libtsan.so.2+0x54d0d) (BuildId: 38097064631f7912bd33117a9c83d08b42e15571)
│     #1 xcalloc /usr/local/src/lib/xalloc.c:27 (zmap+0x47934) (BuildId: 7cabb68c80686eede01ec83169690fcae77c3af7)
│     #2 iterator_init /usr/local/src/src/iterator.c:94 (zmap+0x19784) (BuildId: 7cabb68c80686eede01ec83169690fcae77c3af7)
│     #3 send_init /usr/local/src/src/send.c:94 (zmap+0x1d1d5) (BuildId: 7cabb68c80686eede01ec83169690fcae77c3af7)
│     #4 start_zmap /usr/local/src/src/zmap.c:208 (zmap+0x1366a) (BuildId: 7cabb68c80686eede01ec83169690fcae77c3af7)
│     #5 main /usr/local/src/src/zmap.c:1201 (zmap+0x1366a)
│
│   Thread T6 (tid=28, running) created by main thread at:
│     #0 pthread_create ../../../../src/libsanitizer/tsan/tsan_interceptors_posix.cpp:1022 (libtsan.so.2+0x5ac1a) (BuildId: 38097064631f7912bd33117a9c83d08b42e15571)
│     #1 start_zmap /usr/local/src/src/zmap.c:272 (zmap+0x13962) (BuildId: 7cabb68c80686eede01ec83169690fcae77c3af7)
│     #2 main /usr/local/src/src/zmap.c:1201 (zmap+0x13962)
│
│   Thread T2 (tid=24, running) created by main thread at:
│     #0 pthread_create ../../../../src/libsanitizer/tsan/tsan_interceptors_posix.cpp:1022 (libtsan.so.2+0x5ac1a) (BuildId: 38097064631f7912bd33117a9c83d08b42e15571)
│     #1 start_zmap /usr/local/src/src/zmap.c:258 (zmap+0x13861) (BuildId: 7cabb68c80686eede01ec83169690fcae77c3af7)
│     #2 main /usr/local/src/src/zmap.c:1201 (zmap+0x13861)
│
│ SUMMARY: ThreadSanitizer: data race /usr/local/src/src/iterator.c:111 in iterator_get_sent
│ ==================
│ ==================
│ WARNING: ThreadSanitizer: data race (pid=19)
│   Read of size 8 at 0x55ae0d07bc30 by thread T4:
│     #0 sendmmsg ../../../../src/libsanitizer/sanitizer_common/sanitizer_common_interceptors.inc:3242 (libtsan.so.2+0x69f3c) (BuildId: 38097064631f7912bd33117a9c83d08b42e15571)
│     #1 send_batch /usr/local/src/src/send-linux.c:109 (zmap+0x42778) (BuildId: 7cabb68c80686eede01ec83169690fcae77c3af7)
│     #2 send_run /usr/local/src/src/send.c:471 (zmap+0x1e3be) (BuildId: 7cabb68c80686eede01ec83169690fcae77c3af7)
│     #3 start_send /usr/local/src/src/zmap.c:110 (zmap+0x213f9) (BuildId: 7cabb68c80686eede01ec83169690fcae77c3af7)
│
│   Previous write of size 4 at 0x55ae0d07bc34 by thread T5 (mutexes: write M0):
│     #0 send_run_init /usr/local/src/src/send-linux.c:63 (zmap+0x422d2) (BuildId: 7cabb68c80686eede01ec83169690fcae77c3af7)
│     #1 send_run /usr/local/src/src/send.c:223 (zmap+0x1d8f7) (BuildId: 7cabb68c80686eede01ec83169690fcae77c3af7)
│     #2 start_send /usr/local/src/src/zmap.c:110 (zmap+0x213f9) (BuildId: 7cabb68c80686eede01ec83169690fcae77c3af7)
│
│   Location is global 'sockaddr' of size 20 at 0x55ae0d07bc30 (zmap+0x78c30)
│
│   Mutex M0 (0x55ae0d07b8e0) created at:
│     #0 pthread_mutex_lock ../../../../src/libsanitizer/tsan/tsan_interceptors_posix.cpp:1341 (libtsan.so.2+0x59a13) (BuildId: 38097064631f7912bd33117a9c83d08b42e15571)
│     #1 send_run /usr/local/src/src/send.c:218 (zmap+0x1d8cf) (BuildId: 7cabb68c80686eede01ec83169690fcae77c3af7)
│     #2 start_send /usr/local/src/src/zmap.c:110 (zmap+0x213f9) (BuildId: 7cabb68c80686eede01ec83169690fcae77c3af7)
│
│   Thread T4 (tid=26, running) created by main thread at:
│     #0 pthread_create ../../../../src/libsanitizer/tsan/tsan_interceptors_posix.cpp:1022 (libtsan.so.2+0x5ac1a) (BuildId: 38097064631f7912bd33117a9c83d08b42e15571)
│     #1 start_zmap /usr/local/src/src/zmap.c:258 (zmap+0x13861) (BuildId: 7cabb68c80686eede01ec83169690fcae77c3af7)
│     #2 main /usr/local/src/src/zmap.c:1201 (zmap+0x13861)
│
│   Thread T5 (tid=27, running) created by main thread at:
│     #0 pthread_create ../../../../src/libsanitizer/tsan/tsan_interceptors_posix.cpp:1022 (libtsan.so.2+0x5ac1a) (BuildId: 38097064631f7912bd33117a9c83d08b42e15571)
│     #1 start_zmap /usr/local/src/src/zmap.c:258 (zmap+0x13861) (BuildId: 7cabb68c80686eede01ec83169690fcae77c3af7)
│     #2 main /usr/local/src/src/zmap.c:1201 (zmap+0x13861)
│
│ SUMMARY: ThreadSanitizer: data race /usr/local/src/src/send-linux.c:109 in send_batch
│ ==================
│ ==================
│ WARNING: ThreadSanitizer: data race (pid=19)
│   Read of size 4 at 0x725000000420 by thread T6:
│     #0 iterator_get_fail /usr/local/src/src/iterator.c:129 (zmap+0x19b4b) (BuildId: 7cabb68c80686eede01ec83169690fcae77c3af7)
│     #1 export_stats /usr/local/src/src/monitor.c:192 (zmap+0x1a8fd) (BuildId: 7cabb68c80686eede01ec83169690fcae77c3af7)
│     #2 export_then_update /usr/local/src/src/monitor.c:477 (zmap+0x1a8fd)
│     #3 monitor_run /usr/local/src/src/monitor.c:502 (zmap+0x1bda8) (BuildId: 7cabb68c80686eede01ec83169690fcae77c3af7)
│     #4 start_mon /usr/local/src/src/zmap.c:132 (zmap+0x212c6) (BuildId: 7cabb68c80686eede01ec83169690fcae77c3af7)
│
│   Previous write of size 4 at 0x725000000420 by thread T2:
│     #0 send_run /usr/local/src/src/send.c:476 (zmap+0x1e40a) (BuildId: 7cabb68c80686eede01ec83169690fcae77c3af7)
│     #1 start_send /usr/local/src/src/zmap.c:110 (zmap+0x213f9) (BuildId: 7cabb68c80686eede01ec83169690fcae77c3af7)
│
│   Location is heap block of size 480 at 0x725000000400 allocated by main thread:
│     #0 calloc ../../../../src/libsanitizer/tsan/tsan_interceptors_posix.cpp:685 (libtsan.so.2+0x54d0d) (BuildId: 38097064631f7912bd33117a9c83d08b42e15571)
│     #1 xcalloc /usr/local/src/lib/xalloc.c:27 (zmap+0x47934) (BuildId: 7cabb68c80686eede01ec83169690fcae77c3af7)
│     #2 iterator_init /usr/local/src/src/iterator.c:94 (zmap+0x19784) (BuildId: 7cabb68c80686eede01ec83169690fcae77c3af7)
│     #3 send_init /usr/local/src/src/send.c:94 (zmap+0x1d1d5) (BuildId: 7cabb68c80686eede01ec83169690fcae77c3af7)
│     #4 start_zmap /usr/local/src/src/zmap.c:208 (zmap+0x1366a) (BuildId: 7cabb68c80686eede01ec83169690fcae77c3af7)
│     #5 main /usr/local/src/src/zmap.c:1201 (zmap+0x1366a)
│
│   Thread T6 (tid=28, running) created by main thread at:
│     #0 pthread_create ../../../../src/libsanitizer/tsan/tsan_interceptors_posix.cpp:1022 (libtsan.so.2+0x5ac1a) (BuildId: 38097064631f7912bd33117a9c83d08b42e15571)
│     #1 start_zmap /usr/local/src/src/zmap.c:272 (zmap+0x13962) (BuildId: 7cabb68c80686eede01ec83169690fcae77c3af7)
│     #2 main /usr/local/src/src/zmap.c:1201 (zmap+0x13962)
│
│   Thread T2 (tid=24, running) created by main thread at:
│     #0 pthread_create ../../../../src/libsanitizer/tsan/tsan_interceptors_posix.cpp:1022 (libtsan.so.2+0x5ac1a) (BuildId: 38097064631f7912bd33117a9c83d08b42e15571)
│     #1 start_zmap /usr/local/src/src/zmap.c:258 (zmap+0x13861) (BuildId: 7cabb68c80686eede01ec83169690fcae77c3af7)
│     #2 main /usr/local/src/src/zmap.c:1201 (zmap+0x13861)
│
│ SUMMARY: ThreadSanitizer: data race /usr/local/src/src/iterator.c:129 in iterator_get_fail
│ ==================
│ ==================
│ WARNING: ThreadSanitizer: data race (pid=19)
│   Read of size 8 at 0x55ae0d07b928 by thread T6:
│     #0 export_stats /usr/local/src/src/monitor.c:194 (zmap+0x1a923) (BuildId: 7cabb68c80686eede01ec83169690fcae77c3af7)
│     #1 export_then_update /usr/local/src/src/monitor.c:477 (zmap+0x1a923)
│     #2 monitor_run /usr/local/src/src/monitor.c:502 (zmap+0x1bda8) (BuildId: 7cabb68c80686eede01ec83169690fcae77c3af7)
│     #3 start_mon /usr/local/src/src/zmap.c:132 (zmap+0x212c6) (BuildId: 7cabb68c80686eede01ec83169690fcae77c3af7)
│
│   Previous write of size 8 at 0x55ae0d07b928 by thread T1:
│     #0 handle_packet /usr/local/src/src/recv.c:173 (zmap+0x1c875) (BuildId: 7cabb68c80686eede01ec83169690fcae77c3af7)
│     #1 packet_cb /usr/local/src/src/recv-pcap.c:55 (zmap+0x42874) (BuildId: 7cabb68c80686eede01ec83169690fcae77c3af7)
│     #2 packet_cb /usr/local/src/src/recv-pcap.c:37 (zmap+0x42874)
│     #3 <null> <null> (libpcap.so.0.8+0x9edf) (BuildId: d0c6c787d35246d7107d600c893454c1fcbaf262)
│     #4 recv_run /usr/local/src/src/recv.c:274 (zmap+0x1cd1b) (BuildId: 7cabb68c80686eede01ec83169690fcae77c3af7)
│     #5 start_recv /usr/local/src/src/zmap.c:123 (zmap+0x2135f) (BuildId: 7cabb68c80686eede01ec83169690fcae77c3af7)
│
│   Location is global 'zrecv' of size 136 at 0x55ae0d07b920 (zmap+0x78928)
│
│   Thread T6 (tid=28, running) created by main thread at:
│     #0 pthread_create ../../../../src/libsanitizer/tsan/tsan_interceptors_posix.cpp:1022 (libtsan.so.2+0x5ac1a) (BuildId: 38097064631f7912bd33117a9c83d08b42e15571)
│     #1 start_zmap /usr/local/src/src/zmap.c:272 (zmap+0x13962) (BuildId: 7cabb68c80686eede01ec83169690fcae77c3af7)
│     #2 main /usr/local/src/src/zmap.c:1201 (zmap+0x13962)
│
│   Thread T1 (tid=23, running) created by main thread at:
│     #0 pthread_create ../../../../src/libsanitizer/tsan/tsan_interceptors_posix.cpp:1022 (libtsan.so.2+0x5ac1a) (BuildId: 38097064631f7912bd33117a9c83d08b42e15571)
│     #1 start_zmap /usr/local/src/src/zmap.c:224 (zmap+0x13716) (BuildId: 7cabb68c80686eede01ec83169690fcae77c3af7)
│     #2 main /usr/local/src/src/zmap.c:1201 (zmap+0x13716)
│
│ SUMMARY: ThreadSanitizer: data race /usr/local/src/src/monitor.c:194 in export_stats
│ ==================
│ ==================
│ WARNING: ThreadSanitizer: data race (pid=19)
│   Read of size 8 at 0x55ae0d066528 by thread T6:
│     #0 compute_remaining_time /usr/local/src/src/monitor.c:150 (zmap+0x1a44f) (BuildId: 7cabb68c80686eede01ec83169690fcae77c3af7)
│     #1 compute_remaining_time /usr/local/src/src/monitor.c:124 (zmap+0x1a44f)
│     #2 export_stats /usr/local/src/src/monitor.c:201 (zmap+0x1a993) (BuildId: 7cabb68c80686eede01ec83169690fcae77c3af7)
│     #3 export_then_update /usr/local/src/src/monitor.c:477 (zmap+0x1a993)
│     #4 monitor_run /usr/local/src/src/monitor.c:502 (zmap+0x1bda8) (BuildId: 7cabb68c80686eede01ec83169690fcae77c3af7)
│     #5 start_mon /usr/local/src/src/zmap.c:132 (zmap+0x212c6) (BuildId: 7cabb68c80686eede01ec83169690fcae77c3af7)
│
│   Previous write of size 8 at 0x55ae0d066528 by thread T1:
│     #0 recv_run /usr/local/src/src/recv.c:267 (zmap+0x1ccc6) (BuildId: 7cabb68c80686eede01ec83169690fcae77c3af7)
│     #1 start_recv /usr/local/src/src/zmap.c:123 (zmap+0x2135f) (BuildId: 7cabb68c80686eede01ec83169690fcae77c3af7)
│
│   Location is global 'zconf' of size 8168 at 0x55ae0d066500 (zmap+0x63528)
│
│   Thread T6 (tid=28, running) created by main thread at:
│     #0 pthread_create ../../../../src/libsanitizer/tsan/tsan_interceptors_posix.cpp:1022 (libtsan.so.2+0x5ac1a) (BuildId: 38097064631f7912bd33117a9c83d08b42e15571)
│     #1 start_zmap /usr/local/src/src/zmap.c:272 (zmap+0x13962) (BuildId: 7cabb68c80686eede01ec83169690fcae77c3af7)
│     #2 main /usr/local/src/src/zmap.c:1201 (zmap+0x13962)
│
│   Thread T1 (tid=23, running) created by main thread at:
│     #0 pthread_create ../../../../src/libsanitizer/tsan/tsan_interceptors_posix.cpp:1022 (libtsan.so.2+0x5ac1a) (BuildId: 38097064631f7912bd33117a9c83d08b42e15571)
│     #1 start_zmap /usr/local/src/src/zmap.c:224 (zmap+0x13716) (BuildId: 7cabb68c80686eede01ec83169690fcae77c3af7)
│     #2 main /usr/local/src/src/zmap.c:1201 (zmap+0x13716)
│
│ SUMMARY: ThreadSanitizer: data race /usr/local/src/src/monitor.c:150 in compute_remaining_time
│ ==================
│ ==================
│ WARNING: ThreadSanitizer: data race (pid=19)
│   Read of size 8 at 0x55ae0d07b958 by thread T6:
│     #0 compute_remaining_time /usr/local/src/src/monitor.c:152 (zmap+0x1a468) (BuildId: 7cabb68c80686eede01ec83169690fcae77c3af7)
│     #1 compute_remaining_time /usr/local/src/src/monitor.c:124 (zmap+0x1a468)
│     #2 export_stats /usr/local/src/src/monitor.c:201 (zmap+0x1a993) (BuildId: 7cabb68c80686eede01ec83169690fcae77c3af7)
│     #3 export_then_update /usr/local/src/src/monitor.c:477 (zmap+0x1a993)
│     #4 monitor_run /usr/local/src/src/monitor.c:502 (zmap+0x1bda8) (BuildId: 7cabb68c80686eede01ec83169690fcae77c3af7)
│     #5 start_mon /usr/local/src/src/zmap.c:132 (zmap+0x212c6) (BuildId: 7cabb68c80686eede01ec83169690fcae77c3af7)
│
│   Previous write of size 8 at 0x55ae0d07b958 by thread T1:
│     #0 handle_packet /usr/local/src/src/recv.c:212 (zmap+0x1c561) (BuildId: 7cabb68c80686eede01ec83169690fcae77c3af7)
│     #1 packet_cb /usr/local/src/src/recv-pcap.c:55 (zmap+0x42874) (BuildId: 7cabb68c80686eede01ec83169690fcae77c3af7)
│     #2 packet_cb /usr/local/src/src/recv-pcap.c:37 (zmap+0x42874)
│     #3 <null> <null> (libpcap.so.0.8+0x9edf) (BuildId: d0c6c787d35246d7107d600c893454c1fcbaf262)
│     #4 recv_run /usr/local/src/src/recv.c:274 (zmap+0x1cd1b) (BuildId: 7cabb68c80686eede01ec83169690fcae77c3af7)
│     #5 start_recv /usr/local/src/src/zmap.c:123 (zmap+0x2135f) (BuildId: 7cabb68c80686eede01ec83169690fcae77c3af7)
│
│   Location is global 'zrecv' of size 136 at 0x55ae0d07b920 (zmap+0x78958)
│
│   Thread T6 (tid=28, running) created by main thread at:
│     #0 pthread_create ../../../../src/libsanitizer/tsan/tsan_interceptors_posix.cpp:1022 (libtsan.so.2+0x5ac1a) (BuildId: 38097064631f7912bd33117a9c83d08b42e15571)
│     #1 start_zmap /usr/local/src/src/zmap.c:272 (zmap+0x13962) (BuildId: 7cabb68c80686eede01ec83169690fcae77c3af7)
│     #2 main /usr/local/src/src/zmap.c:1201 (zmap+0x13962)
│
│   Thread T1 (tid=23, running) created by main thread at:
│     #0 pthread_create ../../../../src/libsanitizer/tsan/tsan_interceptors_posix.cpp:1022 (libtsan.so.2+0x5ac1a) (BuildId: 38097064631f7912bd33117a9c83d08b42e15571)
│     #1 start_zmap /usr/local/src/src/zmap.c:224 (zmap+0x13716) (BuildId: 7cabb68c80686eede01ec83169690fcae77c3af7)
│     #2 main /usr/local/src/src/zmap.c:1201 (zmap+0x13716)
│
│ SUMMARY: ThreadSanitizer: data race /usr/local/src/src/monitor.c:152 in compute_remaining_time
│ ==================
│  0:00 0%; send: 455 1 p/s (1.81 Kp/s avg); recv: 53 1 p/s (210 p/s avg); drops: 0 p/s (0 p/s avg); hitrate: 11.65%
│ ==================
│ WARNING: ThreadSanitizer: data race (pid=19)
│   Write of size 4 at 0x721c00000060 by thread T5 (mutexes: write M0):
│     #0 shard_complete /usr/local/src/src/iterator.c:41 (zmap+0x19407) (BuildId: 7cabb68c80686eede01ec83169690fcae77c3af7)
│     #1 send_run /usr/local/src/src/send.c:535 (zmap+0x1e62c) (BuildId: 7cabb68c80686eede01ec83169690fcae77c3af7)
│     #2 start_send /usr/local/src/src/zmap.c:110 (zmap+0x213f9) (BuildId: 7cabb68c80686eede01ec83169690fcae77c3af7)
│
│   Previous read of size 4 at 0x721c00000060 by thread T6:
│     #0 iterator_get_curr_send_threads /usr/local/src/src/iterator.c:143 (zmap+0x19c63) (BuildId: 7cabb68c80686eede01ec83169690fcae77c3af7)
│     #1 export_stats /usr/local/src/src/monitor.c:303 (zmap+0x1b0fc) (BuildId: 7cabb68c80686eede01ec83169690fcae77c3af7)
│     #2 export_then_update /usr/local/src/src/monitor.c:477 (zmap+0x1b0fc)
│     #3 monitor_run /usr/local/src/src/monitor.c:502 (zmap+0x1bda8) (BuildId: 7cabb68c80686eede01ec83169690fcae77c3af7)
│     #4 start_mon /usr/local/src/src/zmap.c:132 (zmap+0x212c6) (BuildId: 7cabb68c80686eede01ec83169690fcae77c3af7)
│
│   Location is heap block of size 104 at 0x721c00000000 allocated by main thread:
│     #0 calloc ../../../../src/libsanitizer/tsan/tsan_interceptors_posix.cpp:685 (libtsan.so.2+0x54d0d) (BuildId: 38097064631f7912bd33117a9c83d08b42e15571)
│     #1 xmalloc /usr/local/src/lib/xalloc.c:38 (zmap+0x479f2) (BuildId: 7cabb68c80686eede01ec83169690fcae77c3af7)
│     #2 iterator_init /usr/local/src/src/iterator.c:83 (zmap+0x196c6) (BuildId: 7cabb68c80686eede01ec83169690fcae77c3af7)
│     #3 send_init /usr/local/src/src/send.c:94 (zmap+0x1d1d5) (BuildId: 7cabb68c80686eede01ec83169690fcae77c3af7)
│     #4 start_zmap /usr/local/src/src/zmap.c:208 (zmap+0x1366a) (BuildId: 7cabb68c80686eede01ec83169690fcae77c3af7)
│     #5 main /usr/local/src/src/zmap.c:1201 (zmap+0x1366a)
│
│   Mutex M0 (0x721c00000038) created at:
│     #0 pthread_mutex_init ../../../../src/libsanitizer/tsan/tsan_interceptors_posix.cpp:1315 (libtsan.so.2+0x594cd) (BuildId: 38097064631f7912bd33117a9c83d08b42e15571)
│     #1 iterator_init /usr/local/src/src/iterator.c:96 (zmap+0x197d2) (BuildId: 7cabb68c80686eede01ec83169690fcae77c3af7)
│     #2 send_init /usr/local/src/src/send.c:94 (zmap+0x1d1d5) (BuildId: 7cabb68c80686eede01ec83169690fcae77c3af7)
│     #3 start_zmap /usr/local/src/src/zmap.c:208 (zmap+0x1366a) (BuildId: 7cabb68c80686eede01ec83169690fcae77c3af7)
│     #4 main /usr/local/src/src/zmap.c:1201 (zmap+0x1366a)
│
│   Thread T5 (tid=27, running) created by main thread at:
│     #0 pthread_create ../../../../src/libsanitizer/tsan/tsan_interceptors_posix.cpp:1022 (libtsan.so.2+0x5ac1a) (BuildId: 38097064631f7912bd33117a9c83d08b42e15571)
│     #1 start_zmap /usr/local/src/src/zmap.c:258 (zmap+0x13861) (BuildId: 7cabb68c80686eede01ec83169690fcae77c3af7)
│     #2 main /usr/local/src/src/zmap.c:1201 (zmap+0x13861)
│
│   Thread T6 (tid=28, running) created by main thread at:
│     #0 pthread_create ../../../../src/libsanitizer/tsan/tsan_interceptors_posix.cpp:1022 (libtsan.so.2+0x5ac1a) (BuildId: 38097064631f7912bd33117a9c83d08b42e15571)
│     #1 start_zmap /usr/local/src/src/zmap.c:272 (zmap+0x13962) (BuildId: 7cabb68c80686eede01ec83169690fcae77c3af7)
│     #2 main /usr/local/src/src/zmap.c:1201 (zmap+0x13962)
│
│ SUMMARY: ThreadSanitizer: data race /usr/local/src/src/iterator.c:41 in shard_complete
│ ==================
│ ==================
│ WARNING: ThreadSanitizer: data race (pid=19)
│   Read of size 4 at 0x55ae0d0664d8 by thread T5 (mutexes: write M0):
│     #0 shard_complete /usr/local/src/src/iterator.c:45 (zmap+0x194d3) (BuildId: 7cabb68c80686eede01ec83169690fcae77c3af7)
│     #1 send_run /usr/local/src/src/send.c:535 (zmap+0x1e62c) (BuildId: 7cabb68c80686eede01ec83169690fcae77c3af7)
│     #2 start_send /usr/local/src/src/zmap.c:110 (zmap+0x213f9) (BuildId: 7cabb68c80686eede01ec83169690fcae77c3af7)
│
│   Previous write of size 4 at 0x55ae0d0664d8 by thread T6:
│     #0 export_stats /usr/local/src/src/monitor.c:297 (zmap+0x1b059) (BuildId: 7cabb68c80686eede01ec83169690fcae77c3af7)
│     #1 export_then_update /usr/local/src/src/monitor.c:477 (zmap+0x1b059)
│     #2 monitor_run /usr/local/src/src/monitor.c:502 (zmap+0x1bda8) (BuildId: 7cabb68c80686eede01ec83169690fcae77c3af7)
│     #3 start_mon /usr/local/src/src/zmap.c:132 (zmap+0x212c6) (BuildId: 7cabb68c80686eede01ec83169690fcae77c3af7)
│
│   Location is global 'zsend' of size 80 at 0x55ae0d0664a0 (zmap+0x634d8)
│
│   Mutex M0 (0x721c00000038) created at:
│     #0 pthread_mutex_init ../../../../src/libsanitizer/tsan/tsan_interceptors_posix.cpp:1315 (libtsan.so.2+0x594cd) (BuildId: 38097064631f7912bd33117a9c83d08b42e15571)
│     #1 iterator_init /usr/local/src/src/iterator.c:96 (zmap+0x197d2) (BuildId: 7cabb68c80686eede01ec83169690fcae77c3af7)
│     #2 send_init /usr/local/src/src/send.c:94 (zmap+0x1d1d5) (BuildId: 7cabb68c80686eede01ec83169690fcae77c3af7)
│     #3 start_zmap /usr/local/src/src/zmap.c:208 (zmap+0x1366a) (BuildId: 7cabb68c80686eede01ec83169690fcae77c3af7)
│     #4 main /usr/local/src/src/zmap.c:1201 (zmap+0x1366a)
│
│   Thread T5 (tid=27, running) created by main thread at:
│     #0 pthread_create ../../../../src/libsanitizer/tsan/tsan_interceptors_posix.cpp:1022 (libtsan.so.2+0x5ac1a) (BuildId: 38097064631f7912bd33117a9c83d08b42e15571)
│     #1 start_zmap /usr/local/src/src/zmap.c:258 (zmap+0x13861) (BuildId: 7cabb68c80686eede01ec83169690fcae77c3af7)
│     #2 main /usr/local/src/src/zmap.c:1201 (zmap+0x13861)
│
│   Thread T6 (tid=28, running) created by main thread at:
│     #0 pthread_create ../../../../src/libsanitizer/tsan/tsan_interceptors_posix.cpp:1022 (libtsan.so.2+0x5ac1a) (BuildId: 38097064631f7912bd33117a9c83d08b42e15571)
│     #1 start_zmap /usr/local/src/src/zmap.c:272 (zmap+0x13962) (BuildId: 7cabb68c80686eede01ec83169690fcae77c3af7)
│     #2 main /usr/local/src/src/zmap.c:1201 (zmap+0x13962)
│
│ SUMMARY: ThreadSanitizer: data race /usr/local/src/src/iterator.c:45 in shard_complete
│ ==================
│ ==================
│ WARNING: ThreadSanitizer: data race (pid=19)
│   Write of size 4 at 0x55ae0d0664c4 by thread T2 (mutexes: write M0):
│     #0 shard_complete /usr/local/src/src/iterator.c:52 (zmap+0x19561) (BuildId: 7cabb68c80686eede01ec83169690fcae77c3af7)
│     #1 send_run /usr/local/src/src/send.c:535 (zmap+0x1e62c) (BuildId: 7cabb68c80686eede01ec83169690fcae77c3af7)
│     #2 start_send /usr/local/src/src/zmap.c:110 (zmap+0x213f9) (BuildId: 7cabb68c80686eede01ec83169690fcae77c3af7)
│
│   Previous read of size 4 at 0x55ae0d0664c4 by thread T1:
│     #0 recv_run /usr/local/src/src/recv.c:281 (zmap+0x1ccf9) (BuildId: 7cabb68c80686eede01ec83169690fcae77c3af7)
│     #1 start_recv /usr/local/src/src/zmap.c:123 (zmap+0x2135f) (BuildId: 7cabb68c80686eede01ec83169690fcae77c3af7)
│
│   Location is global 'zsend' of size 80 at 0x55ae0d0664a0 (zmap+0x634c4)
│
│   Mutex M0 (0x721c00000038) created at:
│     #0 pthread_mutex_init ../../../../src/libsanitizer/tsan/tsan_interceptors_posix.cpp:1315 (libtsan.so.2+0x594cd) (BuildId: 38097064631f7912bd33117a9c83d08b42e15571)
│     #1 iterator_init /usr/local/src/src/iterator.c:96 (zmap+0x197d2) (BuildId: 7cabb68c80686eede01ec83169690fcae77c3af7)
│     #2 send_init /usr/local/src/src/send.c:94 (zmap+0x1d1d5) (BuildId: 7cabb68c80686eede01ec83169690fcae77c3af7)
│     #3 start_zmap /usr/local/src/src/zmap.c:208 (zmap+0x1366a) (BuildId: 7cabb68c80686eede01ec83169690fcae77c3af7)
│     #4 main /usr/local/src/src/zmap.c:1201 (zmap+0x1366a)
│
│   Thread T2 (tid=24, running) created by main thread at:
│     #0 pthread_create ../../../../src/libsanitizer/tsan/tsan_interceptors_posix.cpp:1022 (libtsan.so.2+0x5ac1a) (BuildId: 38097064631f7912bd33117a9c83d08b42e15571)
│     #1 start_zmap /usr/local/src/src/zmap.c:258 (zmap+0x13861) (BuildId: 7cabb68c80686eede01ec83169690fcae77c3af7)
│     #2 main /usr/local/src/src/zmap.c:1201 (zmap+0x13861)
│
│   Thread T1 (tid=23, running) created by main thread at:
│     #0 pthread_create ../../../../src/libsanitizer/tsan/tsan_interceptors_posix.cpp:1022 (libtsan.so.2+0x5ac1a) (BuildId: 38097064631f7912bd33117a9c83d08b42e15571)
│     #1 start_zmap /usr/local/src/src/zmap.c:224 (zmap+0x13716) (BuildId: 7cabb68c80686eede01ec83169690fcae77c3af7)
│     #2 main /usr/local/src/src/zmap.c:1201 (zmap+0x13716)
│
│ SUMMARY: ThreadSanitizer: data race /usr/local/src/src/iterator.c:52 in shard_complete
│ ==================
│ ==================
│ WARNING: ThreadSanitizer: data race (pid=19)
│   Read of size 8 at 0x55ae0d0664a8 by thread T1:
│     #0 recv_run /usr/local/src/src/recv.c:281 (zmap+0x1cde3) (BuildId: 7cabb68c80686eede01ec83169690fcae77c3af7)
│     #1 start_recv /usr/local/src/src/zmap.c:123 (zmap+0x2135f) (BuildId: 7cabb68c80686eede01ec83169690fcae77c3af7)
│
│   Previous write of size 8 at 0x55ae0d0664a8 by thread T2 (mutexes: write M0):
│     #0 shard_complete /usr/local/src/src/iterator.c:51 (zmap+0x1954a) (BuildId: 7cabb68c80686eede01ec83169690fcae77c3af7)
│     #1 send_run /usr/local/src/src/send.c:535 (zmap+0x1e62c) (BuildId: 7cabb68c80686eede01ec83169690fcae77c3af7)
│     #2 start_send /usr/local/src/src/zmap.c:110 (zmap+0x213f9) (BuildId: 7cabb68c80686eede01ec83169690fcae77c3af7)
│
│   As if synchronized via sleep:
│     #0 usleep ../../../../src/libsanitizer/tsan/tsan_interceptors_posix.cpp:390 (libtsan.so.2+0x587d1) (BuildId: 38097064631f7912bd33117a9c83d08b42e15571)
│     #1 recv_packets /usr/local/src/src/recv-pcap.c:138 (zmap+0x42e59) (BuildId: 7cabb68c80686eede01ec83169690fcae77c3af7)
│     #2 recv_run /usr/local/src/src/recv.c:274 (zmap+0x1cd1b) (BuildId: 7cabb68c80686eede01ec83169690fcae77c3af7)
│     #3 start_recv /usr/local/src/src/zmap.c:123 (zmap+0x2135f) (BuildId: 7cabb68c80686eede01ec83169690fcae77c3af7)
│
│   Location is global 'zsend' of size 80 at 0x55ae0d0664a0 (zmap+0x634a8)
│
│   Mutex M0 (0x721c00000038) created at:
│     #0 pthread_mutex_init ../../../../src/libsanitizer/tsan/tsan_interceptors_posix.cpp:1315 (libtsan.so.2+0x594cd) (BuildId: 38097064631f7912bd33117a9c83d08b42e15571)
│     #1 iterator_init /usr/local/src/src/iterator.c:96 (zmap+0x197d2) (BuildId: 7cabb68c80686eede01ec83169690fcae77c3af7)
│     #2 send_init /usr/local/src/src/send.c:94 (zmap+0x1d1d5) (BuildId: 7cabb68c80686eede01ec83169690fcae77c3af7)
│     #3 start_zmap /usr/local/src/src/zmap.c:208 (zmap+0x1366a) (BuildId: 7cabb68c80686eede01ec83169690fcae77c3af7)
│     #4 main /usr/local/src/src/zmap.c:1201 (zmap+0x1366a)
│
│   Thread T1 (tid=23, running) created by main thread at:
│     #0 pthread_create ../../../../src/libsanitizer/tsan/tsan_interceptors_posix.cpp:1022 (libtsan.so.2+0x5ac1a) (BuildId: 38097064631f7912bd33117a9c83d08b42e15571)
│     #1 start_zmap /usr/local/src/src/zmap.c:224 (zmap+0x13716) (BuildId: 7cabb68c80686eede01ec83169690fcae77c3af7)
│     #2 main /usr/local/src/src/zmap.c:1201 (zmap+0x13716)
│
│   Thread T2 (tid=24, running) created by main thread at:
│     #0 pthread_create ../../../../src/libsanitizer/tsan/tsan_interceptors_posix.cpp:1022 (libtsan.so.2+0x5ac1a) (BuildId: 38097064631f7912bd33117a9c83d08b42e15571)
│     #1 start_zmap /usr/local/src/src/zmap.c:258 (zmap+0x13861) (BuildId: 7cabb68c80686eede01ec83169690fcae77c3af7)
│     #2 main /usr/local/src/src/zmap.c:1201 (zmap+0x13861)
│
│ SUMMARY: ThreadSanitizer: data race /usr/local/src/src/recv.c:281 in recv_run
│ ==================
│ [Thread 0x7fbb9d6f96c0 (LWP 27) exited]
│ [Thread 0x7fbb9defa6c0 (LWP 26) exited]
│ [Thread 0x7fbb9e6fb6c0 (LWP 25) exited]
│ [Thread 0x7fbb9eefc6c0 (LWP 24) exited]
│ ==================
│ WARNING: ThreadSanitizer: data race (pid=19)
│   Write of size 4 at 0x55ae0d0664d8 by thread T6:
│     #0 export_stats /usr/local/src/src/monitor.c:297 (zmap+0x1b059) (BuildId: 7cabb68c80686eede01ec83169690fcae77c3af7)
│     #1 export_then_update /usr/local/src/src/monitor.c:477 (zmap+0x1b059)
│     #2 monitor_run /usr/local/src/src/monitor.c:502 (zmap+0x1bda8) (BuildId: 7cabb68c80686eede01ec83169690fcae77c3af7)
│     #3 start_mon /usr/local/src/src/zmap.c:132 (zmap+0x212c6) (BuildId: 7cabb68c80686eede01ec83169690fcae77c3af7)
│
│   Previous write of size 4 at 0x55ae0d0664d8 by thread T5 (mutexes: write M0):
│     #0 shard_complete /usr/local/src/src/iterator.c:45 (zmap+0x194f8) (BuildId: 7cabb68c80686eede01ec83169690fcae77c3af7)
│     #1 send_run /usr/local/src/src/send.c:535 (zmap+0x1e62c) (BuildId: 7cabb68c80686eede01ec83169690fcae77c3af7)
│     #2 start_send /usr/local/src/src/zmap.c:110 (zmap+0x213f9) (BuildId: 7cabb68c80686eede01ec83169690fcae77c3af7)
│
│   As if synchronized via sleep:
│     #0 sleep ../../../../src/libsanitizer/tsan/tsan_interceptors_posix.cpp:383 (libtsan.so.2+0x58691) (BuildId: 38097064631f7912bd33117a9c83d08b42e15571)
│     #1 monitor_run /usr/local/src/src/monitor.c:503 (zmap+0x1bdb2) (BuildId: 7cabb68c80686eede01ec83169690fcae77c3af7)
│     #2 start_mon /usr/local/src/src/zmap.c:132 (zmap+0x212c6) (BuildId: 7cabb68c80686eede01ec83169690fcae77c3af7)
│
│   Location is global 'zsend' of size 80 at 0x55ae0d0664a0 (zmap+0x634d8)
│
│   Mutex M0 (0x721c00000038) created at:
│     #0 pthread_mutex_init ../../../../src/libsanitizer/tsan/tsan_interceptors_posix.cpp:1315 (libtsan.so.2+0x594cd) (BuildId: 38097064631f7912bd33117a9c83d08b42e15571)
│     #1 iterator_init /usr/local/src/src/iterator.c:96 (zmap+0x197d2) (BuildId: 7cabb68c80686eede01ec83169690fcae77c3af7)
│     #2 send_init /usr/local/src/src/send.c:94 (zmap+0x1d1d5) (BuildId: 7cabb68c80686eede01ec83169690fcae77c3af7)
│     #3 start_zmap /usr/local/src/src/zmap.c:208 (zmap+0x1366a) (BuildId: 7cabb68c80686eede01ec83169690fcae77c3af7)
│     #4 main /usr/local/src/src/zmap.c:1201 (zmap+0x1366a)
│
│   Thread T6 (tid=28, running) created by main thread at:
│     #0 pthread_create ../../../../src/libsanitizer/tsan/tsan_interceptors_posix.cpp:1022 (libtsan.so.2+0x5ac1a) (BuildId: 38097064631f7912bd33117a9c83d08b42e15571)
│     #1 start_zmap /usr/local/src/src/zmap.c:272 (zmap+0x13962) (BuildId: 7cabb68c80686eede01ec83169690fcae77c3af7)
│     #2 main /usr/local/src/src/zmap.c:1201 (zmap+0x13962)
│
│   Thread T5 (tid=27, finished) created by main thread at:
│     #0 pthread_create ../../../../src/libsanitizer/tsan/tsan_interceptors_posix.cpp:1022 (libtsan.so.2+0x5ac1a) (BuildId: 38097064631f7912bd33117a9c83d08b42e15571)
│     #1 start_zmap /usr/local/src/src/zmap.c:258 (zmap+0x13861) (BuildId: 7cabb68c80686eede01ec83169690fcae77c3af7)
│     #2 main /usr/local/src/src/zmap.c:1201 (zmap+0x13861)
│
│ SUMMARY: ThreadSanitizer: data race /usr/local/src/src/monitor.c:297 in export_stats
│ ==================
│  0:01 15%; send: 1528 done (5.03 Kp/s avg); recv: 216 163 p/s (172 p/s avg); drops: 0 p/s (0 p/s avg); hitrate: 14.14%
│  0:02 27%; send: 1528 done (5.03 Kp/s avg); recv: 226 10 p/s (100 p/s avg); drops: 0 p/s (0 p/s avg); hitrate: 14.79%
│  0:03 39%; send: 1528 done (5.03 Kp/s avg); recv: 236 10 p/s (72 p/s avg); drops: 0 p/s (0 p/s avg); hitrate: 15.45%
│  0:04 51%; send: 1528 done (5.03 Kp/s avg); recv: 237 1 p/s (55 p/s avg); drops: 0 p/s (0 p/s avg); hitrate: 15.51%
│  0:05 63% (4s left); send: 1528 done (5.03 Kp/s avg); recv: 237 0 p/s (45 p/s avg); drops: 0 p/s (0 p/s avg); hitrate: 15.51%
│  0:06 75% (3s left); send: 1528 done (5.03 Kp/s avg); recv: 237 0 p/s (37 p/s avg); drops: 0 p/s (0 p/s avg); hitrate: 15.51%
│  0:07 87% (2s left); send: 1528 done (5.03 Kp/s avg); recv: 237 0 p/s (32 p/s avg); drops: 0 p/s (0 p/s avg); hitrate: 15.51%
│  0:08 99% (1s left); send: 1528 done (5.03 Kp/s avg); recv: 248 11 p/s (30 p/s avg); drops: 0 p/s (0 p/s avg); hitrate: 16.23%
│ ==================
│ WARNING: ThreadSanitizer: data race (pid=19)
│   Write of size 8 at 0x55ae0d07b990 by thread T1:
│     #0 recv_update_stats /usr/local/src/src/recv-pcap.c:159 (zmap+0x42f68) (BuildId: 7cabb68c80686eede01ec83169690fcae77c3af7)
│     #1 recv_run /usr/local/src/src/recv.c:284 (zmap+0x1cd61) (BuildId: 7cabb68c80686eede01ec83169690fcae77c3af7)
│     #2 start_recv /usr/local/src/src/zmap.c:123 (zmap+0x2135f) (BuildId: 7cabb68c80686eede01ec83169690fcae77c3af7)
│
│   Previous write of size 8 at 0x55ae0d07b990 by thread T6 (mutexes: write M0):
│     #0 recv_update_stats /usr/local/src/src/recv-pcap.c:159 (zmap+0x42f68) (BuildId: 7cabb68c80686eede01ec83169690fcae77c3af7)
│     #1 update_pcap_stats /usr/local/src/src/monitor.c:183 (zmap+0x1a8d5) (BuildId: 7cabb68c80686eede01ec83169690fcae77c3af7)
│     #2 export_then_update /usr/local/src/src/monitor.c:476 (zmap+0x1a8d5)
│     #3 monitor_run /usr/local/src/src/monitor.c:502 (zmap+0x1bda8) (BuildId: 7cabb68c80686eede01ec83169690fcae77c3af7)
│     #4 start_mon /usr/local/src/src/zmap.c:132 (zmap+0x212c6) (BuildId: 7cabb68c80686eede01ec83169690fcae77c3af7)
│
│   As if synchronized via sleep:
│     #0 usleep ../../../../src/libsanitizer/tsan/tsan_interceptors_posix.cpp:390 (libtsan.so.2+0x587d1) (BuildId: 38097064631f7912bd33117a9c83d08b42e15571)
│     #1 recv_packets /usr/local/src/src/recv-pcap.c:138 (zmap+0x42e59) (BuildId: 7cabb68c80686eede01ec83169690fcae77c3af7)
│     #2 recv_run /usr/local/src/src/recv.c:274 (zmap+0x1cd1b) (BuildId: 7cabb68c80686eede01ec83169690fcae77c3af7)
│     #3 start_recv /usr/local/src/src/zmap.c:123 (zmap+0x2135f) (BuildId: 7cabb68c80686eede01ec83169690fcae77c3af7)
│
│   Location is global 'zrecv' of size 136 at 0x55ae0d07b920 (zmap+0x78990)
│
│   Mutex M0 (0x55ae0d07b9c0) created at:
│     #0 pthread_mutex_lock ../../../../src/libsanitizer/tsan/tsan_interceptors_posix.cpp:1341 (libtsan.so.2+0x59a13) (BuildId: 38097064631f7912bd33117a9c83d08b42e15571)
│     #1 start_zmap /usr/local/src/src/zmap.c:229 (zmap+0x1373b) (BuildId: 7cabb68c80686eede01ec83169690fcae77c3af7)
│     #2 main /usr/local/src/src/zmap.c:1201 (zmap+0x1373b)
│
│   Thread T1 (tid=23, running) created by main thread at:
│     #0 pthread_create ../../../../src/libsanitizer/tsan/tsan_interceptors_posix.cpp:1022 (libtsan.so.2+0x5ac1a) (BuildId: 38097064631f7912bd33117a9c83d08b42e15571)
│     #1 start_zmap /usr/local/src/src/zmap.c:224 (zmap+0x13716) (BuildId: 7cabb68c80686eede01ec83169690fcae77c3af7)
│     #2 main /usr/local/src/src/zmap.c:1201 (zmap+0x13716)
│
│   Thread T6 (tid=28, running) created by main thread at:
│     #0 pthread_create ../../../../src/libsanitizer/tsan/tsan_interceptors_posix.cpp:1022 (libtsan.so.2+0x5ac1a) (BuildId: 38097064631f7912bd33117a9c83d08b42e15571)
│     #1 start_zmap /usr/local/src/src/zmap.c:272 (zmap+0x13962) (BuildId: 7cabb68c80686eede01ec83169690fcae77c3af7)
│     #2 main /usr/local/src/src/zmap.c:1201 (zmap+0x13962)
│
│ SUMMARY: ThreadSanitizer: data race /usr/local/src/src/recv-pcap.c:159 in recv_update_stats
│ ==================
│ ==================
│ WARNING: ThreadSanitizer: data race (pid=19)
│   Write of size 8 at 0x55ae0d07b998 by thread T1:
│     #0 recv_update_stats /usr/local/src/src/recv-pcap.c:160 (zmap+0x42f84) (BuildId: 7cabb68c80686eede01ec83169690fcae77c3af7)
│     #1 recv_run /usr/local/src/src/recv.c:284 (zmap+0x1cd61) (BuildId: 7cabb68c80686eede01ec83169690fcae77c3af7)
│     #2 start_recv /usr/local/src/src/zmap.c:123 (zmap+0x2135f) (BuildId: 7cabb68c80686eede01ec83169690fcae77c3af7)
│
│   Previous write of size 8 at 0x55ae0d07b998 by thread T6 (mutexes: write M0):
│     #0 recv_update_stats /usr/local/src/src/recv-pcap.c:160 (zmap+0x42f84) (BuildId: 7cabb68c80686eede01ec83169690fcae77c3af7)
│     #1 update_pcap_stats /usr/local/src/src/monitor.c:183 (zmap+0x1a8d5) (BuildId: 7cabb68c80686eede01ec83169690fcae77c3af7)
│     #2 export_then_update /usr/local/src/src/monitor.c:476 (zmap+0x1a8d5)
│     #3 monitor_run /usr/local/src/src/monitor.c:502 (zmap+0x1bda8) (BuildId: 7cabb68c80686eede01ec83169690fcae77c3af7)
│     #4 start_mon /usr/local/src/src/zmap.c:132 (zmap+0x212c6) (BuildId: 7cabb68c80686eede01ec83169690fcae77c3af7)
│
│   As if synchronized via sleep:
│     #0 usleep ../../../../src/libsanitizer/tsan/tsan_interceptors_posix.cpp:390 (libtsan.so.2+0x587d1) (BuildId: 38097064631f7912bd33117a9c83d08b42e15571)
│     #1 recv_packets /usr/local/src/src/recv-pcap.c:138 (zmap+0x42e59) (BuildId: 7cabb68c80686eede01ec83169690fcae77c3af7)
│     #2 recv_run /usr/local/src/src/recv.c:274 (zmap+0x1cd1b) (BuildId: 7cabb68c80686eede01ec83169690fcae77c3af7)
│     #3 start_recv /usr/local/src/src/zmap.c:123 (zmap+0x2135f) (BuildId: 7cabb68c80686eede01ec83169690fcae77c3af7)
│
│   Location is global 'zrecv' of size 136 at 0x55ae0d07b920 (zmap+0x78998)
│
│   Mutex M0 (0x55ae0d07b9c0) created at:
│     #0 pthread_mutex_lock ../../../../src/libsanitizer/tsan/tsan_interceptors_posix.cpp:1341 (libtsan.so.2+0x59a13) (BuildId: 38097064631f7912bd33117a9c83d08b42e15571)
│     #1 start_zmap /usr/local/src/src/zmap.c:229 (zmap+0x1373b) (BuildId: 7cabb68c80686eede01ec83169690fcae77c3af7)
│     #2 main /usr/local/src/src/zmap.c:1201 (zmap+0x1373b)
│
│   Thread T1 (tid=23, running) created by main thread at:
│     #0 pthread_create ../../../../src/libsanitizer/tsan/tsan_interceptors_posix.cpp:1022 (libtsan.so.2+0x5ac1a) (BuildId: 38097064631f7912bd33117a9c83d08b42e15571)
│     #1 start_zmap /usr/local/src/src/zmap.c:224 (zmap+0x13716) (BuildId: 7cabb68c80686eede01ec83169690fcae77c3af7)
│     #2 main /usr/local/src/src/zmap.c:1201 (zmap+0x13716)
│
│   Thread T6 (tid=28, running) created by main thread at:
│     #0 pthread_create ../../../../src/libsanitizer/tsan/tsan_interceptors_posix.cpp:1022 (libtsan.so.2+0x5ac1a) (BuildId: 38097064631f7912bd33117a9c83d08b42e15571)
│     #1 start_zmap /usr/local/src/src/zmap.c:272 (zmap+0x13962) (BuildId: 7cabb68c80686eede01ec83169690fcae77c3af7)
│     #2 main /usr/local/src/src/zmap.c:1201 (zmap+0x13962)
│
│ SUMMARY: ThreadSanitizer: data race /usr/local/src/src/recv-pcap.c:160 in recv_update_stats
│ ==================
│ ==================
│ WARNING: ThreadSanitizer: data race (pid=19)
│   Write of size 8 at 0x55ae0d07b9a0 by thread T1:
│     #0 recv_update_stats /usr/local/src/src/recv-pcap.c:161 (zmap+0x42fa3) (BuildId: 7cabb68c80686eede01ec83169690fcae77c3af7)
│     #1 recv_run /usr/local/src/src/recv.c:284 (zmap+0x1cd61) (BuildId: 7cabb68c80686eede01ec83169690fcae77c3af7)
│     #2 start_recv /usr/local/src/src/zmap.c:123 (zmap+0x2135f) (BuildId: 7cabb68c80686eede01ec83169690fcae77c3af7)
│
│   Previous read of size 8 at 0x55ae0d07b9a0 by thread T6:
│     #0 export_stats /usr/local/src/src/monitor.c:285 (zmap+0x1af17) (BuildId: 7cabb68c80686eede01ec83169690fcae77c3af7)
│     #1 export_then_update /usr/local/src/src/monitor.c:477 (zmap+0x1af17)
│     #2 monitor_run /usr/local/src/src/monitor.c:502 (zmap+0x1bda8) (BuildId: 7cabb68c80686eede01ec83169690fcae77c3af7)
│     #3 start_mon /usr/local/src/src/zmap.c:132 (zmap+0x212c6) (BuildId: 7cabb68c80686eede01ec83169690fcae77c3af7)
│
│   As if synchronized via sleep:
│     #0 usleep ../../../../src/libsanitizer/tsan/tsan_interceptors_posix.cpp:390 (libtsan.so.2+0x587d1) (BuildId: 38097064631f7912bd33117a9c83d08b42e15571)
│     #1 recv_packets /usr/local/src/src/recv-pcap.c:138 (zmap+0x42e59) (BuildId: 7cabb68c80686eede01ec83169690fcae77c3af7)
│     #2 recv_run /usr/local/src/src/recv.c:274 (zmap+0x1cd1b) (BuildId: 7cabb68c80686eede01ec83169690fcae77c3af7)
│     #3 start_recv /usr/local/src/src/zmap.c:123 (zmap+0x2135f) (BuildId: 7cabb68c80686eede01ec83169690fcae77c3af7)
│
│   Location is global 'zrecv' of size 136 at 0x55ae0d07b920 (zmap+0x789a0)
│
│   Thread T1 (tid=23, running) created by main thread at:
│     #0 pthread_create ../../../../src/libsanitizer/tsan/tsan_interceptors_posix.cpp:1022 (libtsan.so.2+0x5ac1a) (BuildId: 38097064631f7912bd33117a9c83d08b42e15571)
│     #1 start_zmap /usr/local/src/src/zmap.c:224 (zmap+0x13716) (BuildId: 7cabb68c80686eede01ec83169690fcae77c3af7)
│     #2 main /usr/local/src/src/zmap.c:1201 (zmap+0x13716)
│
│   Thread T6 (tid=28, running) created by main thread at:
│     #0 pthread_create ../../../../src/libsanitizer/tsan/tsan_interceptors_posix.cpp:1022 (libtsan.so.2+0x5ac1a) (BuildId: 38097064631f7912bd33117a9c83d08b42e15571)
│     #1 start_zmap /usr/local/src/src/zmap.c:272 (zmap+0x13962) (BuildId: 7cabb68c80686eede01ec83169690fcae77c3af7)
│     #2 main /usr/local/src/src/zmap.c:1201 (zmap+0x13962)
│
│ SUMMARY: ThreadSanitizer: data race /usr/local/src/src/recv-pcap.c:161 in recv_update_stats
│ ==================
│ ==================
│ WARNING: ThreadSanitizer: data race (pid=19)
│   Write of size 4 at 0x55ae0d07b978 by thread T1:
│     #0 recv_run /usr/local/src/src/recv.c:290 (zmap+0x1cd84) (BuildId: 7cabb68c80686eede01ec83169690fcae77c3af7)
│     #1 start_recv /usr/local/src/src/zmap.c:123 (zmap+0x2135f) (BuildId: 7cabb68c80686eede01ec83169690fcae77c3af7)
│
│   Previous read of size 4 at 0x55ae0d07b978 by thread T2:
│     #0 send_run /usr/local/src/src/send.c:389 (zmap+0x1defd) (BuildId: 7cabb68c80686eede01ec83169690fcae77c3af7)
│     #1 start_send /usr/local/src/src/zmap.c:110 (zmap+0x213f9) (BuildId: 7cabb68c80686eede01ec83169690fcae77c3af7)
│
│   As if synchronized via sleep:
│     #0 usleep ../../../../src/libsanitizer/tsan/tsan_interceptors_posix.cpp:390 (libtsan.so.2+0x587d1) (BuildId: 38097064631f7912bd33117a9c83d08b42e15571)
│     #1 recv_packets /usr/local/src/src/recv-pcap.c:138 (zmap+0x42e59) (BuildId: 7cabb68c80686eede01ec83169690fcae77c3af7)
│     #2 recv_run /usr/local/src/src/recv.c:274 (zmap+0x1cd1b) (BuildId: 7cabb68c80686eede01ec83169690fcae77c3af7)
│     #3 start_recv /usr/local/src/src/zmap.c:123 (zmap+0x2135f) (BuildId: 7cabb68c80686eede01ec83169690fcae77c3af7)
│
│   Location is global 'zrecv' of size 136 at 0x55ae0d07b920 (zmap+0x78978)
│
│   Thread T1 (tid=23, running) created by main thread at:
│     #0 pthread_create ../../../../src/libsanitizer/tsan/tsan_interceptors_posix.cpp:1022 (libtsan.so.2+0x5ac1a) (BuildId: 38097064631f7912bd33117a9c83d08b42e15571)
│     #1 start_zmap /usr/local/src/src/zmap.c:224 (zmap+0x13716) (BuildId: 7cabb68c80686eede01ec83169690fcae77c3af7)
│     #2 main /usr/local/src/src/zmap.c:1201 (zmap+0x13716)
│
│   Thread T2 (tid=24, finished) created by main thread at:
│     #0 pthread_create ../../../../src/libsanitizer/tsan/tsan_interceptors_posix.cpp:1022 (libtsan.so.2+0x5ac1a) (BuildId: 38097064631f7912bd33117a9c83d08b42e15571)
│     #1 start_zmap /usr/local/src/src/zmap.c:258 (zmap+0x13861) (BuildId: 7cabb68c80686eede01ec83169690fcae77c3af7)
│     #2 main /usr/local/src/src/zmap.c:1201 (zmap+0x13861)
│
│ SUMMARY: ThreadSanitizer: data race /usr/local/src/src/recv.c:290 in recv_run
│ ==================
│ [Thread 0x7fbb9f8fd6c0 (LWP 23) exited]
│  0:09 100% (0s left); send: 1528 done (5.03 Kp/s avg); recv: 248 0 p/s (26 p/s avg); drops: 0 p/s (0 p/s avg); hitrate: 16.23%
│ [Thread 0x7fbb9ce166c0 (LWP 28) exited]
│ Nov 07 15:00:04.866 [INFO] zmap: completed
│ [Thread 0x7fbba00fe6c0 (LWP 22) exited]
│ [Inferior 1 (process 19) exited with code 0102]
│ (gdb) run -B 10M -i rj4501 -M icmp6_echoscan --ipv6-target-file /data/ips_v6.txt -o /data/alive_icmp_v6.txt --ipv6-source-ip 2001:638:500:9b00::200 --blocklist-file=/dev/null
│ Starting program: /opt/zmap/sbin/zmap -B 10M -i rj4501 -M icmp6_echoscan --ipv6-target-file /data/ips_v6.txt -o /data/alive_icmp_v6.txt --ipv6-source-ip 2001:638:500:9b00::200 --blocklist-file=/dev/null
│ warning: Error disabling address space randomization: Operation not permitted
│ [Thread debugging using libthread_db enabled]
│ Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
│ warning: could not find '.gnu_debugaltlink' file for /lib/x86_64-linux-gnu/libcap.so.2
│ Nov 07 15:00:11.453 [INFO] zmap: By default, ZMap will output the unique IP addresses of hosts that respond successfully (e.g., SYN-ACK packet). This is equivalent to running ZMap with the following flags: --output-module=csv --output-fields=saddr --output-filter='success=1 && repeat=0' --no-header-row. If you want all responses, explicitly set an output module or set --output-filter="".
│ Nov 07 15:00:11.454 [INFO] dedup: Response deduplication method is full
│ [New Thread 0x7f39d65fe6c0 (LWP 30)]
│ [New Thread 0x7f39d5dfd6c0 (LWP 31)]
│ Nov 07 15:00:11.514 [INFO] recv: duplicate responses will be excluded from output
│ Nov 07 15:00:11.514 [INFO] recv: unsuccessful responses will be excluded from output
│ [New Thread 0x7f39d53fc6c0 (LWP 32)]
│ [New Thread 0x7f39d4bfb6c0 (LWP 33)]
│ [New Thread 0x7f39d43fa6c0 (LWP 34)]
│ [New Thread 0x7f39d3bf96c0 (LWP 35)]
│ [New Thread 0x7f39d33166c0 (LWP 36)]
│ ==================
│ WARNING: ThreadSanitizer: data race (pid=29)
│   Read of size 8 at 0x55834faf5c30 by thread T3:
│     #0 sendmmsg ../../../../src/libsanitizer/sanitizer_common/sanitizer_common_interceptors.inc:3242 (libtsan.so.2+0x69f3c) (BuildId: 38097064631f7912bd33117a9c83d08b42e15571)
│     #1 send_batch /usr/local/src/src/send-linux.c:109 (zmap+0x42778) (BuildId: 7cabb68c80686eede01ec83169690fcae77c3af7)
│     #2 send_run /usr/local/src/src/send.c:471 (zmap+0x1e3be) (BuildId: 7cabb68c80686eede01ec83169690fcae77c3af7)
│     #3 start_send /usr/local/src/src/zmap.c:110 (zmap+0x213f9) (BuildId: 7cabb68c80686eede01ec83169690fcae77c3af7)
│
│   Previous write of size 4 at 0x55834faf5c34 by thread T4 (mutexes: write M0):
│     #0 send_run_init /usr/local/src/src/send-linux.c:63 (zmap+0x422d2) (BuildId: 7cabb68c80686eede01ec83169690fcae77c3af7)
│     #1 send_run /usr/local/src/src/send.c:223 (zmap+0x1d8f7) (BuildId: 7cabb68c80686eede01ec83169690fcae77c3af7)
│     #2 start_send /usr/local/src/src/zmap.c:110 (zmap+0x213f9) (BuildId: 7cabb68c80686eede01ec83169690fcae77c3af7)
│
│   Location is global 'sockaddr' of size 20 at 0x55834faf5c30 (zmap+0x78c30)
│
│   Mutex M0 (0x55834faf58e0) created at:
│     #0 pthread_mutex_lock ../../../../src/libsanitizer/tsan/tsan_interceptors_posix.cpp:1341 (libtsan.so.2+0x59a13) (BuildId: 38097064631f7912bd33117a9c83d08b42e15571)
│     #1 send_run /usr/local/src/src/send.c:218 (zmap+0x1d8cf) (BuildId: 7cabb68c80686eede01ec83169690fcae77c3af7)
│     #2 start_send /usr/local/src/src/zmap.c:110 (zmap+0x213f9) (BuildId: 7cabb68c80686eede01ec83169690fcae77c3af7)
│
│   Thread T3 (tid=33, running) created by main thread at:
│     #0 pthread_create ../../../../src/libsanitizer/tsan/tsan_interceptors_posix.cpp:1022 (libtsan.so.2+0x5ac1a) (BuildId: 38097064631f7912bd33117a9c83d08b42e15571)
│     #1 start_zmap /usr/local/src/src/zmap.c:258 (zmap+0x13861) (BuildId: 7cabb68c80686eede01ec83169690fcae77c3af7)
│     #2 main /usr/local/src/src/zmap.c:1201 (zmap+0x13861)
│
│   Thread T4 (tid=34, running) created by main thread at:
│     #0 pthread_create ../../../../src/libsanitizer/tsan/tsan_interceptors_posix.cpp:1022 (libtsan.so.2+0x5ac1a) (BuildId: 38097064631f7912bd33117a9c83d08b42e15571)
│     #1 start_zmap /usr/local/src/src/zmap.c:258 (zmap+0x13861) (BuildId: 7cabb68c80686eede01ec83169690fcae77c3af7)
│     #2 main /usr/local/src/src/zmap.c:1201 (zmap+0x13861)
│
│ SUMMARY: ThreadSanitizer: data race /usr/local/src/src/send-linux.c:109 in send_batch
│ ==================
│ ==================
│ WARNING: ThreadSanitizer: data race (pid=29)
│   Read of size 8 at 0x725000000400 by thread T6:
│     #0 iterator_get_sent /usr/local/src/src/iterator.c:111 (zmap+0x199eb) (BuildId: 7cabb68c80686eede01ec83169690fcae77c3af7)
│     #1 export_stats /usr/local/src/src/monitor.c:190 (zmap+0x1a8e5) (BuildId: 7cabb68c80686eede01ec83169690fcae77c3af7)
│     #2 export_then_update /usr/local/src/src/monitor.c:477 (zmap+0x1a8e5)
│     #3 monitor_run /usr/local/src/src/monitor.c:502 (zmap+0x1bda8) (BuildId: 7cabb68c80686eede01ec83169690fcae77c3af7)
│     #4 start_mon /usr/local/src/src/zmap.c:132 (zmap+0x212c6) (BuildId: 7cabb68c80686eede01ec83169690fcae77c3af7)
│
│   Previous write of size 8 at 0x725000000400 by thread T2:
│     #0 send_run /usr/local/src/src/send.c:485 (zmap+0x1e299) (BuildId: 7cabb68c80686eede01ec83169690fcae77c3af7)
│     #1 start_send /usr/local/src/src/zmap.c:110 (zmap+0x213f9) (BuildId: 7cabb68c80686eede01ec83169690fcae77c3af7)
│
│   Location is heap block of size 480 at 0x725000000400 allocated by main thread:
│     #0 calloc ../../../../src/libsanitizer/tsan/tsan_interceptors_posix.cpp:685 (libtsan.so.2+0x54d0d) (BuildId: 38097064631f7912bd33117a9c83d08b42e15571)
│     #1 xcalloc /usr/local/src/lib/xalloc.c:27 (zmap+0x47934) (BuildId: 7cabb68c80686eede01ec83169690fcae77c3af7)
│     #2 iterator_init /usr/local/src/src/iterator.c:94 (zmap+0x19784) (BuildId: 7cabb68c80686eede01ec83169690fcae77c3af7)
│     #3 send_init /usr/local/src/src/send.c:94 (zmap+0x1d1d5) (BuildId: 7cabb68c80686eede01ec83169690fcae77c3af7)
│     #4 start_zmap /usr/local/src/src/zmap.c:208 (zmap+0x1366a) (BuildId: 7cabb68c80686eede01ec83169690fcae77c3af7)
│     #5 main /usr/local/src/src/zmap.c:1201 (zmap+0x1366a)
│
│   Thread T6 (tid=36, running) created by main thread at:
│     #0 pthread_create ../../../../src/libsanitizer/tsan/tsan_interceptors_posix.cpp:1022 (libtsan.so.2+0x5ac1a) (BuildId: 38097064631f7912bd33117a9c83d08b42e15571)
│     #1 start_zmap /usr/local/src/src/zmap.c:272 (zmap+0x13962) (BuildId: 7cabb68c80686eede01ec83169690fcae77c3af7)
│     #2 main /usr/local/src/src/zmap.c:1201 (zmap+0x13962)
│
│   Thread T2 (tid=32, running) created by main thread at:
│     #0 pthread_create ../../../../src/libsanitizer/tsan/tsan_interceptors_posix.cpp:1022 (libtsan.so.2+0x5ac1a) (BuildId: 38097064631f7912bd33117a9c83d08b42e15571)
│     #1 start_zmap /usr/local/src/src/zmap.c:258 (zmap+0x13861) (BuildId: 7cabb68c80686eede01ec83169690fcae77c3af7)
│     #2 main /usr/local/src/src/zmap.c:1201 (zmap+0x13861)
│
│ SUMMARY: ThreadSanitizer: data race /usr/local/src/src/iterator.c:111 in iterator_get_sent
│ ==================
│ ==================
│ WARNING: ThreadSanitizer: data race (pid=29)
│   Read of size 4 at 0x725000000420 by thread T6:
│     #0 iterator_get_fail /usr/local/src/src/iterator.c:129 (zmap+0x19b4b) (BuildId: 7cabb68c80686eede01ec83169690fcae77c3af7)
│     #1 export_stats /usr/local/src/src/monitor.c:192 (zmap+0x1a8fd) (BuildId: 7cabb68c80686eede01ec83169690fcae77c3af7)
│     #2 export_then_update /usr/local/src/src/monitor.c:477 (zmap+0x1a8fd)
│     #3 monitor_run /usr/local/src/src/monitor.c:502 (zmap+0x1bda8) (BuildId: 7cabb68c80686eede01ec83169690fcae77c3af7)
│     #4 start_mon /usr/local/src/src/zmap.c:132 (zmap+0x212c6) (BuildId: 7cabb68c80686eede01ec83169690fcae77c3af7)
│
│   Previous write of size 4 at 0x725000000420 by thread T2:
│     #0 send_run /usr/local/src/src/send.c:476 (zmap+0x1e40a) (BuildId: 7cabb68c80686eede01ec83169690fcae77c3af7)
│     #1 start_send /usr/local/src/src/zmap.c:110 (zmap+0x213f9) (BuildId: 7cabb68c80686eede01ec83169690fcae77c3af7)
│
│   Location is heap block of size 480 at 0x725000000400 allocated by main thread:
│     #0 calloc ../../../../src/libsanitizer/tsan/tsan_interceptors_posix.cpp:685 (libtsan.so.2+0x54d0d) (BuildId: 38097064631f7912bd33117a9c83d08b42e15571)
│     #1 xcalloc /usr/local/src/lib/xalloc.c:27 (zmap+0x47934) (BuildId: 7cabb68c80686eede01ec83169690fcae77c3af7)
│     #2 iterator_init /usr/local/src/src/iterator.c:94 (zmap+0x19784) (BuildId: 7cabb68c80686eede01ec83169690fcae77c3af7)
│     #3 send_init /usr/local/src/src/send.c:94 (zmap+0x1d1d5) (BuildId: 7cabb68c80686eede01ec83169690fcae77c3af7)
│     #4 start_zmap /usr/local/src/src/zmap.c:208 (zmap+0x1366a) (BuildId: 7cabb68c80686eede01ec83169690fcae77c3af7)
│     #5 main /usr/local/src/src/zmap.c:1201 (zmap+0x1366a)
│
│   Thread T6 (tid=36, running) created by main thread at:
│     #0 pthread_create ../../../../src/libsanitizer/tsan/tsan_interceptors_posix.cpp:1022 (libtsan.so.2+0x5ac1a) (BuildId: 38097064631f7912bd33117a9c83d08b42e15571)
│     #1 start_zmap /usr/local/src/src/zmap.c:272 (zmap+0x13962) (BuildId: 7cabb68c80686eede01ec83169690fcae77c3af7)
│     #2 main /usr/local/src/src/zmap.c:1201 (zmap+0x13962)
│
│   Thread T2 (tid=32, running) created by main thread at:
│     #0 pthread_create ../../../../src/libsanitizer/tsan/tsan_interceptors_posix.cpp:1022 (libtsan.so.2+0x5ac1a) (BuildId: 38097064631f7912bd33117a9c83d08b42e15571)
│     #1 start_zmap /usr/local/src/src/zmap.c:258 (zmap+0x13861) (BuildId: 7cabb68c80686eede01ec83169690fcae77c3af7)
│     #2 main /usr/local/src/src/zmap.c:1201 (zmap+0x13861)
│
│ SUMMARY: ThreadSanitizer: data race /usr/local/src/src/iterator.c:129 in iterator_get_fail
│ ==================
│ ==================
│ WARNING: ThreadSanitizer: data race (pid=29)
│   Read of size 8 at 0x55834faf5928 by thread T6:
│     #0 export_stats /usr/local/src/src/monitor.c:194 (zmap+0x1a923) (BuildId: 7cabb68c80686eede01ec83169690fcae77c3af7)
│     #1 export_then_update /usr/local/src/src/monitor.c:477 (zmap+0x1a923)
│     #2 monitor_run /usr/local/src/src/monitor.c:502 (zmap+0x1bda8) (BuildId: 7cabb68c80686eede01ec83169690fcae77c3af7)
│     #3 start_mon /usr/local/src/src/zmap.c:132 (zmap+0x212c6) (BuildId: 7cabb68c80686eede01ec83169690fcae77c3af7)
│
│   Previous write of size 8 at 0x55834faf5928 by thread T1:
│     #0 handle_packet /usr/local/src/src/recv.c:173 (zmap+0x1c875) (BuildId: 7cabb68c80686eede01ec83169690fcae77c3af7)
│     #1 packet_cb /usr/local/src/src/recv-pcap.c:55 (zmap+0x42874) (BuildId: 7cabb68c80686eede01ec83169690fcae77c3af7)
│     #2 packet_cb /usr/local/src/src/recv-pcap.c:37 (zmap+0x42874)
│     #3 <null> <null> (libpcap.so.0.8+0x9edf) (BuildId: d0c6c787d35246d7107d600c893454c1fcbaf262)
│     #4 recv_run /usr/local/src/src/recv.c:274 (zmap+0x1cd1b) (BuildId: 7cabb68c80686eede01ec83169690fcae77c3af7)
│     #5 start_recv /usr/local/src/src/zmap.c:123 (zmap+0x2135f) (BuildId: 7cabb68c80686eede01ec83169690fcae77c3af7)
│
│   Location is global 'zrecv' of size 136 at 0x55834faf5920 (zmap+0x78928)
│
│   Thread T6 (tid=36, running) created by main thread at:
│     #0 pthread_create ../../../../src/libsanitizer/tsan/tsan_interceptors_posix.cpp:1022 (libtsan.so.2+0x5ac1a) (BuildId: 38097064631f7912bd33117a9c83d08b42e15571)
│     #1 start_zmap /usr/local/src/src/zmap.c:272 (zmap+0x13962) (BuildId: 7cabb68c80686eede01ec83169690fcae77c3af7)
│     #2 main /usr/local/src/src/zmap.c:1201 (zmap+0x13962)
│
│   Thread T1 (tid=31, running) created by main thread at:
│     #0 pthread_create ../../../../src/libsanitizer/tsan/tsan_interceptors_posix.cpp:1022 (libtsan.so.2+0x5ac1a) (BuildId: 38097064631f7912bd33117a9c83d08b42e15571)
│     #1 start_zmap /usr/local/src/src/zmap.c:224 (zmap+0x13716) (BuildId: 7cabb68c80686eede01ec83169690fcae77c3af7)
│     #2 main /usr/local/src/src/zmap.c:1201 (zmap+0x13716)
│
│ SUMMARY: ThreadSanitizer: data race /usr/local/src/src/monitor.c:194 in export_stats
│ ==================
│ ==================
│ WARNING: ThreadSanitizer: data race (pid=29)
│   Read of size 8 at 0x55834fae0528 by thread T6:
│     #0 compute_remaining_time /usr/local/src/src/monitor.c:150 (zmap+0x1a44f) (BuildId: 7cabb68c80686eede01ec83169690fcae77c3af7)
│     #1 compute_remaining_time /usr/local/src/src/monitor.c:124 (zmap+0x1a44f)
│     #2 export_stats /usr/local/src/src/monitor.c:201 (zmap+0x1a993) (BuildId: 7cabb68c80686eede01ec83169690fcae77c3af7)
│     #3 export_then_update /usr/local/src/src/monitor.c:477 (zmap+0x1a993)
│     #4 monitor_run /usr/local/src/src/monitor.c:502 (zmap+0x1bda8) (BuildId: 7cabb68c80686eede01ec83169690fcae77c3af7)
│     #5 start_mon /usr/local/src/src/zmap.c:132 (zmap+0x212c6) (BuildId: 7cabb68c80686eede01ec83169690fcae77c3af7)
│
│   Previous write of size 8 at 0x55834fae0528 by thread T1:
│     #0 recv_run /usr/local/src/src/recv.c:267 (zmap+0x1ccc6) (BuildId: 7cabb68c80686eede01ec83169690fcae77c3af7)
│     #1 start_recv /usr/local/src/src/zmap.c:123 (zmap+0x2135f) (BuildId: 7cabb68c80686eede01ec83169690fcae77c3af7)
│
│   Location is global 'zconf' of size 8168 at 0x55834fae0500 (zmap+0x63528)
│
│   Thread T6 (tid=36, running) created by main thread at:
│     #0 pthread_create ../../../../src/libsanitizer/tsan/tsan_interceptors_posix.cpp:1022 (libtsan.so.2+0x5ac1a) (BuildId: 38097064631f7912bd33117a9c83d08b42e15571)
│     #1 start_zmap /usr/local/src/src/zmap.c:272 (zmap+0x13962) (BuildId: 7cabb68c80686eede01ec83169690fcae77c3af7)
│     #2 main /usr/local/src/src/zmap.c:1201 (zmap+0x13962)
│
│   Thread T1 (tid=31, running) created by main thread at:
│     #0 pthread_create ../../../../src/libsanitizer/tsan/tsan_interceptors_posix.cpp:1022 (libtsan.so.2+0x5ac1a) (BuildId: 38097064631f7912bd33117a9c83d08b42e15571)
│     #1 start_zmap /usr/local/src/src/zmap.c:224 (zmap+0x13716) (BuildId: 7cabb68c80686eede01ec83169690fcae77c3af7)
│     #2 main /usr/local/src/src/zmap.c:1201 (zmap+0x13716)
│
│ SUMMARY: ThreadSanitizer: data race /usr/local/src/src/monitor.c:150 in compute_remaining_time
│ ==================
│ ==================
│ WARNING: ThreadSanitizer: data race (pid=29)
│   Read of size 8 at 0x55834faf5958 by thread T6:
│     #0 compute_remaining_time /usr/local/src/src/monitor.c:152 (zmap+0x1a468) (BuildId: 7cabb68c80686eede01ec83169690fcae77c3af7)
│     #1 compute_remaining_time /usr/local/src/src/monitor.c:124 (zmap+0x1a468)
│     #2 export_stats /usr/local/src/src/monitor.c:201 (zmap+0x1a993) (BuildId: 7cabb68c80686eede01ec83169690fcae77c3af7)
│     #3 export_then_update /usr/local/src/src/monitor.c:477 (zmap+0x1a993)
│     #4 monitor_run /usr/local/src/src/monitor.c:502 (zmap+0x1bda8) (BuildId: 7cabb68c80686eede01ec83169690fcae77c3af7)
│     #5 start_mon /usr/local/src/src/zmap.c:132 (zmap+0x212c6) (BuildId: 7cabb68c80686eede01ec83169690fcae77c3af7)
│
│   Previous write of size 8 at 0x55834faf5958 by thread T1:
│     #0 handle_packet /usr/local/src/src/recv.c:212 (zmap+0x1c561) (BuildId: 7cabb68c80686eede01ec83169690fcae77c3af7)
│     #1 packet_cb /usr/local/src/src/recv-pcap.c:55 (zmap+0x42874) (BuildId: 7cabb68c80686eede01ec83169690fcae77c3af7)
│     #2 packet_cb /usr/local/src/src/recv-pcap.c:37 (zmap+0x42874)
│     #3 <null> <null> (libpcap.so.0.8+0x9edf) (BuildId: d0c6c787d35246d7107d600c893454c1fcbaf262)
│     #4 recv_run /usr/local/src/src/recv.c:274 (zmap+0x1cd1b) (BuildId: 7cabb68c80686eede01ec83169690fcae77c3af7)
│     #5 start_recv /usr/local/src/src/zmap.c:123 (zmap+0x2135f) (BuildId: 7cabb68c80686eede01ec83169690fcae77c3af7)
│
│   Location is global 'zrecv' of size 136 at 0x55834faf5920 (zmap+0x78958)
│
│   Thread T6 (tid=36, running) created by main thread at:
│     #0 pthread_create ../../../../src/libsanitizer/tsan/tsan_interceptors_posix.cpp:1022 (libtsan.so.2+0x5ac1a) (BuildId: 38097064631f7912bd33117a9c83d08b42e15571)
│     #1 start_zmap /usr/local/src/src/zmap.c:272 (zmap+0x13962) (BuildId: 7cabb68c80686eede01ec83169690fcae77c3af7)
│     #2 main /usr/local/src/src/zmap.c:1201 (zmap+0x13962)
│
│   Thread T1 (tid=31, running) created by main thread at:
│     #0 pthread_create ../../../../src/libsanitizer/tsan/tsan_interceptors_posix.cpp:1022 (libtsan.so.2+0x5ac1a) (BuildId: 38097064631f7912bd33117a9c83d08b42e15571)
│     #1 start_zmap /usr/local/src/src/zmap.c:224 (zmap+0x13716) (BuildId: 7cabb68c80686eede01ec83169690fcae77c3af7)
│     #2 main /usr/local/src/src/zmap.c:1201 (zmap+0x13716)
│
│ SUMMARY: ThreadSanitizer: data race /usr/local/src/src/monitor.c:152 in compute_remaining_time
│ ==================
│  0:00 0%; send: 383 1 p/s (2.52 Kp/s avg); recv: 64 1 p/s (420 p/s avg); drops: 0 p/s (0 p/s avg); hitrate: 16.71%
│ ==================
│ WARNING: ThreadSanitizer: data race (pid=29)
│   Write of size 4 at 0x721c00000060 by thread T5 (mutexes: write M0):
│     #0 shard_complete /usr/local/src/src/iterator.c:41 (zmap+0x19407) (BuildId: 7cabb68c80686eede01ec83169690fcae77c3af7)
│     #1 send_run /usr/local/src/src/send.c:535 (zmap+0x1e62c) (BuildId: 7cabb68c80686eede01ec83169690fcae77c3af7)
│     #2 start_send /usr/local/src/src/zmap.c:110 (zmap+0x213f9) (BuildId: 7cabb68c80686eede01ec83169690fcae77c3af7)
│
│   Previous read of size 4 at 0x721c00000060 by thread T6:
│     #0 iterator_get_curr_send_threads /usr/local/src/src/iterator.c:143 (zmap+0x19c63) (BuildId: 7cabb68c80686eede01ec83169690fcae77c3af7)
│     #1 export_stats /usr/local/src/src/monitor.c:303 (zmap+0x1b0fc) (BuildId: 7cabb68c80686eede01ec83169690fcae77c3af7)
│     #2 export_then_update /usr/local/src/src/monitor.c:477 (zmap+0x1b0fc)
│     #3 monitor_run /usr/local/src/src/monitor.c:502 (zmap+0x1bda8) (BuildId: 7cabb68c80686eede01ec83169690fcae77c3af7)
│     #4 start_mon /usr/local/src/src/zmap.c:132 (zmap+0x212c6) (BuildId: 7cabb68c80686eede01ec83169690fcae77c3af7)
│
│   Location is heap block of size 104 at 0x721c00000000 allocated by main thread:
│     #0 calloc ../../../../src/libsanitizer/tsan/tsan_interceptors_posix.cpp:685 (libtsan.so.2+0x54d0d) (BuildId: 38097064631f7912bd33117a9c83d08b42e15571)
│     #1 xmalloc /usr/local/src/lib/xalloc.c:38 (zmap+0x479f2) (BuildId: 7cabb68c80686eede01ec83169690fcae77c3af7)
│     #2 iterator_init /usr/local/src/src/iterator.c:83 (zmap+0x196c6) (BuildId: 7cabb68c80686eede01ec83169690fcae77c3af7)
│     #3 send_init /usr/local/src/src/send.c:94 (zmap+0x1d1d5) (BuildId: 7cabb68c80686eede01ec83169690fcae77c3af7)
│     #4 start_zmap /usr/local/src/src/zmap.c:208 (zmap+0x1366a) (BuildId: 7cabb68c80686eede01ec83169690fcae77c3af7)
│     #5 main /usr/local/src/src/zmap.c:1201 (zmap+0x1366a)
│
│   Mutex M0 (0x721c00000038) created at:
│     #0 pthread_mutex_init ../../../../src/libsanitizer/tsan/tsan_interceptors_posix.cpp:1315 (libtsan.so.2+0x594cd) (BuildId: 38097064631f7912bd33117a9c83d08b42e15571)
│     #1 iterator_init /usr/local/src/src/iterator.c:96 (zmap+0x197d2) (BuildId: 7cabb68c80686eede01ec83169690fcae77c3af7)
│     #2 send_init /usr/local/src/src/send.c:94 (zmap+0x1d1d5) (BuildId: 7cabb68c80686eede01ec83169690fcae77c3af7)
│     #3 start_zmap /usr/local/src/src/zmap.c:208 (zmap+0x1366a) (BuildId: 7cabb68c80686eede01ec83169690fcae77c3af7)
│     #4 main /usr/local/src/src/zmap.c:1201 (zmap+0x1366a)
│
│   Thread T5 (tid=35, running) created by main thread at:
│     #0 pthread_create ../../../../src/libsanitizer/tsan/tsan_interceptors_posix.cpp:1022 (libtsan.so.2+0x5ac1a) (BuildId: 38097064631f7912bd33117a9c83d08b42e15571)
│     #1 start_zmap /usr/local/src/src/zmap.c:258 (zmap+0x13861) (BuildId: 7cabb68c80686eede01ec83169690fcae77c3af7)
│     #2 main /usr/local/src/src/zmap.c:1201 (zmap+0x13861)
│
│   Threa…
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

10 participants