[Bug 1484891] [NEW] grub2 death when enter linux command twice

dupingping dupingping86 at hotmail.com
Fri Aug 14 10:50:13 UTC 2015


Public bug reported:

Description:	Ubuntu 14.04.3 LTS
Release:	14.04

grub2:
  Installed: (none)
  Candidate: 2.02~beta2-9ubuntu1.3
  Version table:
     2.02~beta2-9ubuntu1.3 0
        500 http://mirrors.yun-idc.com/ubuntu/ trusty-updates/universe amd64 Packages
     2.02~beta2-9 0
        500 http://mirrors.yun-idc.com/ubuntu/ trusty/universe amd64 Packages


I think that the grub2 needs to work for many grub shell commands.
But critical error is occurred as follow.

Bug scenario is as following.

- at the grub menu, press C key.
- enter "linux /vmlinuz" command to "grub>" shell
- enter above command once more.
- grub2 does not response.

I traced the code lines.
So the grub2 is entered and never ended a loop at the grub_core/lib/relocator.c, free_subchunk function.
And I could not skip this loop, because if i skip this loop, the /proc/cmdline is broken.

** Affects: grub2 (Ubuntu)
     Importance: Undecided
         Status: Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to grub2 in Ubuntu.
https://bugs.launchpad.net/bugs/1484891

Title:
  grub2 death when enter linux command twice

Status in grub2 package in Ubuntu:
  Confirmed

Bug description:
  Description:	Ubuntu 14.04.3 LTS
  Release:	14.04

  grub2:
    Installed: (none)
    Candidate: 2.02~beta2-9ubuntu1.3
    Version table:
       2.02~beta2-9ubuntu1.3 0
          500 http://mirrors.yun-idc.com/ubuntu/ trusty-updates/universe amd64 Packages
       2.02~beta2-9 0
          500 http://mirrors.yun-idc.com/ubuntu/ trusty/universe amd64 Packages

  
  I think that the grub2 needs to work for many grub shell commands.
  But critical error is occurred as follow.

  Bug scenario is as following.

  - at the grub menu, press C key.
  - enter "linux /vmlinuz" command to "grub>" shell
  - enter above command once more.
  - grub2 does not response.

  I traced the code lines.
  So the grub2 is entered and never ended a loop at the grub_core/lib/relocator.c, free_subchunk function.
  And I could not skip this loop, because if i skip this loop, the /proc/cmdline is broken.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1484891/+subscriptions



More information about the foundations-bugs mailing list