Bug 158164 - Writer crashes at start sometimes when kf5 wayland and LanguageTool extension
Summary: Writer crashes at start sometimes when kf5 wayland and LanguageTool extension
Status: NEEDINFO
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.6.2.1 release
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Not Assigned
URL: https://github.com/languagetool-org/l...
Whiteboard:
Keywords: wantBacktrace
Depends on:
Blocks: KDE, KF5 LanguageTool
  Show dependency treegraph
 
Reported: 2023-11-10 13:35 UTC by jose.velez
Modified: 2025-01-12 03:13 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description jose.velez 2023-11-10 13:35:16 UTC
Description:
Writer crashes at start sometimes when kf5 wayland and LanguageTool extension is installed.

Steps to Reproduce:
1.Neon + Wayland
2.Install the LanguageTool extension (6.0 or 6.3).
3.Open libreoffice and close it several times.

Actual Results:
Sometimes it crash.

Expected Results:
It opens every time.


Reproducible: Sometimes


User Profile Reset: No

Additional Info:
If you launch libreoffice from the shell, and language tool is installed, you can read theses errors:

$ libreoffice --writer
qt.qpa.wayland: Wayland does not support QWindow::requestActivate()
There's already a global menu bar...
QObject::killTimer: Timers cannot be stopped from another thread
QObject::~QObject: Timers cannot be stopped from another thread


$ libreoffice --writer
qt.qpa.wayland: Wayland does not support QWindow::requestActivate()
This plugin supports grabbing the mouse only for popup windows
This plugin supports grabbing the mouse only for popup windows
qt.qpa.wayland: Wayland does not support QWindow::requestActivate()
This plugin supports grabbing the mouse only for popup windows
This plugin supports grabbing the mouse only for popup windows
qt.qpa.wayland: Wayland does not support QWindow::requestActivate()
There's already a global menu bar...
QObject::killTimer: Timers cannot be stopped from another thread
QObject::~QObject: Timers cannot be stopped from another thread
Comment 1 Stéphane Guillou (stragu) 2023-11-24 14:41:36 UTC
Thank you for the report.
Can you please share the full version information copied from Help > About LibreOffice?
Any chance you could provide crash backtrace?
Sounds similar to bug 144994 and https://github.com/languagetool-org/languagetool/issues/6286
Comment 2 jose.velez 2023-11-25 10:19:12 UTC
(In reply to Stéphane Guillou (stragu) from comment #1)
> Thank you for the report.
> Can you please share the full version information copied from Help > About
> LibreOffice?
> Any chance you could provide crash backtrace?
> Sounds similar to bug 144994 and
> https://github.com/languagetool-org/languagetool/issues/6286


About libreoffice:
Version: 7.6.3.2 (X86_64) / LibreOffice Community
Build ID: 60(Build:2)
CPU threads: 20; OS: Linux 6.2; UI render: default; VCL: kf5 (cairo+wayland)
Locale: es-ES (en_US.UTF-8); UI: en-US
Ubuntu package version: 4:7.6.3~rc2-0ubuntu0.22.04.1~lo3
Calc: threaded

About the Linux version:
Distributor ID: Neon
Description:    KDE neon 5.27
Release:        22.04
Codename:       jammy

Previous versions of Libreoffice are afected too.
Comment 3 QA Administrators 2023-11-26 03:14:09 UTC Comment hidden (obsolete)
Comment 4 Stéphane Guillou (stragu) 2023-11-27 11:02:59 UTC
Thank you.

No repro with:

Version: 7.6.3.2 (X86_64) / LibreOffice Community
Build ID: 29d686fea9f6705b262d369fede658f824154cc0
CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: kf5 (cairo+wayland)
Locale: en-AU (en_AU.UTF-8); UI: en-US
Calc: threaded

LanguageTool 6.3 (2023-10-06 20:34:38 +0000, fb238b2)
OS: Linux 5.15.0-89-generic (amd64)
LibreOffice 7.6.3.2 (The Document Foundation), en-US
Java version: 11.0.20.1 (Ubuntu)
Java max/total/free memory: 3968MB, 250MB, 76MB

I get in the console:
QSocketNotifier: Can only be used with threads started with QThread
qt.qpa.wayland: Wayland does not support QWindow::requestActivate()
This plugin supports grabbing the mouse only for popup windows
qt.qpa.wayland: Non-toplevel surfaces can't request window states

But I don't get your:
There's already a global menu bar...
QObject::killTimer: Timers cannot be stopped from another thread
QObject::~QObject: Timers cannot be stopped from another thread

Michael, any idea about the Qt warnings Jose is getting?
Comment 5 Michael Weghorn 2024-07-10 07:25:21 UTC
Is this still a problem with the latest LO version? (If so, please copy the info from "Help" -> "About LibreOffice".)

It would also be interesting whether this still happens with the kf6 VCL plugin, that didn't exist yet when the original bug report was created.
Comment 6 QA Administrators 2025-01-12 03:13:39 UTC
Dear jose.velez,

This bug has been in NEEDINFO status with no change for at least
6 months. Please provide the requested information as soon as
possible and mark the bug as UNCONFIRMED. Due to regular bug
tracker maintenance, if the bug is still in NEEDINFO status with
no change in 30 days the QA team will close the bug as INSUFFICIENTDATA
due to lack of needed information.

For more information about our NEEDINFO policy please read the
wiki located here:
https://wiki.documentfoundation.org/QA/Bugzilla/Fields/Status/NEEDINFO

If you have already provided the requested information, please
mark the bug as UNCONFIRMED so that the QA team knows that the
bug is ready to be confirmed.
 
Thank you for helping us make LibreOffice even better for everyone!

Warm Regards,
QA Team

MassPing-NeedInfo-Ping