Bug 1082348 - [abrt] btrfs-progs: get_fs_info(): btrfs killed by SIGSEGV
Summary: [abrt] btrfs-progs: get_fs_info(): btrfs killed by SIGSEGV
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: btrfs-progs
Version: 20
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Josef Bacik
QA Contact: Fedora Extras Quality Assurance
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:af04723f6742549260a5636c485...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-03-30 14:04 UTC by Bjoern Engels
Modified: 2014-05-14 16:44 UTC (History)
3 users (show)

Fixed In Version: btrfs-progs-3.14.1
Clone Of:
Environment:
Last Closed: 2014-05-14 16:42:41 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (15.00 KB, text/plain)
2014-03-30 14:04 UTC, Bjoern Engels
no flags Details
File: cgroup (172 bytes, text/plain)
2014-03-30 14:04 UTC, Bjoern Engels
no flags Details
File: core_backtrace (1.18 KB, text/plain)
2014-03-30 14:04 UTC, Bjoern Engels
no flags Details
File: dso_list (720 bytes, text/plain)
2014-03-30 14:04 UTC, Bjoern Engels
no flags Details
File: environ (2.07 KB, text/plain)
2014-03-30 14:04 UTC, Bjoern Engels
no flags Details
File: exploitable (82 bytes, text/plain)
2014-03-30 14:04 UTC, Bjoern Engels
no flags Details
File: limits (1.29 KB, text/plain)
2014-03-30 14:04 UTC, Bjoern Engels
no flags Details
File: maps (3.91 KB, text/plain)
2014-03-30 14:04 UTC, Bjoern Engels
no flags Details
File: open_fds (170 bytes, text/plain)
2014-03-30 14:04 UTC, Bjoern Engels
no flags Details
File: proc_pid_status (903 bytes, text/plain)
2014-03-30 14:04 UTC, Bjoern Engels
no flags Details
File: var_log_messages (3.60 KB, text/plain)
2014-03-30 14:04 UTC, Bjoern Engels
no flags Details

Description Bjoern Engels 2014-03-30 14:04:08 UTC
Description of problem:
accidentally called "btrfs device stats" targeting an ext4 filesystem.

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

Additional info:
reporter:       libreport-2.2.0
backtrace_rating: 4
cmdline:        btrfs device stats /dev/sda2
crash_function: get_fs_info
executable:     /usr/sbin/btrfs
kernel:         3.13.7-200.fc20.x86_64
runlevel:       N 5
type:           CCpp
uid:            0

Truncated backtrace:
Thread no. 1 (2 frames)
 #0 get_fs_info at utils.c:1649
 #1 cmd_dev_stats at cmds-device.c:331

Comment 1 Bjoern Engels 2014-03-30 14:04:12 UTC
Created attachment 880325 [details]
File: backtrace

Comment 2 Bjoern Engels 2014-03-30 14:04:14 UTC
Created attachment 880326 [details]
File: cgroup

Comment 3 Bjoern Engels 2014-03-30 14:04:16 UTC
Created attachment 880327 [details]
File: core_backtrace

Comment 4 Bjoern Engels 2014-03-30 14:04:18 UTC
Created attachment 880328 [details]
File: dso_list

Comment 5 Bjoern Engels 2014-03-30 14:04:20 UTC
Created attachment 880329 [details]
File: environ

Comment 6 Bjoern Engels 2014-03-30 14:04:22 UTC
Created attachment 880330 [details]
File: exploitable

Comment 7 Bjoern Engels 2014-03-30 14:04:24 UTC
Created attachment 880331 [details]
File: limits

Comment 8 Bjoern Engels 2014-03-30 14:04:26 UTC
Created attachment 880332 [details]
File: maps

Comment 9 Bjoern Engels 2014-03-30 14:04:28 UTC
Created attachment 880333 [details]
File: open_fds

Comment 10 Bjoern Engels 2014-03-30 14:04:29 UTC
Created attachment 880334 [details]
File: proc_pid_status

Comment 11 Bjoern Engels 2014-03-30 14:04:31 UTC
Created attachment 880335 [details]
File: var_log_messages

Comment 12 Eric Sandeen 2014-05-13 16:39:01 UTC
btrfs-progs-3.14.1 has been pushed to Fedora 19 and 20 for testing.

I frankly have no idea if this will resolve your bug or not, but if you test it and find that it does, please take the opportunity to close this bug.  :)

Thanks,
-Eric

Comment 13 Bjoern Engels 2014-05-14 16:42:41 UTC
I'd expect some notice on a non-btrfs-filesystem but the crash is fixed. :-)

# btrfs device stats /dev/sda2
ERROR: getting dev info for devstats failed: Input/output error

Thanks,
Bjoern

Comment 14 Eric Sandeen 2014-05-14 16:44:31 UTC
That's what I found too.  Thanks for verifying.

Agreed that it's not the friendliest error...


Note You need to log in before you can comment on or make changes to this bug.