Bug 1109979

Summary: [abrt] btrfs-progs: strlen(): mkfs.btrfs killed by SIGSEGV
Product: [Fedora] Fedora Reporter: Jan Vesely <jan.vesely>
Component: btrfs-progsAssignee: Josef Bacik <josef>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 20CC: esandeen, josef, lnie, mmahut
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/d2235183f9a919f20f3350a8f66b75a90ba9889d
Whiteboard: abrt_hash:4493a7b89fe5cddbf69960858522a9161f4695dc
Fixed In Version: btrfs-progs-3.14.2-3.fc20 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-06-21 23:50:10 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
File: backtrace
none
File: cgroup
none
File: core_backtrace
none
File: dso_list
none
File: environ
none
File: exploitable
none
File: limits
none
File: maps
none
File: open_fds
none
File: proc_pid_status
none
File: var_log_messages none

Description Jan Vesely 2014-06-16 19:21:58 UTC
Description of problem:
jsut running 'mkfs.btrfs --features'

Version-Release number of selected component:
btrfs-progs-3.14.1-1.fc20

Additional info:
reporter:       libreport-2.2.2
backtrace_rating: 4
cmdline:        mkfs.btrfs --features
crash_function: strlen
executable:     /usr/sbin/mkfs.btrfs
kernel:         3.14.5-200.fc20.x86_64
runlevel:       N 5
type:           CCpp
uid:            1000

Truncated backtrace:
Thread no. 1 (2 frames)
 #0 strlen at ../sysdeps/x86_64/strlen.S:106
 #1 __strdup at strdup.c:41

Comment 1 Jan Vesely 2014-06-16 19:22:03 UTC
Created attachment 909216 [details]
File: backtrace

Comment 2 Jan Vesely 2014-06-16 19:22:04 UTC
Created attachment 909217 [details]
File: cgroup

Comment 3 Jan Vesely 2014-06-16 19:22:05 UTC
Created attachment 909218 [details]
File: core_backtrace

Comment 4 Jan Vesely 2014-06-16 19:22:07 UTC
Created attachment 909219 [details]
File: dso_list

Comment 5 Jan Vesely 2014-06-16 19:22:09 UTC
Created attachment 909220 [details]
File: environ

Comment 6 Jan Vesely 2014-06-16 19:22:10 UTC
Created attachment 909221 [details]
File: exploitable

Comment 7 Jan Vesely 2014-06-16 19:22:12 UTC
Created attachment 909222 [details]
File: limits

Comment 8 Jan Vesely 2014-06-16 19:22:14 UTC
Created attachment 909223 [details]
File: maps

Comment 9 Jan Vesely 2014-06-16 19:22:15 UTC
Created attachment 909224 [details]
File: open_fds

Comment 10 Jan Vesely 2014-06-16 19:22:17 UTC
Created attachment 909225 [details]
File: proc_pid_status

Comment 11 Jan Vesely 2014-06-16 19:22:19 UTC
Created attachment 909226 [details]
File: var_log_messages

Comment 12 Fedora Update System 2014-06-16 21:23:31 UTC
btrfs-progs-3.14.2-1.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/btrfs-progs-3.14.2-1.fc20

Comment 13 Eric Sandeen 2014-06-16 21:24:36 UTC
This is fixed in 

af0d2f8 btrfs-progs: fix mkfs.btrfs segfault with --features option

which is in btrfs-progs-3.14.2, which is in f20 testing... now.

I guess I built it but forgot to push it.  :(

-Eric

Comment 14 Fedora Update System 2014-06-17 00:33:03 UTC
btrfs-progs-3.14.2-3.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/btrfs-progs-3.14.2-3.fc20

Comment 15 lnie 2014-06-17 03:48:29 UTC
btrfs-progs-3.14.2-3.fc20 works

Comment 16 Fedora Update System 2014-06-17 23:27:41 UTC
Package btrfs-progs-3.14.2-3.fc20:
* should fix your issue,
* was pushed to the Fedora 20 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing btrfs-progs-3.14.2-3.fc20'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2014-7440/btrfs-progs-3.14.2-3.fc20
then log in and leave karma (feedback).

Comment 17 Fedora Update System 2014-06-21 23:50:10 UTC
btrfs-progs-3.14.2-3.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.