Bug 107165 - OOO_EXIT_POST_STARTUP=1 crashes or hangs
Summary: OOO_EXIT_POST_STARTUP=1 crashes or hangs
Status: RESOLVED WONTFIX
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
5.4.0.0.alpha0+
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: haveBacktrace
Depends on:
Blocks:
 
Reported: 2017-04-14 19:04 UTC by Terrence Enger
Modified: 2017-05-31 19:59 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
gdb on the core file, with backtrace (10.07 KB, text/plain)
2017-04-14 19:07 UTC, Terrence Enger
Details
bt with debug symbols (2.32 KB, text/plain)
2017-04-16 16:07 UTC, Julien Nabet
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Terrence Enger 2017-04-14 19:04:47 UTC
Description:
As per summary.

Steps to Reproduce:
(1) Create /tmp/a01.odt as empty document.

(2) Open that file, setting OOO_EXIT_POST_STARTUP=1.  My command line
    was (all one line, rewrapped for readability) ...

        SAL_USE_VCLPLUGIN=gen OOO_EXIT_POST_STARTUP=1
            instdir/program/soffice --norestore --nologo /tmp/a01.odt


Actual Results:  
In terminal, error messages ...
    *** ERROR: DO NOT call xmlCleanupParser()
    Application Error
    Fatal exception: Signal 6
and a core file.

Expected Results:
Return to command line without error message and without, in
particular, a core file.


Reproducible: Always

User Profile Reset: Yes

Additional Info:
The soon-to-be-attached backtrace is from a local build of commit
7e03a22b, pulled 2017-04-08, configured ...
    CC=ccache /usr/bin/gcc
    CXX=ccache /usr/bin/g++
    --enable-option-checking=fatal
    --enable-dbgutil
    --enable-debug
    --without-system-postgresql
    --without-myspell-dicts
    --with-extra-buildid
    --without-doxygen
    --with-external-tar=/home/terry/lo_hacking/git/src
    --without-package-format
built and running on debian-stretch.  I see similar results in recent
versions of daily Linux dbgutil bibisect repository.

Other LibreOffice applications also either crash or hang with low CPU
usage.

Other bug reports show that people are mostly using
OOO_EXIT_POST_STARTUP=1 successfully.  (Bug 104816 comment 13 is an
exception.)  I wonder what is different about my setup.



User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0
Comment 1 Terrence Enger 2017-04-14 19:07:13 UTC
Created attachment 132572 [details]
gdb on the core file, with backtrace
Comment 2 Julien Nabet 2017-04-16 16:07:59 UTC
Created attachment 132607 [details]
bt with debug symbols

On pc Debian x86-64 with master sources updated today, I got a crash too
when doing this:
export OOO_EXIT_POST_STARTUP=1

make debugrun
then on gdb "run"
Comment 3 Julien Nabet 2017-04-16 16:24:06 UTC
Terrence: there's no comment 13 in tdf#104816, wrong ref?
Comment 4 Terrence Enger 2017-04-16 17:02:08 UTC
I meant bug 86448 comment 5.  Sorry about that, Julien.
Comment 5 Julien Nabet 2017-04-16 17:34:54 UTC
(In reply to Terrence Enger from comment #4)
> I meant bug 86448 comment 5.  Sorry about that, Julien.

No pb :-)
This quoted comment is quite old.
Do you have some refs about working examples just to compare?
Indeed, I'm quite surprised to have a bt without creating any file, using gen rendering.
Comment 6 Terrence Enger 2017-04-16 18:39:03 UTC
No, this has never worked for me.
Comment 7 Terrence Enger 2017-05-31 19:59:14 UTC
I have found command-line argument --eventtesting, which seems to
accomplish the same end, and it does not crash for me.

Since I having this workaround and many users seem to be working
without the crash, I am setting status RESOLVED WONTFIX.