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

OpenBoard crashes when right-clicking on a text box #479

Closed
I027614 opened this issue Apr 22, 2021 · 11 comments
Closed

OpenBoard crashes when right-clicking on a text box #479

I027614 opened this issue Apr 22, 2021 · 11 comments
Labels

Comments

@I027614
Copy link

I027614 commented Apr 22, 2021

OpenBoard (both 1.5.4 and 1.6.1 versions) on Linux (Mageia 8, x-64) crashes when right-clicking on a text box.

From console:

openboard
libpng warning: iCCP: known incorrect sRGB profile
Persisting document; path is "/home/katnatek/.local/share/OpenBoard/document/OpenBoard Document 2021-04-19 21-34-45.133/metadata.rdf"
/usr/bin/openboard: line 17: 19305 Segmentation fault (core dumped) env QT_PLUGIN_PATH=$QT_PLUGIN_PATH:/usr/lib/openboard/plugins LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/lib/openboard/plugins/cffadaptor /usr/lib/openboard/OpenBoard "$@"

@letsfindaway
Copy link
Collaborator

Cannot reproduce that on openSUSE.

Which package did you install? Where did you download the package?

@I027614
Copy link
Author

I027614 commented Apr 22, 2021

@david-geiger
Copy link

david-geiger commented Apr 22, 2021

Hi,

I'm the Mageia maintainer of openboard package and I confirm that it segfault for us after right-clicking on the text box.

I tried the latest 1.6.1 release without success it also segfault, so here attached the full backtrace:

backtrace_openboard.txt

@david-geiger
Copy link

Here our package structure for Cauldron:
http://svnweb.mageia.org/packages/cauldron/openboard/current/

And the one for mageia 8:
http://svnweb.mageia.org/packages/updates/8/openboard/current/

@david-geiger
Copy link

Attached more backtrace:
full_backtrace_openboard.txt

@letsfindaway
Copy link
Collaborator

Thanks, but this looks really strange to me: the complete traceback does not contain a single "UBxxx" class, only Qt classes are referenced (besides the main application). Seems to happen during the delivery of the right-click event to a widget through all those Qt internal classes. Also the this pointer looks ok to me. So currently I have no further ideas...

@david-geiger
Copy link

Have you tested as this attached screenshot?

openboard-screenshot-carsh

@I027614
Copy link
Author

I027614 commented Apr 29, 2021

Just like that (even the same text). It crashes when right-clicking in the text box. :-(

@kaamui
Copy link
Member

kaamui commented Apr 30, 2021

Hi,

thanks for reporting this. I quickly checked and It's also happening on the official release on the three platforms...

Seems reported, and fixed : https://bugreports.qt.io/browse/QTBUG-88309, or maybe it's another one.

Please use the key shortcuts until he fix is available, as it seems the issue is related to the context menu.

EDIT : ok maybe it's on the Qt 5.15.3 release that is only available for users with a commercial licence...
https://www.qt.io/blog/commercial-lts-qt-5.15.3-released

@david-geiger
Copy link

Confirmed rebuilding qtbase 5.15.2 with QTBUG-88309 patch fixes this text box issue!

Thanks a lot @kaamui

@kaamui kaamui added the bug label May 17, 2021
@kaamui
Copy link
Member

kaamui commented May 17, 2021

The bug appeared with Qt 5.15.1 so compiling with 5.15.0 binaries also works.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants