-
Hello, I built ThorVG on QNX (just needed a small change to meson.build). Everything works well, until I set a canvas target where the stride is greater than the width of the window. I have traced the problem to The following change was sufficient to avoid the segmentation fault, but I have no idea if it is correct:
Thoughts? --Elad |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 5 replies
-
@elahav Hi, thanks for your report. Could you share the call stack you have? I believe the root cause might be an out-of-range access there. |
Beta Was this translation helpful? Give feedback.
-
@elahav Hello, I tried to reproduce the issue, but I couldn't find any memory violation with the canvas stride set to 1088 and a canvas width of 1080 with a certain . We might need more information to clarify this. If you could provide a sample to reproduce it, it would be very helpful. Thanks. Please have a look, this is what I configured.
|
Beta Was this translation helpful? Give feedback.
-
@elahav Can you share the Lottie sample you have? I can't find the rasterClear() and AVX have any issues themselves. The best is to reproduce the crash issue you have here. I've come across another rendering problem, but it might not be related to your crash. so need to clarify that. |
Beta Was this translation helpful? Give feedback.
-
@elahav please cherry-pick and test with this commit. This could help your issue. thanks. |
Beta Was this translation helpful? Give feedback.
@elahav please cherry-pick and test with this commit. This could help your issue. thanks.