[Bug 1862717] [NEW] Automatic crash report bug reports opened in gedit rather than the browser
Alex Murray
alex.murray at canonical.com
Tue Feb 11 03:13:11 UTC 2020
Public bug reported:
If a crash report is triggered automatically (say from a program crash
etc) then the Apport UI pops up asking whether to report this - if I
choose to proceed, after about 30 seconds gedit pops up with a HTML
document showing 'OpenID transaction in progress' - which is the
login.launchpad.net openid page. Looking at the gedit document title
this shows the URL which should have got loaded by firefox - and so it
appears that gedit has been spawned instead of firefox to handle the
xdg-open call to report the bug.
>From journalctl I can see that it is root spawning this xdg-open call:
Feb 11 13:06:24 slate sudo[266010]: root : TTY=unknown ; PWD=/root ;
USER=amurray ; ENV=DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus
; COMMAND=/usr/bin/xdg-open https://bugs.launchpad.net/ubuntu/+source
/dleyna-core/+filebug/4bc4c494-4c77-11ea-b34a-
002481e7f48a?field.title=package+libdleyna-
core-1.0-5+%28not+installed%29+failed+to+install%2Fupgrade%3A+trying+to+overwrite+%27%2Fusr%2Flib%2Fx86_64
-linux-gnu%2Flibdleyna-core-1.0.so.5.0.0%27%2C+which+is+also+in+package
+libdleyna-core-1.0-3%3Aamd64+0.6.0-1
And so I wonder if it is something to do with root's configuration for
preferred applications (or not...)
This does not occur when running ubuntu-bug from a terminal (since I
assume in this case, the xdg-open call ends up coming from the users'
own session).
ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: apport 2.20.11-0ubuntu16
ProcVersionSignature: Ubuntu 5.4.0-12.15-generic 5.4.8
Uname: Linux 5.4.0-12-generic x86_64
NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair
ApportLog:
ApportVersion: 2.20.11-0ubuntu16
Architecture: amd64
CurrentDesktop: ubuntu:GNOME
Date: Tue Feb 11 13:34:42 2020
InstallationDate: Installed on 2019-11-18 (84 days ago)
InstallationMedia: Ubuntu 19.10 "Eoan Ermine" - Release amd64 (20191017)
PackageArchitecture: all
SourcePackage: apport
UpgradeStatus: Upgraded to focal on 2020-01-22 (19 days ago)
** Affects: apport (Ubuntu)
Importance: Undecided
Status: New
** Tags: amd64 apport-bug focal
** Attachment added: "gedit with the crash report"
https://bugs.launchpad.net/bugs/1862717/+attachment/5327200/+files/Screenshot%20from%202020-02-11%2013-42-40.png
--
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/1862717
Title:
Automatic crash report bug reports opened in gedit rather than the
browser
Status in apport package in Ubuntu:
New
Bug description:
If a crash report is triggered automatically (say from a program crash
etc) then the Apport UI pops up asking whether to report this - if I
choose to proceed, after about 30 seconds gedit pops up with a HTML
document showing 'OpenID transaction in progress' - which is the
login.launchpad.net openid page. Looking at the gedit document title
this shows the URL which should have got loaded by firefox - and so it
appears that gedit has been spawned instead of firefox to handle the
xdg-open call to report the bug.
From journalctl I can see that it is root spawning this xdg-open call:
Feb 11 13:06:24 slate sudo[266010]: root : TTY=unknown ; PWD=/root
; USER=amurray ;
ENV=DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus ;
COMMAND=/usr/bin/xdg-open https://bugs.launchpad.net/ubuntu/+source
/dleyna-core/+filebug/4bc4c494-4c77-11ea-b34a-
002481e7f48a?field.title=package+libdleyna-
core-1.0-5+%28not+installed%29+failed+to+install%2Fupgrade%3A+trying+to+overwrite+%27%2Fusr%2Flib%2Fx86_64
-linux-gnu%2Flibdleyna-
core-1.0.so.5.0.0%27%2C+which+is+also+in+package+libdleyna-
core-1.0-3%3Aamd64+0.6.0-1
And so I wonder if it is something to do with root's configuration for
preferred applications (or not...)
This does not occur when running ubuntu-bug from a terminal (since I
assume in this case, the xdg-open call ends up coming from the users'
own session).
ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: apport 2.20.11-0ubuntu16
ProcVersionSignature: Ubuntu 5.4.0-12.15-generic 5.4.8
Uname: Linux 5.4.0-12-generic x86_64
NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair
ApportLog:
ApportVersion: 2.20.11-0ubuntu16
Architecture: amd64
CurrentDesktop: ubuntu:GNOME
Date: Tue Feb 11 13:34:42 2020
InstallationDate: Installed on 2019-11-18 (84 days ago)
InstallationMedia: Ubuntu 19.10 "Eoan Ermine" - Release amd64 (20191017)
PackageArchitecture: all
SourcePackage: apport
UpgradeStatus: Upgraded to focal on 2020-01-22 (19 days ago)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apport/+bug/1862717/+subscriptions
More information about the foundations-bugs
mailing list