https://bugs.kde.org/show_bug.cgi?id=387045
Bug ID: 387045 Summary: Valgrind crashing on High Sierra when testing any newly built binary Product: valgrind Version: 3.14 SVN Platform: Homebrew (Mac OS X) OS: OS X Status: UNCONFIRMED Severity: crash Priority: NOR Component: general Assignee: jsew...@acm.org Reporter: dieor...@gmail.com Target Milestone: --- Valgrind is crashing right on startup when I attempt to test any of my binaries. This looks like a macOS 10.13 specific problem, as I'm not finding this problem when I build and test the binaries in a Linux machine. Weirdly enough, when I run valgrind with a default system command like 'ls' or 'cat' as argument, it doesn't crash and behaves correctly. This is the output of uname -a (removing my IP address): Darwin 17.2.0 Darwin Kernel Version 17.2.0: Fri Sep 29 18:27:05 PDT 2017; root:xnu-4570.20.62~3/RELEASE_X86_64 x86_64 This is the entire output I'm getting (with -v flag) valgrind -v --leak-check=full ./buy del 1 ==42981== Memcheck, a memory error detector ==42981== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al. ==42981== Using Valgrind-3.14.0.GIT and LibVEX; rerun with -h for copyright info ==42981== Command: ./buy del 1 ==42981== --42981-- Valgrind options: --42981-- -v --42981-- --leak-check=full --42981-- Output from sysctl({CTL_KERN,KERN_VERSION}): --42981-- Darwin Kernel Version 17.2.0: Fri Sep 29 18:27:05 PDT 2017; root:xnu-4570.20.62~3/RELEASE_X86_64 --42981-- Arch and hwcaps: AMD64, LittleEndian, amd64-cx16-lzcnt-rdtscp-sse3-avx-avx2-bmi --42981-- Page sizes: currently 4096, max supported 4096 --42981-- Valgrind library directory: /usr/local/Cellar/valgrind/HEAD-2f9ccea/lib/valgrind --42981-- ./buy (rx at 0x100000000, rw at 0x100002000) --42981-- reading syms from primary file (8 36) --42981-- dSYM= ./buy.dSYM/Contents/Resources/DWARF/buy --42981-- reading dwarf3 from dsyms file --42981-- /usr/lib/dyld (rx at 0x100004000, rw at 0x10004f000) --42981-- reading syms from primary file (5 1485) --42981-- Scheduler: using generic scheduler lock implementation. --42981-- Reading suppressions file: /usr/local/Cellar/valgrind/HEAD-2f9ccea/lib/valgrind/default.supp ==42981== embedded gdbserver: reading from /var/folders/87/jt0qpt9s33lfdyg8zvljrx9h0000gn/T//vgdb-pipe-from-vgdb-to-42981-by-diego-on-??? ==42981== embedded gdbserver: writing to /var/folders/87/jt0qpt9s33lfdyg8zvljrx9h0000gn/T//vgdb-pipe-to-vgdb-from-42981-by-diego-on-??? ==42981== embedded gdbserver: shared mem /var/folders/87/jt0qpt9s33lfdyg8zvljrx9h0000gn/T//vgdb-pipe-shared-mem-vgdb-42981-by-diego-on-??? ==42981== ==42981== TO CONTROL THIS PROCESS USING vgdb (which you probably ==42981== don't want to do, unless you know exactly what you're doing, ==42981== or are doing some strange experiment): ==42981== /usr/local/Cellar/valgrind/HEAD-2f9ccea/lib/valgrind/../../bin/vgdb --pid=42981 ...command... ==42981== ==42981== TO DEBUG THIS PROCESS USING GDB: start GDB like this ==42981== /path/to/gdb ./buy ==42981== and then give GDB the following command ==42981== target remote | /usr/local/Cellar/valgrind/HEAD-2f9ccea/lib/valgrind/../../bin/vgdb --pid=42981 ==42981== --pid is optional if only one valgrind process is running ==42981== --42981-- REDIR: 0x100031a20 (dyld:strcmp) redirected to 0x25805b60c (???) --42981-- REDIR: 0x10002bb0c (dyld:arc4random) redirected to 0x25805b6aa (???) --42981-- REDIR: 0x10002b9c0 (dyld:strlen) redirected to 0x25805b5db (???) --42981-- REDIR: 0x10002b920 (dyld:strcpy) redirected to 0x25805b628 (???) --42981-- REDIR: 0x10002f046 (dyld:strcat) redirected to 0x25805b5ec (???) --42981-- REDIR: 0x10002f084 (dyld:strlcat) redirected to 0x25805b645 (???) --42981-- /usr/local/Cellar/valgrind/HEAD-2f9ccea/lib/valgrind/vgpreload_core-amd64-darwin.so (rx at 0x1000a2000, rw at 0x1000a8000) --42981-- reading syms from primary file (3 88) --42981-- dSYM= /usr/local/Cellar/valgrind/HEAD-2f9ccea/lib/valgrind/vgpreload_core-amd64-darwin.so.dSYM/Contents/Resources/DWARF/vgpreload_core-amd64-darwin.so --42981-- /usr/local/Cellar/valgrind/HEAD-2f9ccea/lib/valgrind/vgpreload_memcheck-amd64-darwin.so (rx at 0x1000ac000, rw at 0x1000b5000) --42981-- reading syms from primary file (72 96) --42981-- dSYM= /usr/local/Cellar/valgrind/HEAD-2f9ccea/lib/valgrind/vgpreload_memcheck-amd64-darwin.so.dSYM/Contents/Resources/DWARF/vgpreload_memcheck-amd64-darwin.so --42981-- /usr/local/Cellar/unixodbc/2.3.4/lib/libodbc.2.dylib (rx at 0x1000bb000, rw at 0x100107000) --42981-- reading syms from primary file (161 349) --42981-- /usr/lib/libSystem.B.dylib (rx at 0x100117000, rw at 0x100119000) --42981-- reading syms from primary file (31 5) --42981-- /usr/local/Cellar/libtool/2.4.6_1/lib/libltdl.7.dylib (rx at 0x10011f000, rw at 0x100125000) --42981-- reading syms from primary file (71 44) --42981-- /usr/lib/libiconv.2.dylib (rx at 0x100128000, rw at 0x10021a000) --42981-- reading syms from primary file (17 997) --42981-- /usr/lib/system/libcache.dylib (rx at 0x10022a000, rw at 0x10022f000) --42981-- reading syms from primary file (32 29) --42981-- /usr/lib/system/libcommonCrypto.dylib (rx at 0x100234000, rw at 0x10023f000) --42981-- reading syms from primary file (221 169) --42981-- /usr/lib/system/libcompiler_rt.dylib (rx at 0x10024c000, rw at 0x100254000) --42981-- reading syms from primary file (510 8) --42981-- /usr/lib/system/libcopyfile.dylib (rx at 0x100261000, rw at 0x10026a000) --42981-- reading syms from primary file (13 35) --42981-- /usr/lib/system/libcorecrypto.dylib (rx at 0x100270000, rw at 0x1002f5000) --42981-- reading syms from primary file (511 669) --42981-- /usr/lib/system/libdispatch.dylib (rx at 0x100311000, rw at 0x10034b000) --42981-- reading syms from primary file (270 943) --42981-- /usr/lib/system/libdyld.dylib (rx at 0x100385000, rw at 0x1003a3000) --42981-- reading syms from primary file (97 992) --42981-- /usr/lib/system/libkeymgr.dylib (rx at 0x1003bd000, rw at 0x1003be000) --42981-- reading syms from primary file (12 3) --42981-- /usr/lib/system/libmacho.dylib (rx at 0x1003c9000, rw at 0x1003ce000) --42981-- reading syms from primary file (105 1) --42981-- /usr/lib/system/libquarantine.dylib (rx at 0x1003d4000, rw at 0x1003d7000) --42981-- reading syms from primary file (67 32) --42981-- /usr/lib/system/libremovefile.dylib (rx at 0x1003dd000, rw at 0x1003df000) --42981-- reading syms from primary file (15 4) --42981-- /usr/lib/system/libsystem_asl.dylib (rx at 0x1003e4000, rw at 0x1003fc000) --42981-- reading syms from primary file (222 225) --42981-- /usr/lib/system/libsystem_blocks.dylib (rx at 0x100409000, rw at 0x10040a000) --42981-- reading syms from primary file (21 6) --42981-- /usr/lib/system/libsystem_c.dylib (rx at 0x10040e000, rw at 0x100498000) --42981-- reading syms from primary file (1340 804) --42981-- /usr/lib/system/libsystem_configuration.dylib (rx at 0x1004c0000, rw at 0x1004c4000) --42981-- reading syms from primary file (38 66) --42981-- /usr/lib/system/libsystem_coreservices.dylib (rx at 0x1004ca000, rw at 0x1004ce000) --42981-- reading syms from primary file (14 37) --42981-- /usr/lib/system/libsystem_darwin.dylib (rx at 0x1004d3000, rw at 0x1004d5000) --42981-- reading syms from primary file (12 105) --42981-- /usr/lib/system/libsystem_dnssd.dylib (rx at 0x1004da000, rw at 0x1004e1000) --42981-- reading syms from primary file (49 24) --42981-- /usr/lib/system/libsystem_info.dylib (rx at 0x1004e7000, rw at 0x100531000) --42981-- reading syms from primary file (525 650) --42981-- /usr/lib/system/libsystem_m.dylib (rx at 0x100548000, rw at 0x100594000) --42981-- reading syms from primary file (805 1) --42981-- /usr/lib/system/libsystem_malloc.dylib (rx at 0x1005a2000, rw at 0x1005c2000) --42981-- reading syms from primary file (127 265) --42981-- /usr/lib/system/libsystem_network.dylib (rx at 0x1005ce000, rw at 0x100672000) --42981-- reading syms from primary file (1097 1084) --42981-- /usr/lib/system/libsystem_networkextension.dylib (rx at 0x1006ab000, rw at 0x1006b6000) --42981-- reading syms from primary file (96 229) --42981-- /usr/lib/system/libsystem_notify.dylib (rx at 0x1006c2000, rw at 0x1006cc000) --42981-- reading syms from primary file (113 54) --42981-- /usr/lib/system/libsystem_sandbox.dylib (rx at 0x1006d3000, rw at 0x1006d7000) --42981-- reading syms from primary file (95 9) --42981-- /usr/lib/system/libsystem_secinit.dylib (rx at 0x1006dd000, rw at 0x1006df000) --42981-- reading syms from primary file (1 7) --42981-- /usr/lib/system/libsystem_kernel.dylib (rx at 0x1006e4000, rw at 0x10070a000) --42981-- reading syms from primary file (1260 100) --42981-- /usr/lib/system/libsystem_platform.dylib (rx at 0x100723000, rw at 0x10072b000) --42981-- reading syms from primary file (157 101) --42981-- /usr/lib/system/libsystem_pthread.dylib (rx at 0x100733000, rw at 0x10073f000) --42981-- reading syms from primary file (177 75) --42981-- /usr/lib/system/libsystem_symptoms.dylib (rx at 0x10074b000, rw at 0x100753000) --42981-- reading syms from primary file (10 93) --42981-- /usr/lib/system/libsystem_trace.dylib (rx at 0x100759000, rw at 0x10076d000) --42981-- reading syms from primary file (114 246) --42981-- /usr/lib/system/libunwind.dylib (rx at 0x10077b000, rw at 0x100781000) --42981-- reading syms from primary file (102 52) --42981-- /usr/lib/system/libxpc.dylib (rx at 0x100788000, rw at 0x1007b5000) --42981-- reading syms from primary file (565 901) --42981-- /usr/lib/closure/libclosured.dylib (rx at 0x1007d7000, rw at 0x10080b000) --42981-- reading syms from primary file (1 966) --42981-- /usr/lib/libobjc.A.dylib (rx at 0x100826000, rw at 0x100c15000) --42981-- reading syms from primary file (369 902) --42981-- /usr/lib/libc++abi.dylib (rx at 0x100dc5000, rw at 0x100dea000) --42981-- reading syms from primary file (369 212) --42981-- /usr/lib/libc++.1.dylib (rx at 0x100df9000, rw at 0x100e50000) --42981-- reading syms from primary file (2023 1681) --42981-- REDIR: 0x100723ac0 (libsystem_platform.dylib:_platform_memchr$VARIANT$Haswell) redirected to 0x1000af4fa (_platform_memchr$VARIANT$Haswell) --42981-- REDIR: 0x100723ba0 (libsystem_platform.dylib:_platform_memcmp) redirected to 0x1000afa84 (_platform_memcmp) --42981-- REDIR: 0x1007240e0 (libsystem_platform.dylib:_platform_strncmp) redirected to 0x1000af3f0 (_platform_strncmp) --42981-- REDIR: 0x10040f420 (libsystem_c.dylib:strlen) redirected to 0x1000af092 (strlen) --42981-- REDIR: 0x1007246a0 (libsystem_platform.dylib:_platform_strcmp) redirected to 0x1000af471 (_platform_strcmp) --42981-- REDIR: 0x1005a65b8 (libsystem_malloc.dylib:calloc) redirected to 0x1000adf67 (calloc) --42981-- REDIR: 0x1005a5c60 (libsystem_malloc.dylib:malloc_default_zone) redirected to 0x1000aecad (malloc_default_zone) --42981-- REDIR: 0x1005a419a (libsystem_malloc.dylib:malloc_zone_malloc) redirected to 0x1000adbb3 (malloc_zone_malloc) --42981-- REDIR: 0x1005a5c69 (libsystem_malloc.dylib:malloc_zone_calloc) redirected to 0x1000ae155 (malloc_zone_calloc) --42981-- REDIR: 0x1005a34f3 (libsystem_malloc.dylib:malloc) redirected to 0x1000ad940 (malloc) --42981-- REDIR: 0x1005a5d31 (libsystem_malloc.dylib:malloc_zone_from_ptr) redirected to 0x1000aecee (malloc_zone_from_ptr) --42981-- REDIR: 0x1005a565d (libsystem_malloc.dylib:free) redirected to 0x1000add29 (free) --42981-- REDIR: 0x1005a676f (libsystem_malloc.dylib:realloc) redirected to 0x1000ae2e9 (realloc) --42981-- REDIR: 0x1007242c0 (libsystem_platform.dylib:_platform_strchr$VARIANT$Haswell) redirected to 0x1000aef5e (_platform_strchr$VARIANT$Haswell) --42981-- REDIR: 0x10040f480 (libsystem_c.dylib:strncpy) redirected to 0x1000af214 (strncpy) --42981-- REDIR: 0x100468b31 (libsystem_c.dylib:strrchr) redirected to 0x1000aeef5 (strrchr) --42981-- /usr/local/Cellar/psqlodbc/10.00.0000/lib/psqlodbcw.so (rx at 0x1012b2000, rw at 0x10131b000) --42981-- reading syms from primary file (96 536) --42981-- /usr/local/Cellar/postgresql/10.0/lib/libpq.5.10.dylib (rx at 0x101324000, rw at 0x101358000) --42981-- reading syms from primary file (172 299) --42981-- /usr/local/Cellar/unixodbc/2.3.4/lib/libodbcinst.2.dylib (rx at 0x101363000, rw at 0x10136f000) --42981-- reading syms from primary file (66 122) --42981-- /usr/local/Cellar/openssl/1.0.2m/lib/libssl.1.0.0.dylib (rx at 0x101373000, rw at 0x1013b5000) --42981-- reading syms from primary file (594 241) --42981-- /usr/local/Cellar/openssl/1.0.2m/lib/libcrypto.1.0.0.dylib (rx at 0x1013d3000, rw at 0x101544000) --42981-- reading syms from primary file (4195 2120) --42981-- /System/Library/Frameworks/Kerberos.framework/Versions/A/Kerberos (rx at 0x1015bd000, rw at 0x1015d7000) --42981-- reading syms from primary file (785 503) --42981-- /System/Library/Frameworks/LDAP.framework/Versions/A/LDAP (rx at 0x1015f0000, rw at 0x101626000) --42981-- reading syms from primary file (294 1) --42981-- /System/Library/PrivateFrameworks/Heimdal.framework/Versions/A/Heimdal (rx at 0x101633000, rw at 0x1016a8000) --42981-- reading syms from primary file (1238 1) --42981-- /System/Library/Frameworks/Security.framework/Versions/A/Security (rx at 0x1016d9000, rw at 0x1019f5000) --42981-- reading syms from primary file (3292 18563) --42981-- /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation (rx at 0x101bb8000, rw at 0x102058000) --42981-- reading syms from primary file (2848 9259) --42981-- /usr/lib/libDiagnosticMessagesClient.dylib (rx at 0x102309000, rw at 0x10230b000) --42981-- reading syms from primary file (24 15) --42981-- /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation (rx at 0x102310000, rw at 0x1026d4000) --42981-- reading syms from primary file (2377 25524) --42981-- /usr/lib/libheimdal-asn1.dylib (rx at 0x1029df000, rw at 0x1029e5000) --42981-- reading syms from primary file (143 17) --42981-- /usr/lib/libsqlite3.dylib (rx at 0x1029eb000, rw at 0x102b81000) --42981-- reading syms from primary file (298 1517) --42981-- /usr/lib/libresolv.9.dylib (rx at 0x102ba8000, rw at 0x102bc5000) --42981-- reading syms from primary file (200 93) --42981-- /System/Library/Frameworks/CFNetwork.framework/Versions/A/CFNetwork (rx at 0x102bd0000, rw at 0x102f35000) --42981-- reading syms from primary file (2204 24132) --42981-- /usr/lib/libicucore.A.dylib (rx at 0x10322f000, rw at 0x103457000) --42981-- reading syms from primary file (6819 1) --42981-- /usr/lib/libauto.dylib (rx at 0x103528000, rw at 0x103529000) --42981-- reading syms from primary file (65 1) --42981-- /System/Library/Frameworks/DiskArbitration.framework/Versions/A/DiskArbitration (rx at 0x10352e000, rw at 0x103534000) --42981-- reading syms from primary file (91 110) --42981-- /usr/lib/libarchive.2.dylib (rx at 0x10353e000, rw at 0x103569000) --42981-- reading syms from primary file (269 1) --42981-- /usr/lib/libxml2.2.dylib (rx at 0x103573000, rw at 0x10365b000) --42981-- reading syms from primary file (1766 1197) --42981-- /usr/lib/libz.1.dylib (rx at 0x103693000, rw at 0x1036a6000) --42981-- reading syms from primary file (78 1) --42981-- /System/Library/Frameworks/SystemConfiguration.framework/Versions/A/SystemConfiguration (rx at 0x1036ab000, rw at 0x10371c000) --42981-- reading syms from primary file (996 931) --42981-- /usr/lib/liblangid.dylib (rx at 0x103758000, rw at 0x10375a000) --42981-- reading syms from primary file (20 1) --42981-- /System/Library/Frameworks/IOKit.framework/Versions/A/IOKit (rx at 0x10375e000, rw at 0x1037fa000) --42981-- reading syms from primary file (1646 1085) --42981-- /usr/lib/libCRFSuite.dylib (rx at 0x103842000, rw at 0x10387c000) --42981-- reading syms from primary file (133 905) --42981-- /usr/lib/libenergytrace.dylib (rx at 0x103895000, rw at 0x103896000) --42981-- reading syms from primary file (8 1) --42981-- /usr/lib/libbsm.0.dylib (rx at 0x10389a000, rw at 0x1038ab000) --42981-- reading syms from primary file (175 80) --42981-- /usr/lib/system/libkxld.dylib (rx at 0x1038b4000, rw at 0x1038c1000) --42981-- reading syms from primary file (13 1) --42981-- /usr/lib/libOpenScriptingUtil.dylib (rx at 0x1038c6000, rw at 0x1038c7000) --42981-- reading syms from primary file (1 1) --42981-- /usr/lib/libcoretls.dylib (rx at 0x1038cb000, rw at 0x1038e4000) --42981-- reading syms from primary file (131 250) --42981-- /usr/lib/libcoretls_cfhelpers.dylib (rx at 0x1038ef000, rw at 0x1038f1000) --42981-- reading syms from primary file (21 5) --42981-- /usr/lib/libpam.2.dylib (rx at 0x1038f6000, rw at 0x1038fb000) --42981-- reading syms from primary file (52 20) --42981-- /usr/lib/libxar.1.dylib (rx at 0x103900000, rw at 0x10390e000) --42981-- reading syms from primary file (191 16) --42981-- /usr/lib/libbz2.1.0.dylib (rx at 0x103917000, rw at 0x103925000) --42981-- reading syms from primary file (38 1) --42981-- /usr/lib/liblzma.5.dylib (rx at 0x10392a000, rw at 0x103944000) --42981-- reading syms from primary file (187 98) --42981-- /usr/lib/libnetwork.dylib (rx at 0x10394c000, rw at 0x103a23000) --42981-- reading syms from primary file (835 1816) --42981-- /usr/lib/libapple_nghttp2.dylib (rx at 0x103a77000, rw at 0x103a8e000) --42981-- reading syms from primary file (373 72) --42981-- /usr/lib/libpcap.A.dylib (rx at 0x103a9a000, rw at 0x103acf000) --42981-- reading syms from primary file (293 239) --42981-- /usr/lib/libboringssl.dylib (rx at 0x103ade000, rw at 0x103b93000) --42981-- reading syms from primary file (322 11779) --42981-- /usr/lib/libusrtcp.dylib (rx at 0x103c08000, rw at 0x103c42000) --42981-- reading syms from primary file (8 316) --42981-- /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/FSEvents.framework/Versions/A/FSEvents (rx at 0x103c52000, rw at 0x103c5b000) --42981-- reading syms from primary file (22 59) --42981-- /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonCore.framework/Versions/A/CarbonCore (rx at 0x103c62000, rw at 0x103f3a000) --42981-- reading syms from primary file (1817 3414) --42981-- /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/Metadata.framework/Versions/A/Metadata (rx at 0x1048a2000, rw at 0x104952000) --42981-- reading syms from primary file (1065 3176) --42981-- /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/OSServices.framework/Versions/A/OSServices (rx at 0x103fb0000, rw at 0x10400e000) --42981-- reading syms from primary file (415 2360) --42981-- /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/SearchKit.framework/Versions/A/SearchKit (rx at 0x1049d0000, rw at 0x104a3f000) --42981-- reading syms from primary file (324 3628) --42981-- /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/AE.framework/Versions/A/AE (rx at 0x104a82000, rw at 0x104af7000) --42981-- reading syms from primary file (188 1550) --42981-- /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/LaunchServices (rx at 0x104b27000, rw at 0x104cdf000) --42981-- reading syms from primary file (835 9939) --42981-- /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/DictionaryServices.framework/Versions/A/DictionaryServices (rx at 0x104dec000, rw at 0x104e21000) --42981-- reading syms from primary file (128 1235) --42981-- /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/SharedFileList.framework/Versions/A/SharedFileList (rx at 0x104057000, rw at 0x10407c000) --42981-- reading syms from primary file (158 972) --42981-- /System/Library/Frameworks/NetFS.framework/Versions/A/NetFS (rx at 0x104e4c000, rw at 0x104e59000) --42981-- reading syms from primary file (100 43) --42981-- /System/Library/PrivateFrameworks/NetAuth.framework/Versions/A/NetAuth (rx at 0x104e62000, rw at 0x104e6e000) --42981-- reading syms from primary file (145 245) --42981-- /System/Library/PrivateFrameworks/login.framework/Versions/A/Frameworks/loginsupport.framework/Versions/A/loginsupport (rx at 0x104e7a000, rw at 0x104e7d000) --42981-- reading syms from primary file (13 32) --42981-- /System/Library/PrivateFrameworks/TCC.framework/Versions/A/TCC (rx at 0x104e82000, rw at 0x104e8a000) --42981-- reading syms from primary file (46 215) --42981-- /usr/lib/libmecabra.dylib (rx at 0x104e94000, rw at 0x1050bd000) --42981-- reading syms from primary file (182 1) --42981-- /System/Library/Frameworks/CoreGraphics.framework/Versions/A/CoreGraphics (rx at 0x10511e000, rw at 0x10572b000) --42981-- reading syms from primary file (3364 9153) --42981-- /System/Library/Frameworks/CoreText.framework/Versions/A/CoreText (rx at 0x105845000, rw at 0x105994000) --42981-- reading syms from primary file (730 5562) --42981-- /System/Library/Frameworks/ImageIO.framework/Versions/A/ImageIO (rx at 0x105a5d000, rw at 0x105bd1000) --42981-- reading syms from primary file (667 6943) --42981-- /System/Library/Frameworks/ColorSync.framework/Versions/A/ColorSync (rx at 0x105c79000, rw at 0x105d33000) --42981-- reading syms from primary file (260 2997) --42981-- /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ATS.framework/Versions/A/ATS (rx at 0x105d7f000, rw at 0x105de6000) --42981-- reading syms from primary file (415 1399) --42981-- /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ColorSyncLegacy.framework/Versions/A/ColorSyncLegacy (rx at 0x105e11000, rw at 0x105e16000) --42981-- reading syms from primary file (125 112) --42981-- /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/HIServices.framework/Versions/A/HIServices (rx at 0x105e1e000, rw at 0x105e71000) --42981-- reading syms from primary file (533 1267) --42981-- /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/LangAnalysis.framework/Versions/A/LangAnalysis (rx at 0x105eaa000, rw at 0x105eb9000) --42981-- reading syms from primary file (90 279) --42981-- /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/PrintCore.framework/Versions/A/PrintCore (rx at 0x105ec7000, rw at 0x105f14000) --42981-- reading syms from primary file (535 1139) --42981-- /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/QD.framework/Versions/A/QD (rx at 0x105f42000, rw at 0x105f7d000) --42981-- reading syms from primary file (1245 517) --42981-- /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/SpeechSynthesis.framework/Versions/A/SpeechSynthesis (rx at 0x105fa8000, rw at 0x105fb5000) --42981-- reading syms from primary file (170 370) --42981-- /System/Library/PrivateFrameworks/SkyLight.framework/Versions/A/SkyLight (rx at 0x105fc9000, rw at 0x106262000) --42981-- reading syms from primary file (1431 7919) --42981-- /System/Library/Frameworks/CoreDisplay.framework/Versions/A/CoreDisplay (rx at 0x106343000, rw at 0x10640f000) --42981-- reading syms from primary file (445 1) --42981-- /System/Library/Frameworks/IOSurface.framework/Versions/A/IOSurface (rx at 0x106439000, rw at 0x106440000) --42981-- reading syms from primary file (285 96) --42981-- /System/Library/Frameworks/Metal.framework/Versions/A/Metal (rx at 0x10644d000, rw at 0x1064cd000) --42981-- reading syms from primary file (471 16223) --42981-- /System/Library/PrivateFrameworks/MultitouchSupport.framework/Versions/A/MultitouchSupport (rx at 0x1065c0000, rw at 0x1065e9000) --42981-- reading syms from primary file (546 94) --42981-- /System/Library/Frameworks/QuartzCore.framework/Versions/A/QuartzCore (rx at 0x1065fd000, rw at 0x106841000) --42981-- reading syms from primary file (1147 8188) --42981-- /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vImage.framework/Versions/A/vImage (rx at 0x10692e000, rw at 0x106e2d000) --42981-- reading syms from primary file (586 5294) --42981-- /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libvDSP.dylib (rx at 0x106e8f000, rw at 0x10703c000) --42981-- reading syms from primary file (456 4) --42981-- /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBNNS.dylib (rx at 0x10704a000, rw at 0x107078000) --42981-- reading syms from primary file (11 322) --42981-- /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libQuadrature.dylib (rx at 0x107081000, rw at 0x107087000) --42981-- reading syms from primary file (1 24) --42981-- /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libvMisc.dylib (rx at 0x10708b000, rw at 0x10713c000) --42981-- reading syms from primary file (594 1) --42981-- /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libLAPACK.dylib (rx at 0x107148000, rw at 0x107509000) --42981-- reading syms from primary file (5890 2910) --42981-- /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBLAS.dylib (rx at 0x107569000, rw at 0x1076c4000) --42981-- reading syms from primary file (802 1886) --42981-- /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libLinearAlgebra.dylib (rx at 0x1076e5000, rw at 0x1076fb000) --42981-- reading syms from primary file (42 173) --42981-- /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libSparse.dylib (rx at 0x107704000, rw at 0x107763000) --42981-- reading syms from primary file (56 659) --42981-- /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libSparseBLAS.dylib (rx at 0x107775000, rw at 0x107789000) --42981-- reading syms from primary file (69 103) --42981-- /System/Library/PrivateFrameworks/IOAccelerator.framework/Versions/A/IOAccelerator (rx at 0x107790000, rw at 0x107798000) --42981-- reading syms from primary file (186 84) --42981-- /System/Library/PrivateFrameworks/IOPresentment.framework/Versions/A/IOPresentment (rx at 0x1077a2000, rw at 0x1077b9000) --42981-- reading syms from primary file (545 67) --42981-- /System/Library/PrivateFrameworks/DSExternalDisplay.framework/Versions/A/DSExternalDisplay (rx at 0x1077d3000, rw at 0x1077d8000) --42981-- reading syms from primary file (15 31) --42981-- /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libCoreFSCache.dylib (rx at 0x1077de000, rw at 0x1077e2000) --42981-- reading syms from primary file (14 21) --42981-- /System/Library/Frameworks/CoreImage.framework/Versions/A/CoreImage (rx at 0x1077e7000, rw at 0x107ae0000) --42981-- reading syms from primary file (483 16099) --42981-- /System/Library/Frameworks/CoreVideo.framework/Versions/A/CoreVideo (rx at 0x107c85000, rw at 0x107cc0000) --42981-- reading syms from primary file (331 1084) --42981-- /System/Library/Frameworks/OpenGL.framework/Versions/A/OpenGL (rx at 0x107ce8000, rw at 0x107cf7000) --42981-- reading syms from primary file (78 1) --42981-- /System/Library/PrivateFrameworks/GraphVisualizer.framework/Versions/A/GraphVisualizer (rx at 0x107d00000, rw at 0x107d10000) --42981-- reading syms from primary file (22 240) --42981-- /System/Library/Frameworks/MetalPerformanceShaders.framework/Versions/A/MetalPerformanceShaders (rx at 0x107d1a000, rw at 0x107d1b000) --42981-- reading syms from primary file (1 1) --42981-- /usr/lib/libFosl_dynamic.dylib (rx at 0x107d1f000, rw at 0x107eea000) --42981-- reading syms from primary file (76 1) --42981-- /System/Library/PrivateFrameworks/FaceCore.framework/Versions/A/FaceCore (rx at 0x107f21000, rw at 0x108350000) --42981-- reading syms from primary file (53 1) --42981-- /System/Library/Frameworks/OpenCL.framework/Versions/A/OpenCL (rx at 0x10856d000, rw at 0x1085bb000) --42981-- reading syms from primary file (159 7) --42981-- /usr/lib/libcompression.dylib (rx at 0x1085d3000, rw at 0x1085ea000) --42981-- reading syms from primary file (13 184) --42981-- /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ATS.framework/Versions/A/Resources/libFontParser.dylib (rx at 0x1085f1000, rw at 0x108714000) --42981-- reading syms from primary file (482 3980) --42981-- /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ATS.framework/Versions/A/Resources/libFontRegistry.dylib (rx at 0x108796000, rw at 0x1087e1000) --42981-- reading syms from primary file (152 1755) --42981-- /System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libJPEG.dylib (rx at 0x108814000, rw at 0x108838000) --42981-- reading syms from primary file (95 253) --42981-- /System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libTIFF.dylib (rx at 0x108840000, rw at 0x10888e000) --42981-- reading syms from primary file (35 618) --42981-- /System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libPng.dylib (rx at 0x10889d000, rw at 0x1088c4000) --42981-- reading syms from primary file (88 478) --42981-- /System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libGIF.dylib (rx at 0x1088cf000, rw at 0x1088d4000) --42981-- reading syms from primary file (35 32) --42981-- /System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libJP2.dylib (rx at 0x1088d9000, rw at 0x1089c1000) --42981-- reading syms from primary file (16 2419) --42981-- /System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libRadiance.dylib (rx at 0x1089ea000, rw at 0x1089ed000) --42981-- reading syms from primary file (4 13) --42981-- /System/Library/PrivateFrameworks/AppleJPEG.framework/Versions/A/AppleJPEG (rx at 0x1089f1000, rw at 0x108a3a000) --42981-- reading syms from primary file (103 528) --42981-- /System/Library/PrivateFrameworks/MetalTools.framework/Versions/A/MetalTools (rx at 0x108a46000, rw at 0x108aae000) --42981-- reading syms from primary file (107 8107) --42981-- /System/Library/Frameworks/MetalPerformanceShaders.framework/Frameworks/MPSCore.framework/Versions/A/MPSCore (rx at 0x108b2e000, rw at 0x108b44000) --42981-- reading syms from primary file (107 1) --42981-- /System/Library/Frameworks/MetalPerformanceShaders.framework/Frameworks/MPSImage.framework/Versions/A/MPSImage (rx at 0x108b52000, rw at 0x108bbd000) --42981-- reading syms from primary file (82 1) --42981-- /System/Library/Frameworks/MetalPerformanceShaders.framework/Frameworks/MPSMatrix.framework/Versions/A/MPSMatrix (rx at 0x108be8000, rw at 0x108c08000) --42981-- reading syms from primary file (32 1) --42981-- /System/Library/Frameworks/MetalPerformanceShaders.framework/Frameworks/MPSNeuralNetwork.framework/Versions/A/MPSNeuralNetwork (rx at 0x108c15000, rw at 0x108c8c000) --42981-- reading syms from primary file (174 1) --42981-- /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLU.dylib (rx at 0x108cc3000, rw at 0x108d02000) --42981-- reading syms from primary file (78 720) --42981-- /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGFXShared.dylib (rx at 0x108d11000, rw at 0x108d1a000) --42981-- reading syms from primary file (79 41) --42981-- /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLImage.dylib (rx at 0x108d41000, rw at 0x108d7d000) --42981-- reading syms from primary file (22 155) --42981-- /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libCVMSPluginSupport.dylib (rx at 0x108d85000, rw at 0x108d88000) --42981-- reading syms from primary file (33 31) --42981-- /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libCoreVMClient.dylib (rx at 0x108d8d000, rw at 0x108d92000) --42981-- reading syms from primary file (36 71) --42981-- /usr/lib/libcups.2.dylib (rx at 0x108d99000, rw at 0x108df0000) --42981-- reading syms from primary file (564 1) --42981-- /System/Library/Frameworks/GSS.framework/Versions/A/GSS (rx at 0x108e09000, rw at 0x108e3a000) --42981-- reading syms from primary file (267 806) --42981-- /System/Library/Frameworks/OpenDirectory.framework/Versions/A/OpenDirectory (rx at 0x108e5b000, rw at 0x108e67000) --42981-- reading syms from primary file (29 468) --42981-- /System/Library/PrivateFrameworks/CommonAuth.framework/Versions/A/CommonAuth (rx at 0x108e7b000, rw at 0x108e85000) --42981-- reading syms from primary file (76 127) --42981-- /System/Library/Frameworks/OpenDirectory.framework/Versions/A/Frameworks/CFOpenDirectory.framework/Versions/A/CFOpenDirectory (rx at 0x108e8c000, rw at 0x108ea9000) --42981-- reading syms from primary file (518 631) --42981-- /System/Library/Frameworks/SecurityFoundation.framework/Versions/A/SecurityFoundation (rx at 0x108eca000, rw at 0x108f54000) --42981-- reading syms from primary file (173 3113) --42981-- /System/Library/PrivateFrameworks/APFS.framework/Versions/A/APFS (rx at 0x108fc1000, rw at 0x10904d000) --42981-- reading syms from primary file (60 969) --42981-- /usr/lib/libutil.dylib (rx at 0x109062000, rw at 0x109066000) --42981-- reading syms from primary file (20 24) --42981-- /System/Library/Frameworks/CoreAudio.framework/Versions/A/CoreAudio (rx at 0x10906c000, rw at 0x109100000) --42981-- reading syms from primary file (68 1883) --42981-- /System/Library/Frameworks/AudioToolbox.framework/Versions/A/AudioToolbox (rx at 0x10912d000, rw at 0x1093b6000) --42981-- reading syms from primary file (841 13137) --42981-- /System/Library/PrivateFrameworks/AppleSauce.framework/Versions/A/AppleSauce (rx at 0x1094f1000, rw at 0x10951a000) --42981-- reading syms from primary file (27 1) --42981-- /System/Library/PrivateFrameworks/LinguisticData.framework/Versions/A/LinguisticData (rx at 0x109524000, rw at 0x10952c000) --42981-- reading syms from primary file (16 1) --42981-- /usr/lib/libmarisa.dylib (rx at 0x109533000, rw at 0x10954a000) --42981-- reading syms from primary file (152 247) --42981-- /System/Library/PrivateFrameworks/Lexicon.framework/Versions/A/Lexicon (rx at 0x109557000, rw at 0x10959a000) --42981-- reading syms from primary file (71 1) --42981-- /usr/lib/libChineseTokenizer.dylib (rx at 0x1095a9000, rw at 0x1095b5000) --42981-- reading syms from primary file (12 330) --42981-- /usr/lib/libcmph.dylib (rx at 0x1095c3000, rw at 0x1095d4000) --42981-- reading syms from primary file (263 35) --42981-- /System/Library/PrivateFrameworks/LanguageModeling.framework/Versions/A/LanguageModeling (rx at 0x1095dc000, rw at 0x1096d2000) --42981-- reading syms from primary file (286 1) --42981-- /System/Library/Frameworks/CoreData.framework/Versions/A/CoreData (rx at 0x1096f7000, rw at 0x109a49000) --42981-- reading syms from primary file (260 13741) --42981-- /System/Library/PrivateFrameworks/CoreEmoji.framework/Versions/A/CoreEmoji (rx at 0x109bf5000, rw at 0x109c06000) --42981-- reading syms from primary file (30 1) --42981-- /System/Library/Frameworks/ServiceManagement.framework/Versions/A/ServiceManagement (rx at 0x109c0f000, rw at 0x109c13000) --42981-- reading syms from primary file (20 52) --42981-- /System/Library/PrivateFrameworks/BackgroundTaskManagement.framework/Versions/A/BackgroundTaskManagement (rx at 0x109c1a000, rw at 0x109c22000) --42981-- reading syms from primary file (32 216) --42981-- /usr/lib/libxslt.1.dylib (rx at 0x109c2d000, rw at 0x109c56000) --42981-- reading syms from primary file (248 114) --42981-- /usr/lib/libsasl2.2.dylib (rx at 0x109c63000, rw at 0x109c76000) --42981-- reading syms from primary file (115 115) --42981-- /System/Library/PrivateFrameworks/CoreDaemon.framework/Versions/B/CoreDaemon (rx at 0x109c7e000, rw at 0x109c88000) --42981-- reading syms from primary file (128 1) --42981-- /System/Library/PrivateFrameworks/AppleSRP.framework/Versions/A/AppleSRP (rx at 0x109c95000, rw at 0x109c9e000) --42981-- reading syms from primary file (69 142) --42981-- UNKNOWN mach_msg unhandled MACH_SEND_TRAILER option --42981-- UNKNOWN mach_msg unhandled MACH_SEND_TRAILER option (repeated 2 times) --42981-- UNKNOWN mach_msg unhandled MACH_SEND_TRAILER option (repeated 4 times) --42981-- UNKNOWN mach_msg unhandled MACH_SEND_TRAILER option (repeated 8 times) eq_SyscallStatus: {78 0 43} {78 0 40} valgrind: m_syswrap/syswrap-main.c:438 (Bool eq_SyscallStatus(UInt, SyscallStatus *, SyscallStatus *)): the 'impossible' happened. host stacktrace: ==42981== at 0x25804099B: ??? ==42981== by 0x258040D03: ??? ==42981== by 0x258040CE6: ??? ==42981== by 0x2580BD290: ??? ==42981== by 0x2580BC74F: ??? ==42981== by 0x2580BAC36: ??? ==42981== by 0x2580B8D78: ??? ==42981== by 0x2580C9DEB: ??? sched status: running_tid=1 Thread 1: status = VgTs_Runnable (lwpid 771) ==42981== at 0x1006F6EFA: mach_generate_activity_id (in /usr/lib/system/libsystem_kernel.dylib) ==42981== by 0x100333F5A: _voucher_activity_id_allocate_slow (in /usr/lib/system/libdispatch.dylib) ==42981== by 0x10033320C: voucher_activity_create_with_data (in /usr/lib/system/libdispatch.dylib) ==42981== by 0x10075AFE2: _os_activity_create_addr (in /usr/lib/system/libsystem_trace.dylib) ==42981== by 0x1004E9219: ds_user_byuid (in /usr/lib/system/libsystem_info.dylib) ==42981== by 0x1004E8D5B: si_user_byuid (in /usr/lib/system/libsystem_info.dylib) ==42981== by 0x1004E8E3E: search_item_bynumber (in /usr/lib/system/libsystem_info.dylib) ==42981== by 0x1004E8D96: search_user_byuid (in /usr/lib/system/libsystem_info.dylib) ==42981== by 0x1004E8D5B: si_user_byuid (in /usr/lib/system/libsystem_info.dylib) ==42981== by 0x1004F05AC: getpwuid_r (in /usr/lib/system/libsystem_info.dylib) ==42981== by 0x101BBA662: __CFInitialize (in /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation) ==42981== by 0x101BB9805: __CFInitialize (in /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation) ==42981== by 0x10001A7E8: ImageLoaderMachO::doImageInit(ImageLoader::LinkContext const&) (in /usr/lib/dyld) ==42981== by 0x10001AC2E: ImageLoaderMachO::doInitialization(ImageLoader::LinkContext const&) (in /usr/lib/dyld) ==42981== by 0x10001616F: ImageLoader::recursiveInitialization(ImageLoader::LinkContext const&, unsigned int, char const*, ImageLoader::InitializerTimingList&, ImageLoader::UninitedUpwards&) (in /usr/lib/dyld) ==42981== by 0x100016102: ImageLoader::recursiveInitialization(ImageLoader::LinkContext const&, unsigned int, char const*, ImageLoader::InitializerTimingList&, ImageLoader::UninitedUpwards&) (in /usr/lib/dyld) ==42981== by 0x100016102: ImageLoader::recursiveInitialization(ImageLoader::LinkContext const&, unsigned int, char const*, ImageLoader::InitializerTimingList&, ImageLoader::UninitedUpwards&) (in /usr/lib/dyld) ==42981== by 0x100016102: ImageLoader::recursiveInitialization(ImageLoader::LinkContext const&, unsigned int, char const*, ImageLoader::InitializerTimingList&, ImageLoader::UninitedUpwards&) (in /usr/lib/dyld) ==42981== by 0x100016102: ImageLoader::recursiveInitialization(ImageLoader::LinkContext const&, unsigned int, char const*, ImageLoader::InitializerTimingList&, ImageLoader::UninitedUpwards&) (in /usr/lib/dyld) ==42981== by 0x100016102: ImageLoader::recursiveInitialization(ImageLoader::LinkContext const&, unsigned int, char const*, ImageLoader::InitializerTimingList&, ImageLoader::UninitedUpwards&) (in /usr/lib/dyld) ==42981== by 0x100016102: ImageLoader::recursiveInitialization(ImageLoader::LinkContext const&, unsigned int, char const*, ImageLoader::InitializerTimingList&, ImageLoader::UninitedUpwards&) (in /usr/lib/dyld) ==42981== by 0x1000152A5: ImageLoader::processInitializers(ImageLoader::LinkContext const&, unsigned int, ImageLoader::InitializerTimingList&, ImageLoader::UninitedUpwards&) (in /usr/lib/dyld) ==42981== by 0x100015339: ImageLoader::runInitializers(ImageLoader::LinkContext const&, ImageLoader::InitializerTimingList&) (in /usr/lib/dyld) ==42981== by 0x1000093E4: dyld::runInitializers(ImageLoader*) (in /usr/lib/dyld) ==42981== by 0x100012001: dlopen (in /usr/lib/dyld) ==42981== by 0x100387EB5: dlopen (in /usr/lib/system/libdyld.dylib) ==42981== by 0x1001241F7: vm_open (in /usr/local/Cellar/libtool/2.4.6_1/lib/libltdl.7.dylib) ==42981== by 0x1001233D0: tryall_dlopen (in /usr/local/Cellar/libtool/2.4.6_1/lib/libltdl.7.dylib) ==42981== by 0x1001237BE: find_handle_callback (in /usr/local/Cellar/libtool/2.4.6_1/lib/libltdl.7.dylib) ==42981== by 0x100122580: foreach_dirinpath (in /usr/local/Cellar/libtool/2.4.6_1/lib/libltdl.7.dylib) ==42981== by 0x100121AC5: try_dlopen (in /usr/local/Cellar/libtool/2.4.6_1/lib/libltdl.7.dylib) ==42981== by 0x100121384: lt_dlopen (in /usr/local/Cellar/libtool/2.4.6_1/lib/libltdl.7.dylib) ==42981== by 0x1000C2698: __connect_part_one (in /usr/local/Cellar/unixodbc/2.3.4/lib/libodbc.2.dylib) ==42981== by 0x1000C8D58: SQLDriverConnect (in /usr/local/Cellar/unixodbc/2.3.4/lib/libodbc.2.dylib) ==42981== by 0x100001989: odbc_connect (odbc.c:53) ==42981== by 0x1000010B8: del (buy.c:121) ==42981== by 0x100001638: main (buy.c:286) Note: see also the FAQ in the source distribution. It contains workarounds to several common problems. In particular, if Valgrind aborted or crashed after identifying problems in your program, there's a good chance that fixing those problems will prevent Valgrind aborting or crashing, especially if it happened in m_mallocfree.c. If that doesn't help, please report this bug to: www.valgrind.org In the bug report, send all the above text, the valgrind version, and what OS and version you are using. Thanks. -- You are receiving this mail because: You are watching all bug changes.