Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PlatformPath segfaults #25

Open
elahav opened this issue Jan 20, 2024 · 2 comments
Open

PlatformPath segfaults #25

elahav opened this issue Jan 20, 2024 · 2 comments

Comments

@elahav
Copy link

elahav commented Jan 20, 2024

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
Copy link

quarcko commented Jan 21, 2024

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
Copy link
Author

elahav commented Jan 21, 2024

@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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants