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: RESOLVED INSUFFICIENTDATA
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-11-25 15:34 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 Comment hidden (obsolete)
Comment 7 QA Administrators 2025-11-25 15:34:54 UTC
Dear jose.velez,

Please read this message in its entirety before proceeding.

Your bug report is being closed as INSUFFICIENTDATA due to inactivity and
a lack of information which is needed in order to accurately
reproduce and confirm the problem. We encourage you to retest
your bug against the latest release. If the issue is still
present in the latest stable release, we need the following
information (please ignore any that you've already provided):

a) Provide details of your system including your operating
   system and the latest version of LibreOffice that you have
   confirmed the bug to be present

b) Provide easy to reproduce steps – the simpler the better

c) Provide any test case(s) which will help us confirm the problem

d) Provide screenshots of the problem if you think it might help

e) Read all comments and provide any requested information

Once all of this is done, please set the bug back to UNCONFIRMED
and we will attempt to reproduce the issue. Please do not:

a) respond via email 

b) update the version field in the bug or any of the other details
   on the top section of our bug tracker

Warm Regards,
QA Team

MassPing-NeedInfo-FollowUp