Bug 1157321 - macefi crash running efibootmgr, double free or corruption
Summary: macefi crash running efibootmgr, double free or corruption
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora
Classification: Fedora
Component: efibootmgr
Version: 20
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Peter Jones
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-10-27 03:09 UTC by Chris Murphy
Modified: 2015-06-29 23:03 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2015-06-29 23:03:05 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
efibootmgr -v complete output (4.40 KB, text/plain)
2014-10-27 03:09 UTC, Chris Murphy
no flags Details
dmesg (107.26 KB, text/plain)
2014-10-27 03:11 UTC, Chris Murphy
no flags Details

Description Chris Murphy 2014-10-27 03:09:18 UTC
Description of problem: Anytime I run efibootmgr -v I get a crash with backtrace. Nothing is in dmesg.


Version-Release number of selected component (if applicable):
efibootmgr-0.7.0-3.fc20.x86_64

How reproducible:
Always


Steps to Reproduce:
1. efibootmgr -v


Actual results:

[root@f20mbp boot]# efibootmgr -v
BootCurrent: 0000
Timeout: 5 seconds
BootOrder: 0001,0000,0080
*** Error in `efibootmgr': double free or corruption (out): 0x00007fff2b7bd740 ***
======= Backtrace: =========
/lib64/libc.so.6[0x3802a75a4f]
/lib64/libc.so.6[0x3802a7cd78]
efibootmgr[0x407088]
efibootmgr[0x402308]
/lib64/libc.so.6(__libc_start_main+0xf5)[0x3802a21d65]
efibootmgr[0x403121]
======= Memory map: ========
00400000-0040b000 r-xp 00000000 00:22 122732                             /usr/sbin/efibootmgr
0060a000-0060b000 r--p 0000a000 00:22 122732                             /usr/sbin/efibootmgr
0060b000-0060c000 rw-p 0000b000 00:22 122732                             /usr/sbin/efibootmgr
023fb000-02424000 rw-p 00000000 00:00 0                                  [heap]
3802600000-3802620000 r-xp 00000000 00:22 121801                         /usr/lib64/ld-2.18.so
380281f000-3802820000 r--p 0001f000 00:22 121801                         /usr/lib64/ld-2.18.so
3802820000-3802821000 rw-p 00020000 00:22 121801                         /usr/lib64/ld-2.18.so
3802821000-3802822000 rw-p 00000000 00:00 0 
3802a00000-3802bb4000 r-xp 00000000 00:22 121802                         /usr/lib64/libc-2.18.so
3802bb4000-3802db3000 ---p 001b4000 00:22 121802                         /usr/lib64/libc-2.18.so
3802db3000-3802db7000 r--p 001b3000 00:22 121802                         /usr/lib64/libc-2.18.so
3802db7000-3802db9000 rw-p 001b7000 00:22 121802                         /usr/lib64/libc-2.18.so
3802db9000-3802dbe000 rw-p 00000000 00:00 0 
3802e00000-3802e03000 r-xp 00000000 00:22 121804                         /usr/lib64/libdl-2.18.so
3802e03000-3803002000 ---p 00003000 00:22 121804                         /usr/lib64/libdl-2.18.so
3803002000-3803003000 r--p 00002000 00:22 121804                         /usr/lib64/libdl-2.18.so
3803003000-3803004000 rw-p 00003000 00:22 121804                         /usr/lib64/libdl-2.18.so
3803200000-3803207000 r-xp 00000000 00:22 122052                         /usr/lib64/libefivar.so.0
3803207000-3803407000 ---p 00007000 00:22 122052                         /usr/lib64/libefivar.so.0
3803407000-3803408000 r--p 00007000 00:22 122052                         /usr/lib64/libefivar.so.0
3803408000-380340e000 rw-p 00008000 00:22 122052                         /usr/lib64/libefivar.so.0
3803600000-3803615000 r-xp 00000000 00:22 121812                         /usr/lib64/libz.so.1.2.8
3803615000-3803814000 ---p 00015000 00:22 121812                         /usr/lib64/libz.so.1.2.8
3803814000-3803815000 r--p 00014000 00:22 121812                         /usr/lib64/libz.so.1.2.8
3803815000-3803816000 rw-p 00015000 00:22 121812                         /usr/lib64/libz.so.1.2.8
3803e00000-3803e0b000 r-xp 00000000 00:22 122336                         /usr/lib64/libpci.so.3.2.1
3803e0b000-380400b000 ---p 0000b000 00:22 122336                         /usr/lib64/libpci.so.3.2.1
380400b000-380400c000 r--p 0000b000 00:22 122336                         /usr/lib64/libpci.so.3.2.1
380400c000-380400d000 rw-p 0000c000 00:22 122336                         /usr/lib64/libpci.so.3.2.1
3804e00000-3804e15000 r-xp 00000000 00:22 121822                         /usr/lib64/libgcc_s-4.8.3-20140911.so.1
3804e15000-3805014000 ---p 00015000 00:22 121822                         /usr/lib64/libgcc_s-4.8.3-20140911.so.1
3805014000-3805015000 r--p 00014000 00:22 121822                         /usr/lib64/libgcc_s-4.8.3-20140911.so.1
3805015000-3805016000 rw-p 00015000 00:22 121822                         /usr/lib64/libgcc_s-4.8.3-20140911.so.1
3805a00000-3805a16000 r-xp 00000000 00:22 121863                         /usr/lib64/libresolv-2.18.so
3805a16000-3805c16000 ---p 00016000 00:22 121863                         /usr/lib64/libresolv-2.18.so
3805c16000-3805c17000 r--p 00016000 00:22 121863                         /usr/lib64/libresolv-2.18.so
3805c17000-3805c18000 rw-p 00017000 00:22 121863                         /usr/lib64/libresolv-2.18.so
3805c18000-3805c1a000 rw-p 00000000 00:00 0 
7f75501cd000-7f75501d2000 rw-p 00000000 00:00 0 
7f75501d9000-7f75501dc000 rw-p 00000000 00:00 0 
7fff2b79f000-7fff2b7c0000 rw-p 00000000 00:00 0                          [stack]
7fff2b7fc000-7fff2b7fe000 r-xp 00000000 00:00 0                          [vdso]
7fff2b7fe000-7fff2b800000 r--p 00000000 00:00 0                          [vvar]
ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0                  [vsyscall]
Boot0000* FedoraAborted
[root@f20mbp boot]#

Expected results:

No crash, verbose listing.

Additional info:

Doesn't crash without the flag.

Comment 1 Chris Murphy 2014-10-27 03:09:50 UTC
Created attachment 950880 [details]
efibootmgr -v complete output

Comment 2 Chris Murphy 2014-10-27 03:11:25 UTC
Created attachment 950881 [details]
dmesg

full dmesg

Hardware is Apple Inc. MacBookPro9,2/Mac-6F01561E16C75D06, BIOS MBP91.88Z.00D3.B08.1208081132 08/08/2012

Comment 3 Chris Murphy 2014-10-27 03:13:15 UTC
Appears fixed in efibootmgr-0.11.0-1.fc20.x86_64.

Comment 4 Fedora End Of Life 2015-05-29 13:09:54 UTC
This message is a reminder that Fedora 20 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 20. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as EOL if it remains open with a Fedora  'version'
of '20'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 20 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 5 Fedora End Of Life 2015-06-29 23:03:05 UTC
Fedora 20 changed to end-of-life (EOL) status on 2015-06-23. Fedora 20 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.


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