Bug 95300 - Impress stalls on 3-liner text block in Ubuntu 15.10 and 15.04 but not in 14.04 and 12.04
Summary: Impress stalls on 3-liner text block in Ubuntu 15.10 and 15.04 but not in 14....
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Impress (show other bugs)
Version:
(earliest affected)
5.0.2.2 release
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-10-24 13:09 UTC by ullix
Modified: 2016-12-05 10:53 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments
Libreoffice Impress presentation which stalls during animation (58.43 KB, application/vnd.oasis.opendocument.presentation)
2015-10-24 13:09 UTC, ullix
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ullix 2015-10-24 13:09:40 UTC
Created attachment 119927 [details]
Libreoffice Impress presentation which stalls during animation

I have a presentation originally created in Libreoffice Impress, which played well on many variants of Libreoffice (from version 3 to 5) and on Ubuntu 12.04 and 14.04, and on various hardware, and even on windows computer after converting it to powerpoint format.

However, when played on either Ubuntu 15.04 or 15.10 it stalls at a certain slide. This slide has a three-line text block to be shown via user defined animation by a mouse click. However, when clicked, this text block is NOT shown, and furthermore, the whole presentation stalls, i.e. any further clicks do not result in showing further elements/pages.

I was successful in stripping-off almost everything from the presentation and
still show the problem in a very simple presentation, basically
consisting of the one problematic slide only (plus 2 dummy slides). This
demo presentation is attached.

After the presentation is started, the first click shows a vertical,
arrowed line, the second should zoom up the textbox, but it does not.
Strangely, when the third line of this text box is removed, it works.

This demo was tested on the following systems using 
Libreoffice 4.4.5.2 40m0(Build 2):
12.04.5 LTS, kernel 3.13.0-58, working ok 
14.04.2 LTS, kernel 3.19.0-25, working ok
15.04,____ , kernel 3.19.0-25, NOT working (tried with Cinnamon, Gnome Flashback, MATE desktops)

After upgrading to Ubuntu Wily I tested again with 
Libreoffice 5.0.2.2 Build ID: 00m0(Build:2):
15.10, ____, kernel 4.2.0-16, NOT working on Mate desktop (all window manger Marco, Metacity, Compiz)

When in the 15.04 or 15.10 example libreoffice is started via the command
line, the following output is printed in the terminal after
starting the presentation on the first slide, and then the THIRD click is
made:

  ullix@xps13m15:~$ libreoffice test3line.odp

  ** (soffice:4253): WARNING **: Invalidate all children called 
  ** (soffice:4253): WARNING **: Invalidate all children called
  ** (soffice:4253): WARNING **: Invalidate all children called
  
  ** (soffice:4253): WARNING **: Unknown event notification 38

  ** (soffice:4253): WARNING **: Invalidate all children called
  
  ** (soffice:4253): WARNING **: Invalidate all children called
and so on

This is a really severe problem for me, as I cannot use a laptop running a new os for my presentation!
Comment 1 ullix 2015-10-24 13:13:35 UTC
The working Ubuntu 14.04 and non-working 15.04 (now 15.10) installation are a dual boot on a DELL XPS 13 (9343) laptop, so, hardware is identical.
Comment 2 tommy27 2015-10-24 13:31:05 UTC
no stall under Win8.1 x64 using LibO 5.0.3.1
Comment 3 Björn Michaelsen 2015-10-25 00:33:55 UTC
NOT reproducible with LibreOffice 4.4.5~rc2-0ubuntu1 (https://launchpad.net/~libreoffice/+archive/ubuntu/libreoffice-4-4 ) from Ubuntu ppa on Ubuntu 15.04.

Please provide more information, so that this can be reproduced => NEEDINFO

(maybe a regression in hardware drivers for your device -- aka unrelated to libreoffice itself?)
Comment 4 ullix 2015-10-25 08:05:02 UTC
I'd be happy to provide more info. How can I do this?
Command line does not seem to offer any verbosity settings.
Comment 5 ullix 2015-10-26 10:59:43 UTC
Björn's suggestion of this bug being a hardware driver regression made me do some investigations using some new computers and old clunkers lying around.

Preliminary possible conclusion: this bug exists on all computers with Intel CPUs younger than 8(!) years, but not with AMD CPUs, and only when running *buntu 15.04 and 15.10.

Running *buntu 12.04 and 14.04 worked fine on all computers.

What I did: I downloaded Ubuntu MATE 15.10 (kernel Linux 4.2.0-16-generic (x86_64)) and created a LIVE USB stick (had to use mkusb, as a stick made with usb-creator-gtk from 14.04 was not bootable). 

This stick was run as LIVE system on several computers, and the stalling test3line.odp presentation was tested. A hardware report using hardinfo was created also.

Result: (year the CPU was launched)
(2006): WORKING: Intel Core2 T7200...(Chipset 945GM)
(2008): NOT WKG: Intel Atom 300......(Chipset 945GC)
(2013): NOT WKG: Intel i7-4771.......(HD Graphics 4600)
(2015): NOT WKG: Intel i5-5200.......(HD Graphics 5500)

(2012): WORKING: AMD A10-5800K.......(Radeon 7660D)

Assuming this has something to do with the graphics drivers, I added the info on chipset/graphic. All computers used the build-in graphics. All Intel computers used the i915 kernel module. (The AMD used radeon).

Impress does not crash on this bug - there simply is no update of the screen until you have done enough clicks that the presentation ended. Then it is back to the normal edit window.  Even --backtrace does not give any info.

So, what now?
Comment 6 ullix 2015-10-28 12:59:19 UTC
Well, the real cause for the bug is the screen resolution. The apparent correlation with age of CPU (my comment #5) is merely a consequence of older systems not supporting modern screen resolutions.

When I give a presentation, I almost never know what hardware the host is providing and don't have the time to figure out, what setting of my laptop can be used to work. This problem must be solved, I am getting desperate!

Keep in mind that this issue currently shows on the non-LTS versions of Ubuntu. Once the 16.04 LTS is available and more widely in use, and modern equipment becomes more generic, the issue will likely be hitting many others!

I tested my DELL XPS13 with different screen resolutions on either the internal monitor, or an external one, or both:

A-Rat is Aspect-Ratio Horizontal / Vertical
Pixelcount in Megapixels 

Hori x Vert ... working? ... A-Rat ... Pixelcount
1920 x 1200 ... fail ....... 1.60 .... 2.30
1920 x 1080 ... fail ....... 1.78 .... 2.07
1680 x 1050 ... fail ....... 1.60 .... 1.76
1600 x 1200 ... fail ....... 1.33 .... 1.92
1600 x 1024 ... fail ....... 1.56 .... 1.64
1400 x 1050 ... fail ....... 1.33 .... 1.47

1600 x 900 .... ok ......... 1.78 .... 1.44
1440 x 900 .... ok ......... 1.60 .... 1.30
1368 x 768 .... ok ......... 1.78 .... 1.05
1280 x 1024 ... ok ......... 1.25 .... 1.31
1280 x 960 .... ok ......... 1.33 .... 1.23
1024 x 768 .... ok ......... 1.33 .... 0.79
640 x 480 ..... ok ......... 1.33 .... 0.31

The aspect ratio can be excluded as cause, but the Pixelcount somehow may be the culprit. This is further supported from the result of using the internal monitor and the external one simultaneously. The 1280x960 resolution working ok on a single monitor failed on a 2-monitor setup, as if the total pixelcount of interal + external may be relevant. But there are too many variables to try further.

Any buffers in Libreoffice at their limit?

Please, help.
Comment 7 ullix 2015-10-28 14:45:12 UTC
One way to overcome this bug is to remove libreoffice completely and install OpenOffice 4.1.1 instead.

It plays the test3line.odp at every screen resolution.
Comment 8 Buovjaga 2015-11-08 17:41:00 UTC
No stalling here.

Windows: 1920x1080
Ubuntu (in a VM): 1920x994

Win 7 Pro 64-bit Version: 5.1.0.0.alpha1+
Build ID: 6da681442b17c723f9408a806e8d2367441ad65a
TinderBox: Win-x86@62-merge-TDF, Branch:MASTER, Time: 2015-11-07_23:13:46
Locale: fi-FI (fi_FI)

Ubuntu 15.10 64-bit 
Version: 5.0.2.2
Build ID: 00m0(Build:2)
Locale: en-US (en_US.UTF-8)
Comment 9 Aron Budea 2016-12-05 01:20:30 UTC
Ullix, does this issue still come up in a current release? (5.1.6 or 5.2.3)
Comment 10 ullix 2016-12-05 10:15:30 UTC
#Aron:
I checked 4 systems available to me, each with different hardware, installation of Ubuntu Mate 16.04.

I have Libreoffice 5.1.4.2 on three systems, and 5.1.6.2 on one.

In all cases the threeliner worked correctly!

Has the bug been found and fixed? Or has it disappeared for now for unknown reasons, and may come back, as it did several times in the past?
Comment 11 Buovjaga 2016-12-05 10:53:24 UTC
(In reply to ullix from comment #10)
> Has the bug been found and fixed? Or has it disappeared for now for unknown
> reasons, and may come back, as it did several times in the past?

Let's close and if it comes back, the report can be set to UNCONFIRMED again.