Baseline JIT crash on arm64

孙科 <[email protected]>
Newsgroups gmane.comp.mozilla.devel.jseng
Message-ID <CALpAb9Nm+0izfwkA0mb73F1dPKwf+Kz1xFZjQrnr+17ABQnhHA@mail.gmail.com>
Hi, all
    Since we modify the code, and successful compiled baseline JIT on
arm64. We got 'illeagal instruction' crash when executing scripts.
    Use gdb to debugging this problem, try 'j *$pc' command, the code can
run normally several times. Like this problem, what may be relevant?
     Here is the log:
           (gdb) r

js> for(var i=0; i<10000000; i++);
Thread 1 "js" received signal SIGILL, Illegal instruction.
0x0000007fb7fd13d0 in ?? ()
(gdb) info f
Stack level 0, frame at 0x0:
 pc = 0x7fb7fd13d0; saved pc = 0x7fb7bc6b50
 Outermost frame: not enough registers or memory available to unwind further
 Arglist at unknown address.
 Locals at unknown address, Previous frame's sp is 0x0
(gdb) j *$pc
Continuing at 0x7fb7fd13d0.
js> for(var i=0; i<10000000; i++);
js> for(var i=0; i<10000000; i++);
js> for(var i=0; i<10000000; i++);
js> for(var i=0; i<10000000; i++);
js> for(var i=0; i<10000000; i++);
js> for(var i=0; i<10000000; i++);
js> for(var i=0; i<10000000; i++);
js> for(var i=0; i<10000000; i++);

Thread 1 "js" received signal SIGILL, Illegal instruction.
0x0000007fb7bce148 in ?? ()
(gdb)

Thanks,
sk
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.