Bug 108594 - GTK2: Transparency element make xorg crash
Summary: GTK2: Transparency element make xorg crash
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Draw (show other bugs)
Version:
(earliest affected)
5.1.6.2 release
Hardware: All Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-06-17 18:13 UTC by michael
Modified: 2018-05-30 17:31 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
crash file (18.98 KB, application/vnd.oasis.opendocument.graphics)
2017-06-26 20:33 UTC, michael
Details

Note You need to log in before you can comment on or make changes to this bug.
Description michael 2017-06-17 18:13:34 UTC
Description:
I made an element transparent, I put it in background, and I moved some element which were in front of this element. After few seconds, Libre Office draw began slow and xorg crashed.

In the syslog journal I see:
libreoffice-draw.desktop[16874]: ** (soffice:16892): WARNING **: Unknown event notification 36
gnome-session[15884]: (tracker-miner-fs:16055): Tracker-CRITICAL **:   (Sparql buffer) Error in task 0 of the array-update: UNIQUE constraint failed: nie:DataObject.nie:url (strerror of errno (not necessarily related): Aucun fichier ou dossier de ce type)

I have Ubuntu Gnome 16.04

Steps to Reproduce:
1. Create an element E1
2. Create an other element E2
3. Change the transparency of the element E2
4. Put the element E2 in background
5. Move the element E1

Actual Results:  
LibreOffice Draw began slow or/and xorg crash

Expected Results:
no crash


Reproducible: Sometimes

User Profile Reset: No

Additional Info:


User-Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:54.0) Gecko/20100101 Firefox/54.0
Comment 1 Xisco Faulí 2017-06-17 18:24:16 UTC Comment hidden (obsolete)
Comment 2 michael 2017-06-26 20:33:17 UTC
Created attachment 134301 [details]
crash file
Comment 3 michael 2017-06-26 20:34:41 UTC
I had also the bug on libreoffice 5.3
I attach a file which create crash of gnome.
You just need to change the transparency of the legends to crash the interface.
Thank you,
Comment 4 Xisco Faulí 2017-06-27 00:05:18 UTC
When you say the legend you mean the blue square, right?
I can't reproduce it in

Version: 6.0.0.0.alpha0+
Build ID: 08f6f9dded1b142b858c455da03319abac691655
CPU Threads: 4; OS Version: Linux 4.8; UI Render: default; VCL: gtk2; 
Locale: ca-ES (ca_ES.UTF-8); Calc: group

or gtk3

Could you please copy the info from Help - About LibreOffice?
Comment 5 michael 2017-06-27 19:31:27 UTC
Yes I mean the blue square.

My about:
Version: 5.3.4.2
Build ID: f82d347ccc0be322489bf7da61d7e4ad13fe2ff3
CPU Threads: 8; OS Version: Linux 4.4; UI Render: default; VCL: gtk2; Layout Engine: new; 
Locale: fr-FR (fr_FR.UTF-8); Calc: group

Thank you for your help
Comment 6 Buovjaga 2017-06-29 14:05:22 UTC
I think that Tracker-CRITICAL message is irrelevant: https://bugzilla.redhat.com/show_bug.cgi?id=1192224

I wonder, if the same happens in Ubuntu Gnome 17.04.
Comment 7 Jean-Baptiste Faure 2017-09-25 05:06:25 UTC
Not reproducible for me under Ubuntu 16.04 (Unity) with:

Version: 5.4.1.2
Build ID: 1:5.4.1~rc2-0ubuntu0.16.04.1~lo0
CPU threads: 4; OS: Linux 4.4; UI render: default; VCL: gtk3; 
Locale: fr-FR (fr_FR.UTF-8); Calc: single

Version: 5.4.3.0.0+
Build ID: 5deb6f29a4038f2de88abbc676e485f5bb5c150d
Threads CPU : 4; OS : Linux 4.4; UI Render : par défaut; VCL : gtk3; 
Ubuntu_16.04_x86-64
Locale : fr-FR (fr_FR.UTF-8); Calc: single

Version: 6.0.0.0.alpha0+
Build ID: a1976555e0ebb9fc1575c2241e8b0878ccb66410
Threads CPU : 4; OS : Linux 4.4; UI Render : par défaut; VCL: gtk3; 
Ubuntu_16.04_x86-64
Locale : fr-FR (fr_FR.UTF-8); Calc: single

@Michael:
You are using GTK2 VCL plugin. Please could you try the GTK3 plugin ?
To do that install libreoffice-gtk3 package, launch LibreOffice and check About LibreOffice: you should see VCL: gtk3 instead of VCL: gtk2.
If you still see gtk2, you can test in a terminal forcing using gtk3:
open a terminal and type the command
export SAL_USE_VCLPLUGIN="gtk3"
then launch LibreOffice from the terminal (command libreoffice).

Set status to NEEDINFO, please set it back to UNCONFIRMED once requested
informations are provided.

Best regards. JBF
Comment 8 michael 2017-09-28 18:46:14 UTC
Thank you very much Jean-Baptiste Faure, Your solution seems work. :)
Comment 9 Jean-Baptiste Faure 2017-09-29 20:56:56 UTC
(In reply to michael from comment #8)
> Thank you very much Jean-Baptiste Faure, Your solution seems work. :)

Thank you for the feedback. Changed the summary accordingly: GTK2 needed.

Best regards. JBF
Comment 10 Roman Kuznetsov 2017-10-22 16:49:07 UTC
no repro in
Xubuntu 16.04.3 in
Version: 6.0.0.0.alpha1
Build ID: c1d1f859b268f650143d48f294999cda0fa57350
CPU threads: 4; OS: Linux 4.11; UI render: default; VCL: gtk2; 
Locale: ru-RU (ru_RU.UTF-8); Calc: group
Comment 11 Xisco Faulí 2017-10-24 20:45:13 UTC
Hi Michael,
Which version of Gtk2 are you using?
Comment 12 QA Administrators 2018-05-02 15:46:54 UTC Comment hidden (obsolete)
Comment 13 QA Administrators 2018-05-30 16:47:44 UTC Comment hidden (obsolete)
Comment 14 michael 2018-05-30 17:29:32 UTC
QA Administrator,

Sorry I didn't see your previous message...
Jean-Baptiste Faure solved my problem.


Since, my bug submit I change my operating system. And now everything work fine. I can't reproduce the bug.
So I change the status to fixed.

Thank you,
Comment 15 Xisco Faulí 2018-05-30 17:31:47 UTC
Thanks for retesting with the latest version.
Setting to RESOLVED WORKSFORME as the commit fixing this issue hasn't been identified.