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

Crash on some font sizes #949

Closed
Yaraslaut opened this issue Dec 26, 2022 · 0 comments · Fixed by #950
Closed

Crash on some font sizes #949

Yaraslaut opened this issue Dec 26, 2022 · 0 comments · Fixed by #950
Assignees
Labels
bug Something isn't working crash(-like) Bug that results in severe state corruption, lock-ups with recovery, or outright termination fonts font rasterization and text shaping API and platform implementations

Comments

@Yaraslaut
Copy link
Member

Yaraslaut commented Dec 26, 2022

Contour Terminal version

0.3.9-master-16675416

Installer source

Github: source code cloned

Operating System

0.3.9-master-16675416

Architecture

x86-64

Other Software

No response

Steps to reproduce

In my case set font to size 9

crash_on_font_9.mp4

Expected Behavior

No response

Actual Behavior

crash on startup

Additional notes

can be related #739

trace via lldb

* thread #1, name = 'contour', stop reason = signal SIGABRT
  * frame #0: 0x00007ffff638864c libc.so.6`___lldb_unnamed_symbol3503 + 268
    frame #1: 0x00007ffff6338958 libc.so.6`raise + 24
    frame #2: 0x00007ffff632253d libc.so.6`abort + 215
    frame #3: 0x00007ffff66c1112 libstdc++.so.6`std::__glibcxx_assert_fail(file=<unavailable>, line=<unavailable>, function=<unavailable>, condition=<unavailable>) at debug.cc:60:10
    frame #4: 0x000000000065030c contour`terminal::rasterizer::CursorRenderer::createTileData(this=<unavailable>, cursorShape=<unavailable>, columnWidth=<unavailable>, tileLocation=<unavailable>) at CursorRenderer.cpp:0:50
    frame #5: 0x000000000064fbf1 contour`terminal::rasterizer::CursorRenderer::initializeDirectMapping(this=0x0000000000f6a248) at CursorRenderer.cpp:91:53
    frame #6: 0x000000000064fb2a contour`terminal::rasterizer::CursorRenderer::setTextureAtlas(this=<unavailable>, atlas=<unavailable>) at CursorRenderer.cpp:68:5
    frame #7: 0x0000000000632d88 contour`terminal::rasterizer::Renderer::configureTextureAtlas(this=0x0000000000f69df0) at Renderer.cpp:214:26
    frame #8: 0x000000000063290c contour`terminal::rasterizer::Renderer::setRenderTarget(this=0x0000000000f69df0, renderTarget=0x0000000000d606c0) at Renderer.cpp:183:5
    frame #9: 0x00000000006127ce contour`contour::display::TerminalWidget::setSession(this=0x0000000000baaab0, newSession=<unavailable>) at TerminalWidget.cpp:304:16
    frame #10: 0x000000000056685c contour`contour::TerminalSession::attachDisplay(this=0x0000000000ca2de0, newDisplay=0x0000000000baaab0) at TerminalSession.cpp:174:16

function that cause crash

TextureAtlas::TileCreateData tileData = createTileData(shape, width, tileLocation);

@Yaraslaut Yaraslaut added bug Something isn't working fonts font rasterization and text shaping API and platform implementations stability labels Dec 26, 2022
@Yaraslaut Yaraslaut self-assigned this Dec 26, 2022
@whisperity whisperity added the crash(-like) Bug that results in severe state corruption, lock-ups with recovery, or outright termination label Apr 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working crash(-like) Bug that results in severe state corruption, lock-ups with recovery, or outright termination fonts font rasterization and text shaping API and platform implementations
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants