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

Unicode crash on FreeBSD #169

Open
AMDmi3 opened this issue Jul 26, 2022 · 0 comments
Open

Unicode crash on FreeBSD #169

AMDmi3 opened this issue Jul 26, 2022 · 0 comments

Comments

@AMDmi3
Copy link
Contributor

AMDmi3 commented Jul 26, 2022

bonzomatic-2022.07.08, FreeBSD 13.1 amd64, locale C.UTF-8.

  1. Any unicode input is displayed with ?'s
  2. Sometimes it crashes after inputting non-ascii character (crash seems to be reproducible when inserting a unicode character in the // in seconds comment on the third line of default script)
(gdb) bt
#0  kill () at kill.S:4
#1  0x0000000800b99ab0 in __fail (msg=<optimized out>) at /usr/src/lib/libc/secure/stack_protector.c:130
#2  0x0000000800b99a20 in __stack_chk_fail () at /usr/src/lib/libc/secure/stack_protector.c:137
#3  0x000000000027c862 in Scintilla::SurfaceImpl::MeasureWidths (this=0x80b25cb40, font=..., str=0x8014471fb "// in se\320\262conds", len=-1, positions=0x80b25af2c)
    at /usr/work/usr/ports/graphics/bonzomatic/work/Bonzomatic-2022-07-08/src/Platform.cpp:455
#4  0x0000000000379da6 in Scintilla::PositionCache::MeasureWidths (this=0x7ffffffdd480, surface=0x80b25cb40, vstyle=..., styleNumber=2, s=0x8014471fb "// in se\320\262conds", 
    len=15, positions=0x80b25aef0, pdoc=0x8014f8c00) at /usr/work/usr/ports/graphics/bonzomatic/work/Bonzomatic-2022-07-08/external/scintilla/src/PositionCache.cxx:678
#5  0x000000000035d786 in Scintilla::EditView::LayoutLine (this=0x7ffffffdd400, model=..., line=2, surface=0x80b25cb40, vstyle=..., ll=0x80b22cb20, width=1410)
    at /usr/work/usr/ports/graphics/bonzomatic/work/Bonzomatic-2022-07-08/external/scintilla/src/EditView.cxx:476
#6  0x000000000033228f in Scintilla::Editor::WrapOneLine (this=0x7ffffffdc1a0, surface=0x80b25cb40, lineToWrap=2)
    at /usr/work/usr/ports/graphics/bonzomatic/work/Bonzomatic-2022-07-08/external/scintilla/src/Editor.cxx:1386
#7  0x000000000032efd6 in Scintilla::Editor::WrapLines (this=0x7ffffffdc1a0, ws=Scintilla::Editor::wsAll)
    at /usr/work/usr/ports/graphics/bonzomatic/work/Bonzomatic-2022-07-08/external/scintilla/src/Editor.cxx:1461
#8  0x0000000000332f81 in Scintilla::Editor::Paint (this=0x7ffffffdc1a0, surfaceWindow=0x80af9d7c0, rcArea=...)
    at /usr/work/usr/ports/graphics/bonzomatic/work/Bonzomatic-2022-07-08/external/scintilla/src/Editor.cxx:1633
#9  0x0000000000287ba2 in ShaderEditor::Paint (this=0x7ffffffdc1a0) at /usr/work/usr/ports/graphics/bonzomatic/work/Bonzomatic-2022-07-08/src/ShaderEditor.cpp:248
#10 0x00000000002908fa in main (argc=1, argv=0x7fffffffe810) at /usr/work/usr/ports/graphics/bonzomatic/work/Bonzomatic-2022-07-08/src/main.cpp:574
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