https://bugs.kde.org/show_bug.cgi?id=413410
Bug ID: 413410 Summary: Mac Os 10.15 valgrind 3.15.0 Product: valgrind Version: unspecified Platform: Homebrew (macOS) OS: macOS Status: REPORTED Severity: crash Priority: NOR Component: memcheck Assignee: jsew...@acm.org Reporter: aitem1...@icloud.com Target Milestone: --- --27658-- Valgrind options: --27658-- --tool=memcheck --27658-- --xml=yes --27658-- --xml-file=/private/var/folders/vv/f22t8y7d1l96ynv9mzgy0j5w0000gn/T/valgrind --27658-- --gen-suppressions=all --27658-- --leak-check=yes --27658-- -v --27658-- Output from sysctl({CTL_KERN,KERN_VERSION}): --27658-- Darwin Kernel Version 19.0.0: Wed Sep 25 20:18:50 PDT 2019; root:xnu-6153.11.26~2/RELEASE_X86_64 --27658-- Arch and hwcaps: AMD64, LittleEndian, amd64-cx16-lzcnt-rdtscp-sse3-ssse3-avx-avx2-bmi-f16c-rdrand --27658-- Page sizes: currently 4096, max supported 4096 --27658-- Valgrind library directory: /usr/local/Cellar/valgrind/3.15.0/lib/valgrind --27658-- /Users/artemsereda/CLionProjects/Block2/cmake-build-debug/client (rx at 0x100000000, rw at 0x100001000) --27658-- reading syms from primary file (2 9) --27658-- dSYM= /Users/artemsereda/CLionProjects/Block2/cmake-build-debug/client.dSYM/Contents/Resources/DWARF/client --27658-- reading dwarf3 from dsyms file --27658-- /usr/lib/dyld (rx at 0x100004000, rw at 0x100093000) --27658-- reading syms from primary file (5 2667) --27658-- Scheduler: using generic scheduler lock implementation. --27658-- Reading suppressions file: /usr/local/Cellar/valgrind/3.15.0/lib/valgrind/default.supp ==27658== embedded gdbserver: reading from /var/folders/vv/f22t8y7d1l96ynv9mzgy0j5w0000gn/T//vgdb-pipe-from-vgdb-to-27658-by-artemsereda-on-??? ==27658== embedded gdbserver: writing to /var/folders/vv/f22t8y7d1l96ynv9mzgy0j5w0000gn/T//vgdb-pipe-to-vgdb-from-27658-by-artemsereda-on-??? ==27658== embedded gdbserver: shared mem /var/folders/vv/f22t8y7d1l96ynv9mzgy0j5w0000gn/T//vgdb-pipe-shared-mem-vgdb-27658-by-artemsereda-on-??? ==27658== ==27658== TO CONTROL THIS PROCESS USING vgdb (which you probably ==27658== don't want to do, unless you know exactly what you're doing, ==27658== or are doing some strange experiment): ==27658== /usr/local/Cellar/valgrind/3.15.0/lib/valgrind/../../bin/vgdb --pid=27658 ...command... ==27658== ==27658== TO DEBUG THIS PROCESS USING GDB: start GDB like this ==27658== /path/to/gdb /Users/artemsereda/CLionProjects/Block2/cmake-build-debug/client ==27658== and then give GDB the following command ==27658== target remote | /usr/local/Cellar/valgrind/3.15.0/lib/valgrind/../../bin/vgdb --pid=27658 ==27658== --pid is optional if only one valgrind process is running ==27658== --27658-- REDIR: 0x100053840 (dyld:strcmp) redirected to 0x258057de2 (???) --27658-- REDIR: 0x10004db20 (dyld:arc4random) redirected to 0x258057e80 (???) --27658-- REDIR: 0x100052c20 (dyld:strlen) redirected to 0x258057db1 (???) --27658-- REDIR: 0x100052a0e (dyld:strlcat) redirected to 0x258057e1b (???) --27658-- REDIR: 0x100053b40 (dyld:strcpy) redirected to 0x258057dfe (???) --27658-- REDIR: 0x100050cb4 (dyld:strcat) redirected to 0x258057dc2 (???) --27658-- UNKNOWN fcntl 98! --27658-- UNKNOWN fcntl 101! --27658-- /usr/local/Cellar/valgrind/3.15.0/lib/valgrind/vgpreload_core-amd64-darwin.so (rx at 0x100105000, rw at 0x10010b000) --27658-- reading syms from primary file (3 93) --27658-- dSYM= /usr/local/Cellar/valgrind/3.15.0/lib/valgrind/vgpreload_core-amd64-darwin.so.dSYM/Contents/Resources/DWARF/vgpreload_core-amd64-darwin.so --27658-- UNKNOWN fcntl 98! (repeated 2 times) --27658-- UNKNOWN fcntl 101! (repeated 2 times) --27658-- /usr/local/Cellar/valgrind/3.15.0/lib/valgrind/vgpreload_memcheck-amd64-darwin.so (rx at 0x10010f000, rw at 0x100117000) --27658-- reading syms from primary file (72 102) --27658-- dSYM= /usr/local/Cellar/valgrind/3.15.0/lib/valgrind/vgpreload_memcheck-amd64-darwin.so.dSYM/Contents/Resources/DWARF/vgpreload_memcheck-amd64-darwin.so --27658-- /usr/lib/libSystem.B.dylib (rx at 0x10011d000, rw at 0x10011f000) --27658-- reading syms from primary file (29 8) --27658-- UNKNOWN fcntl 98! (repeated 4 times) --27658-- UNKNOWN fcntl 101! (repeated 4 times) --27658-- /usr/lib/system/libcache.dylib (rx at 0x100127000, rw at 0x10012d000) --27658-- reading syms from primary file (32 29) --27658-- /usr/lib/system/libcommonCrypto.dylib (rx at 0x100134000, rw at 0x100140000) --27658-- reading syms from primary file (242 172) --27658-- /usr/lib/system/libcompiler_rt.dylib (rx at 0x100150000, rw at 0x100158000) --27658-- reading syms from primary file (505 8) --27658-- /usr/lib/system/libcopyfile.dylib (rx at 0x100167000, rw at 0x100171000) --27658-- reading syms from primary file (11 39) --27658-- UNKNOWN fcntl 98! (repeated 8 times) --27658-- UNKNOWN fcntl 101! (repeated 8 times) --27658-- /usr/lib/system/libcorecrypto.dylib (rx at 0x100179000, rw at 0x100211000) --27658-- reading syms from primary file (575 822) --27658-- /usr/lib/system/libdispatch.dylib (rx at 0x100231000, rw at 0x100273000) --27658-- reading syms from primary file (328 1419) --27658-- /usr/lib/system/libdyld.dylib (rx at 0x1002ad000, rw at 0x1002e3000) --27658-- reading syms from primary file (119 1461) --27658-- /usr/lib/system/libkeymgr.dylib (rx at 0x10030c000, rw at 0x10030d000) --27658-- reading syms from primary file (11 2) --27658-- /usr/lib/system/libmacho.dylib (rx at 0x10031c000, rw at 0x100322000) --27658-- reading syms from primary file (105 2) --27658-- /usr/lib/system/libquarantine.dylib (rx at 0x10032a000, rw at 0x10032d000) --27658-- reading syms from primary file (88 12) --27658-- /usr/lib/system/libremovefile.dylib (rx at 0x100335000, rw at 0x100337000) --27658-- reading syms from primary file (12 8) --27658-- UNKNOWN fcntl 98! (repeated 16 times) --27658-- UNKNOWN fcntl 101! (repeated 16 times) --27658-- /usr/lib/system/libsystem_asl.dylib (rx at 0x10033e000, rw at 0x100356000) --27658-- reading syms from primary file (219 234) --27658-- /usr/lib/system/libsystem_blocks.dylib (rx at 0x100365000, rw at 0x100366000) --27658-- reading syms from primary file (21 8) --27658-- /usr/lib/system/libsystem_c.dylib (rx at 0x10036d000, rw at 0x1003f5000) --27658-- reading syms from primary file (1346 894) --27658-- /usr/lib/system/libsystem_configuration.dylib (rx at 0x10041f000, rw at 0x100423000) --27658-- reading syms from primary file (36 68) --27658-- /usr/lib/system/libsystem_coreservices.dylib (rx at 0x10042c000, rw at 0x100430000) --27658-- reading syms from primary file (14 47) --27658-- /usr/lib/system/libsystem_darwin.dylib (rx at 0x100438000, rw at 0x100440000) --27658-- reading syms from primary file (54 491) --27658-- /usr/lib/system/libsystem_dnssd.dylib (rx at 0x10044e000, rw at 0x100456000) --27658-- reading syms from primary file (39 25) --27658-- /usr/lib/system/libsystem_featureflags.dylib (rx at 0x10045e000, rw at 0x100460000) --27658-- reading syms from primary file (1 12) --27658-- /usr/lib/system/libsystem_info.dylib (rx at 0x100467000, rw at 0x1004b5000) --27658-- reading syms from primary file (427 718) --27658-- /usr/lib/system/libsystem_m.dylib (rx at 0x1004cd000, rw at 0x100515000) --27658-- reading syms from primary file (811 1) --27658-- /usr/lib/system/libsystem_malloc.dylib (rx at 0x100526000, rw at 0x10054e000) --27658-- reading syms from primary file (98 475) --27658-- /usr/lib/system/libsystem_networkextension.dylib (rx at 0x10055e000, rw at 0x10056c000) --27658-- reading syms from primary file (118 242) --27658-- /usr/lib/system/libsystem_notify.dylib (rx at 0x10057b000, rw at 0x100585000) --27658-- reading syms from primary file (23 1) --27658-- /usr/lib/system/libsystem_sandbox.dylib (rx at 0x10058d000, rw at 0x100592000) --27658-- reading syms from primary file (113 24) --27658-- /usr/lib/system/libsystem_secinit.dylib (rx at 0x10059b000, rw at 0x10059e000) --27658-- reading syms from primary file (5 20) --27658-- /usr/lib/system/libsystem_kernel.dylib (rx at 0x1005a5000, rw at 0x1005d2000) --27658-- reading syms from primary file (1356 228) --27658-- UNKNOWN fcntl 98! (repeated 32 times) --27658-- UNKNOWN fcntl 101! (repeated 32 times) --27658-- /usr/lib/system/libsystem_platform.dylib (rx at 0x1005f0000, rw at 0x1005fa000) --27658-- reading syms from primary file (168 103) --27658-- /usr/lib/system/libsystem_pthread.dylib (rx at 0x100604000, rw at 0x10060f000) --27658-- reading syms from primary file (188 126) --27658-- /usr/lib/system/libsystem_symptoms.dylib (rx at 0x10061c000, rw at 0x100624000) --27658-- reading syms from primary file (10 86) --27658-- /usr/lib/system/libsystem_trace.dylib (rx at 0x10062c000, rw at 0x100643000) --27658-- reading syms from primary file (131 257) --27658-- /usr/lib/system/libunwind.dylib (rx at 0x100655000, rw at 0x10065b000) --27658-- reading syms from primary file (102 52) --27658-- /usr/lib/system/libxpc.dylib (rx at 0x100664000, rw at 0x100699000) --27658-- reading syms from primary file (620 1286) --27658-- /usr/lib/libobjc.A.dylib (rx at 0x1006c4000, rw at 0x1006f6000) --27658-- reading syms from primary file (381 720) --27658-- /usr/lib/libc++abi.dylib (rx at 0x100719000, rw at 0x10072e000) --27658-- reading syms from primary file (369 640) --27658-- /usr/lib/libc++.1.dylib (rx at 0x10074a000, rw at 0x10079e000) --27658-- reading syms from primary file (2086 1198) --27658-- REDIR: 0x1005f1780 (libsystem_platform.dylib:_platform_memcmp) redirected to 0x1001122b2 (_platform_memcmp) --27658-- REDIR: 0x1005f2000 (libsystem_platform.dylib:_platform_strncmp) redirected to 0x100111aca (_platform_strncmp) --27658-- REDIR: 0x1005f23a0 (libsystem_platform.dylib:_platform_strcmp) redirected to 0x100111b44 (_platform_strcmp) --27658-- REDIR: 0x100527766 (libsystem_malloc.dylib:malloc) redirected to 0x100110010 (malloc) --27658-- UNKNOWN task message [id 8000, to mach_task_self(), reply 0x707] --27658-- REDIR: 0x100529df3 (libsystem_malloc.dylib:calloc) redirected to 0x10011062f (calloc) --27658-- REDIR: 0x10052d7f8 (libsystem_malloc.dylib:realloc) redirected to 0x1001109b1 (realloc) --27658-- REDIR: 0x100529f6d (libsystem_malloc.dylib:malloc_default_zone) redirected to 0x10011136c (malloc_default_zone) --27658-- REDIR: 0x100527798 (libsystem_malloc.dylib:malloc_zone_malloc) redirected to 0x10011027b (malloc_zone_malloc) --27658-- REDIR: 0x100529e28 (libsystem_malloc.dylib:malloc_zone_calloc) redirected to 0x10011081d (malloc_zone_calloc) --27658-- REDIR: 0x100529f75 (libsystem_malloc.dylib:malloc_zone_from_ptr) redirected to 0x1001113ad (malloc_zone_from_ptr) --27658-- REDIR: 0x10052a275 (libsystem_malloc.dylib:free) redirected to 0x1001103f1 (free) --27658-- REDIR: 0x1005f21e0 (libsystem_platform.dylib:_platform_strchr$VARIANT$Haswell) redirected to 0x10011161f (_platform_strchr$VARIANT$Haswell) --27658-- REDIR: 0x1005f2700 (libsystem_platform.dylib:_platform_memchr$VARIANT$Haswell) redirected to 0x100111bc5 (_platform_memchr$VARIANT$Haswell) --27658-- WARNING: unhandled amd64-darwin syscall: mach:50 --27658-- You may be able to write your own handler. --27658-- Read the file README_MISSING_SYSCALL_OR_IOCTL. --27658-- Nevertheless we consider this a bug. Please report --27658-- it at http://valgrind.org/support/bug_reports.html. 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: ==27658== at 0x258042018: ??? ==27658== by 0x258042386: ??? ==27658== by 0x258042366: ??? ==27658== by 0x2580BB62A: ??? ==27658== by 0x2580BABA6: ??? ==27658== by 0x2580B904B: ??? ==27658== by 0x2580B6F3B: ??? ==27658== by 0x2580C82DF: ??? sched status: running_tid=1 Thread 1: status = VgTs_Runnable syscall mach:50 (lwpid 771) client stack range: [0x104105000 0x104904FFF] client SP: 0x104903E48 valgrind stack range: [0x7000009AE000 0x700000AADFFF] top usage: 10472 of 1048576 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. EXPECTED RESULT SOFTWARE/OS VERSIONS Windows: macOS: Linux/KDE Plasma: (available in About System) KDE Plasma Version: KDE Frameworks Version: Qt Version: ADDITIONAL INFORMATION -- You are receiving this mail because: You are watching all bug changes.