grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

yet another scripting bug


From: Yoshinori K. Okuji
Subject: yet another scripting bug
Date: Sat, 13 May 2006 06:37:04 +0200
User-agent: KMail/1.8.2

Multiple commands in one line do not work. I get a segfault on grub-emu.

grub> ls ; ls


Program received signal SIGSEGV, Segmentation fault.
grub_script_execute_argument_to_string (arg=0x8458b51) 
at ../normal/execute.c:50
50            if (argi->type == 1)
(gdb) bt
#0  grub_script_execute_argument_to_string (arg=0x8458b51) 
at ../normal/execute.c:50
#1  0x0805884d in grub_script_execute_cmdline (cmd=0x807e814) 
at ../normal/execute.c:135
#2  0x08058711 in grub_script_execute_cmd (cmd=Variable "cmd" is not 
available.
) at ../normal/execute.c:34
#3  0x0805df60 in grub_command_execute (cmdline=0x806fd60 "ls ; ls", 
interactive=1)
    at ../normal/command.c:216
#4  0x0805dc0b in grub_cmdline_run (nested=0) at ../normal/cmdline.c:163
#5  0x0805f577 in grub_normal_execute (config=0x807e7f0 
"(hd0,1)/boot/grub/grub.cfg",
    nested=0) at ../normal/main.c:437
#6  0x0805f5cd in grub_enter_normal_mode (config=0x807e7f0 
"(hd0,1)/boot/grub/grub.cfg")
    at ../normal/main.c:248
#7  0x0805f63e in grub_rescue_cmd_normal (argc=0, argv=0x0) 
at ../normal/main.c:459
#8  0x0805c39b in grub_enter_rescue_mode () at ../kern/rescue.c:600
#9  0x08063e79 in main (argc=5, argv=0xbff1dc94) at ../util/grub-emu.c:210

Okuji




reply via email to

[Prev in Thread] Current Thread [Next in Thread]