You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
tcmalloc/testing/memory_errors_test.cc:322: Failure
Death test: { fprintf(stderr, "size=%zu\n", size); ScopedAlwaysSample always_sample; for (size_t i = 0; i < 10000; ++i) { char* volatile ptr = static_cast<char*>(malloc(size)); ptr = static_cast<char*>(realloc(ptr, size + 1)); ptr[size + 2] = 'A'; free(ptr); } }
Result: died but not with expected error.
Expected: contains regular expression "SIGSEGV"
Actual msg:
[ DEATH ] size=2
[ DEATH ] tcmalloc/guarded_page_allocator.cc:488] *** GWP-ASan (https://google.github.io/tcmalloc/gwp-asan.html) has detected a memory error ***
[ DEATH ] tcmalloc/guarded_page_allocator.cc:492] >>> Access at offset 0 into buffer of length 3
[ DEATH ] tcmalloc/guarded_page_allocator.cc:494] Error originates from memory allocated in thread 18342 at:
[ DEATH ] tcmalloc/guarded_page_allocator.cc:460] @ 0x44830b
it seems old_sa do not hanlder SIGSEGV
The text was updated successfully, but these errors were encountered:
tcmalloc/testing/memory_errors_test.cc:322: Failure
Death test: { fprintf(stderr, "size=%zu\n", size); ScopedAlwaysSample always_sample; for (size_t i = 0; i < 10000; ++i) { char* volatile ptr = static_cast<char*>(malloc(size)); ptr = static_cast<char*>(realloc(ptr, size + 1)); ptr[size + 2] = 'A'; free(ptr); } }
Result: died but not with expected error.
Expected: contains regular expression "SIGSEGV"
Actual msg:
[ DEATH ] size=2
[ DEATH ] tcmalloc/guarded_page_allocator.cc:488] *** GWP-ASan (https://google.github.io/tcmalloc/gwp-asan.html) has detected a memory error ***
[ DEATH ] tcmalloc/guarded_page_allocator.cc:492] >>> Access at offset 0 into buffer of length 3
[ DEATH ] tcmalloc/guarded_page_allocator.cc:494] Error originates from memory allocated in thread 18342 at:
[ DEATH ] tcmalloc/guarded_page_allocator.cc:460] @ 0x44830b
it seems old_sa do not hanlder SIGSEGV
The text was updated successfully, but these errors were encountered: