[webkit-qt] QtWebkit JavaScript interpreter crash ( v.153112/ppc64le).

Allan Sandfeld Jensen kde at carewolf.com
Thu Oct 29 02:20:39 PDT 2015


I just checked Platform.h and the usual suspects, it seems PPC64LE should be 
detected correctly and handled. Which means it should use the Cloop LLINT 
implementation for JavaScript. You could double-check if little-endian is 
correctly detected in Platform.h though. As for the page alignment, I would 
have assumed they would match ppc64 and should already work. So it could be a 
mismatch between what I tested on Debian-ppc64 and what you are using.

On Thursday 29 October 2015, Atul Sowani wrote:
> Hi Allan,
> 
> Thanks for your response! It is good to know someone who's worked on
> PPC64.
> 
> Yes, the qtwebkit did not work/compile on ppc64le. It crashes (assertion
> failure) in isPageAligned() macro. The page alignment is not correct on
> ppc64le. In addition to this, the page allocation logic and the frame
> stack functionality is not working as expected on this platform. The tried
> to modify the page alignment logic and the execution went ahead, only to
> hang in dtoa()/mult() functions in WTF. I think the page block and JS
> stack functionality needs particular attention.
> 
> As you've already worked on ppc64be, your experience of porting the code
> would be precious to me. Could you please share your experience and advise
> on how I should proceed in this task of porting the code to ppc64le?
> 
> Thanks,
> Atul.
> 
> 
> 
> 
> From:   Allan Sandfeld Jensen <kde at carewolf.com>
> To:     webkit-qt at lists.webkit.org
> Cc:     Atul Sowani/Beaverton/Contr/IBM at IBMUS
> Date:   10/28/2015 06:08 PM
> Subject:        Re: [webkit-qt] QtWebkit JavaScript interpreter crash ( v.
> 153112/ppc64le).
> Sent by:        Allan Sandfeld Jensen <carewolf at gmail.com>
> 
> On Wednesday 28 October 2015, Atul Sowani wrote:
> > Hi,
> > 
> > I am trying to port PhantomJS 2.0.1 to IBM PPC64LE platform. PhantomJS
> > uses qtwebkit version 153112 and I am facing a few crashes in the
> > JavaScript interpreter code. Is this the right forum to discuss qtwebkit
> > issues I am facing while porting the code?
> 
> Yes.
> 
> I haven't tried PPC64LE myself, when I last touched PPC64 it was to make
> big-
> endian 64bit work, so it might not configure correctly.
> 
> `Allan



More information about the webkit-qt mailing list