update-manager crashes when trying to upgrade to 13.10 when nvidia video driver in use

Bug #1203534 reported by Dariusz Gadomski
236
This bug affects 69 people
Affects Status Importance Assigned to Milestone
ubuntu-release-upgrader (Ubuntu)
Confirmed
Undecided
Unassigned
update-manager (Ubuntu)
Confirmed
High
Unassigned

Bug Description

The update manager segfaults when trying to upgrade from 13.04 to 13.10 when using the nvidia driver.

Steps to reproduce:
1. $ sudo update-manager -c -d
2. Press the 'Upgrade...' button.

Expected result:
Another window appears asking to confirm the upgrade.

Actual result:
After message on checking the availability of a new Ubuntu release I get a Segmentation fault (core dumped) message.

ProblemType: BugDistroRelease: Ubuntu 13.04
Package: update-manager 1:0.186.1
ProcVersionSignature: Ubuntu 3.8.0-22.33-generic 3.8.11
Uname: Linux 3.8.0-22-generic x86_64
NonfreeKernelModules: nvidia
ApportVersion: 2.9.2-0ubuntu8.3
Architecture: amd64
Date: Sun Jul 21 18:14:09 2013
GsettingsChanges:
 b'com.ubuntu.update-manager' b'first-run' b'false'
 b'com.ubuntu.update-manager' b'launch-time' b'1374423191'
 b'com.ubuntu.update-manager' b'show-details' b'true'
 b'com.ubuntu.update-manager' b'window-height' b'600'
 b'com.ubuntu.update-manager' b'window-width' b'617'
InstallationDate: Installed on 2013-05-25 (56 days ago)
InstallationMedia: Ubuntu 13.04 "Raring Ringtail" - Release amd64 (20130424)
MarkForUpload: True
PackageArchitecture: allSourcePackage: update-manager
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Dariusz Gadomski (dgadomski) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

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

Changed in update-manager (Ubuntu):
status: New → Confirmed
Revision history for this message
Mark Bennison (mark-bennison) wrote :

Just to add to this, I also get a message in the terminal that says "Real-time signal 0".

Note also that after 3 attempts to do this, it got a little further and then crashed again. The terminal output is:

Checking for a new Ubuntu release
WARNING:root:fetch result != continue (2)
Traceback (most recent call last):
  File "/usr/bin/do-release-upgrade", line 152, in <module>
    fetcher.run()
  File "/usr/lib/python3/dist-packages/DistUpgrade/DistUpgradeFetcherCore.py", line 278, in run
    _("Fetching the upgrade failed. There may be a network "
  File "/usr/lib/python3/dist-packages/DistUpgrade/DistUpgradeFetcher.py", line 50, in error
    return error(self.window_main.window_main, summary, message)
AttributeError: 'NoneType' object has no attribute 'window_main'

Also I sent an apport error, but it didn't offer to show raise a bug, Note sure if this is wholly related to this bug, but I am posting here for those more knowledgeable to advise!

Revision history for this message
Horst Schirmeier (horst) wrote :

foo@bar:/media$ update-manager -d
Checking for a new Ubuntu release
authenticate 'saucy.tar.gz' against 'saucy.tar.gz.gpg'
extracting 'saucy.tar.gz'
Real-time signal 0

Note that I did this in a read-only directory. When running, e.g., in /tmp, it works reproducibly.

Revision history for this message
Simone Bordet (simone-bordet) wrote :
Revision history for this message
Simone Bordet (simone-bordet) wrote :

I have an NVIDIA card, and was using the binary driver.
I have switched to the open source driver, and retried the upgrade, and it worked for me, no more "Real-time signal 0" error nor core dumped.

Revision history for this message
B. Clausius (barcc) wrote :

I am also using the NVIDIA binary driver. I did the upgrade in a terminal with do-release-upgrade that worked.

The bug is not in update-manager but in the Gtk3 frontend of the command do-release-upgrade from the source package ubuntu-release-upgrader (update-manager internally invokes do-release-upgrade).

Try this command:
/usr/bin/pkexec /usr/bin/do-release-upgrade --frontend=DistUpgradeViewGtk3
It fails as described above.

Changed in ubuntu-release-upgrader (Ubuntu):
status: New → Confirmed
Revision history for this message
Leonardo Donelli (learts92) wrote :

I'm also using the NVIDIA binary driver (304.something).
I can confirm that upgrading with `do-release-upgrade` works.

Revision history for this message
Allan Kelly (wolasallank) wrote :

As comment #6 above, I switched from NVIDIA to nouveau driver.
Upgrade ran fine from update-manager GUI.

Revision history for this message
Ricardo Almeida (ric-almeida) wrote :

Another one on NVIDIA binary driver... do-release-upgrade works

Revision history for this message
Dave S (dsokolowsky) wrote :

I also had the problem and NVIDIA driver. Completed the do-release-upgrade method last night.

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

Does this only happen when using 'sudo update-manager -d' with the nvidia driver, or does it also happen with just 'update-manager -d' and the nvidia driver?

description: updated
Revision history for this message
ChrisiPK (chrisipk) wrote :

@brian-murray Yes, it also happens without sudo. The update manager prompts for the password after clicking the "Upgrade..." button and it fails after that.

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

When clicking the upgrade button the following command is called:

/usr/bin/pkexec /usr/bin/do-release-upgrade --frontend=DistUpgradeViewGtk3 -d

Could you please try that in a terminal? Thanks in advance.

summary: - update-manager crashes when trying to upgrade to 13.10
+ update-manager crashes when trying to upgrade to 13.10 when nvidia video
+ driver in use
Changed in update-manager (Ubuntu):
importance: Undecided → High
Revision history for this message
klap-in (klap-in) wrote :

@brian-murray

- I got the update popup, after usual update. I try the upgrade button, but it fails silence.
- Next i tried in a terminal: /usr/bin/pkexec /usr/bin/do-release-upgrade --frontend=DistUpgradeViewGtk3 -d
This fails with a segfault.
- Next i tried again that command in a terminal and now the upgrade runs fine.

Revision history for this message
Brian Murray (brian-murray) wrote : Re: [Bug 1203534] Re: update-manager crashes when trying to upgrade to 13.10 when nvidia video driver in use

On Tue, Nov 05, 2013 at 09:50:42AM -0000, klap-in wrote:
> @brian-murray
>
> - I got the update popup, after usual update. I try the upgrade button, but it fails silence.
> - Next i tried in a terminal: /usr/bin/pkexec /usr/bin/do-release-upgrade --frontend=DistUpgradeViewGtk3 -d
> This fails with a segfault.
> - Next i tried again that command in a terminal and now the upgrade runs fine.

To be clear you ran this command, /usr/bin/pkexec
/usr/bin/do-release-upgrade --frontend=DistUpgradeViewGtk3 -d, two times
in a terminal and the second time it worked?

--
Brian Murray

Revision history for this message
Dave S (dsokolowsky) wrote :

On a second system w/Nvidia.

Failed 4 times using:
"in a terminal: /usr/bin/pkexec /usr/bin/do-release-upgrade --frontend=DistUpgradeViewGtk3 -d"

twice with result:
Checking for a new Ubuntu release
authenticate 'saucy.tar.gz' against 'saucy.tar.gz.gpg'
extracting 'saucy.tar.gz'
Real-time signal 0

third time was:
Checking for a new Ubuntu release
authenticate 'saucy.tar.gz' against 'saucy.tar.gz.gpg'
extracting 'saucy.tar.gz'
Segmentation fault (core dumped)

then tried from /tmp:
Checking for a new Ubuntu release
Real-time signal 0

Finally ran do-release-upgrade, as with previous system, and it's off and running.

Revision history for this message
Ronny Klaeboe (icemover) wrote :

Changing display-driver worked for me. Ref comment #6.

Revision history for this message
Walter Ribeiro (wribeirojr) wrote :

One more bug to NVidia list.

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.