Bug 1157774 - [abrt] mdadm: strcpy(): mdadm killed by SIGSEGV
Summary: [abrt] mdadm: strcpy(): mdadm killed by SIGSEGV
Keywords:
Status: CLOSED WORKSFORME
Alias: None
Product: Fedora
Classification: Fedora
Component: mdadm
Version: 21
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Jes Sorensen
QA Contact: Fedora Extras Quality Assurance
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:4fb8f49e704cae520f285e15c3b...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-10-27 16:38 UTC by Kamil Páral
Modified: 2015-10-20 15:29 UTC (History)
7 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2015-10-20 13:19:58 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (10.33 KB, text/plain)
2014-10-27 16:38 UTC, Kamil Páral
no flags Details
File: cgroup (206 bytes, text/plain)
2014-10-27 16:38 UTC, Kamil Páral
no flags Details
File: core_backtrace (1.23 KB, text/plain)
2014-10-27 16:38 UTC, Kamil Páral
no flags Details
File: dso_list (222 bytes, text/plain)
2014-10-27 16:38 UTC, Kamil Páral
no flags Details
File: environ (177 bytes, text/plain)
2014-10-27 16:38 UTC, Kamil Páral
no flags Details
File: exploitable (82 bytes, text/plain)
2014-10-27 16:38 UTC, Kamil Páral
no flags Details
File: limits (1.29 KB, text/plain)
2014-10-27 16:38 UTC, Kamil Páral
no flags Details
File: maps (1.54 KB, text/plain)
2014-10-27 16:38 UTC, Kamil Páral
no flags Details
File: mdstat_data (422 bytes, text/plain)
2014-10-27 16:38 UTC, Kamil Páral
no flags Details
File: open_fds (193 bytes, text/plain)
2014-10-27 16:38 UTC, Kamil Páral
no flags Details
File: proc_pid_status (899 bytes, text/plain)
2014-10-27 16:38 UTC, Kamil Páral
no flags Details
File: var_log_messages (4.99 KB, text/plain)
2014-10-27 16:38 UTC, Kamil Páral
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1157657 0 unspecified CLOSED DeviceTreeError: failed to scan disk sdb 2021-02-22 00:41:40 UTC
Red Hat Bugzilla 1157770 0 unspecified CLOSED SELinux is preventing cat from 'getattr' accesses on the file /proc/mdstat. 2021-02-22 00:41:40 UTC

Internal Links: 1157657 1157770 1160424

Description Kamil Páral 2014-10-27 16:38:35 UTC
Description of problem:
I received this at the end of anaconda installation when debugging bug 1157657. It is probably caused by bug 1157770 - selinux denial.

Version-Release number of selected component:
mdadm-3.3.2-1.fc21

Additional info:
reporter:       libreport-2.3.0
backtrace_rating: 4
cmdline:        /usr/sbin/mdadm --detail --export /dev/md126p1
crash_function: strcpy
executable:     /usr/sbin/mdadm
kernel:         3.17.1-302.fc21.x86_64
runlevel:       N 5
type:           CCpp
uid:            0

Truncated backtrace:
Thread no. 1 (4 frames)
 #1 strcpy at /usr/include/bits/string3.h:104
 #2 super_by_fd at util.c:1064
 #3 Detail at Detail.c:109
 #4 misc_list at mdadm.c:1778

Comment 1 Kamil Páral 2014-10-27 16:38:38 UTC
Created attachment 951064 [details]
File: backtrace

Comment 2 Kamil Páral 2014-10-27 16:38:39 UTC
Created attachment 951065 [details]
File: cgroup

Comment 3 Kamil Páral 2014-10-27 16:38:40 UTC
Created attachment 951066 [details]
File: core_backtrace

Comment 4 Kamil Páral 2014-10-27 16:38:41 UTC
Created attachment 951067 [details]
File: dso_list

Comment 5 Kamil Páral 2014-10-27 16:38:42 UTC
Created attachment 951068 [details]
File: environ

Comment 6 Kamil Páral 2014-10-27 16:38:43 UTC
Created attachment 951069 [details]
File: exploitable

Comment 7 Kamil Páral 2014-10-27 16:38:44 UTC
Created attachment 951070 [details]
File: limits

Comment 8 Kamil Páral 2014-10-27 16:38:45 UTC
Created attachment 951071 [details]
File: maps

Comment 9 Kamil Páral 2014-10-27 16:38:46 UTC
Created attachment 951072 [details]
File: mdstat_data

Comment 10 Kamil Páral 2014-10-27 16:38:47 UTC
Created attachment 951073 [details]
File: open_fds

Comment 11 Kamil Páral 2014-10-27 16:38:48 UTC
Created attachment 951074 [details]
File: proc_pid_status

Comment 12 Kamil Páral 2014-10-27 16:38:50 UTC
Created attachment 951075 [details]
File: var_log_messages

Comment 13 Jeremy Rimpo 2014-11-04 18:56:06 UTC
Another user experienced a similar problem:

Trying to run an install with anaconda. I was also running firefox with the lastpass password manager to try reporting a (probably related) python-blivet bug.

reporter:       libreport-2.3.0
backtrace_rating: 4
cmdline:        /usr/sbin/mdadm --detail --export /dev/md126p2
crash_function: strcpy
executable:     /usr/sbin/mdadm
kernel:         3.17.1-302.fc21.x86_64
package:        mdadm-3.3.2-1.fc21
reason:         mdadm killed by SIGSEGV
runlevel:       N 5
type:           CCpp
uid:            0

Comment 14 Jeremy Rimpo 2014-11-04 19:08:43 UTC
I'm now seeing this bug with what should be a still-intact and functioning hardware raid with an old Fedora 20 install/partitions and NTFS data partition.

I also saw a selinux report pop up. So I think these bugs are still hanging around.

This was hit using the current Beta release iso.

Comment 15 Jeremy Rimpo 2014-11-04 19:09:45 UTC
In my case, this actually caused anaconda to fail at the start of the install. See Bug#1160424

Comment 16 Jeremy Rimpo 2014-11-04 19:10:35 UTC
Meaning before even selecting language during a Live boot - no drive selections made or anything.

Comment 17 Jeremy Rimpo 2014-11-04 19:27:08 UTC
I'm sorry - I mistyped earlier. This is an Intel firmware raid, not a hardware raid.

Comment 18 Adam Williamson 2014-11-28 03:52:29 UTC
I also saw this when doing a firmware RAID install over an existing firmware RAID install. The install completed apparently successfully, however.

Comment 19 Jes Sorensen 2015-10-19 13:55:55 UTC
Please retest with mdadm-3.3.4 for F21/F22

Jes

Comment 20 Kamil Páral 2015-10-20 07:40:03 UTC
Sorry, that was a one-time issue and I can't reproduce the setup anymore.

Comment 21 Jes Sorensen 2015-10-20 13:19:58 UTC
Thanks for the update!

In that case I am going to close the bug since it cannot be reproduced. If
you experience it again, please feel free to open a new bugzilla.

Cheers,
Jes

Comment 22 Adam Williamson 2015-10-20 15:29:41 UTC
Ditto here, yeah. I'm fine with leaving it closed.


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