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

Submitted by:  Heng Liu <liucougar>
Submitted on:  Tue 26 Apr 2011 02:26:00 AM UTC  
 
Category: BootingSeverity: Major
Priority: 5 - NormalItem Group: Software Error
Status: FixedPrivacy: Public
Assigned to: NoneOriginator Name: 
Open/Closed: ClosedRelease: 
Release: otherReproducibility: 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>
Project 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>

 

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
  • -unavailable- added by phcoder (Posted a comment)
  • -unavailable- added by liucougar (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Thu 03 Nov 2011 03:36:36 PM UTCphcoderStatusNone=>Fixed
      Open/ClosedOpen=>Closed
    Tue 26 Apr 2011 02:26:00 AM UTCliucougarAttached File-=>Added grub.cfg, #23303

    Back to the top


    Powered by Savane 3.1-cleanup1