Closed Bug 699757 Opened 13 years ago Closed 13 years ago

MIPS debug assertion failure: "(((((uintptr_t)p)&7) == 0))" ("../core/ScriptObject.cpp":781)

Categories

(Tamarin Graveyard :: Virtual Machine, defect)

Other
Linux
defect
Not set
normal

Tracking

(Not tracked)

VERIFIED WORKSFORME

People

(Reporter: brbaker, Unassigned)

References

Details

MIPS debug builds are failing with the following assertion:

Assertion failed: "(((((uintptr_t)p)&7) == 0))" ("../core/ScriptObject.cpp":781)


#2  0x00818d0c in avmplus::AvmDebugMsg (
    p=0x8d2628 "Assertion failed: \"(((((uintptr_t)p)&7) == 0))\" (\"../core/ScriptObject.cpp\":781)\n", debugBreak=true) at ../AVMPI/AvmAssert.cpp:69
#3  0x00405570 in avmplus::AvmAssertFail (
    message=0x8d2628 "Assertion failed: \"(((((uintptr_t)p)&7) == 0))\" (\"../core/ScriptObject.cpp\":781)\n") at ../AVMPI/AvmAssert.h:66
#4  0x004055b8 in avmplus::_AvmAssertMsg (condition=0, 
    message=0x8d2628 "Assertion failed: \"(((((uintptr_t)p)&7) == 0))\" (\"../core/ScriptObject.cpp\":781)\n") at ../AVMPI/AvmAssert.h:72
#5  0x006ca0b0 in avmplus::ScriptObject::coerceAndSetSlotAtom (
    this=0x2abd60c0, slot=1, value=715964500) at ../core/ScriptObject.cpp:781
#6  0x00658528 in defaultVal (this=0x7fe54b7c, val=715964500, slot=1)
    at ../core/exec.cpp:227
#7  0x006eef38 in avmplus::Traits::visitInitBody (this=0x2ab2b830, 
    visitor=0x7fe54b7c, toplevel=0x2ab87040, tb=0x2ab97030)
    at ../core/Traits.cpp:1965
#8  0x00658de8 in avmplus::BaseExecMgr::initObj (env=0x2abd48f0, 
    obj=0x2abd60c0) at ../core/exec.cpp:233
#9  0x0065c018 in avmplus::BaseExecMgr::initInvokeInterpNoCoerce (
    env=0x2abd48f0, argc=0, args=0x7fe54dcc) at ../core/exec.cpp:244
#10 0x0065a4dc in avmplus::BaseExecMgr::verifyInvoke (env=0x2abd48f0, argc=0, 
    args=0x7fe54dcc) at ../core/exec.cpp:365
#11 0x0069afe8 in avmplus::MethodEnv::newclass (this=0x2aae5fd8, 
    ctraits=0x2ab2b830, base=0x2ab83050, outer=0x2aac4530, scopes=0x7fe54e30)
    at ../core/MethodEnv-inlines.h:137
#12 0x0067f904 in avmplus::interpBoxed (env=0x2aae5fd8, _argc=0, 
    _atomv=0x7fe5746c) at ../core/Interpreter.cpp:2677
#13 0x0065bfc0 in avmplus::BaseExecMgr::invokeInterpNoCoerce (env=0x2aae5fd8, 
    argc=0, atomv=0x7fe5746c) at ../core/exec.cpp:1066
#14 0x0065c02c in avmplus::BaseExecMgr::initInvokeInterpNoCoerce (
    env=0x2aae5fd8, argc=0, args=0x7fe5746c) at ../core/exec.cpp:245
#15 0x0065a4dc in avmplus::BaseExecMgr::verifyInvoke (env=0x2aae5fd8, argc=0, 
    args=0x7fe5746c) at ../core/exec.cpp:365
Flags: in-testsuite+
Flags: flashplayer-triage+
Flags: flashplayer-qrb+
Flags: flashplayer-bug-
I've started running acceptance tests on MIPS. It takes a lot of time, but so far everything passes.
If this assert was happening frequently, there's one of two possibilities:
 1. It was fixed in the meantime
 2. It wasn't run with -Dinterp. Since this assert is in VMCFG_FLOAT code, I presume that the binary was built with float enabled. Since float/float4 is not yet supported on MIPS, it's only logical to encounter assertions, unless the code runs in interpreted mode exclusively.
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → WORKSFORME
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.