← Back to team overview

desktop-packages team mailing list archive

[Bug 1537566] Re: LibreOffice crashed but apport didn't log a crash file in /var/crash despite being enabled

 

** Description changed:

  What was expected to happen is when LibreOffice crashes in Xenial, it
  logs a crash report to file against to errors.ubuntu.com.
  
  What happened instead is LibreOffice crashed but apport didn't log a
  crash file in /var/crash despite being enabled. Other programs that
  crash are picked up by apport so appears LO+apport issue.
+ 
+ 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
+     '''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
+     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'
-     },
+     '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)

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to libreoffice 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 libreoffice package in Ubuntu:
  Triaged

Bug description:
  What was expected to happen is when LibreOffice crashes in Xenial, it
  logs a crash report to file against to errors.ubuntu.com.

  What happened instead is LibreOffice crashed but apport didn't log a
  crash file in /var/crash despite being enabled. Other programs that
  crash are picked up by apport so appears LO+apport issue.

  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/libreoffice/+bug/1537566/+subscriptions


References