depmod crashed with SIGSEGV in strcmp()

Bug #428222 reported by Matt Jackson
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
glibc (Ubuntu)
Invalid
Medium
Unassigned

Bug Description

Binary package hint: libc6

I'm finding that I'm continually getting SEGVs from various apps (depmod, Firefox, google desktop indexer). Logs show

[ 694.054225] depmod[6826] general protection ip:7fe6473fc6a0 sp:7fff4f90e0c8 error:0 in libc-2.9.so[7fe64737c000+168000]
[ 734.060885] gdl_indexer[6914]: segfault at 314 ip 00007fb42754b5b2 sp 00007fb424c66f40 error 4 in ld-2.9.so[7fb427538000+20000]

Release details:
Description: Ubuntu 9.04
Release: 9.04

libc6:
  Installed: 2.9-4ubuntu6.1
  Candidate: 2.9-4ubuntu6.1
  Version table:
 *** 2.9-4ubuntu6.1 0
        500 http://apt-proxy.frogdream.com jaunty-proposed/main Packages
        100 /var/lib/dpkg/status
     2.9-4ubuntu6 0
        500 http://apt-proxy.frogdream.com jaunty/main Packages
module-init-tools:
  Installed: 3.7~pre9-2
  Candidate: 3.7~pre9-2
  Version table:
 *** 3.7~pre9-2 0
        500 http://apt-proxy.frogdream.com jaunty/main Packages
        100 /var/lib/dpkg/status

Expected: depmod to update module list
Instead: received a SEGV

Results in not being able to update kernel version.

ProblemType: Crash
Architecture: amd64
CrashCounter: 1
Dependencies:
 libgcc1 1:4.3.3-5ubuntu4
 gcc-4.3-base 4.3.3-5ubuntu4
 findutils 4.4.0-2ubuntu4
 libc6 2.9-4ubuntu6.1
DistroRelease: Ubuntu 9.04
ExecutablePath: /sbin/depmod
NonfreeKernelModules: nvidia
Package: module-init-tools 3.7~pre9-2
ProcAttrCurrent: unconfined
ProcCmdline: depmod -a 2.6.28-15-generic
ProcEnviron:
 PATH=(custom, no user)
 LANG=en_AU.UTF-8
 SHELL=/usr/bin/zsh
Signal: 11
SourcePackage: module-init-tools
StacktraceTop:
 strcmp () from /lib/libc.so.6
 ?? ()
 ?? ()
 ?? ()
 __libc_start_main () from /lib/libc.so.6
Title: depmod crashed with SIGSEGV in strcmp()
Uname: Linux 2.6.28-15-generic x86_64
UserGroups:
SegvAnalysis:
 Segfault happened at: 0x7f16f2c626a0 <strcmp>: mov (%rdi),%al
 PC (0x7f16f2c626a0) ok
 source "(%rdi)" (0x7ff2ecf0d663) not located in a known VMA region (needed readable region)!
 destination "%al" ok
SegvReason: reading unknown VMA

Revision history for this message
Matt Jackson (mjj-launchpad) wrote :
visibility: private → public
Revision history for this message
Apport retracing service (apport) wrote : Stacktrace.txt (retraced)

StacktraceTop:strcmp () at ../sysdeps/x86_64/strcmp.S:29
load_section64 (hdr=0x7f16ecf0a000,
load_symbols64 (module=0xfb2880)
main (argc=3, argv=0x0) at ../depmod.c:723

Revision history for this message
Apport retracing service (apport) wrote : ThreadStacktrace.txt (retraced)
Changed in glibc (Ubuntu):
importance: Undecided → Medium
tags: removed: need-amd64-retrace
Revision history for this message
Matt Jackson (mjj-launchpad) wrote :

Hmm. It was always failing trying to do a apt-get dist-upgrade and not being able to install linux-image-2.6.28-15-generic_2.6.28-15.52_amd64.deb. Note that sudo depmod -a would produce the core dump even without apt-get.

I decided to try and install the package with dpkg -i and it all worked fine. A straight sudo depmod -a now works too.

Kees Cook (kees)
description: updated
Revision history for this message
dino99 (9d9) wrote :

This version has died long ago; no more supported

Changed in glibc (Ubuntu):
status: New → Invalid
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.