[webkit-dev] [webkit-help] [squirrelfish-dev] How to debug the JIT when it crash

Arunprasad Rajkumar ararunprasad at gmail.com
Tue Mar 5 10:21:03 PST 2013


I think SH4 JIT(in MSVC) for JSC is not supported for r65000. Are you
developing yourself or using any other patches yet to land? Current truck
supports SH4 JIT only if it is compiled using GCC I guess.

On 5 March 2013 11:35, <talking1239 at gmail.com> wrote:

> Hi Arunprasad,****
>
> ** **
>
> Thanks for your tips.****
>
> ** **
>
> ** **
>
> My environment as following:****
>
> CPU: SH4;****
>
> SVN revision: 65000****
>
> OS:  WINCE****
>
> Tool Chain:     MSVS+PB****
>
> JS test case: I cann’t get the single js test case. But I can reproduce it
> as this steps[First access the http://image.baidu.com/, then access
> http://maps.google.de, wait 2-5 minitues, it will crash. The crash type
> is “access violation”].****
>
> ** **
>
> I have try to debug it, find that the crash was caused by the jit, if we
> disable the JIT feature,  the browser will not crash.****
>
> ** **
>
> As the test case is very complex and it is hard to be simplify,  so I
> don’t know how to debug it.****
>
> ** **
>
> I try to print all the emitted instructions, but it is too many for me to
> analyze, after the instructions were emitted, the instruction will be
> repatch or relink, so anybody can give me some suggestion for how to debug
> it.****
>
> ** **
>
> ** **
>
> Thanks.****
>
> ** **
>
> ** **
>
> *From:* talking1239+caf_=talking1239=126.com at gmail.com [mailto:
> talking1239+caf_=talking1239=126.com at gmail.com] *On Behalf Of *Arunprasad
> Rajkumar
> *Sent:* 2013年3月4日 20:28
> *To:* talking1239 at gmail.com
> *Cc:* webkit-help at lists.webkit.org; squirrelfish-dev at lists.webkit.org;
> webkit-dev at lists.webkit.org
> *Subject:* Re: [webkit-dev] [webkit-help] [squirrelfish-dev] How to debug
> the JIT when it crash****
>
> ** **
>
> It will be good to mention CPU, WebKit SVN revision, OS, Tool Chain, JS
> test case name(Sun Spider,..?)..etc so that people can give more
> suggestions.****
>
> On 4 March 2013 16:11, <talking1239 at gmail.com> wrote:****
>
> Hi All, apologies for the spam.****
>
> right now I am trying to fix the jit crash bug, but I don't know how to
> start it, can anyone give me some suggestion? ****
>
> when javascript engine run some special test case, it will run crash.****
>
> I have print all the emited instructions, but the instructions will be
> repatch or relink after it run, so is exist an way or steps for debugging
> it?****
>
> Thanks in advance!****
>
> --****
>
> BGs/Felix Shi****
>
>
>
>
> _______________________________________________
> webkit-dev mailing list
> webkit-dev at lists.webkit.org
> https://lists.webkit.org/mailman/listinfo/webkit-dev****
>
>
>
> ****
>
> ** **
>
> -- ****
>
> *Arunprasad Rajkumar*****
>
> http://in.linkedin.com/in/ararunprasad****
>



-- 
*Arunprasad Rajkumar*
http://in.linkedin.com/in/ararunprasad
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-dev/attachments/20130305/665bdad4/attachment-0001.html>


More information about the webkit-dev mailing list