Re: Baseline JIT crash on arm64

"Nicolas B. Pierron" <[email protected]>
Newsgroups gmane.comp.mozilla.devel.jseng
Message-ID <[email protected]>
On 05/13/2016 03:08 PM, 孙科 wrote:
> 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.

This is weird, if this were an illegal instruction, this should not work, 
unless there is a bug in gdb, and the pc is already incremented.

Can you paste the content of the surrounding instructions, with the disas 
command?

Can you start the engine with --no-ion, and if you cannot reproduce it, with 
--ion-eager.

-- 
Nicolas B. Pierron
_______________________________________________
dev-tech-js-engine mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-js-engine
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.