Re: [webkit-dev] random seg fault on MIPS platform

2009-05-08 Thread x yz
ok I think you suggest using the function to flush before execution the code. I'll try it. I really appreciate it! rgds joe --- On Sat, 5/9/09, Zoltan Herczeg wrote: > From: Zoltan Herczeg > Subject: Re: [webkit-dev] random seg fault on MIPS platform > To: last...@yahoo.com &g

Re: [webkit-dev] random seg fault on MIPS platform

2009-05-08 Thread x yz
e: > From: Zoltan Herczeg > Subject: Re: [webkit-dev] random seg fault on MIPS platform > To: last...@yahoo.com > Cc: webkit-dev@lists.webkit.org > Date: Saturday, May 9, 2009, 2:11 AM > Hi, > > I don't know anything about MIPS architecture (only > x86, ARM and P

Re: [webkit-dev] random seg fault on MIPS platform

2009-05-08 Thread Zoltan Herczeg
Hi, I don't know anything about MIPS architecture (only x86, ARM and PowerPC), but we have experienced similar things on ARM, until we have found the gcc's __clear_cache(void* begin, void* end) function. It calls a kernel utility, which flushes out the data cache (some mrc instructions can only ex

Re: [webkit-dev] random seg fault on MIPS platform

2009-05-08 Thread x yz
Hi, >50% of time when I use gdb then arith functions works. it may fail at 1st, or >3rd try, and 100% fail w/o gdb. I just use jsc to do sth like 5%2, 5*3, etc. It is with in call of ctiTrampoline(code, registerFile, callFrame, jexception, pptr, globalData), jit code executed and may be in last