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

MacOS: Exception in libsk4d.dylib in skia::textlayout::TextWrapper::lookAhead #291

Open
philippjhofmann opened this issue Dec 18, 2023 · 0 comments

Comments

@philippjhofmann
Copy link

philippjhofmann commented Dec 18, 2023

Sometimes I get the following (not reproducable exception) in my app with Skia. Is this something you can avoid in the library?

16:15:40.412 1263744768-Error Exception from TgoExceptionReporter (showInfo:false):
Zugriffsverletzung bei Adresse 000000011203EF42 beim Zugriff auf Adresse 00000000000002C8
At address: $000000011203EF42 (skia::textlayout::Cluster::run() const + 18)

Call stack:
libsk4d.dylib $00000001120484C7 skia::textlayout::TextWrapper::lookAhead(float, skia::textlayout::Cluster*) + 1287
libsk4d.dylib $000000011204977C skia::textlayout::TextWrapper::breakTextIntoLines(skia::textlayout::ParagraphImpl*, float, std::__1::function<void (skia::textlayout::SkRange, skia::textlayout::SkRange, skia::textlayout::SkRange, skia::textlayout::SkRange, skia::textlayout::SkRange, float, unsigned long, unsigned long, SkPoint, SkPoint, skia::textlayout::InternalLineMetrics, bool)> const&) + 876
libsk4d.dylib $0000000112038FB9 skia::textlayout::ParagraphImpl::breakShapedTextIntoLines(float) + 393
libsk4d.dylib $000000011203822B skia::textlayout::ParagraphImpl::layout(float) + 699
icTrainer $000000010765EFC3 Skia.TSkParagraph.Layout(Single) + 35
icTrainer $0000000107678D42 Fmx.Skia.Canvas.TSkTextLayout.UpdateParagraph().ParagraphLayout(Pointer, Skia.ISkParagraph, Single) + 114
icTrainer $0000000107678DEC Fmx.Skia.Canvas.TSkTextLayout.UpdateParagraph().DoUpdateParagraph(Pointer, var Fmx.Skia.Canvas.TSkTextLayout.TParagraph, String, Integer) + 156
icTrainer $0000000107675850 Fmx.Skia.Canvas.TSkTextLayout.UpdateParagraph() + 880
icTrainer $00000001076718AA Fmx.Skia.Canvas.TSkTextLayout.DoRenderLayout() + 26
icTrainer $0000000106590EC6 Fmx.Textlayout.TTextLayout.EndUpdate() + 54
icTrainer $000000010665EE44 Fmx.Objects.TText.Paint() + 1236
icTrainer $00000001068BB1DF Fmx.Controls.TControl.PaintInternal().DoPaintInternal(Pointer) + 719
icTrainer $00000001068BB5C1 Fmx.Controls.TControl.PaintInternal().PaintAndClipChild(Pointer) + 337
icTrainer $00000001068BA73B Fmx.Controls.TControl.PaintInternal() + 123

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

1 participant