Bug 73166 - uncaught RuntimeException from ill-formed URL in -env:UserInstallation
Summary: uncaught RuntimeException from ill-formed URL in -env:UserInstallation
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
(earliest affected) Master
Hardware: Other Linux (All)
: medium normal
Assignee: Not Assigned
Keywords: haveBacktrace, regression
Depends on:
Reported: 2013-12-30 20:11 UTC by Terrence Enger
Modified: 2014-01-06 12:25 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:

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

Note You need to log in before you can comment on or make changes to this bug.
Description Terrence Enger 2013-12-30 20:11:49 UTC

(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  The program even creates
    the named directory.

These observations are from master commit 480c7c2, fetched 2013-12-27
02:33 UTC, configured as:
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