В Wed, 4 Mar 2015 11:22:28 -0700
Joseph Kelly <[email protected]> пишет:

> *Please review the following and indicate:*
> - Whether my assumptions might be correct
> - Whether or not there could be or has been any modifications to the http
> module
> 
> *Symptom:*
> Occasionally, not consistently, Grub2 throws a "alloc magic is broken"
> error.
> 
> *Setup:*
> Grub2.02~beta2 network booting with config file
> Config file script uses 'source' to get default menu selection information
> over http
> source (http,${pxe_default_server})${sourceScriptPathString}
> 
> *Suspected issue:*
> HTTP module may have bad packet grabbing code?
> 

Did you try current GIT?

commit 06eadf5ebf21c8520d696c6438a976e5f7c218c3
Author: Curtis Larsen <[email protected]>
Date:   Sun Dec 7 11:28:57 2014 +0300

    fix double free in grub_net_recv_tcp_packet
    
    Using the http module to download config files, produces memory errors,
    after the config file is downloaded.


> *Tests:*
> - Continually reboot the machine till the error appears with current script.
> - Continually reboot the machine with the 'source' call removed.
> 
> *Test Results:*
> With 'source' call as above:
> - Failure to boot */* Successful boots: 1/33, 1/142, 1/27
> 
> Without 'source' call as above:
> - Failure to boot */* Successful boots: 0 / 205
> 
> *Results Analysis:*
> It appears to me that the http module may have something flaky going on.
> 
> 
> 
> 
> 
> Joseph Kelly
> “The Christian ideal has not been tried and found wanting; it has been
> found difficult and left untried” – G. K. Chesterton


_______________________________________________
Help-grub mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/help-grub

Reply via email to