Bug 73166 - uncaught RuntimeException from ill-formed URL in -env:UserInstallation
Summary: uncaught RuntimeException from ill-formed URL in -env:UserInstallation
Status: RESOLVED NOTABUG
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Libreoffice (show other bugs)
Version: 4.3.0.0.alpha0+ Master
Hardware: Other Linux (All)
: medium normal
Assignee: Not Assigned
QA Contact:
URL:
Whiteboard:
Keywords: have-backtrace, regression
Depends on:
Blocks:
 
Reported: 2013-12-30 20:11 UTC by Terrence Enger
Modified: 2014-01-06 12:25 UTC (History)
2 users (show)

See Also:
i915 platform:
i915 features:


Attachments
typescript with backtrace with symbols (10.80 KB, text/plain)
2013-12-30 20:19 UTC, Terrence Enger
Details

Description Terrence Enger 2013-12-30 20:11:49 UTC
STR:

(1) Execute soffice with parameters like
        --norestore -env:UserInstallation=file:/tmp/thing
    (Note that a well-formed URL would have two more slashes.)

    Actual result:  Program aborts on Signal 6 (SIGABRT).


Note for comparison:

(*) The same ommision of slashes in a filename parameter does not
    cause a crash.  LibreOffice even opens the file,.

(*) The same -env parameter does not crash LibreOffice distributed
    with debian-wheezy (version 3.5.4.2).  The program even creates
    the named directory.


These observations are from master commit 480c7c2, fetched 2013-12-27
02:33 UTC, configured as:
    --enable-option-checking=fatal
    --enable-dbgutil
    --enable-crashdump
    --without-system-postgresql
    --without-myspell-dicts
    --with-extra-buildid
    --without-doxygen
    --with-external-tar=/home/terry/lo_hacking/git/src
built and executing on debian-wheezy 64-bit.
Comment 1 Terrence Enger 2013-12-30 20:19:23 UTC
Created attachment 91348 [details]
typescript with backtrace with symbols

Some line numbers within the typescript:
   5: start of messages from LibreOffice
  12: terminate called
  80: backtrace
Comment 2 Julien Nabet 2013-12-31 10:59:48 UTC
On pc Debian x86-64 with master sources updated today, I can reproduce this.

Stephan: by taking a look at configmgr/source/components.cxx, I thought you might be interested in this one.
Comment 3 Stephan Bergmann 2014-01-06 12:25:20 UTC
-env:UserInstallation is not considered an end-user feature


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.