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: UNCONFIRMED
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
  Show dependency treegraph
 
Reported: 2023-11-10 13:35 UTC by jose.velez
Modified: 2023-11-27 11:02 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?