movableink / webkit

Unofficial mirror of the WebKit SVN repository
http://www.webkit.org/
59 stars 11 forks source link

PlatformPath segfaults #25

Open elahav opened 7 months ago

elahav commented 7 months ago

I have successfully built QtWebKit on QNX and both the example browser and Otter come up and can handle a Google search. However, trying to open any non-trivial web pages results in a crash. The trace points to a call to platformPath() returning a null pointer. I assume this has to do with the implementation of PathQt.

quarcko commented 7 months ago

For me it was always crashing in platformPath() - even when trying to load google. Please look at my pull request: file: Source/WebCore/platform/graphics/PlatformPath.h line 42.

Hope that helps.

elahav commented 7 months ago

@quarcko that indeed fixes the problem! Thank you.

I guess the comment about QPaintPath being passed by value was correct, but then it should not be defined using a reference.