Closed Bug 913850 Opened 11 years ago Closed 11 years ago

Intermittent ASan Test (UnevenHalfScale): PAgtest TEST-UNEXPECTED-FAIL | gtest | test failed with return code 256

Categories

(Core :: Graphics, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 904227

People

(Reporter: philor, Unassigned)

Details

(Keywords: intermittent-failure)

https://tbpl.mozilla.org/php/getParsedLog.php?id=27522461&tree=Mozilla-Central
Linux x86-64 mozilla-central asan build on 2013-09-06 18:00:26 PDT for push 3697f962bb7b
slave: bld-linux64-ec2-397

Test (UnevenHalfScale): PAgtest TEST-UNEXPECTED-FAIL | gtest | test failed with return code 256
SSED
Test (OddStrideHalfScale): PASSED
Test (VerticalHalfScale): PASSED
Test (HorizontalHalfScale): PASSED
Test (MixedHalfScale): PASSED
TEST-PASS | Moz2D.Scaling | test completed (time: 17ms)
TEST-PASS | GTest unit test: passed

GMOCK WARNING:
Uninteresting mock function call - returning directly.
    Function call: SendAsyncScrollDOMEvent(1, @0x7fff38abeb20 16-byte object <00-00 70-41 00-00 20-41 00-00 00-40 00-00 00-40>, @0x7fff38abeb60 8-byte object <00-00 48-42 00-00 48-42>)
Stack trace:

GMOCK WARNING:
Uninteresting mock function call - returning directly.
    Function call: SendAsyncScrollDOMEvent(2, @0x7fff38abeb20 16-byte object <00-00 70-41 00-00 20-41 00-00 00-40 00-00 00-40>, @0x7fff38abeb60 8-byte object <00-00 48-42 00-00 48-42>)
Stack trace:
ASAN:SIGSEGV
=================================================================
==13093==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x7f6ed755d006 sp 0x7fff38abd330 bp 0x000000000000 T0)
AddressSanitizer can not provide additional info.
    #0 0x7f6ed755d005 (/builds/slave/m-cen-l64-asan-000000000000000/build/obj-firefox/dist/bin/gtest/libxul.so+0x4420005)
    #1 0x7f6ed759f876 (/builds/slave/m-cen-l64-asan-000000000000000/build/obj-firefox/dist/bin/gtest/libxul.so+0x4462876)
    #2 0x7f6ed7577442 (/builds/slave/m-cen-l64-asan-000000000000000/build/obj-firefox/dist/bin/gtest/libxul.so+0x443a442)
    #3 0x7f6ed757689e (/builds/slave/m-cen-l64-asan-000000000000000/build/obj-firefox/dist/bin/gtest/libxul.so+0x443989e)
    #4 0x7f6ed7574c2a (/builds/slave/m-cen-l64-asan-000000000000000/build/obj-firefox/dist/bin/gtest/libxul.so+0x4437c2a)
    #5 0x7f6ed7567489 (/builds/slave/m-cen-l64-asan-000000000000000/build/obj-firefox/dist/bin/gtest/libxul.so+0x442a489)
    #6 0x7f6ed76063ee (/builds/slave/m-cen-l64-asan-000000000000000/build/obj-firefox/dist/bin/gtest/libxul.so+0x44c93ee)
    #7 0x7f6ed8ca4e01 (/builds/slave/m-cen-l64-asan-000000000000000/build/obj-firefox/dist/bin/gtest/libxul.so+0x5b67e01)
    #8 0x7f6ed8ca5f4e (/builds/slave/m-cen-l64-asan-000000000000000/build/obj-firefox/dist/bin/gtest/libxul.so+0x5b68f4e)
    #9 0x7f6ed8b061cd (/builds/slave/m-cen-l64-asan-000000000000000/build/obj-firefox/dist/bin/gtest/libxul.so+0x59c91cd)
    #10 0x7f6ed773eec2 (/builds/slave/m-cen-l64-asan-000000000000000/build/obj-firefox/dist/bin/gtest/libxul.so+0x4601ec2)
    #11 0x7f6ed89e885e (/builds/slave/m-cen-l64-asan-000000000000000/build/obj-firefox/dist/bin/gtest/libxul.so+0x58ab85e)
    #12 0x7f6ed89e8f46 (/builds/slave/m-cen-l64-asan-000000000000000/build/obj-firefox/dist/bin/gtest/libxul.so+0x58abf46)
    #13 0x7f6ed89de559 (/builds/slave/m-cen-l64-asan-000000000000000/build/obj-firefox/dist/bin/gtest/libxul.so+0x58a1559)
    #14 0x7f6ed8904e51 (/builds/slave/m-cen-l64-asan-000000000000000/build/obj-firefox/dist/bin/gtest/libxul.so+0x57c7e51)
    #15 0x7f6ed8913ce8 (/builds/slave/m-cen-l64-asan-000000000000000/build/obj-firefox/dist/bin/gtest/libxul.so+0x57d6ce8)
    #16 0x7f6ed755cc0a (/builds/slave/m-cen-l64-asan-000000000000000/build/obj-firefox/dist/bin/gtest/libxul.so+0x441fc0a)
    #17 0x7f6ed755b9c2 (/builds/slave/m-cen-l64-asan-000000000000000/build/obj-firefox/dist/bin/gtest/libxul.so+0x441e9c2)
    #18 0x7f6ed41f821b (/builds/slave/m-cen-l64-asan-000000000000000/build/obj-firefox/dist/bin/gtest/libxul.so+0x10bb21b)
    #19 0x7f6ed4206800 (/builds/slave/m-cen-l64-asan-000000000000000/build/obj-firefox/dist/bin/gtest/libxul.so+0x10c9800)
    #20 0x7f6ed420790b (/builds/slave/m-cen-l64-asan-000000000000000/build/obj-firefox/dist/bin/gtest/libxul.so+0x10ca90b)
    #21 0x459c8d (/builds/slave/m-cen-l64-asan-000000000000000/build/obj-firefox/dist/bin/firefox+0x459c8d)
    #22 0x7f6ee3806cdc (/lib64/libc.so.6+0x1ecdc)
    #23 0x45910c (/builds/slave/m-cen-l64-asan-000000000000000/build/obj-firefox/dist/bin/firefox+0x45910c)
==13093==ABORTING

I missed the meeting where we decided whether or not ASan failures that we hit in public should lead to public bugs, so filing s-s on the side of caution.
So is this the ASAN version of bug 904227 (which hasn't gone anywhere)?
There is one case where ASan failures are usually not s-s, and that is if it's a regular SIGSEGV (indicated by the "SEGV on unknown address") at or near NULL. That's the equivalent to a regular null-deref crash. ASan just catches regular SIGSEGVs for convenience reasons, but usually this means that a normal build would also crash. If that's not the case, then it's usually due to memory layout differences etc.

In all other cases (use-after-free, buffer-overflow, SEGV on weird addresses, etc.) these bugs are usually s-s.

Based on the trace above I assume this is not s-s, thanks though for checking with us! :)
Group: core-security
I think we should dupe this against 904227. I'll take a look at 904227 next week.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.