[Bug 1037431] Re: update-alternatives crashed with SIGSEGV in main()
Raphaël Hertzog
hertzog at debian.org
Mon Sep 17 13:24:12 UTC 2012
** Visibility changed to: Public
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to dpkg in Ubuntu.
https://bugs.launchpad.net/bugs/1037431
Title:
update-alternatives crashed with SIGSEGV in main()
Status in “dpkg” package in Ubuntu:
New
Bug description:
I got this whilst trying to debug why the nvidia-current package
wasn't being set up properly. Digging through the postinst, I found
the following which is part of a big update-alternatives command to
correctly symlink the nvidia xorg driver into place:
update-alternatives --force --slave
/usr/lib/xorg/modules/drivers/nvidia_drv.so x86_64-linux-
gnu_nvidia_drv /usr/lib/nvidia-current/xorg/nvidia_drv.so
Running this by hand caused this crash.
ProblemType: Crash
DistroRelease: Ubuntu 12.10
Package: dpkg 1.16.7ubuntu3
ProcVersionSignature: Ubuntu 3.5.0-10.10-generic 3.5.1
Uname: Linux 3.5.0-10-generic x86_64
ApportVersion: 2.4-0ubuntu6
Architecture: amd64
Date: Thu Aug 16 16:28:29 2012
ExecutablePath: /usr/bin/update-alternatives
ProcCmdline: update-alternatives --force --slave /usr/lib/xorg/modules/drivers/nvidia_drv.so x86_64-linux-gnu_nvidia_drv /usr/lib/nvidia-current/xorg/nvidia_drv.so
ProcEnviron:
TERM=xterm
PATH=(custom, no user)
LANG=en_AU.UTF-8
LANGUAGE=en_AU:en
SHELL=/bin/bash
SegvAnalysis:
Segfault happened at: 0x4025eb: mov (%rax),%rdi
PC (0x004025eb) ok
source "(%rax)" (0x00000000) not located in a known VMA region (needed readable region)!
destination "%rdi" ok
SegvReason: reading NULL VMA
Signal: 11
SourcePackage: dpkg
StacktraceTop:
?? ()
__libc_start_main () from /lib/x86_64-linux-gnu/libc.so.6
?? ()
?? ()
?? ()
Title: update-alternatives crashed with SIGSEGV in __libc_start_main()
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups:
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dpkg/+bug/1037431/+subscriptions
More information about the foundations-bugs
mailing list