Helgrind crash, assert fail
Hi,
I'm trying to use Helgrind on Mac, and I get this crash very shortly after starting:
Helgrind: hg_main.c:4562 (void instrument_mem_access(IRSB *, IRExpr *, Int, Bool, Bool, Int, Int, Int, IRExpr *)): Assertion 'szB > 8 && szB <= 512' failed.
I'm guessing this is just something that hasn't been patched for macOS yet.
This might be relevant. Not sure.
Thread 1: status = VgTs_Runnable (lwpid 771) ==4967== at 0x108361801: _dispatch_alloc_continuation_from_heap (in /usr/lib/system/libdispatch.dylib) ==4967== by 0x108361702: _dispatch_alloc_continuation_alloc (in /usr/lib/system/libdispatch.dylib) ==4967== by 0x108348901: _dispatch_source_set_handler (in /usr/lib/system/libdispatch.dylib) ==4967== by 0x108691FB0: _notify_fork_child (in /usr/lib/system/libsystem_notify.dylib) ==4967== by 0x108690597: notify_monitor_file (in /usr/lib/system/libsystem_notify.dylib) ==4967== by 0x10868E0F1: notify_register_dispatch (in /usr/lib/system/libsystem_notify.dylib) ==4967== by 0x100673BBC: _CFLocaleCopyLocaleIdentifierByAddingLikelySubtags (in /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation) ==4967== by 0x108337657: _dispatch_client_callout (in /usr/lib/system/libdispatch.dylib) ==4967== by 0x1083387DD: _dispatch_once_callout (in /usr/lib/system/libdispatch.dylib) ==4967== by 0x10067A00B: __CFRunLoopFindMode (in /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation) ==4967== by 0x102DF8746: __standardDefaultCenter_block_invoke (in /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation) ==4967== by 0x108337657: _dispatch_client_callout (in /usr/lib/system/libdispatch.dylib) ==4967== by 0x1083387DD: _dispatch_once_callout (in /usr/lib/system/libdispatch.dylib) ==4967== by 0x102DF872A: standardDefaultCenter (in /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation) ==4967== by 0x102E48283: -[NSThread start] (in /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation) ==4967== by 0x100429E31: _glfwPlatformInit (in /usr/local/Cellar/glfw/3.3.2/lib/libglfw.3.3.dylib) ==4967== by 0x100424E39: glfwInit (in /usr/local/Cellar/glfw/3.3.2/lib/libglfw.3.3.dylib) ==4967== by 0x10002BD38: Window::create() (window.cpp:42) ==4967== by 0x10004D054: main (main.cpp:164) client stack range: [0x10440A000 0x104C09FFF] client SP: 0x104C08FC8 valgrind stack range: [0x70000288E000 0x70000298DFFF] top usage: 6976 of 1048576
Hi @theosib,
Thank your for your report! Could you give a reproducible test case and a bit more information? (full valgrind command line, a test program and macOS version)
Closing this due to inactivity. Please reopen with a reproducible test case (e.g. command line).