packagekitd crashed with SIGSEGV in strlen()error just appeared at log in no apps open

Bug #1560759 reported by Ryan Turner
90
This bug affects 19 people
Affects Status Importance Assigned to Milestone
packagekit (Ubuntu)
Confirmed
Medium
Unassigned

Bug Description

Error appears only at log in, no apps open.. Error pops up before Launch bar loads!

ProblemType: Crash
DistroRelease: Ubuntu 16.04
Package: packagekit 0.8.17-4ubuntu6~gcc5.4ubuntu1
ProcVersionSignature: Ubuntu 4.4.0-15.31-generic 4.4.6
Uname: Linux 4.4.0-15-generic x86_64
ApportVersion: 2.20-0ubuntu3
Architecture: amd64
Date: Tue Mar 22 00:09:17 2016
ExecutablePath: /usr/lib/packagekit/packagekitd
InstallationDate: Installed on 2015-12-09 (104 days ago)
InstallationMedia: Ubuntu 15.10 "Wily Werewolf" - Release amd64 (20151021)
ProcCmdline: /usr/lib/packagekit/packagekitd
ProcEnviron:
 LANG=en_CA.UTF-8
 LANGUAGE=en_CA:en
 PATH=(custom, no user)
 SHELL=/bin/sh
Signal: 11
SourcePackage: packagekit
StacktraceTop:
 strlen () at ../sysdeps/x86_64/strlen.S:106
 __add_to_environ (name=0x7f49a27719ef "http_proxy", value=0x0, combined=0x0, replace=1) at setenv.c:131
 AptIntf::init() () from /usr/lib/x86_64-linux-gnu/packagekit-backend/libpk_backend_aptcc.so
 ?? () from /usr/lib/x86_64-linux-gnu/packagekit-backend/libpk_backend_aptcc.so
 ?? ()
Title: packagekitd crashed with SIGSEGV in strlen()
UpgradeStatus: Upgraded to xenial on 2016-03-22 (0 days ago)
UserGroups:

Revision history for this message
Ryan Turner (corsica-4) wrote :
summary: - packagekitd crashed with SIGSEGV in strlen()error just appeared at lon
+ packagekitd crashed with SIGSEGV in strlen()error just appeared at log
in no apps open
Revision history for this message
Apport retracing service (apport) wrote :

StacktraceTop:
 strlen () from /tmp/apport_sandbox_tXE0cB/lib/x86_64-linux-gnu/libc.so.6
 __add_to_environ () from /tmp/apport_sandbox_tXE0cB/lib/x86_64-linux-gnu/libc.so.6
 AptIntf::init() () from /tmp/apport_sandbox_tXE0cB/usr/lib/x86_64-linux-gnu/packagekit-backend/libpk_backend_aptcc.so
 backend_get_updates_thread(PkBackendJob*, _GVariant*, void*) () from /tmp/apport_sandbox_tXE0cB/usr/lib/x86_64-linux-gnu/packagekit-backend/libpk_backend_aptcc.so
 pk_backend_job_thread_setup ()

Revision history for this message
Apport retracing service (apport) wrote : Stacktrace.txt
Revision history for this message
Apport retracing service (apport) wrote : StacktraceSource.txt
Revision history for this message
Apport retracing service (apport) wrote : ThreadStacktrace.txt
Changed in packagekit (Ubuntu):
importance: Undecided → Medium
tags: removed: need-amd64-retrace
Revision history for this message
Launchpad Janitor (janitor) wrote :

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

Changed in packagekit (Ubuntu):
status: New → Confirmed
Revision history for this message
Matthias Klumpp (ximion) wrote :

This issue is likely fixed in a more recent version of PackageKit, we changed the initialization part quite a bit, and the code in question now has a NULL check too.
Ideally, PackageKit should be upgraded to fix this.
(I'll discuss with the others once again...)

information type: Private → Public
Revision history for this message
Salih EMIN (salih-emin) wrote :

This happens when I go System Settings --> Details. Apparently this is due to the "Overview" menu where it automatically searches for any available updates (packagekit).

tags: added: bugpattern-needed
Revision history for this message
Marcus (ma-wilkinson) wrote :

I have the same problem, using Xenial 16.04 (X64).

Seems solution is to install python3-aptdaemon.pkcompat, which removes packagekit.

'sudo apt-get install python3-aptdaemon.pkcompat'

Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED
  packagekit
The following NEW packages will be installed
  python3-aptdaemon.pkcompat
0 to upgrade, 1 to newly install, 1 to remove and 0 not to upgrade.
Need to get 0 B/23.1 kB of archives.
After this operation, 921 kB disk space will be freed.
Do you want to continue? [Y/n] y
dpkg: packagekit: dependency problems, but removing anyway as you requested:
 packagekit-tools depends on python3-aptdaemon.pkcompat | packagekit-system-interface | packagekit (= 0.8.17-4ubuntu6~gcc5.4ubuntu1); however:
  Package python3-aptdaemon.pkcompat is not installed.
  Package packagekit-system-interface is not installed.
  Package packagekit which provides packagekit-system-interface is to be removed.
  Package python3-aptdaemon.pkcompat which provides packagekit-system-interface is not installed.
  Package packagekit is to be removed.
 packagekit-tools depends on python3-aptdaemon.pkcompat | packagekit-system-interface | packagekit (= 0.8.17-4ubuntu6~gcc5.4ubuntu1); however:
  Package python3-aptdaemon.pkcompat is not installed.
  Package packagekit-system-interface is not installed.
  Package packagekit which provides packagekit-system-interface is to be removed.
  Package python3-aptdaemon.pkcompat which provides packagekit-system-interface is not installed.
  Package packagekit is to be removed.
 syste
(Reading database ... 429128 files and directories currently installed.)
Removing packagekit (0.8.17-4ubuntu6~gcc5.4ubuntu1) ...
Processing triggers for dbus (1.10.6-1ubuntu3) ...
Selecting previously unselected package python3-aptdaemon.pkcompat.
(Reading database ... 429095 files and directories currently installed.)
Preparing to unpack .../python3-aptdaemon.pkcompat_1.1.1+bzr982-0ubuntu14_all.deb ...
Unpacking python3-aptdaemon.pkcompat (1.1.1+bzr982-0ubuntu14) ...
Processing triggers for dbus (1.10.6-1ubuntu3) ...
Setting up python3-aptdaemon.pkcompat (1.1.1+bzr982-0ubuntu14) ...

After this, system info works fine and no more crashing.

Revision history for this message
Pascal (pascalchap) wrote :

Same problem with ubuntu LTS16.04.
I noticed that on all reports I found concerning this bug, the architecture is amd64.
pureadmin version(0.4-0ubuntu2)

Revision history for this message
Pascal (pascalchap) wrote :

Sorry, I didn't find how to modify my previous comment. As I have not packagekit is not installed, I don't think it is a duplicate of bug #1572778.

Same problem with

ubuntu LTS16.04.
pureadmin version(0.4-0ubuntu2)

I noticed that on all reports I found concerning this bug, the architecture is amd64.
I havn't packagekit installed

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.