Bug 1194063
| Summary: | [abrt] e2fsprogs: strlen(): dumpe2fs killed by SIGSEGV | ||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Wolfgang Reh <Wolfgang.Reh> | ||||||||||||||||||||||||
| Component: | e2fsprogs | Assignee: | Eric Sandeen <esandeen> | ||||||||||||||||||||||||
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||||||||||||||||||||
| Severity: | unspecified | Docs Contact: | |||||||||||||||||||||||||
| Priority: | unspecified | ||||||||||||||||||||||||||
| Version: | 21 | CC: | bkircher, eliadevito, esandeen, fac_franky, gareth, josef, kzak, nikola.p-k, oliver | ||||||||||||||||||||||||
| Target Milestone: | --- | ||||||||||||||||||||||||||
| Target Release: | --- | ||||||||||||||||||||||||||
| Hardware: | x86_64 | ||||||||||||||||||||||||||
| OS: | Unspecified | ||||||||||||||||||||||||||
| URL: | https://retrace.fedoraproject.org/faf/reports/bthash/c1a4a622a4036ae3b2c0a7a44f1f032190f3bba5 | ||||||||||||||||||||||||||
| Whiteboard: | abrt_hash:20b79d7e172c5e3acd740c5fee7bd2dc5474f233 | ||||||||||||||||||||||||||
| Fixed In Version: | e2fsprogs-1.42.12-3.fc20 | Doc Type: | Bug Fix | ||||||||||||||||||||||||
| Doc Text: | Story Points: | --- | |||||||||||||||||||||||||
| Clone Of: | Environment: | ||||||||||||||||||||||||||
| Last Closed: | 2015-03-04 10:22:56 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
Wolfgang Reh
2015-02-18 22:13:47 UTC
Created attachment 993328 [details]
File: backtrace
Created attachment 993329 [details]
File: cgroup
Created attachment 993330 [details]
File: core_backtrace
Created attachment 993331 [details]
File: dso_list
Created attachment 993332 [details]
File: environ
Created attachment 993333 [details]
File: exploitable
Created attachment 993334 [details]
File: limits
Created attachment 993335 [details]
File: maps
Created attachment 993336 [details]
File: open_fds
Created attachment 993337 [details]
File: proc_pid_status
Created attachment 993338 [details]
File: var_log_messages
I assume you invoked dumpe2fs with no arguments? [root e2fsprogs]# misc/dumpe2fs dumpe2fs 1.42.12 (29-Aug-2014) Segmentation fault :/ commit fecb231f6fc83cf4b4ddf7ec34ace3723803a499
Author: Darrick J. Wong <darrick.wong>
Date: Fri Nov 7 21:26:14 2014 -0500
dumpe2fs: don't crash when the user provides no block device argument
If the user doesn't provide any arguments, the guard fails to run and
the whole thing segfaults on ext2fs_open2(). Don't do that.
Signed-off-by: Darrick J. Wong <darrick.wong>
Signed-off-by: Theodore Ts'o <tytso>
This commit from v1.42.12 regressed this behavior:
commit 20d6b381a1aacfdb553dcba95d96c5bf36ea7253
Author: Theodore Ts'o <tytso>
Date: Sun Aug 24 22:31:03 2014 -0400
dumpe2fs: complain if extra arguments are given on the command line
Addresses-Debian-Bug: #758074
Signed-off-by: Theodore Ts'o <tytso>
I didn't call dumpe2fs directly at all. I don't know what call caused the crash, I was trying 'Disks' (the Gnome disk manager) and 'Partition Manager' (the KDE disk manager) when the error happened. I just at some point recognized abrt telling me an error occurred and I then sent the report. Ok, weird.
> cmdline: dumpe2fs
I guess that was the whole backtrace. I wonder which tool called it like that.
It was all that abrt reported, I didn't remove anything. yes, I understand, I just wonder why some other utility called it w/ no args. anyway, I know the fix, it'll be in the (sigh) next update. Thanks for the report. :) -Eric Maybe I can give a hint... I installed kde-partitionmanager right before (according to logs 30 seconds) that crash was noticed by abrt. /var/log/yum.log: <snip> Feb 23 12:25:28 Installed: kde-partitionmanager-1.1.0-3.fc21.x86_64 </snip> abrt-cli list <snip> reason: dumpe2fs killed by SIGSEGV time: Mon 23 Feb 2015 12:25:57 PM CET cmdline: dumpe2fs </snip> So I might have started kde-partitionmanager right before dumpe2fs which could explain _who_ called it without arguments. Anyway, shouldn't crash anyhow IMHO. e2fsprogs-1.42.12-3.fc21 has been submitted as an update for Fedora 21. https://admin.fedoraproject.org/updates/e2fsprogs-1.42.12-3.fc21 e2fsprogs-1.42.12-3.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/e2fsprogs-1.42.12-3.fc20 Package e2fsprogs-1.42.12-3.fc21: * should fix your issue, * was pushed to the Fedora 21 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing e2fsprogs-1.42.12-3.fc21' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2015-2511/e2fsprogs-1.42.12-3.fc21 then log in and leave karma (feedback). e2fsprogs-1.42.12-3.fc21 has been pushed to the Fedora 21 stable repository. If problems still persist, please make note of it in this bug report. e2fsprogs-1.42.12-3.fc20 has been pushed to the Fedora 20 stable repository. If problems still persist, please make note of it in this bug report. *** Bug 1201554 has been marked as a duplicate of this bug. *** |