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

2013-03-05 Thread Arunprasad Rajkumar
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, talking1...@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@gmail.com [mailto:
 talking1239+caf_=talking1239=126@gmail.com] *On Behalf Of *Arunprasad
 Rajkumar
 *Sent:* 2013年3月4日 20:28
 *To:* talking1...@gmail.com
 *Cc:* webkit-h...@lists.webkit.org; squirrelfish-...@lists.webkit.org;
 webkit-dev@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, talking1...@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@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
___
webkit-dev mailing list
webkit-dev@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-dev


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

2013-03-05 Thread Darin Adler
On Mar 4, 2013, at 2:41 AM, talking1...@gmail.com wrote:

 Hi All, apologies for the spam.

Please, it’s not acceptable to cross-post to all three of lists to ask for help 
debugging a problem. If we all did that we’d have tons of traffic on these 
mailing lists.

Stop!

Please at least narrow this down to just the webkit-help list, or better please 
use a bug report for this discussion instead.

-- Darin
___
webkit-dev mailing list
webkit-dev@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-dev


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

2013-03-04 Thread talking1239
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@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-dev


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

2013-03-04 Thread talking1239
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@gmail.com
[mailto:talking1239+caf_=talking1239=126@gmail.com] On Behalf Of
Arunprasad Rajkumar
Sent: 2013年3月4日 20:28
To: talking1...@gmail.com
Cc: webkit-h...@lists.webkit.org; squirrelfish-...@lists.webkit.org;
webkit-dev@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, talking1...@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@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-dev





 

-- 

Arunprasad Rajkumar

 http://in.linkedin.com/in/ararunprasad
http://in.linkedin.com/in/ararunprasad

___
webkit-dev mailing list
webkit-dev@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-dev