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

Bug #1356823 reported by Wellington Torrejais da Silva on 2014-08-14
242
This bug affects 56 people
Affects Status Importance Assigned to Milestone
Aptdaemon
Undecided
Unassigned
aptdaemon (Ubuntu)
Medium
Unassigned
Vivid
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:

tags: removed: need-duplicate-check
Changed in aptdaemon (Ubuntu):
importance: Undecided → Medium
information type: Private → Public
Launchpad Janitor (janitor) wrote :

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

Changed in aptdaemon (Ubuntu):
status: New → Confirmed
Cavsfan (cavsfan) wrote :

I just got this at bootup in VIvid.

tags: added: vivid
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) on 2015-02-15
Changed in aptdaemon (Ubuntu):
status: Confirmed → Fix Released
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.

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.

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.

Buzzing Robot (buzzingrobot) wrote :

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

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:~#

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
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
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
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
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'

BavarianPH (bavarianph) wrote :

?

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  Edit
Everyone can see this information.

Other bug subscribers