[Webkit-unassigned] [Bug 69942] New: When an API test fails, TestWebKitAPI crashes
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Oct 12 10:36:47 PDT 2011
https://bugs.webkit.org/show_bug.cgi?id=69942
Summary: When an API test fails, TestWebKitAPI crashes
Product: WebKit
Version: 528+ (Nightly build)
Platform: Unspecified
OS/Version: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: Tools / Tests
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: simon.fraser at apple.com
CC: fpizlo at apple.com
If I introduce a deliberate failure in an API test, like:
TEST_F(MetaAllocatorTest, SimpleFullCoalesce32PlusPageLess32ThenPage)
{
+ EXPECT_TRUE(false);
testSimpleFullCoalesce(32, pageSize() - 32, pageSize());
}
then TestWebKitAPI crashes, rather than just reporting the failure. The crash is:
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x00000000000020d8
VM Regions Near 0x20d8:
-->
__TEXT 00000001042de000-0000000104359000 [ 492K] r-x/rwx SM=COW /Volumes/VOLUME/*
Application Specific Information:
objc[91719]: garbage collection is OFF
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 com.apple.JavaScriptCore 0x0000000104bc3a49 WTF::fastFree(void*) + 137 (TCPageMap.h:234)
1 TestWebKitAPI 0x0000000104320038 testing::Test::Run() + 92
2 TestWebKitAPI 0x00000001043206be testing::internal::TestInfoImpl::Run() + 158
3 TestWebKitAPI 0x0000000104320ae5 testing::TestCase::Run() + 161
4 TestWebKitAPI 0x0000000104323e7a testing::internal::UnitTestImpl::RunAllTests() + 594
5 TestWebKitAPI 0x00000001042dfdde TestWebKitAPI::TestsController::run(int, char**) + 36 (TestsController.cpp:51)
6 TestWebKitAPI 0x00000001042dfcf1 main + 96 (main.mm:35)
7 TestWebKitAPI 0x00000001042df934 start + 52
This looks like malloc/FastMalloc mixing.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list