|
From: IMoL <im...@gm...> - 2017-08-17 22:16:10
|
1. macOS 10.12.6 2. built using git: commit ba17add79a563bd1395dc05fa7309baffbcaa3ce (HEAD -> master, origin/master, origin/HEAD) All I did was clone it, run autogen, run configure with a prefix and make install 3. This is a Qt-based application 4. When I run callgrind through Qt Creator on my app it crashes with: ==71159== Callgrind, a call-graph generating cache profiler ==71159== Copyright (C) 2002-2017, and GNU GPL'd, by Josef Weidendorfer et al. ==71159== Using Valgrind-3.14.0.GIT and LibVEX; rerun with -h for copyright info ==71159== Command: /Users/maloney/dev/foo/Mac/release/foo.app/Contents/MacOS/foo ==71159== ==71159== For interactive control, run 'callgrind_control -h'. --71159-- run: /usr/bin/dsymutil "/Users/maloney/dev/foo/Mac/release/foo.app/Contents/MacOS/foo" --71159-- UNKNOWN mach_msg unhandled MACH_SEND_TRAILER option --71159-- UNKNOWN mach_msg unhandled MACH_SEND_TRAILER option (repeated 2 times) --71159-- UNKNOWN mach_msg unhandled MACH_SEND_TRAILER option (repeated 4 times) UNKNOWN workq_ops option 128 ==71159== valgrind: Unrecognised instruction at address 0x10438ab50. ==71159== at 0x10438AB50: _dispatch_kq_init (in /usr/lib/system/libdispatch.dylib) ==71159== by 0x1043888FB: _dispatch_client_callout (in /usr/lib/system/libdispatch.dylib) ==71159== by 0x1043888B8: dispatch_once_f (in /usr/lib/system/libdispatch.dylib) ==71159== by 0x10438AA90: _dispatch_kq_update (in /usr/lib/system/libdispatch.dylib) ==71159== by 0x10438C0CD: _dispatch_kevent_resume (in /usr/lib/system/libdispatch.dylib) ==71159== by 0x10438C03D: _dispatch_source_kevent_resume (in /usr/lib/system/libdispatch.dylib) ==71159== by 0x10438BE85: _dispatch_source_kevent_register (in /usr/lib/system/libdispatch.dylib) ==71159== by 0x10439B651: _dispatch_queue_resume_finalize_activation (in /usr/lib/system/libdispatch.dylib) ==71159== by 0x1046DB3C0: _notify_lib_init (in /usr/lib/system/libsystem_notify.dylib) ==71159== by 0x1046DB9AB: notify_register_dispatch (in /usr/lib/system/libsystem_notify.dylib) ==71159== by 0x106E59916: CFUniCharMapTo (in /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation) ==71159== by 0x1043888FB: _dispatch_client_callout (in /usr/lib/system/libdispatch.dylib) ==71159== Your program just tried to execute an instruction that Valgrind ==71159== did not recognise. There are two possible reasons for this. ==71159== 1. Your program has a bug and erroneously jumped to a non-code ==71159== location. If you are running Memcheck and you just saw a ==71159== warning about a bad jump, it's probably your program's fault. ==71159== 2. The instruction is legitimate but Valgrind doesn't handle it, ==71159== i.e. it's Valgrind's fault. If you think this is the case or ==71159== you are not sure, please let us know and we'll try to fix it. ==71159== Either way, Valgrind will now raise a SIGILL signal which will ==71159== probably kill your program. ==71159== ==71159== Process terminating with default action of signal 4 (SIGILL) ==71159== Illegal opcode at address 0x10438AB50 ==71159== at 0x10438AB50: _dispatch_kq_init (in /usr/lib/system/libdispatch.dylib) ==71159== by 0x1043888FB: _dispatch_client_callout (in /usr/lib/system/libdispatch.dylib) ==71159== by 0x1043888B8: dispatch_once_f (in /usr/lib/system/libdispatch.dylib) ==71159== by 0x10438AA90: _dispatch_kq_update (in /usr/lib/system/libdispatch.dylib) ==71159== by 0x10438C0CD: _dispatch_kevent_resume (in /usr/lib/system/libdispatch.dylib) ==71159== by 0x10438C03D: _dispatch_source_kevent_resume (in /usr/lib/system/libdispatch.dylib) ==71159== by 0x10438BE85: _dispatch_source_kevent_register (in /usr/lib/system/libdispatch.dylib) ==71159== by 0x10439B651: _dispatch_queue_resume_finalize_activation (in /usr/lib/system/libdispatch.dylib) ==71159== by 0x1046DB3C0: _notify_lib_init (in /usr/lib/system/libsystem_notify.dylib) ==71159== by 0x1046DB9AB: notify_register_dispatch (in /usr/lib/system/libsystem_notify.dylib) ==71159== by 0x106E59916: CFUniCharMapTo (in /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation) ==71159== by 0x1043888FB: _dispatch_client_callout (in /usr/lib/system/libdispatch.dylib) ==71159== ==71159== Events : Ir ==71159== Collected : 260775396 ==71159== ==71159== I refs: 260,775,396 The program has unexpectedly finished. ** Process crashed ** 5. Looks like "UNKNOWN workq_ops option 128" is the problem, but there isn't a VKI_WQOPS_* define for 128... |