aptd crashed with AttributeError in _remove_from_connection_no_raise(): 'NoneType' object has no attribute 'Destroy'

Bug #1356823 reported by Wellington Torrejais da Silva
242
This bug affects 56 people
Affects Status Importance Assigned to Milestone
Aptdaemon
Confirmed
Undecided
Unassigned
aptdaemon (Ubuntu)
Fix Released
Medium
Unassigned
Vivid
Fix Released
Medium
Unassigned

Bug Description

Errors Bucket
-------------
https://errors.ubuntu.com/problem/429c0c56c9bf27f46f94ac0de4b26518f4335219

It seems to occur regularly on Vivid and Utopic.

aptd crashed with AttributeError in _remove_from_connection_no_raise(): 'NoneType' object has no attribute 'Destroy'

ProblemType: CrashDistroRelease: Ubuntu 14.10
Package: aptdaemon 1.1.1+bzr973-1ubuntu4
ProcVersionSignature: Ubuntu 3.16.0-5.10-generic 3.16.0-rc6
Uname: Linux 3.16.0-5-generic x86_64
ApportVersion: 2.14.5-0ubuntu4
Architecture: amd64
Date: Wed Aug 13 18:44:55 2014
ExecutablePath: /usr/sbin/aptd
InstallationDate: Installed on 2014-05-16 (89 days ago)
InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Release amd64 (20140417)
InterpreterPath: /usr/bin/python3.4
PackageArchitecture: all
ProcCmdline: /usr/bin/python3 /usr/sbin/aptd
ProcEnviron: LANG=C.UTF-8
PythonArgs: ['/usr/sbin/aptd']SourcePackage: aptdaemon
Title: aptd crashed with AttributeError in _remove_from_connection_no_raise(): 'NoneType' object has no attribute 'Destroy'
Traceback:
 Traceback (most recent call last):
   File "/usr/lib/python3/dist-packages/aptdaemon/pkcompat.py", line 589, in _remove_from_connection_no_raise
     self.pktrans.Destroy()
 AttributeError: 'NoneType' object has no attribute 'Destroy'
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups:

Revision history for this message
Wellington Torrejais da Silva (wellington1993) wrote :
tags: removed: need-duplicate-check
Changed in aptdaemon (Ubuntu):
importance: Undecided → Medium
information type: Private → Public
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in aptdaemon (Ubuntu):
status: New → Confirmed
Revision history for this message
Cavsfan (cavsfan) wrote :

I just got this at bootup in VIvid.

tags: added: vivid
Revision history for this message
miked (miked11) wrote :

root@ubuntu:~# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu Vivid Vervet (development branch)
Release: 15.04
Codename: vivid
root@ubuntu:~# uname -mrs
Linux 3.18.0-12-generic x86_64
root@ubuntu:~#

gigi (gigibenassi)
Changed in aptdaemon (Ubuntu):
status: Confirmed → Fix Released
Revision history for this message
Jeffrey Tees (jeff-tees) wrote :

Occured on login to unity.

After kubuntu-desktop install (reconfig to sddm which failed next reboot + replaced lightdm as display-manager)

Subsequent reboot & login resulted in error message about sddm not installed & this error.

Revision history for this message
John Belton (jbelton1950) wrote :

Vivid issued this same fault on login, this was Alpha2 install, it didn't seem to affect Alpha1 install on this Dell Vostro 1510. I'm not sure i can add anything more usefull.

Revision history for this message
ROCHE (guyroche08-6) wrote :

Booting Ubuntu 15.04
No sound on open first desk (validation password). I use caïro dock because impossible to have a correct colour screen (I think that i don't have correct video driver on my pc (HP dv 2220sf with ATI 4500 video) but AMD drivers don't work).
A problem too : When I try to use (mode degradé) with low video (safety mode), impossible to work on low video and I always must re-install Vivid. No video access.

Revision history for this message
Buzzing Robot (buzzingrobot) wrote :

Seeing this on a fresh install of 15.04 13 March daily.

Revision history for this message
miked (miked11) wrote :

root@ubuntu-14101504a2:~# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu Vivid Vervet (development branch)
Release: 15.04
Codename: vivid
root@ubuntu-14101504a2:~# uname -mrs
Linux 3.19.0-8-generic x86_64
root@ubuntu-14101504a2:~#

Revision history for this message
Fabio Marconi (fabiomarconi) wrote :

Actually not fixed in Vivid fully upgraded

Changed in aptdaemon (Ubuntu):
status: Fix Released → Confirmed
description: updated
tags: added: rls-v-incoming
tags: removed: rls-v-incoming
Revision history for this message
Brian Murray (brian-murray) wrote :

Should be fixed by this upload:

aptdaemon (1.1.1+bzr982-0ubuntu2) vivid; urgency=low

  * debian/patches/lp1356823.diff:
    - fix crash #1356823

Changed in aptdaemon (Ubuntu Vivid):
status: Confirmed → Fix Released
Revision history for this message
Josh Perkins (perkinsjs83) wrote :

I am still getting the same error on Vivid. It has been fully updated.

testing@Laptop:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu Vivid Vervet (development branch)
Release: 15.04
Codename: vivid
testing@Laptop:~$ uname -mrs
Linux 3.19.0-13-generic x86_64

Changed in aptdaemon:
status: New → Confirmed
Revision history for this message
Brian Murray (brian-murray) wrote :

Indeed the errors bucket is reporting this as occurring with the new, supposedly fixed, version of the package.

Changed in aptdaemon (Ubuntu Vivid):
status: Fix Released → Triaged
Revision history for this message
Brian Murray (brian-murray) wrote :

Actually, looking more closely the Traceback uses the same bucket but is in a different part of the code.

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/aptdaemon/pkcompat.py", line 599, in _remove_from_connection_no_raise
    self.pktrans.trans = None
AttributeError: 'NoneType' object has no attribute 'trans'

Revision history for this message
BavarianPH (bavarianph) wrote :

?

Revision history for this message
Brian Murray (brian-murray) wrote :

aptdaemon (1.1.1+bzr982-0ubuntu3) vivid; urgency=low

  * debian/patches/lp1356823.diff:
    - try harder to fix crash #1356823
 -- Michael Vogt <email address hidden> Thu, 16 Apr 2015 10:05:07 -0500

Changed in aptdaemon (Ubuntu Vivid):
status: Triaged → Fix Released
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.