I was unable to recreate this on bionic.

[ 11:31AM 10096 ]  [ bdmurray@impulse:~ ]
 $ pkill -11 lowriter
[  1:07PM 10113 ]  [ bdmurray@impulse:~ ]
 $ ls /var/crash/
_bin_cat.2001.uploaded
_bin_cat-kylin.uploaded
crash-in-postinst.0.uploaded
_usr_bin_apport-cli.2001.uploaded
_usr_bin_apport-unpack.2001.uploaded
_usr_bin_gnome-calculator.2001.uploaded
_usr_bin_gnome-calculator-awesome.uploaded
_usr_bin_lowriter.1000.crash
_usr_bin_xeyes.2001.uploaded
_usr_lib_dconf_dconf-service.2001.uploaded

Do you have libreoffice installed as a package or as a snap on Ubuntu
18.04?

** Changed in: apport (Ubuntu)
       Status: New => Incomplete

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to apport in Ubuntu.
https://bugs.launchpad.net/bugs/1537566

Title:
  LibreOffice crashed but apport didn't log a crash file in /var/crash
  despite being enabled

Status in apport package in Ubuntu:
  Incomplete
Status in libreoffice package in Ubuntu:
  Triaged

Bug description:
  What is expected to happen is when LibreOffice crashes, a crash report
  is created in the /var/crash folder.

  What happened instead is LibreOffice crashed but apport didn't create
  a crash file in the /var/crash folder, despite running and being
  enabled. Apport creating crash files in /var/crash used to happen in
  Xenial, and in prior releases. Other programs that crash are picked up
  by apport so appears LO+apport issue.

  LibreOffice has reference to placing crash files as per:
  cat /etc/libreoffice/sofficerc | grep crash
  CrashDirectory=${$BRAND_BASE_DIR/program/bootstraprc:UserInstallation}/crash

  I don't have any 3rd party LO plugins installed.

  apt-show-versions -r libreoffice*
  libreoffice-avmedia-backend-gstreamer:amd64/xenial 1:5.0.2-0ubuntu7 uptodate
  libreoffice-avmedia-backend-gstreamer:i386 not installed
  libreoffice-base-core:amd64/xenial 1:5.0.2-0ubuntu7 uptodate
  libreoffice-base-core:i386 not installed
  libreoffice-calc:amd64/xenial 1:5.0.2-0ubuntu7 uptodate
  libreoffice-calc:i386 not installed
  libreoffice-common:all/xenial 1:5.0.2-0ubuntu7 uptodate
  libreoffice-core:amd64/xenial 1:5.0.2-0ubuntu7 uptodate
  libreoffice-core:i386 not installed
  libreoffice-dev:amd64/xenial 1:5.0.2-0ubuntu7 uptodate
  libreoffice-dev:i386 not installed
  libreoffice-draw:amd64/xenial 1:5.0.2-0ubuntu7 uptodate
  libreoffice-draw:i386 not installed
  libreoffice-gnome:amd64/xenial 1:5.0.2-0ubuntu7 uptodate
  libreoffice-gnome:i386 not installed
  libreoffice-gtk:amd64/xenial 1:5.0.2-0ubuntu7 uptodate
  libreoffice-gtk:i386 not installed
  libreoffice-help-en-us:all/xenial 1:5.0.2-0ubuntu4 uptodate
  libreoffice-impress:amd64/xenial 1:5.0.2-0ubuntu7 uptodate
  libreoffice-impress:i386 not installed
  libreoffice-java-common:all/xenial 1:5.0.2-0ubuntu7 uptodate
  libreoffice-math:amd64/xenial 1:5.0.2-0ubuntu7 uptodate
  libreoffice-math:i386 not installed
  libreoffice-ogltrans:amd64/xenial 1:5.0.2-0ubuntu7 uptodate
  libreoffice-ogltrans:i386 not installed
  libreoffice-pdfimport:amd64/xenial 1:5.0.2-0ubuntu7 uptodate
  libreoffice-pdfimport:i386 not installed
  libreoffice-style-breeze:all/xenial 1:5.0.2-0ubuntu7 uptodate
  libreoffice-style-galaxy:all/xenial 1:5.0.2-0ubuntu7 uptodate
  libreoffice-style-human:all/xenial 1:5.0.2-0ubuntu7 uptodate
  libreoffice-writer:amd64/xenial 1:5.0.2-0ubuntu7 uptodate
  libreoffice-writer:i386 not installed

  cat /etc/default/apport
  # set this to 0 to disable apport, or to 1 to enable it
  # you can temporarily override this with
  # sudo service apport start force_start=1
  enabled=1

  cat /etc/apport/crashdb.conf
  # map crash database names to CrashDatabase implementations and URLs

  default = 'ubuntu'

  def get_oem_project():
      '''Determine OEM project name from Distribution Channel Descriptor

      Return None if it cannot be determined or does not exist.
      '''
      try:
          dcd = open('/var/lib/ubuntu_dist_channel').read()
          if dcd.startswith('canonical-oem-'):
              return dcd.split('-')[2]
      except IOError:
          return None

  databases = {
      'ubuntu': {
          'impl': 'launchpad',
          'bug_pattern_url': 
'http://people.canonical.com/~ubuntu-archive/bugpatterns/bugpatterns.xml',
          'dupdb_url': 
'http://people.canonical.com/~ubuntu-archive/apport-duplicates',
          'distro': 'ubuntu',
          'problem_types': ['Bug', 'Package'],
          'escalation_tag': 'bugpattern-needed',
          'escalated_tag': 'bugpattern-written',
      },
      'canonical-oem': {
          'impl': 'launchpad',
          'bug_pattern_url': 
'http://people.canonical.com/~ubuntu-archive/bugpatterns/bugpatterns.xml',
          'project': get_oem_project(),
      },
      'debug': {
          # for debugging
          'impl': 'memory',
          'bug_pattern_url': '/tmp/bugpatterns.xml',
          'distro': 'debug'
      },
  }
  mo

  ProblemType: Bug
  DistroRelease: Ubuntu 16.04
  Package: libreoffice-calc 1:5.0.2-0ubuntu7
  ProcVersionSignature: Ubuntu 4.3.0-6.17-generic 4.3.3
  Uname: Linux 4.3.0-6-generic x86_64
  ApportVersion: 2.19.3-0ubuntu3
  Architecture: amd64
  CurrentDesktop: GNOME-Flashback:Unity
  Date: Sun Jan 24 17:03:37 2016
  InstallationDate: Installed on 2015-12-18 (37 days ago)
  InstallationMedia: Ubuntu 15.10 "Wily Werewolf" - Release amd64 (20151021)
  SourcePackage: libreoffice
  UpgradeStatus: Upgraded to xenial on 2016-01-20 (4 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apport/+bug/1537566/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to