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

Fcitx5 crashes KDE Konsole when pressing Context key #61

Closed
slikie opened this issue May 18, 2020 · 9 comments
Closed

Fcitx5 crashes KDE Konsole when pressing Context key #61

slikie opened this issue May 18, 2020 · 9 comments

Comments

@slikie
Copy link

slikie commented May 18, 2020

oops, press enter and it got sent.


Some possible infomation:
OS/DE: Arch Linux + KDE
Fcitx5 version: latest in repo, has this issue for possibly all the versions
After killing fcitx5, context key doesn't crash konsole.
Should be quiet easy to reproduce.


Sorry for such a messy issue, please holler if you need any more info

@wengxt
Copy link
Member

wengxt commented May 18, 2020

What is a context key?.. Sorry for my ignorance.

@slikie
Copy link
Author

slikie commented May 18, 2020

Sorry it might be more known as the menu ≣ key

@wengxt
Copy link
Member

wengxt commented May 18, 2020

can you provide a backtrace of konsole?

you can try to do that with gdb konsole in another terminal like xterm. After crash, run "bt" in the gdb.

@slikie
Copy link
Author

slikie commented May 18, 2020

@wengxt
Copy link
Member

wengxt commented May 18, 2020

.. this looks werid, we don't call into such a function..

Can you try to recompile fcitx5-qt im module with debug symbol to see if we can get a more meaningful backtrace?

git clone git://github.com/fcitx/fcitx5-qt
cd fcitx5-qt/
mkdir build
cd build/
cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Debug -DENABLE_QT4=Off -DBUILD_ONLY_PLUGIN=On
cmake --build .
sudo cmake --install .

@wengxt
Copy link
Member

wengxt commented May 18, 2020

Also, may I ask if you system up to date? Especially for Qt5.

I tried to look into the relevant part carefully, in QPlatformScreen::serialNumber() is the function before QPlatformScreen::cursor(). There might be a new virtual function introduced in QPlatformScreen and shift the vtable of QPlatformScreen by one.

If you only installed fcitx5 recently without Syu, you might using fcitx5-qt against a older Qt (5.13 I assume, because my local diff between Qt 5.13/5.14 shows a new virtual function).

Please update your system and reopen if it's not fixed.

@wengxt wengxt closed this as completed May 18, 2020
@slikie
Copy link
Author

slikie commented May 18, 2020

Thank you for your time, this issue is indeed fixed after manual build against machine qt5 -- the problem is, I'm using testing branch, with Qt 5.15beta.
CC @felixonmars , fcitx5-qt is not in community-testing, and there might be issue lying.

@felixonmars
Copy link
Contributor

No, qt 5.15beta is in [kde-unstable], which doesn't contain rebuilds for any other packages than kde iirc.

@slikie
Copy link
Author

slikie commented May 19, 2020

iirc qt5 beta used to be in testing repo and is not at the time being, am sorry that I did not check before asking.

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

3 participants