Bug 114156 - Theme personalization causes hang, lack of responsiveness requiring force kill, or even crash
Summary: Theme personalization causes hang, lack of responsiveness requiring force kil...
Status: RESOLVED DUPLICATE of bug 105316
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
5.2.5.1 release
Hardware: x86-64 (AMD64) macOS (All)
: high major
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: haveBacktrace, regression
Depends on:
Blocks:
 
Reported: 2017-11-30 01:26 UTC by DavidS
Modified: 2017-12-03 01:39 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
lldb backtrace (22.17 KB, text/plain)
2017-11-30 09:39 UTC, Alex Thurgood
Details

Note You need to log in before you can comment on or make changes to this bug.
Description DavidS 2017-11-30 01:26:24 UTC
Description:
Crash on personalization

I wanted to change the theme of LO, like I've done before installing v 5.3.7. However after installing v 5.3.7 and following the theme personalization flow (see below), LO quits.

Follow this order to get the crash:

Open LO;
Open Preferences;
Open LibreOffice tab;
Click on Personalization;
Click the Own Theme radio button;
Click the Select Theme button;
Paste in one of the theme URLs below, into the Theme Address box;
Click OK in that window;
LO crashes. Alternatively, it stalls at "Searching please wait".
_______________
LibreOffice skins are Firefox themes.

Breeze Dark
https://addons.mozilla.org/en-US/firefox/addon/breeze-dark/

Steps to Reproduce:
Open LO;
Open Preferences;
Open LibreOffice tab;
Click on Personalization;
Click the Own Theme radio button;
Click the Select Theme button;
Paste in one of the theme URLs below, into the Theme Address box;
Click OK in that window;
LO crashes. Alternatively, it stalls at "Searching please wait".
_______________
LibreOffice skins are Firefox themes.

Breeze Dark
https://addons.mozilla.org/en-US/firefox/addon/breeze-dark/

Actual Results:  
LO crashes. Alternatively, it stalls at "Searching please wait".

Expected Results:
LO theme changes.


Reproducible: Always


User Profile Reset: No



Additional Info:
This has worked before v 5.3.7. I have kept the crash report, if needed.


User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:57.0) Gecko/20100101 Firefox/57.0
Comment 1 Alex Thurgood 2017-11-30 09:03:20 UTC
I can reproduce this with LO5362 on OSX 10.13.

Please indicate with which version of LO and which OS this worked previously, so that I can test whether this is a regression on OSX.
Comment 2 Alex Thurgood 2017-11-30 09:07:59 UTC
I can also reproduce this with LO5251 and the given link, so perhaps the problem is the theme itself rather than LibreOffice ?
Comment 3 Alex Thurgood 2017-11-30 09:17:38 UTC
I tried various themes, including this one:

https://addons.mozilla.org/fr/firefox/addon/enlightenment-by-macindows/

and in various versions of LibreOffice, including :

Version: 5.4.3.2
Build ID: 92a7159f7e4af62137622921e809f8546db437e5
CPU threads: 4; OS: Mac OS X 10.13.1; UI render: default; 
Locale: fr-FR (fr_FR.UTF-8); Calc: group

Each time, LibreOffice hangs when validating the URL. All LO windows become unresponsive, not even the close/resize/expand buttons work, requiring force kill.

I suspect a VCL scheduling problem.
Comment 4 Alex Thurgood 2017-11-30 09:20:01 UTC
As I can reproduce this with 

ersion: 5.2.5.1
Build ID: 0312e1a284a7d50ca85a365c316c7abbf20a4d22
Threads CPU : 4; Version de l'OS :Mac OS X 10.13.1; UI Render : par défaut; 
Locale : fr-FR (fr_FR.UTF-8); Calc: group

Setting version field to that version as earliest in which problem detected (so far).
Comment 5 Alex Thurgood 2017-11-30 09:28:18 UTC
In Version 4.0.5.2 (Build ID: 5464147a081647a250913f19c0715bca595af2f)

I can choose a URL, the theme isn't installed, or at least it doesn't display, but LibreOffice doesn't hang, so marking as regression.
Comment 6 Alex Thurgood 2017-11-30 09:37:23 UTC
I can confirm repeated crashing with my master 6.0 debug build. Enclosing backtrace.
Comment 7 Alex Thurgood 2017-11-30 09:39:01 UTC
Created attachment 138109 [details]
lldb backtrace
Comment 8 Telesto 2017-11-30 22:07:47 UTC
Likely not a MacOS only bug & a duplicate. See bug 113385 & bug 105316
Comment 9 Alex Thurgood 2017-12-01 10:27:37 UTC
(In reply to Telesto from comment #8)
> Likely not a MacOS only bug & a duplicate. See bug 113385 & bug 105316

Indeed, quite possibly a duplicate of bug 105316
Comment 10 Alex Thurgood 2017-12-01 10:29:30 UTC
Given the VCL:Window code in the backtrace, setting as DUP of 105316

*** This bug has been marked as a duplicate of bug 105316 ***
Comment 11 Aldo Belus 2017-12-01 13:07:21 UTC
I have a:

GNU/Linux Manjaro KDE Edition (17.0.6)
KDE version Plasma: 5.11.3
KDE Frameworks: 5.40.0
Qt Version: 5.9.2
Kernel: 4.14.2-1-MANJARO
OS type: 64 bits

And I'm having the very same issues as explained here, but I don't need to cut connection to have a crash of LO as it happens with this other bugs. 

I think they aren't duplicates. It happens every time I try to select a theme, whatever theme (I have tried with 7 of them, I'm tired to try and watch LO crash!).

I'm pluged to Internet, directly, have connection permanently, so it's not the same problem.

Don't you think so?
Comment 12 Aldo Belus 2017-12-01 13:13:51 UTC
I'm sorry, the LO data:

Versión: 5.3.7.2.0+
Id. de compilación: 5.3.7-6
Subprocs. CPU: 4; SO: Linux 4.14; Repres. IU: predet.; VCL: kde4; Motor de trazado: HarfBuzz; 
Configuración regional: es-ES (es_ES.UTF-8); Calc: group
Comment 13 Telesto 2017-12-01 15:19:32 UTC
(In reply to Aldo Belus from comment #11)
> I have a:
> 
> GNU/Linux Manjaro KDE Edition (17.0.6)
> KDE version Plasma: 5.11.3
> KDE Frameworks: 5.40.0
> Qt Version: 5.9.2
> Kernel: 4.14.2-1-MANJARO
> OS type: 64 bits
> 
> And I'm having the very same issues as explained here, but I don't need to
> cut connection to have a crash of LO as it happens with this other bugs. 
> 
> I think they aren't duplicates. It happens every time I try to select a
> theme, whatever theme (I have tried with 7 of them, I'm tired to try and
> watch LO crash!).
> 
> I'm pluged to Internet, directly, have connection permanently, so it's not
> the same problem.
> 
> Don't you think so?

There are multiple ways to reproduce bug 105316 with different crash reports. It isn't limited to the initial steps to reproduce (see for example  comment 5). The code isn't thread safe (bug 105316 comment 7 & 8), which makes a crash likely.. The crashing behaviour can differ a bit between operating systems, though. 

Feel free to open a new report if the issue still exists after a bug fix is released (for bug 105316)
Comment 14 DavidS 2017-12-03 01:36:03 UTC
(In reply to Alex Thurgood from comment #1)
> I can reproduce this with LO5362 on OSX 10.13.
> 
> Please indicate with which version of LO and which OS this worked
> previously, so that I can test whether this is a regression on OSX.

Alex,

Sorry, I left out the MacOS. It was:

MacOS 10.12.6
LO 5.3.7
Comment 15 DavidS 2017-12-03 01:39:58 UTC
(In reply to Alex Thurgood from comment #1)
> I can reproduce this with LO5362 on OSX 10.13.
> 
> Please indicate with which version of LO and which OS this worked
> previously, so that I can test whether this is a regression on OSX.

Alex, please ignore previous response. Sorry, the version that previously worked were:

MacOS 10.12.5
LO 5.3.6

if my memory serves.