/usr/bin/sudo:6:kill:main

Bug #1659846 reported by errors.ubuntu.com bug bridge
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
sudo (Ubuntu)
New
Undecided
Unassigned

Bug Description

The Ubuntu Error Tracker has been receiving reports about a problem regarding sudo. This problem was most recently seen with package version 1.8.19p1-1ubuntu1, the problem page at https://errors.ubuntu.com/problem/a4dd7ca4d793ba224f7d7369ba21e84fe667efd1 contains more details, including versions of packages affected, stacktrace or traceback, and individual crash reports.
If you do not have access to the Ubuntu Error Tracker you can request it at http://forms.canonical.com/reports/.

Revision history for this message
Steve Beattie (sbeattie) wrote :

This is a false positive in sudo. What's happening is that sudo is taking an error from the program it executed and propagating out to the calling shell. Thus when a called application aborts (i.e. SIGABRT), it also triggers an abort for sudo.

To demonstrate:

  $ sudo sh -c 'echo $$'

results in the following in /var/crash:

  $ ls -l /var/crash/
  total 164
  -rw-r----- 1 root whoopsie 29122 May 30 15:32 _bin_dash.0.crash
  -rw-r----- 1 root whoopsie 133096 May 30 15:32 _usr_bin_sudo.0.crash

Revision history for this message
Steve Beattie (sbeattie) wrote :

Durr, wrong copy-pasta, the actual command is:

  $ sudo sh -c 'kill -ABRT $$'

Revision history for this message
Steve Beattie (sbeattie) wrote :

And in fact this is covered by bug 1565332.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.