Closed
Bug 1678074
Opened 4 years ago
Closed 4 years ago
jitsrc fails running arm32 simulator
Categories
(Core :: JavaScript Engine: JIT, defect)
Core
JavaScript Engine: JIT
Tracking
()
RESOLVED
FIXED
85 Branch
Tracking | Status | |
---|---|---|
firefox85 | --- | fixed |
People
(Reporter: mgaudet, Assigned: mgaudet)
Details
Attachments
(1 file)
Trying to find simulated instructions origin using jitsrc ends with a python exception:
0x57704fcf in js::jit::Simulator::readW (this=0xf6b3f000, addr=0, instr=0x2f5327b0, f=js::jit::Simulator::AllowUnaligned) at /home/matthew/unified/js/src/jit/arm/Simulator-arm.cpp:1534
1534 return *ptr;
Thread 1 hit Hardware watchpoint -13: *0x2f5327b0
Old value = -443547648
New value = 0
0xf7baed3b in ?? () from /lib/i386-linux-gnu/libc.so.6
Traceback (most recent call last):
File "js/src/gdb/mozilla/jitsrc.py", line 133, in invoke
address = self.next_address(address)
File "js/src/gdb/mozilla/jitsrc.py", line 114, in next_address
found = self.search_stack(*pattern, old)
File "js/src/gdb/mozilla/jitsrc.py", line 100, in search_stack
if not re.match(base_name, gdb.newest_frame().name()):
File "/usr/lib/python3.6/re.py", line 172, in match
return _compile(pattern, flags).match(string)
TypeError: expected string or bytes-like object
Error occurred in Python command: expected string or bytes-like object
If it helps, here's the backtrace where we stop:
(rr) bt
#0 0xf7baed3b in ?? () from /lib/i386-linux-gnu/libc.so.6
#1 0x576abb73 in js::jit::AssemblerBufferWithConstantPools<1024u, 4u, js::jit::Instruction, js::jit::Assembler, 0u>::executableCopy (this=0xffbfbd94, dest=0x2f5324c0 "\004@", <incomplete sequence \345>)
at /home/matthew/unified/js/src/jit/shared/IonAssemblerBufferWithConstantPools.h:1166
#2 0x57679d8c in js::jit::Assembler::executableCopy (this=0xffbfbb8c, buffer=0x2f52e0c0 "\004\340-\345\a") at /home/matthew/unified/js/src/jit/arm/Assembler-arm.cpp:526
#3 0x5788a5bd in js::jit::JitCode::copyFrom (this=0xf5c21080, masm=...) at /home/matthew/unified/js/src/jit/Ion.cpp:545
#4 0x579b45b4 in js::jit::Linker::newCode (this=0xffbfbab0, cx=0xf6b22000, kind=js::jit::CodeKind::Other) at /home/matthew/unified/js/src/jit/Linker.cpp:73
#5 0x57564c89 in js::jit::BaselineInterpreterGenerator::generate (this=0xffbfbb28, interpreter=...) at /home/matthew/unified/js/src/jit/BaselineCodeGen.cpp:7094
#6 0x5772b8e5 in js::jit::GenerateBaselineInterpreter (cx=0xf6b22000, interpreter=...) at /home/matthew/unified/js/src/jit/BaselineJIT.cpp:1084
#7 0x578889b6 in js::jit::JitRuntime::initialize (this=0xf6b0b800, cx=0xf6b22000) at /home/matthew/unified/js/src/jit/Ion.cpp:134
#8 0x56e27cfa in JSRuntime::createJitRuntime (this=0xf6b3a000, cx=0xf6b22000) at /home/matthew/unified/js/src/vm/Realm.cpp:148
#9 0x570e79a7 in JS::InitSelfHostedCode (cx=0xf6b22000) at /home/matthew/unified/js/src/jsapi.cpp:485
#10 0x568c8795 in main (argc=2, argv=0xffbfc634, envp=0xffbfc640) at /home/matthew/unified/js/src/shell/js.cpp:11831
Compiled using approximately this mozconfig.
Assignee | ||
Comment 1•4 years ago
|
||
Updated•4 years ago
|
Assignee: nobody → mgaudet
Status: NEW → ASSIGNED
Pushed by mgaudet@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/7d44116fa058 Add some basic jitsrc support for the ARM32 simulator r=iain DONTBUILD
Comment 3•4 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
status-firefox85:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 85 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•