trying to install psychonauts enters infinite crash loop

Bug #1011780 reported by Gerry JJ
32
This bug affects 7 people
Affects Status Importance Assigned to Milestone
software-center (Ubuntu)
Fix Committed
High
Unassigned

Bug Description

WORKAROUND:
Until this bug is fixed, you can install Psychonauts using a terminal as shown:
  $ sudo apt-get install psychonauts

---
Installing Psychonauts from the Ubuntu Software Center eventually (after downloading) caused the software center to repeatedly crash and pop up a new crash report dialog every few seconds (before previous ones were closed). Had to killall -9 software-center and apport-gtk.

After this happened, simply launching the software center caused the crash loop to happen again. Launching and killing it a few times seems to have fixed it.

Also, the size of the psychonauts package is reported as 134.9 MB in stead of 4.1 GB.

$ lsb_release -rd
Description: Ubuntu 12.04 LTS
Release: 12.04

Ubuntu Software Center version 5.2.2.2

Tags: ca-escalated
Revision history for this message
Launchpad Janitor (janitor) wrote :

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

Changed in software-center (Ubuntu):
status: New → Confirmed
Revision history for this message
GonzoDark (gonzo-dark) wrote :

Mine said 130.6MB instead of 134.9 MB like yours did, but the rest is exactly the same.

Revision history for this message
GonzoDark (gonzo-dark) wrote :

I cleared the cache from the terminal by typing the following:

sudo apt-get clean

That fixed the problem with Ubuntu Software Center repeatedly crashing and it is downloading just fine now. (But the file-size bug is still present as I currently have downloaded 880,2 MB out of 133,3 MB :S )

I think clearing the cache really did the job :-) (I will return shortly with an answer)

Revision history for this message
GonzoDark (gonzo-dark) wrote :

The symptoms started to reappear at 2.1 GB (I tested it twice just to be sure)

So clearing the cache did not fix it after all :/

Revision history for this message
Gary Lasker (gary-lasker) wrote :

Hello Gerry and GonzoDark. Thanks very much for reporting this issue. I have tagged this to escalate the issue and we will investigate it right away. Please be sure to let us know any further details that you think might be useful.

Many thanks!
Gary

tags: added: ca-escalated
Michael Vogt (mvo)
Changed in software-center (Ubuntu):
importance: Undecided → Critical
Revision history for this message
Kiwinote (kiwinote) wrote :

This is probs the same issue as https://errors.ubuntu.com/bucket/?id=/usr/share/software-center/software-center:ValueError:_handler:_on_progress_details_changed:function

ie:

Traceback (most recent call last):
  File "/usr/share/software-center/softwarecenter/backend/installbackend_impl/aptd.py", line 131, in _handler
    return real_handler(trans, *args)
  File "/usr/share/software-center/softwarecenter/ui/gtk3/models/pendingstore.py", line 174, in _on_progress_details_changed
    current_bytes_str = GLib.format_size(current_bytes)
  File "/usr/lib/python2.7/dist-packages/gi/types.py", line 43, in function
    return info.invoke(*args, **kwargs)
ValueError: -2142379072 not in range 0 to 18446744073709551615

Revision history for this message
Gary Lasker (gary-lasker) wrote :

Some additional information from duplicate bug 1011948:

---

I am having problems installing the Humble Bundle via software-center.

I just installed Bastion, and I am now trying to install Psychonauts. The install process seems to hang.

I started software-center from a console to debug. I am seeing an error like the following:

2012-06-12 01:43:58,849 - softwarecenter.fixme - WARNING - logs to the root logger: '('/usr/lib/python2.7/dist-packages/dbus/connection.py', 234, 'maybe_handle_message')'
2012-06-12 01:43:58,848 - dbus.connection - ERROR - Exception in handler for D-Bus signal:
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/dbus/connection.py", line 230, in maybe_handle_message
    self._handler(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/aptdaemon/client.py", line 634, in _on_property_changed
    self.emit("progress-details-changed", *value)
TypeError: could not convert type dbus.Int64 to (null) required for parameter 3
2012-06-12 01:43:58,850 - softwarecenter.fixme - WARNING - logs to the root logger: '('/usr/lib/python2.7/dist-packages/dbus/connection.py', 234, 'maybe_handle_message')'
2012-06-12 01:43:58,850 - dbus.connection - ERROR - Exception in handler for D-Bus signal:
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/dbus/connection.py", line 230, in maybe_handle_message
    self._handler(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/aptdaemon/client.py", line 612, in _on_property_changed
    self.emit("progress-download-changed", *value)
TypeError: could not convert type dbus.Int64 to (null) required for parameter 3

It seems to be printed every second. In software-center, the GUI says "Installing...." but the Progress button does not show any installs in progress (see screenshot).

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: software-center 5.2.2.2

Revision history for this message
T_W (walshtc) wrote :

One workaround: I was able to 'apt-get install psychonauts' to workaround the issue. This command was run after trying to install via software-center.

I noticed that the 'apt-get update' ran quite slowly for some of the private PPAs. Were there any issues with the Canonical repos last night?

description: updated
Revision history for this message
Michael Vogt (mvo) wrote :

I think this is actually the aptdaemon bug #981124 that we are hitting here. I uploaded a fix into precise-proposed and I think it only affects i386, this is why I was not able to reproduce this myself. Could you please confirm that you run on a i386 system (in a terminal you can type: "dpkg --print-architecture").

Changed in software-center (Ubuntu):
importance: Critical → High
summary: - trying to install psychonauts enters infinite crash loop
+ trying to install psychonauts enters infinite crash loop on i386
Revision history for this message
Gerry JJ (gerryjo) wrote : Re: trying to install psychonauts enters infinite crash loop on i386

No, I'm on x86-64. Should've said that initially, sorry about that.

$ dpkg --print-architecture
amd64

Revision history for this message
Jonas Schwabe (jonas-schwabe) wrote :

Definitely happens on 64bit systems, too.
I have the same issues.

summary: - trying to install psychonauts enters infinite crash loop on i386
+ trying to install psychonauts enters infinite crash loop
Revision history for this message
Michael Vogt (mvo) wrote :

Thanks for this updated information. Could you please check if that issue is also happening with the 0.43+bzr805-0ubuntu2 version of aptdaemon that is currently in precise-proposed?

Revision history for this message
Gerry JJ (gerryjo) wrote :

Just checked, and it seems to be fixed in that version! Download size was reported correctly, and there were no crashes. Tested on amd64.

Revision history for this message
Michael Vogt (mvo) wrote :

Thanks a lot Gerry! Would be nice to get some more confirmation about this, but that looks very promising :)

Revision history for this message
Michael Vogt (mvo) wrote :

I set this to "fix commited" now based on the feedback in comment #13.

Changed in software-center (Ubuntu):
status: Confirmed → Fix Committed
Revision history for this message
Eduardo Amengual Risso (dvm-amengual) wrote :

when it will release?

Revision history for this message
Gary Lasker (gary-lasker) wrote :

Based on Michael's comment #9, I'll set this one as a duplicate of bug 981124. Eduardo, this fix should be released now in the latest version of aptdaemon in precise-updates. Please do an update of your system and then verify that you have the current version using the command:

  $ apt-cache policy aptdaemon

This will let you verify that you have the current version of aptdaemon which is .43+bzr805-0ubuntu2, as shown:

  aptdaemon:
  Installed: 0.43+bzr805-0ubuntu2
  Candidate: 0.43+bzr805-0ubuntu2
  Version table:
 *** 0.43+bzr805-0ubuntu2 0
        500 http://archive.ubuntu.com/ubuntu/ precise-updates/main amd64 Packages
        100 /var/lib/dpkg/status
     0.43+bzr805-0ubuntu1 0
        500 http://archive.ubuntu.com/ubuntu/ precise/main amd64 Packages

Many thanks!

Revision history for this message
Eduardo Amengual Risso (dvm-amengual) wrote :

I have the current version, thanks!!

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.