[syslinux] Menu system bug - MENU DEFAULT not working
Matt Fleming
matt at console-pimps.org
Tue Oct 9 12:30:43 PDT 2012
On Tue, 2012-10-09 at 19:25 +0200, Tomas M wrote:
> Thank you very much, it is really an improvement!
> It is much better now. Yet still not perfect.
>
> Attached is sample menu. It may look too complex, but I believe the
> menu is very correct, it is auto-generated by a tool, not manually
> written down, so it should be error-free (unless the tool which
> generates it is broken)
OK, I can reproduce this problem without the patch I sent you, so at
least we know it didn't introduce the problem :-)
> It seems that the menu works on the first impression, but if you keep
> checking and unchecking the options for a while, you will see that the
> 'cursor' starts to jump to wrong positions sometime.
Yeah, I see that. I'm slightly sceptical that this is a bug in the menu
code, given that the config file is so complex. Do you have a flow
diagram of the state machine for this config file?
The thing that makes me suspicious is that there are multiple submenu
entries that have,
MENU DEFAULT
MENU LABEL [*] Copy to RAM
MENU GOTO xxx
Where xxx is a *different* menu. I count 4. Are you able to reproduce
the problem with a simpler config file?
--
Matt Fleming, Intel Open Source Technology Center
More information about the Syslinux
mailing list