btrfstune crashed with SIGSEGV in main()

Bug #926186 reported by Robbie Williamson
66
This bug affects 18 people
Affects Status Importance Assigned to Milestone
btrfs-tools (Ubuntu)
Triaged
Medium
Unassigned

Bug Description

Occurred when I attempted to run 'sudo btrfstune' on the umounted btrfs filesystem device. I can mount and access the filesystem just fine.

ProblemType: Crash
DistroRelease: Ubuntu 12.04
Package: btrfs-tools 0.19+20100601-3ubuntu3
ProcVersionSignature: Ubuntu 3.2.0-12.20-generic 3.2.2
Uname: Linux 3.2.0-12-generic x86_64
ApportVersion: 1.91-0ubuntu1
Architecture: amd64
Date: Fri Feb 3 10:40:33 2012
ExecutablePath: /sbin/btrfstune
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Alpha amd64 (20110705.1)
ProcCmdline: btrfstune /dev/sda3
ProcEnviron:
 SHELL=/bin/bash
 PATH=(custom, user)
 LANG=en_US.UTF-8
SegvAnalysis:
 Segfault happened at: 0x40141d: mov 0x110(%r12),%rax
 PC (0x0040141d) ok
 source "0x110(%r12)" (0x00000110) not located in a known VMA region (needed readable region)!
 destination "%rax" ok
SegvReason: reading NULL VMA
Signal: 11
SourcePackage: btrfs-tools
StacktraceTop:
 ?? ()
 __libc_start_main () from /lib/x86_64-linux-gnu/libc.so.6
 ?? ()
 ?? ()
 ?? ()
Title: btrfstune crashed with SIGSEGV in __libc_start_main()
UpgradeStatus: Upgraded to precise on 2011-12-23 (41 days ago)
UserGroups: adm admin cdrom dialout libvirtd lpadmin plugdev sambashare vboxusers

Revision history for this message
Robbie Williamson (robbiew) wrote :
visibility: private → public
Revision history for this message
Apport retracing service (apport) wrote :

Stacktrace:
 #0 main (argc=<optimized out>, argv=0x7fffedbc2cb8) at btrfstune.c:120
         root = 0x0
         seeding_flag = 0
         seeding_value = <optimized out>
         ret = <optimized out>
StacktraceTop: main (argc=<optimized out>, argv=0x7fffedbc2cb8) at btrfstune.c:120

Revision history for this message
Apport retracing service (apport) wrote : ThreadStacktrace.txt
Changed in btrfs-tools (Ubuntu):
importance: Undecided → Medium
summary: - btrfstune crashed with SIGSEGV in __libc_start_main()
+ btrfstune crashed with SIGSEGV in main()
tags: removed: need-amd64-retrace
Revision history for this message
shawnlandden (shawnlandden) wrote :

Here is a fix for this bug

Revision history for this message
shawnlandden (shawnlandden) wrote :

corrected fix

Revision history for this message
shawnlandden (shawnlandden) wrote :
Changed in btrfs-tools (Ubuntu):
status: New → Triaged
Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

The attachment "0001-Check-for-failure-in-open_ctree-call.-LP-926186.patch" of this bug report has been identified as being a patch. The ubuntu-reviewers team has been subscribed to the bug report so that they can review the patch. In the event that this is in fact not a patch you can resolve this situation by removing the tag 'patch' from the bug report and editing the attachment so that it is not flagged as a patch. Additionally, if you are member of the ubuntu-reviewers team please also unsubscribe the team from this bug report.

[This is an automated message performed by a Launchpad user owned by Brian Murray. Please contact him regarding any issues with the action taken in this bug report.]

tags: added: patch
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.