bugGNU GRUB - Bugs: bug #33162, grub2 1.99-rc2 alloc magic is...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #33162: grub2 1.99-rc2 alloc magic is broken error on booting UEFI shell the second time

Submitter:  Heng Liu <liucougar>
Submitted:  Tue 26 Apr 2011 02:26:00 AM UTC
   
 
Category:  Booting Severity:  Major
Priority:  5 - Normal Item Group:  Software Error
Status:  Fixed Privacy:  Public
Assigned to:  None Originator Name: 
Open/Closed:  Closed Release:  other
Release:  Reproducibility:  Every Time
Planned Release:  None

Tue 10 May 2011 07:25:28 AM UTC, comment #1: 

Should be fixed in trunk. Can you confirm?

Vladimir Serbinenko <phcoder>
Group administrator
Tue 26 Apr 2011 02:26:00 AM UTC, original submission:  

UEFI grub2 1.99-rc2 with UEFI (a thinkpad w520 with 16GB memory, UEFI fireware 2.0)

I added UEFI shell (from http://tianocore.git.sourceforge.net/git/gitweb.cgi?p=tianocore/edk2;a=blob_plain;f=EdkShellBinPkg/FullShell/X64/Shell_Full.efi;hb=HEAD ) to grub.conf (see the last menu entry in the attached grub.conf file)

How to reproduce:
Boot into grub (grub is my default /EFI/Boot/bootx64.efi)
Select the "UEFI Shell" option
after UEFI shell loads, exit it
in grub menu, select "UEFI Shell" option again
this time, UEFI shell does not start, instead I see the following:

/EndEntire
file path /ACPI(a0341d0,0)/PCI(2,1f)/UnknownMessaging(12)/HD(1,800,64000,4e50fdc69bd3204c,ab,79)/File(\EFI)/File(shellx64.efi)
/EndEntire
alloc magic is broken at 0x5b398700

after turning on debug=all, this is what I get after repeating the above:

fs/fat.c:429: fat_size=32, next_cluster=9974
... (25 more lines like the above)
kern/disk.c:330: Closing 'hd1'.
script/lexer.c:307: token 259 text [
]
script/script.c:50: malloc 0x46b76020
script/script.c:50: malloc 0x493b3f80
script/lexer.c:307: token 0 text []
script/script.c:50: malloc 0x46f9e000
script/script.c:50: malloc 0x45fa2a20
alloc magic is broken at 0x46362e00
Aborted. Press any key to exit.

this "alloc magic is broken" error has happened to me numerous times (mostly after I edited a menu entry, and try to boot the modified one with F10), but this is the only one I can consistently reproduce

let me know if you need more info

Heng Liu <liucougar>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attached Files
file #23303:  grub.cfg added by liucougar (5KiB - application/octet-stream - my current grub.cfg file)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by phcoder (Posted a comment)
  • -email is unavailable- added by liucougar (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2011-11-03 phcoder StatusNone Fixed
        Open/ClosedOpen Closed
    2011-04-26 liucougar Attached File- Added grub.cfg, #23303

    Back to the top

    Powered by Savane 3.13-02a9.
    Corresponding source code