update-alternatives crashed with SIGSEGV in main()
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
dpkg (Ubuntu) |
Fix Released
|
Medium
|
Unassigned |
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/
Running this by hand caused this crash.
ProblemType: Crash
DistroRelease: Ubuntu 12.10
Package: dpkg 1.16.7ubuntu3
ProcVersionSign
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/
ProcCmdline: update-alternatives --force --slave /usr/lib/
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_
?? ()
?? ()
?? ()
Title: update-alternatives crashed with SIGSEGV in __libc_start_main()
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups:
Related branches
visibility: | private → public |
StacktraceSource: cac8) at ../../utils/ update- alternatives. c:2547 update- alternatives. c was not found in source tree] cac8) at ../../utils/ update- alternatives. c:2547
#0 0x00000000004025eb in main (argc=6, argv=0x7fff1957
[Error: ../../utils/
StacktraceTop: main (argc=6, argv=0x7fff1957