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

Clicking at any point in xi-qt gives SIGSEGV #6

Open
i1qwert opened this issue May 23, 2019 · 3 comments
Open

Clicking at any point in xi-qt gives SIGSEGV #6

i1qwert opened this issue May 23, 2019 · 3 comments

Comments

@i1qwert
Copy link
Contributor

i1qwert commented May 23, 2019

after debugging i saw that when i click at any point in editor window, it calls ContentView::getLineColumn(const QPoint &pos) and then inside of that function calls lineCache->get(line)->utf8Length() that gives SIGSEGV;

qt creator stops at this line of code:

Q_REQUIRED_RESULT QByteArray toUtf8() const &
-> { return toUtf8_helper(*this); }

@i1qwert
Copy link
Contributor Author

i1qwert commented May 23, 2019

also when i open file, totalLines is always zero

and wherever i click
line = 0 (which later becomes -1 after totalLines - 1)
column = -1

@i1qwert
Copy link
Contributor Author

i1qwert commented May 23, 2019

oops i guess i didn't notice Windows 10 requirement

@i1qwert
Copy link
Contributor Author

i1qwert commented Jul 5, 2019

oof i didn't mention that i get only black screen (and nothing else) in the editor
well but still can see tabs and their titles

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