Bug 366222 - Assertion 'tst->os_state.pthread - magic_delta == self' failed
Summary: Assertion 'tst->os_state.pthread - magic_delta == self' failed
Status: RESOLVED DUPLICATE of bug 354883
Alias: None
Product: valgrind
Classification: Developer tools
Component: general (show other bugs)
Version: 3.11.0
Platform: Homebrew (macOS) macOS
: NOR crash
Target Milestone: ---
Assignee: Rhys Kidd
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-07-28 23:50 UTC by XSS.Cx Bug Reporter
Modified: 2016-08-10 06:43 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description XSS.Cx Bug Reporter 2016-07-28 23:50:31 UTC
Subject: Assertion 'tst->os_state.pthread - magic_delta == self' failed
Related Bug https://bugs.kde.org/show_bug.cgi?id=354883

REPRO Config: 
MBA 2012 1.7 GHz Intel Core i5
Darwin Kernel Version 15.6.0: Thu Jun 23 18:25:34 PDT 2016; root:xnu-3248.60.10~1/RELEASE_X86_64 x86_64

defaults write NSGlobalDomain NSExceptionHandlingMask 63

Starting valgrind with a Closed Source OSX App like Safari or iBooks results in an ASSERT

valgrind: m_syswrap/syswrap-amd64-darwin.c:507 (void wqthread_hijack(Addr, Addr, Addr, Addr, Int, Addr)): Assertion 'tst->os_state.pthread - magic_delta == self' failed.

Starting with valgrind ls -a works as expected, so it probably an issues with too large a surface area, but valgrind ends asking me to file a bug.

Sorry if this is noise...

server:3.11.0 xss$ valgrind -v -v TRUE
==45271== Memcheck, a memory error detector
==45271== Copyright (C) 2002-2015, and GNU GPL'd, by Julian Seward et al.
==45271== Using Valgrind-3.11.0 and LibVEX; rerun with -h for copyright info
==45271== Command: TRUE
==45271== 
--45271-- Valgrind options:
--45271--    -v
--45271--    -v
--45271-- Output from sysctl({CTL_KERN,KERN_VERSION}):
--45271--   Darwin Kernel Version 15.6.0: Thu Jun 23 18:25:34 PDT 2016; root:xnu-3248.60.10~1/RELEASE_X86_64
--45271-- Arch and hwcaps: AMD64, LittleEndian, amd64-cx16-rdtscp-sse3-avx
--45271-- Page sizes: currently 4096, max supported 4096
--45271-- Valgrind library directory: /usr/local/Cellar/valgrind/3.11.0/lib/valgrind
--45271-- TT/TC: VG_(init_tt_tc) (startup of code management)
--45271-- TT/TC: cache: ignoring --avg-transtab-entry-size=0, using tool provided default 640
--45271-- TT/TC: cache: 16 sectors of 27597024 bytes each = 441552384 total TC
--45271-- TT/TC: table: 16 tables[42588]  of 6473376 bytes each = 103574016 total TT
--45271-- TT/TC: table: 42588 tt entries each = 681408 total tt entries
--45271-- TT/TC: table: 16 htt[65521] of 131042 bytes each = 2096672 total HTT (htt[65521] 65% max occup)
--45271-- /usr/bin/TRUE (rx at 0x100000000, rw at 0x100001000)
--45271--    reading syms   from primary file (1 1)
--45271-- /usr/lib/dyld (rx at 0x7fff5fc00000, rw at 0x7fff5fc38000)
--45271--    reading syms   from primary file (6 1229)
==45271== Adding active redirection:
--45271--     new: 0x7fff5fc1d680 (strcpy              ) R-> (0000.0) 0x23805b99d ???
==45271== Adding active redirection:
--45271--     new: 0x7fff5fc1d720 (strlen              ) R-> (0000.0) 0x23805b950 ???
==45271== Adding active redirection:
--45271--     new: 0x7fff5fc1d959 (arc4random          ) R-> (0000.0) 0x23805ba1f ???
==45271== Adding active redirection:
--45271--     new: 0x7fff5fc2107f (strcat              ) R-> (0000.0) 0x23805b961 ???
==45271== Adding active redirection:
--45271--     new: 0x7fff5fc210bf (strlcat             ) R-> (0000.0) 0x23805b9ba ???
==45271== Adding active redirection:
--45271--     new: 0x7fff5fc23b20 (strcmp              ) R-> (0000.0) 0x23805b981 ???
--45271-- Scheduler: using generic scheduler lock implementation.
--45271-- Reading suppressions file: /usr/local/Cellar/valgrind/3.11.0/lib/valgrind/default.supp
==45271== embedded gdbserver: reading from /var/folders/_g/mxp591dn08q43lnh4dqy5zlh0000gn/T//vgdb-pipe-from-vgdb-to-45271-by-xss-on-???
==45271== embedded gdbserver: writing to   /var/folders/_g/mxp591dn08q43lnh4dqy5zlh0000gn/T//vgdb-pipe-to-vgdb-from-45271-by-xss-on-???
==45271== embedded gdbserver: shared mem   /var/folders/_g/mxp591dn08q43lnh4dqy5zlh0000gn/T//vgdb-pipe-shared-mem-vgdb-45271-by-xss-on-???
==45271== 
==45271== TO CONTROL THIS PROCESS USING vgdb (which you probably
==45271== don't want to do, unless you know exactly what you're doing,
==45271== or are doing some strange experiment):
==45271==   /usr/local/Cellar/valgrind/3.11.0/lib/valgrind/../../bin/vgdb --pid=45271 ...command...
==45271== 
==45271== TO DEBUG THIS PROCESS USING GDB: start GDB like this
==45271==   /path/to/gdb TRUE
==45271== and then give GDB the following command
==45271==   target remote | /usr/local/Cellar/valgrind/3.11.0/lib/valgrind/../../bin/vgdb --pid=45271
==45271== --pid is optional if only one valgrind process is running
==45271== 
--45271-- TT/TC: initialise sector 0
--45271-- REDIR: 0x7fff5fc1d959 (dyld:arc4random) redirected to 0x23805ba1f (???)
--45271-- REDIR: 0x7fff5fc23b20 (dyld:strcmp) redirected to 0x23805b981 (???)
--45271-- REDIR: 0x7fff5fc210bf (dyld:strlcat) redirected to 0x23805b9ba (???)
--45271-- REDIR: 0x7fff5fc1d720 (dyld:strlen) redirected to 0x23805b950 (???)
--45271-- REDIR: 0x7fff5fc1d680 (dyld:strcpy) redirected to 0x23805b99d (???)
--45271-- REDIR: 0x7fff5fc2107f (dyld:strcat) redirected to 0x23805b961 (???)
--45271-- /usr/local/Cellar/valgrind/3.11.0/lib/valgrind/vgpreload_core-amd64-darwin.so (rx at 0x100005000, rw at 0x100007000)
--45271--    reading syms   from primary file (3 21)
--45271--    dSYM= /usr/local/Cellar/valgrind/3.11.0/lib/valgrind/vgpreload_core-amd64-darwin.so.dSYM/Contents/Resources/DWARF/vgpreload_core-amd64-darwin.so
--45271-- /usr/local/Cellar/valgrind/3.11.0/lib/valgrind/vgpreload_memcheck-amd64-darwin.so (rx at 0x100009000, rw at 0x10000f000)
--45271--    reading syms   from primary file (72 29)
--45271--    dSYM= /usr/local/Cellar/valgrind/3.11.0/lib/valgrind/vgpreload_memcheck-amd64-darwin.so.dSYM/Contents/Resources/DWARF/vgpreload_memcheck-amd64-darwin.so
==45271== Adding active redirection:
--45271--     new: 0x7fff5fc23980 (memchr              ) R-> (2017.0) 0x10000cb17 memchr
--45271-- /usr/lib/libSystem.B.dylib (rx at 0x100012000, rw at 0x100014000)
--45271--    reading syms   from primary file (31 5)
--45271-- /usr/lib/system/libcache.dylib (rx at 0x100019000, rw at 0x10001e000)
--45271--    reading syms   from primary file (32 30)
--45271-- /usr/lib/system/libcommonCrypto.dylib (rx at 0x100023000, rw at 0x10002f000)
--45271--    reading syms   from primary file (214 188)
--45271-- /usr/lib/system/libcompiler_rt.dylib (rx at 0x10003c000, rw at 0x100044000)
--45271--    reading syms   from primary file (510 8)
--45271-- /usr/lib/system/libcopyfile.dylib (rx at 0x100051000, rw at 0x10005a000)
--45271--    reading syms   from primary file (13 35)
--45271-- /usr/lib/system/libcorecrypto.dylib (rx at 0x100060000, rw at 0x1000d8000)
--45271--    reading syms   from primary file (430 601)
--45271-- /usr/lib/system/libdispatch.dylib (rx at 0x1000f0000, rw at 0x10011e000)
--45271--    reading syms   from primary file (215 832)
--45271-- /usr/lib/system/libdyld.dylib (rx at 0x100147000, rw at 0x10014b000)
--45271--    reading syms   from primary file (80 109)
--45271-- /usr/lib/system/libkeymgr.dylib (rx at 0x100152000, rw at 0x100153000)
--45271--    reading syms   from primary file (12 3)
--45271-- /usr/lib/system/libmacho.dylib (rx at 0x10015e000, rw at 0x100164000)
--45271--    reading syms   from primary file (97 1)
--45271-- /usr/lib/system/libquarantine.dylib (rx at 0x10016a000, rw at 0x10016d000)
--45271--    reading syms   from primary file (67 32)
--45271-- /usr/lib/system/libremovefile.dylib (rx at 0x100173000, rw at 0x100175000)
--45271--    reading syms   from primary file (15 4)
--45271-- /usr/lib/system/libsystem_asl.dylib (rx at 0x10017a000, rw at 0x100192000)
--45271--    reading syms   from primary file (222 225)
--45271-- /usr/lib/system/libsystem_blocks.dylib (rx at 0x10019f000, rw at 0x1001a1000)
--45271--    reading syms   from primary file (25 22)
--45271-- /usr/lib/system/libsystem_c.dylib (rx at 0x1001a5000, rw at 0x100233000)
--45271--    reading syms   from primary file (1303 748)
==45271== Adding active redirection:
--45271--     new: 0x1001a6120 (strlen              ) R-> (2007.0) 0x10000c6b4 strlen
==45271== Adding active redirection:
--45271--     new: 0x1001a6180 (strncpy             ) R-> (2009.0) 0x10000c83e strncpy
==45271== Adding active redirection:
--45271--     new: 0x100201012 (strrchr             ) R-> (2001.0) 0x10000c504 strrchr
--45271-- /usr/lib/system/libsystem_configuration.dylib (rx at 0x10025e000, rw at 0x100261000)
--45271--    reading syms   from primary file (28 57)
--45271-- /usr/lib/system/libsystem_coreservices.dylib (rx at 0x100267000, rw at 0x10026a000)
--45271--    reading syms   from primary file (13 30)
--45271-- /usr/lib/system/libsystem_coretls.dylib (rx at 0x10026f000, rw at 0x100287000)
--45271--    reading syms   from primary file (118 233)
--45271-- /usr/lib/system/libsystem_dnssd.dylib (rx at 0x100290000, rw at 0x100299000)
--45271--    reading syms   from primary file (68 33)
--45271-- /usr/lib/system/libsystem_info.dylib (rx at 0x10029f000, rw at 0x1002c9000)
--45271--    reading syms   from primary file (526 527)
--45271-- /usr/lib/system/libsystem_kernel.dylib (rx at 0x1002de000, rw at 0x1002fd000)
--45271--    reading syms   from primary file (1069 84)
--45271-- /usr/lib/system/libsystem_m.dylib (rx at 0x100312000, rw at 0x100342000)
--45271--    reading syms   from primary file (593 1)
--45271-- /usr/lib/system/libsystem_malloc.dylib (rx at 0x10034e000, rw at 0x10036b000)
--45271--    reading syms   from primary file (102 201)
==45271== Adding active redirection:
--45271--     new: 0x10034f0a2 (malloc              ) R-> (1001.0) 0x10000ae3a malloc
==45271== Adding active redirection:
--45271--     new: 0x1003504c1 (malloc_set_zone_name) R-> (1027.0) 0x10000c355 malloc_set_zone_name
==45271== Adding active redirection:
--45271--     new: 0x10035055a (malloc_zone_malloc  ) R-> (1002.0) 0x10000b0ee malloc_zone_malloc
==45271== Adding active redirection:
--45271--     new: 0x100351e98 (free                ) R-> (1005.0) 0x10000b27a free
==45271== Adding active redirection:
--45271--     new: 0x100353939 (malloc_default_zone ) R-> (1021.0) 0x10000c2a4 malloc_default_zone
==45271== Adding active redirection:
--45271--     new: 0x100353958 (malloc_zone_calloc  ) R-> (1006.0) 0x10000b6f4 malloc_zone_calloc
==45271== Adding active redirection:
--45271--     new: 0x100353a12 (malloc_zone_from_ptr) R-> (1023.0) 0x10000c2e5 malloc_zone_from_ptr
==45271== Adding active redirection:
--45271--     new: 0x100354431 (calloc              ) R-> (1007.0) 0x10000b4f2 calloc
==45271== Adding active redirection:
--45271--     new: 0x100354634 (realloc             ) R-> (1009.0) 0x10000b896 realloc
==45271== Adding active redirection:
--45271--     new: 0x10035479d (malloc_zone_realloc ) R-> (1008.0) 0x10000ba84 malloc_zone_realloc
==45271== Adding active redirection:
--45271--     new: 0x1003569e0 (malloc_zone_memalign) R-> (1010.0) 0x10000be3c malloc_zone_memalign
==45271== Adding active redirection:
--45271--     new: 0x10035713a (malloc_create_zone  ) R-> (1022.0) 0x10000c2d8 malloc_create_zone
==45271== Adding active redirection:
--45271--     new: 0x1003571a6 (malloc_zone_free    ) R-> (1004.0) 0x10000b3a0 malloc_zone_free
==45271== Adding active redirection:
--45271--     new: 0x10035723b (malloc_size         ) R-> (1017.0) 0x10000c0e2 malloc_size
==45271== Adding active redirection:
--45271--     new: 0x1003572d7 (malloc_zone_register) R-> (1025.0) 0x10000c329 malloc_zone_register
==45271== Adding active redirection:
--45271--     new: 0x100357304 (valloc              ) R-> (1012.0) 0x10000c00c valloc
==45271== Adding active redirection:
--45271--     new: 0x10035734b (malloc_zone_valloc  ) R-> (1013.0) 0x10000c06a malloc_zone_valloc
==45271== Adding active redirection:
--45271--     new: 0x100359353 (malloc_default_purge) R-> (1021.0) 0x10000c2be malloc_default_purgeable_zone
==45271== Adding active redirection:
--45271--     new: 0x1003610aa (malloc_zone_unregist) R-> (1026.0) 0x10000c33f malloc_zone_unregister
==45271== Adding active redirection:
--45271--     new: 0x1003614d6 (malloc_get_zone_name) R-> (1027.0) 0x10000c36b malloc_get_zone_name
==45271== Adding active redirection:
--45271--     new: 0x100361988 (malloc_zone_check   ) R-> (1024.0) 0x10000c2ff malloc_zone_check
--45271-- /usr/lib/system/libsystem_network.dylib (rx at 0x100374000, rw at 0x1003db000)
--45271--    reading syms   from primary file (686 2055)
--45271-- /usr/lib/system/libsystem_networkextension.dylib (rx at 0x100412000, rw at 0x10041b000)
--45271--    reading syms   from primary file (85 236)
--45271-- /usr/lib/system/libsystem_notify.dylib (rx at 0x100426000, rw at 0x100430000)
--45271--    reading syms   from primary file (136 53)
--45271-- /usr/lib/system/libsystem_platform.dylib (rx at 0x100438000, rw at 0x100441000)
--45271--    reading syms   from primary file (142 158)
==45271== Adding active redirection:
--45271--     new: 0x100438ac0 (_platform_memchr$VAR) R-> (2017.0) 0x10000cb45 _platform_memchr$VARIANT$Generic
==45271== Adding active redirection:
--45271--     new: 0x100438ba0 (_platform_memchr$VAR) R-> (2017.0) 0x10000cb73 _platform_memchr$VARIANT$Haswell
==45271== Adding active redirection:
--45271--     new: 0x100438c80 (_platform_memcmp    ) R-> (2019.0) 0x10000d0af _platform_memcmp
==45271== Adding active redirection:
--45271--     new: 0x100439220 (_platform_strncmp   ) R-> (2011.0) 0x10000ca25 _platform_strncmp
==45271== Adding active redirection:
--45271--     new: 0x100439380 (_platform_strchr$VAR) R-> (2002.0) 0x10000c54d _platform_strchr$VARIANT$Generic
==45271== Adding active redirection:
--45271--     new: 0x100439400 (_platform_strchr$VAR) R-> (2002.0) 0x10000c57a _platform_strchr$VARIANT$Haswell
==45271== Adding active redirection:
--45271--     new: 0x100439520 (_platform_memmove$VA) R-> (2018.1) 0x10000d5c4 _platform_memmove$VARIANT$Ivybridge
==45271== Adding active redirection:
--45271--     new: 0x100439800 (_platform_strcmp    ) R-> (2016.0) 0x10000cac5 _platform_strcmp
--45271-- /usr/lib/system/libsystem_pthread.dylib (rx at 0x100449000, rw at 0x100453000)
--45271--    reading syms   from primary file (163 70)
--45271-- /usr/lib/system/libsystem_sandbox.dylib (rx at 0x100460000, rw at 0x100464000)
--45271--    reading syms   from primary file (80 7)
--45271-- /usr/lib/system/libsystem_secinit.dylib (rx at 0x10046a000, rw at 0x10046c000)
--45271--    reading syms   from primary file (3 6)
--45271-- /usr/lib/system/libsystem_trace.dylib (rx at 0x100471000, rw at 0x100483000)
--45271--    reading syms   from primary file (94 351)
--45271-- /usr/lib/system/libunwind.dylib (rx at 0x100495000, rw at 0x10049b000)
--45271--    reading syms   from primary file (102 52)
--45271-- /usr/lib/system/libxpc.dylib (rx at 0x1004a2000, rw at 0x1004cc000)
--45271--    reading syms   from primary file (506 835)
--45271-- /usr/lib/libobjc.A.dylib (rx at 0x1004ea000, rw at 0x100856000)
--45271--    reading syms   from primary file (347 935)
--45271-- /usr/lib/libauto.dylib (rx at 0x100936000, rw at 0x10097d000)
--45271--    reading syms   from primary file (68 658)
--45271-- /usr/lib/libc++abi.dylib (rx at 0x100992000, rw at 0x1009bd000)
--45271--    reading syms   from primary file (339 186)
--45271-- /usr/lib/libc++.1.dylib (rx at 0x1009cb000, rw at 0x100a1f000)
--45271--    reading syms   from primary file (1960 1590)
--45271-- /usr/lib/libDiagnosticMessagesClient.dylib (rx at 0x100a7b000, rw at 0x100a7d000)
--45271--    reading syms   from primary file (21 14)
--45271-- REDIR: 0x100438ac0 (libsystem_platform.dylib:_platform_memchr$VARIANT$Generic) redirected to 0x10000cb45 (_platform_memchr$VARIANT$Generic)
--45271-- REDIR: 0x100438c80 (libsystem_platform.dylib:_platform_memcmp) redirected to 0x10000d0af (_platform_memcmp)
--45271-- REDIR: 0x100439220 (libsystem_platform.dylib:_platform_strncmp) redirected to 0x10000ca25 (_platform_strncmp)
--45271-- REDIR: 0x10034f0a2 (libsystem_malloc.dylib:malloc) redirected to 0x10000ae3a (malloc)
--45271-- REDIR: 0x1001a6120 (libsystem_c.dylib:strlen) redirected to 0x10000c6b4 (strlen)
--45271-- REDIR: 0x100439800 (libsystem_platform.dylib:_platform_strcmp) redirected to 0x10000cac5 (_platform_strcmp)
--45271-- REDIR: 0x100351e98 (libsystem_malloc.dylib:free) redirected to 0x10000b27a (free)
--45271-- REDIR: 0x100354431 (libsystem_malloc.dylib:calloc) redirected to 0x10000b4f2 (calloc)
--45271-- REDIR: 0x100353939 (libsystem_malloc.dylib:malloc_default_zone) redirected to 0x10000c2a4 (malloc_default_zone)
--45271-- REDIR: 0x10035055a (libsystem_malloc.dylib:malloc_zone_malloc) redirected to 0x10000b0ee (malloc_zone_malloc)
--45271-- REDIR: 0x100353958 (libsystem_malloc.dylib:malloc_zone_calloc) redirected to 0x10000b6f4 (malloc_zone_calloc)
--45271-- REDIR: 0x100353a12 (libsystem_malloc.dylib:malloc_zone_from_ptr) redirected to 0x10000c2e5 (malloc_zone_from_ptr)
--45271-- REDIR: 0x100439380 (libsystem_platform.dylib:_platform_strchr$VARIANT$Generic) redirected to 0x10000c54d (_platform_strchr$VARIANT$Generic)
--45271-- REDIR: 0x100354634 (libsystem_malloc.dylib:realloc) redirected to 0x10000b896 (realloc)
--45271-- REDIR: 0x1003569e0 (libsystem_malloc.dylib:malloc_zone_memalign) redirected to 0x10000be3c (malloc_zone_memalign)
==45271== 
==45271== HEAP SUMMARY:
==45271==     in use at exit: 22,579 bytes in 187 blocks
==45271==   total heap usage: 272 allocs, 85 frees, 28,835 bytes allocated
==45271== 
==45271== Searching for pointers to 187 not-freed blocks
--45271--   Scanning root segment: 0x100001000..0x100001fff (4096)
--45271--   Scanning root segment: 0x100007000..0x100007fff (4096)
--45271--   Scanning root segment: 0x10000f000..0x10000ffff (4096)
--45271--   Scanning root segment: 0x100014000..0x100014fff (4096)
--45271--   Scanning root segment: 0x10001e000..0x10001efff (4096)
--45271--   Scanning root segment: 0x10002f000..0x100030fff (8192)
--45271--   Scanning root segment: 0x100044000..0x100044fff (4096)
--45271--   Scanning root segment: 0x10005a000..0x10005afff (4096)
--45271--   Scanning root segment: 0x1000d8000..0x1000dffff (32768)
--45271--   Scanning root segment: 0x10011e000..0x10012efff (69632)
--45271--   Scanning root segment: 0x10014b000..0x10014bfff (4096)
--45271--   Scanning root segment: 0x100153000..0x100153fff (4096)
--45271--   Scanning root segment: 0x100164000..0x100164fff (4096)
--45271--   Scanning root segment: 0x10016d000..0x10016dfff (4096)
--45271--   Scanning root segment: 0x100175000..0x100175fff (4096)
--45271--   Scanning root segment: 0x100192000..0x100193fff (8192)
--45271--   Scanning root segment: 0x1001a1000..0x1001a1fff (4096)
--45271--   Scanning root segment: 0x100233000..0x10023afff (32768)
--45271--   Scanning root segment: 0x100261000..0x100261fff (4096)
--45271--   Scanning root segment: 0x10026a000..0x10026afff (4096)
--45271--   Scanning root segment: 0x100287000..0x100287fff (4096)
--45271--   Scanning root segment: 0x100299000..0x100299fff (4096)
--45271--   Scanning root segment: 0x1002c9000..0x1002cafff (8192)
--45271--   Scanning root segment: 0x1002fd000..0x1002fffff (12288)
--45271--   Scanning root segment: 0x100342000..0x100342fff (4096)
--45271--   Scanning root segment: 0x10036b000..0x10036bfff (4096)
--45271--   Scanning root segment: 0x1003db000..0x1003e1fff (28672)
--45271--   Scanning root segment: 0x10041b000..0x10041bfff (4096)
--45271--   Scanning root segment: 0x100430000..0x100430fff (4096)
--45271--   Scanning root segment: 0x100441000..0x100441fff (4096)
--45271--   Scanning root segment: 0x100453000..0x100453fff (4096)
--45271--   Scanning root segment: 0x100464000..0x100464fff (4096)
--45271--   Scanning root segment: 0x10046c000..0x10046cfff (4096)
--45271--   Scanning root segment: 0x100483000..0x100484fff (8192)
--45271--   Scanning root segment: 0x10049b000..0x10049bfff (4096)
--45271--   Scanning root segment: 0x1004cc000..0x1004d1fff (24576)
--45271--   Scanning root segment: 0x100856000..0x100911fff (770048)
--45271--   Scanning root segment: 0x10097d000..0x10097dfff (4096)
--45271--   Scanning root segment: 0x1009bd000..0x1009befff (8192)
--45271--   Scanning root segment: 0x100a1f000..0x100a25fff (28672)
--45271--   Scanning root segment: 0x100a7d000..0x100a7dfff (4096)
--45271--   Scanning root segment: 0x100a82000..0x100a82fff (4096)
--45271--   Scanning root segment: 0x104005000..0x104804fff (8388608)
--45271--   Scanning root segment: 0x7fff5f400000..0x7fff5fbfffff (8388608)
--45271--   Scanning root segment: 0x7fff5fc38000..0x7fff5fc3afff (12288)
--45271--   Scanning root segment: 0x7fff5fc3b000..0x7fff5fc73fff (233472)
==45271== Checked 9,811,704 bytes
==45271== 
==45271== LEAK SUMMARY:
==45271==    definitely lost: 0 bytes in 0 blocks
==45271==    indirectly lost: 0 bytes in 0 blocks
==45271==      possibly lost: 0 bytes in 0 blocks
==45271==    still reachable: 0 bytes in 0 blocks
==45271==         suppressed: 22,579 bytes in 187 blocks
==45271== 
==45271== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
--45271-- 
--45271-- used_suppression:      1 OSX1011:21-Leak /usr/local/Cellar/valgrind/3.11.0/lib/valgrind/default.supp:944 suppressed: 4,096 bytes in 1 blocks
--45271-- used_suppression:     11 OSX1011:5-Leak /usr/local/Cellar/valgrind/3.11.0/lib/valgrind/default.supp:787 suppressed: 3,408 bytes in 56 blocks
--45271-- used_suppression:      3 OSX1011:16-Leak /usr/local/Cellar/valgrind/3.11.0/lib/valgrind/default.supp:897 suppressed: 2,816 bytes in 44 blocks
--45271-- used_suppression:      2 OSX1011:4-Leak /usr/local/Cellar/valgrind/3.11.0/lib/valgrind/default.supp:778 suppressed: 4,152 bytes in 2 blocks
--45271-- used_suppression:      4 OSX1011:19-Leak /usr/local/Cellar/valgrind/3.11.0/lib/valgrind/default.supp:924 suppressed: 3,656 bytes in 4 blocks
--45271-- used_suppression:      3 OSX1011:18-Leak /usr/local/Cellar/valgrind/3.11.0/lib/valgrind/default.supp:915 suppressed: 2,064 bytes in 3 blocks
--45271-- used_suppression:     19 OSX1011:10-Leak /usr/local/Cellar/valgrind/3.11.0/lib/valgrind/default.supp:839 suppressed: 3,003 bytes in 41 blocks
--45271-- used_suppression:      2 OSX1011:8-Leak /usr/local/Cellar/valgrind/3.11.0/lib/valgrind/default.supp:819 suppressed: 520 bytes in 2 blocks
--45271-- used_suppression:      8 OSX1011:7-Leak /usr/local/Cellar/valgrind/3.11.0/lib/valgrind/default.supp:808 suppressed: 648 bytes in 20 blocks
--45271-- used_suppression:      2 OSX1011:20-Leak /usr/local/Cellar/valgrind/3.11.0/lib/valgrind/default.supp:934 suppressed: 224 bytes in 5 blocks
--45271-- used_suppression:      8 OSX1011:6-Leak /usr/local/Cellar/valgrind/3.11.0/lib/valgrind/default.supp:797 suppressed: 248 bytes in 8 blocks
--45271-- used_suppression:      1 OSX1011:17-Leak /usr/local/Cellar/valgrind/3.11.0/lib/valgrind/default.supp:906 suppressed: 32 bytes in 1 blocks
==45271== 
==45271== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
Comment 1 Rhys Kidd 2016-08-10 06:43:26 UTC
This is a known issue with valgrind 3.11 and OS X 10.11.

If you update to the in-development SVN version of valgrind (3.12), rather than the homebrew packaged version, then this bug should be fixed. If you update and the bug still occurs, please re-open.

*** This bug has been marked as a duplicate of bug 354883 ***