[Bug 1727580] [NEW] ubuntu-bug segfaults when trying to report a bug using the PID of the offending process

Lee Revell rlrevell at gmail.com
Thu Oct 26 02:35:53 UTC 2017


Public bug reported:

Docs say ubuntu-bug $PID should work. Tried it:

[leer at leer-eng: ~]$ ubuntu-bug 1392
Gtk-Message: GtkDialog mapped without a transient parent. This is discouraged.

Popup window gave error that this process was owned by another user (it
was, the gdm user) and to run it as root or that user. Tried as root:

[leer at leer-eng: ~]$ sudo ubuntu-bug 1392
Invalid MIT-MAGIC-COOKIE-1 keyUnable to init server: Could not connect: Connection refused
Invalid MIT-MAGIC-COOKIE-1 keyUnable to init server: Could not connect: Connection refused
Segmentation fault (core dumped)

And that's all she wrote. Need I say more?

ProblemType: Bug
DistroRelease: Ubuntu 17.10
Package: apport 2.20.7-0ubuntu3.1
ProcVersionSignature: Ubuntu 4.13.0-16.19-generic 4.13.4
Uname: Linux 4.13.0-16-generic x86_64
ApportVersion: 2.20.7-0ubuntu3.1
Architecture: amd64
CurrentDesktop: ubuntu:GNOME
Date: Wed Oct 25 22:32:13 2017
EcryptfsInUse: Yes
InstallationDate: Installed on 2015-10-27 (729 days ago)
InstallationMedia: Ubuntu 15.10 "Wily Werewolf" - Release amd64 (20151021)
PackageArchitecture: all
ProcEnviron:
 TERM=xterm-256color
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: apport
UpgradeStatus: Upgraded to artful on 2017-10-25 (0 days ago)

** Affects: apport (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug artful wayland-session

** Description changed:

  Docs say ubuntu-bug $PID should work. Tried it:
  
- [leer at lgbeer-eng: ~]$ ubuntu-bug 1392
+ [leer at leer-eng: ~]$ ubuntu-bug 1392
  Gtk-Message: GtkDialog mapped without a transient parent. This is discouraged.
  
  Popup window gave error that this process was owned by another user (it
  was, the gdm user) and to run it as root or that user. Tried as root:
  
  [leer at leer-eng: ~]$ sudo ubuntu-bug 1392
  Invalid MIT-MAGIC-COOKIE-1 keyUnable to init server: Could not connect: Connection refused
  Invalid MIT-MAGIC-COOKIE-1 keyUnable to init server: Could not connect: Connection refused
  Segmentation fault (core dumped)
  
- And that's all shw wrote. Need I say more?
+ And that's all she wrote. Need I say more?
  
  ProblemType: Bug
  DistroRelease: Ubuntu 17.10
  Package: apport 2.20.7-0ubuntu3.1
  ProcVersionSignature: Ubuntu 4.13.0-16.19-generic 4.13.4
  Uname: Linux 4.13.0-16-generic x86_64
  ApportVersion: 2.20.7-0ubuntu3.1
  Architecture: amd64
  CurrentDesktop: ubuntu:GNOME
  Date: Wed Oct 25 22:32:13 2017
  EcryptfsInUse: Yes
  InstallationDate: Installed on 2015-10-27 (729 days ago)
  InstallationMedia: Ubuntu 15.10 "Wily Werewolf" - Release amd64 (20151021)
  PackageArchitecture: all
  ProcEnviron:
-  TERM=xterm-256color
-  PATH=(custom, no user)
-  XDG_RUNTIME_DIR=<set>
-  LANG=en_US.UTF-8
-  SHELL=/bin/bash
+  TERM=xterm-256color
+  PATH=(custom, no user)
+  XDG_RUNTIME_DIR=<set>
+  LANG=en_US.UTF-8
+  SHELL=/bin/bash
  SourcePackage: apport
  UpgradeStatus: Upgraded to artful on 2017-10-25 (0 days ago)

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to apport in Ubuntu.
https://bugs.launchpad.net/bugs/1727580

Title:
  ubuntu-bug segfaults when trying to report a bug using the PID of the
  offending process

Status in apport package in Ubuntu:
  New

Bug description:
  Docs say ubuntu-bug $PID should work. Tried it:

  [leer at leer-eng: ~]$ ubuntu-bug 1392
  Gtk-Message: GtkDialog mapped without a transient parent. This is discouraged.

  Popup window gave error that this process was owned by another user
  (it was, the gdm user) and to run it as root or that user. Tried as
  root:

  [leer at leer-eng: ~]$ sudo ubuntu-bug 1392
  Invalid MIT-MAGIC-COOKIE-1 keyUnable to init server: Could not connect: Connection refused
  Invalid MIT-MAGIC-COOKIE-1 keyUnable to init server: Could not connect: Connection refused
  Segmentation fault (core dumped)

  And that's all she wrote. Need I say more?

  ProblemType: Bug
  DistroRelease: Ubuntu 17.10
  Package: apport 2.20.7-0ubuntu3.1
  ProcVersionSignature: Ubuntu 4.13.0-16.19-generic 4.13.4
  Uname: Linux 4.13.0-16-generic x86_64
  ApportVersion: 2.20.7-0ubuntu3.1
  Architecture: amd64
  CurrentDesktop: ubuntu:GNOME
  Date: Wed Oct 25 22:32:13 2017
  EcryptfsInUse: Yes
  InstallationDate: Installed on 2015-10-27 (729 days ago)
  InstallationMedia: Ubuntu 15.10 "Wily Werewolf" - Release amd64 (20151021)
  PackageArchitecture: all
  ProcEnviron:
   TERM=xterm-256color
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=<set>
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: apport
  UpgradeStatus: Upgraded to artful on 2017-10-25 (0 days ago)

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



More information about the foundations-bugs mailing list