udisks-helper-drive-benchmark crashed with SIGSEGV in vfprintf()

Bug #527202 reported by sharicov on 2010-02-24
32
This bug affects 5 people
Affects Status Importance Assigned to Milestone
udisks (Ubuntu)
Medium
Martin Pitt

Bug Description

Binary package hint: udisks

While benchmarking usb hdd WD 1 TB

ProblemType: Crash
Architecture: i386
Date: Wed Feb 24 18:07:01 2010
DistroRelease: Ubuntu 10.04
ExecutablePath: /usr/lib/udisks/udisks-helper-drive-benchmark
InstallationMedia: Ubuntu 10.04 "Lucid Lynx" - Alpha i386 (20100217)
MachineType: IBM 2371H8G
Package: udisks 1.0.0~git20100223.a38230-2
PccardctlIdent:
 Socket 0:
   no product info available
PccardctlStatus:
 Socket 0:
   no card
ProcCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.32-14-generic root=UUID=56cf91e1-18d9-4ed2-8c16-1f8f9185f039 ro quiet splash
ProcCmdline: udisks-helper-drive-benchmark /dev/sdb 0
ProcEnviron: PATH=(custom, no user)
ProcVersionSignature: Ubuntu 2.6.32-14.20-generic
SegvAnalysis:
 Segfault happened at: 0xafc62b <vfprintf+14779>: repnz scas %es:(%edi),%al
 PC (0x00afc62b) ok
 source "%es:(%edi)" (0x0000007f) not located in a known VMA region (needed readable region)!
 destination "%al" ok
SegvReason: reading NULL VMA
Signal: 11
SourcePackage: udisks
StacktraceTop:
 vfprintf () from /lib/tls/i686/cmov/libc.so.6
 __vasprintf_chk () from /lib/tls/i686/cmov/libc.so.6
 g_vasprintf () from /lib/libglib-2.0.so.0
 g_strdup_vprintf () from /lib/libglib-2.0.so.0
 g_printerr () from /lib/libglib-2.0.so.0
Title: udisks-helper-drive-benchmark crashed with SIGSEGV in vfprintf()
Uname: Linux 2.6.32-14-generic i686
UserGroups:

dmi.bios.date: 03/01/2006
dmi.bios.vendor: IBM
dmi.bios.version: 1UETD1WW (2.06 )
dmi.board.name: 2371H8G
dmi.board.vendor: IBM
dmi.board.version: Not Available
dmi.chassis.asset.tag: No Asset Information
dmi.chassis.type: 10
dmi.chassis.vendor: IBM
dmi.chassis.version: Not Available
dmi.modalias: dmi:bvnIBM:bvr1UETD1WW(2.06):bd03/01/2006:svnIBM:pn2371H8G:pvrThinkPadX40:rvnIBM:rn2371H8G:rvrNotAvailable:cvnIBM:ct10:cvrNotAvailable:
dmi.product.name: 2371H8G
dmi.product.version: ThinkPad X40
dmi.sys.vendor: IBM

Related branches

CVE References

sharicov (sharicov) wrote :

StacktraceTop:
 _IO_vfprintf_internal (s=0xbfbb095c,
 *__GI___vasprintf_chk (result_ptr=0xbfbb0a6c, flags=1,
 g_vasprintf () from /lib/libglib-2.0.so.0
 g_strdup_vprintf () from /lib/libglib-2.0.so.0
 g_printerr () from /lib/libglib-2.0.so.0

Changed in udisks (Ubuntu):
importance: Undecided → Medium
tags: removed: need-i386-retrace
visibility: private → public
Sebastien Bacher (seb128) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. Please try to obtain a valgrind log following the instructions at https://wiki.ubuntu.com/Valgrind and attach the file to the bug report. This will greatly help us in tracking down your problem.

Changed in udisks (Ubuntu):
status: New → Incomplete
Sebastien Bacher (seb128) wrote :

Do you get the issue running sudo /usr/lib/udisks/udisks-helper-drive-benchmark /dev/sdb 0?

Sebastien Bacher (seb128) wrote :

The command is the one to run with valgrind too

Martin Pitt (pitti) wrote :

Nevermind, it's quite clear why this crashes. I'll fix this.

Changed in udisks (Ubuntu):
assignee: nobody → Martin Pitt (pitti)
status: Incomplete → In Progress
Martin Pitt (pitti) wrote :
Changed in udisks (Ubuntu):
status: In Progress → Fix Committed
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package udisks - 1.0.1-1

---------------
udisks (1.0.1-1) unstable; urgency=high

  Urgency high because of security bug fix.

  [ Michael Biebl ]
  * Build against parted 2.2. (Closes: #574908)
  * debian/control
    - Add dependency on dbus.

  [ Martin Pitt ]
  * New upstream bug fix release:
    - umount.udisks: Exit with return code 0 if the unmount succeeded.
      (LP: #541740)
    - Allow other rules (such as media-player-info) to set a more specific
      presentation icon.
    - Set multimedia-player-ipod icon for iPod media players. (LP: #540235)
    - Stop exporting DM key information. (Closes: #576687, LP: #556651,
      CVE-2010-1149)
    - Fix DM partition table detection.
    - job-drive-benchmark.c: Fix data types in error messages. (LP: #527202)
    - Hide Sony E-Book launcher partition. (LP: #546924)
    - Various test suite improvements.
 -- Martin Pitt <email address hidden> Fri, 09 Apr 2010 18:19:18 +0200

Changed in udisks (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers