[Libreoffice-bugs] [Bug 122116] LibreOffice 6.1.* crashes by recovering file at start over and over on Linux

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Thu Dec 20 01:47:51 UTC 2018


https://bugs.documentfoundation.org/show_bug.cgi?id=122116

--- Comment #19 from Michael Weghorn <m.weghorn at posteo.de> ---
(In reply to Andras from comment #18)
> (In reply to Michael Weghorn from comment #17)
> I don't want to increase the length of this thread and maybe I don't know or
> see something but as I said not the system should get debugging packages
> already from .../ubuntu/bionic web address with line:
> "deb http://ppa.launchpad.net/libreoffice/libreoffice-prereleases/ubuntu
> bionic main"

As far as I can see, the debug packages are not available in this repo, but
they are in the separate one I wrote about. I quicky tested adding these two
entries into my /etc/apt/sources.list on debian:

deb [trusted=yes]
http://ppa.launchpad.net/libreoffice/libreoffice-prereleases/ubuntu bionic main
deb [trusted=yes]
http://ppa.launchpad.net/libreoffice/libreoffice-prereleases/ubuntu bionic
main/debug

After running the command 'apt update', I can then run

$ apt policy libreoffice-writer-dbgsym
libreoffice-writer-dbgsym:
  Installed: (none)
  Candidate: 1:6.1.3~rc2-0ubuntu0.18.04.2
  Version table:
     1:6.1.3~rc2-0ubuntu0.18.04.2 500
        500 http://ppa.launchpad.net/libreoffice/libreoffice-prereleases/ubuntu
bionic/main/debug amd64 Packages

with the given output, which suggests that the debug packages should be in the
repository I mentioned ('... main/debug').

I did not try to actually install packages (since packages are targeted at the
specific Ubuntu version 18.04 and probably won't work on Debian testing
anyway). It can be that there's some other issue I don't see right now, though,
that may cause this not to work for you.

> In short, only "bionic main" ending works, there is no option for "bionic
> debug" or "bionic main/debug" etc, correct me if I'm wrong about this. Is it
> possible debugging packages are available if you build it (what isn't so
> simple for me) or from other direct sources?

Yes, you'll get debug symbols if you build the source yourself with the
corresponding options. Please refer to comment 6 for details.


Another (probable the easiest and quickest) way to get a build with debug
symbols, is to download a build that contains debug symbols from the
LibreOffice daily builds, e.g. those for master available at
https://dev-builds.libreoffice.org/daily/master/Linux-rpm_deb-x86_64@86-TDF-dbg/

The following 3 commands will download and start LibreOffice to get a backtrace
(this uses the 'gtk3' VCL plugin, which should give the same result as
'gtk3_kde5', since file dialogs are not involved):

> wget https://dev-builds.libreoffice.org/daily/master/Linux-rpm_deb-x86_64@86-TDF-dbg/2018-12-19_02.03.20/master_dbg~2018-12-19_02.03.20_LibreOfficeDev_6.3.0.0.alpha0_Linux_x86-64_archive.tar.gz
> tar xvf master_dbg~2018-12-19_02.03.20_LibreOfficeDev_6.3.0.0.alpha0_Linux_x86-64_archive.tar.gz
> SAL_USE_VCLPLUGIN=gtk3 LibreOfficeDev_6.3.0.0.alpha0_Linux_x86-64_archive/program/soffice --backtrace 

The last two scenarios also have the advantage that the builds are not from
some "third party", thus eliminating the possibility that any of the packaging
done by the PPA maintainer might have caused any problems...

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20181220/2665b2e8/attachment-0001.html>


More information about the Libreoffice-bugs mailing list