Bug 93740 - Special object in unit test "media_embedding" makes that LO does not respond in presentation mode
Summary: Special object in unit test "media_embedding" makes that LO does not respond ...
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Impress (show other bugs)
(earliest affected) Master
Hardware: x86 (IA32) Windows (All)
: high major
Assignee: Not Assigned
Keywords: bisected, filter:odp, regression
Depends on:
Reported: 2015-08-28 11:34 UTC by Regina Henschel
Modified: 2017-11-15 12:45 UTC (History)
5 users (show)

See Also:
Crash report or crash signature:

File which makes LO hang in presentation mode (182.06 KB, application/vnd.oasis.opendocument.presentation)
2015-08-28 11:34 UTC, Regina Henschel
officeotron failed on attached mediaOpenGL.odp (3.93 KB, text/plain)
2016-11-14 19:23 UTC, Terrence Enger

Note You need to log in before you can comment on or make changes to this bug.
Description Regina Henschel 2015-08-28 11:34:32 UTC
Created attachment 118243 [details]
File which makes LO hang in presentation mode

Open attached document. It is derived from file media_embedding.odp from sd/qa/unit/da. I removed the unused presentation objects and the sound object.
Start presentation.
Click on background.
Expected behavior: Because the presentation has only this one slide "Click to exit presentation" should appear.
Observed behavior: LibreOffice does not respond. Only when you call task manager, it will leave the abnormal state.

I use a self-built debug build on 32-bit Windows 7.
Build ID: d3de490437df4c9093f32e97fc185066d64c0f46
Locale: de-DE (de_DE)

The options "Use OpenGL for all rendering" and "Allow use of OpenCL" are off.

Find informations about my graphic card in attachments https://bugs.documentfoundation.org/attachment.cgi?id=118112 and https://bugs.documentfoundation.org/attachment.cgi?id=118113
Comment 1 Buovjaga 2015-09-14 08:20:35 UTC
Didn't hang for me.

Win 7 Pro 64-bit Version:
Build ID: 88c51cd55d1a9b29e62269c53b3923770253ab07
TinderBox: Win-x86@62-merge-TDF, Branch:MASTER, Time: 2015-09-11_13:09:15
Locale: en-US (fi_FI)
Comment 2 Aron Budea 2016-06-02 03:18:16 UTC
Regina, can you check if this still occurs for you in a current version?
Comment 3 Regina Henschel 2016-11-02 22:23:44 UTC
It is worse in Version:
Build ID: 8a796410ec8f440b4163b15b928347c499da7a8f
CPU Threads: 4; OS Version: Windows 6.1; UI Render: default; 
TinderBox: Win-x86@42, Branch:master, Time: 2016-10-20_23:07:21
Locale: de-DE (de_DE); Calc: group

LibreOffice crashes, if I try to open the file, and then restarts immediately. Same on second try. I get no option to recover and a lock-file ~... remains.
Comment 4 Xisco Faulí 2016-11-02 22:32:15 UTC
I can't reproduce it in

Build ID: 1b0aa768f2c5da65074a6eacfed5f61a121fb13d
CPU Threads: 4; OS Version: Linux 4.2; UI Render: default; VCL: gtk3; Layout Engine: old; 
Locale: ca-ES (ca_ES.UTF-8); Calc: group

Does resetting the profile improve the situation?
Comment 5 Regina Henschel 2016-11-02 22:50:59 UTC
I have used a new user profile already, and I have verified, that OpenGL is disabled, before testing.
Comment 6 Buovjaga 2016-11-03 10:30:38 UTC
Ah, now I repro. I had to click on the task bar buttons a bit to make it leave the weird state.

Works in 5.0.

Raising priority a bit as it is a file from unit tests..

Win 7 Pro 64-bit Version:
Build ID: 4b4abb73fcd7f2802e73102b3e7c30face8d309c
CPU Threads: 4; OS Version: Windows 6.1; UI Render: default; Layout Engine: old; 
TinderBox: Win-x86@39, Branch:master, Time: 2016-10-31_02:54:50
Locale: fi-FI (fi_FI); Calc: group

Versio: (x64)
Käännöksen ID: 37b43f919e4de5eeaca9b9755ed688758a8251fe
Maa-asetus: fi-FI (fi_FI)
Comment 7 Terrence Enger 2016-11-14 19:23:06 UTC
Created attachment 128755 [details]
officeotron failed on attached mediaOpenGL.odp

I do not know what to make of the officeotron output.  Attaching it
here just for good measure.

Working on Windows Vista in the bibisect-win32-5.3 repository, I
deemed it "bad" when LibreOffice would ...
(*) display the splash screen
(*) repeatedly, until I typed <ctrl>+C ...
      - display splash screen.
      - display the beginning of an application window, but without
        anything in the title bar or in the document area.

The results, from `git bisect bad` (whitespace added) ...

    f2da946a9167aaae6b30e21fff2ac1861bffea5d is the first bad commit
    commit f2da946a9167aaae6b30e21fff2ac1861bffea5d
    Author: Norbert Thiebaud <nthiebaud@gmail.com>
    Date:   Sat Jun 4 20:49:50 2016 -0700

        source sha:210c39dd9a6ebaa964c03c20e4b442ea36941ae9

        source sha:210c39dd9a6ebaa964c03c20e4b442ea36941ae9

    :040000 040000 285a11d79cf82e6f59ea25601d7ef182661410da
    4a58922b9de11d99 M      instdir

and from `git bisect log` (whitespace added) ...

    # bad: [2e5256b83814c5afeee8e0ef13333a803e991288]
        source sha:6fe0706f6726e5a5446c9f44e3d139cf73adeab9
    # good: [defb73f1c6e2a66dbd21ba89e684f57427e8bc4b]
        source sha:5b168b3fa568e48e795234dc5fa454bf24c9805e
    git bisect start '2e5256b' 'oldest'
    # bad: [470e63808ce80588af14a79583f54bec38da3ccb]
        source sha:a75d49241df2e0dd2f1bcd3ce7fae3197eb5afe8
    git bisect bad 470e63808ce80588af14a79583f54bec38da3ccb
    # bad: [c9355ef779bf664857ef6998ecd4b432ee62c5ed]
        source sha:90cf31d8fefb46adc582bc2466fae15778f2cfd7
    git bisect bad c9355ef779bf664857ef6998ecd4b432ee62c5ed
    # bad: [4ccfcec2b4fa0a9fb7fd470b58a1f8c03e3d7764]
        source sha:7a60b2f3deaeced4352152525d1bb511a26b42bb
    git bisect bad 4ccfcec2b4fa0a9fb7fd470b58a1f8c03e3d7764
    # bad: [a83f00d0b76a942d241efba68b4b4a38a9c338a6]
        source sha:0ade7b0d7764ffa40dc4598389f0a5e0cdf0b039
    git bisect bad a83f00d0b76a942d241efba68b4b4a38a9c338a6
    # good: [8a536ece637656583371a5fdd5acc7403b8bc172]
        source sha:88c03cd07a171e05c7fb4dcade8baa28e7c5a770
    git bisect good 8a536ece637656583371a5fdd5acc7403b8bc172
    # good: [8df257c904455455a076813d3d29a77b14ad19ed]
        source sha:fa8759400ef4adda2fe5570a9343960529786f39
    git bisect good 8df257c904455455a076813d3d29a77b14ad19ed
    # good: [58b1efcf9a52bb6d9ddb0c3e3dcc9ba066320fae]
        source sha:c6d553b5fac93d97cb0d316586db34f4d5a8def1
    git bisect good 58b1efcf9a52bb6d9ddb0c3e3dcc9ba066320fae
    # bad: [6fea047878e4132d1ed335de9f787b62500874d3]
        source sha:fce299fc64fcfe5280966631613edda7e6031c16
    git bisect bad 6fea047878e4132d1ed335de9f787b62500874d3
    # bad: [802ddd3f2a1df7f5cdb168d8c99a5449259c90c9]
        source sha:623de75b6515b8e9b6ce2766e7d90277c8714d82
    git bisect bad 802ddd3f2a1df7f5cdb168d8c99a5449259c90c9
    # bad: [b0ef26cd4b1ee2cde9b34ae8f4c567fdd16febb0]
        source sha:643b70006fd5f6762561696421808f20d4e1e86f
    git bisect bad b0ef26cd4b1ee2cde9b34ae8f4c567fdd16febb0
    # bad: [8f91c16f4951eaa7fe1eb7867ec416f25a5db074]
        source sha:90dcb7d3269340542cfed82b4c0133451cc66829
    git bisect bad 8f91c16f4951eaa7fe1eb7867ec416f25a5db074
    # bad: [22ff3995a38aeb10523bba64a6d79032cff76de1]
        source sha:4aee1237a59808cbd58c9c02870063d5a7156710
    git bisect bad 22ff3995a38aeb10523bba64a6d79032cff76de1
    # bad: [f2da946a9167aaae6b30e21fff2ac1861bffea5d]
        source sha:210c39dd9a6ebaa964c03c20e4b442ea36941ae9
    git bisect bad f2da946a9167aaae6b30e21fff2ac1861bffea5d
    # first bad commit: [f2da946a9167aaae6b30e21fff2ac1861bffea5d]
        source sha:210c39dd9a6ebaa964c03c20e4b442ea36941ae9

And from `git log` (lines rewrapped) ...

    commit 210c39dd9a6ebaa964c03c20e4b442ea36941ae9
    Author:     Tor Lillqvist <tml@collabora.com>
    AuthorDate: Fri Jun 3 09:25:13 2016 +0300
    Commit:     Tor Lillqvist <tml@collabora.com>
    CommitDate: Fri Jun 3 10:29:57 2016 +0300

        tdf#100193: Check earlier and harder whether OpenGL is good
        enough on Windows
        If we notice early enough that OpenGL is broken or not good
        enough, we can disable it and terminate with
        EXITHELPER_NORMAL_RESTART. Not beautiful, but works.
        The earlier added check whether shader compilation and loading
        of shader program binaries from a cached file works is now
        just one of the aspects that are checked.
        Change-Id: I9382576cc607f1916f6002f1fa78a62e23180fe3

I am removing keyword bibisectRequest and adding bisected.

I am adding Tor Lillqvist to cc.  I hope this is okay, Tor.
Comment 8 Xisco Faulí 2016-11-14 21:20:34 UTC
Adding Cc: to Tor Lillqvist
Comment 9 QA Administrators 2017-11-15 09:15:57 UTC Comment hidden (obsolete)
Comment 10 Regina Henschel 2017-11-15 12:45:37 UTC
It is OK in Version:
Build ID: 2bea600f0295cab7fad3edb55f0c5e092640e49e
CPU threads: 4; OS: Windows 6.1; UI render: default; 
Locale: de-DE (de_DE); Calc: group