[Bug 747] 1.15.2 regression from 1.15.1 in ash parameter expansion

bugzilla at busybox.net bugzilla at busybox.net
Sat Nov 28 17:09:09 UTC 2009


--- Comment #4 from Davide Cavalca <davide at geexbox.org>  2009-11-28 17:09:06 UTC ---
Does this help you? Is there any specific test I can do?

davide at sfera:~/geexbox/dev/geexbox-davide$ gdb
GNU gdb (GDB) 7.0-debian
Copyright (C) 2009 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
For bug reporting instructions, please see:
Reading symbols from
(gdb) run sh
Starting program:

BusyBox v1.15.2 (2009-11-28 18:04:26 CET) built-in shell (ash)
Enter 'help' for a list of built-in commands.

$ arg='boot=cdrom'
$ BOOT="${arg#boot=}"
Program received signal SIGINT, Interrupt.
0x08061625 in evalvar (p=0x80991f8 "boot\201=\203\210", 
    flags=<value optimized out>, var_str_list=0x80991d0) at shell/ash.c:6634
6634            if (subtype != VSNORMAL) {      /* skip to end of alternative
(gdb) bt
#0  0x08061625 in evalvar (p=0x80991f8 "boot\201=\203\210", 
    flags=<value optimized out>, var_str_list=0x80991d0) at shell/ash.c:6634
#1  argstr (p=0x80991f8 "boot\201=\203\210", flags=<value optimized out>, 
    var_str_list=0x80991d0) at shell/ash.c:5964
#2  0x0806187b in expandarg (arg=<value optimized out>, 
    arglist=<value optimized out>, flag=4) at shell/ash.c:7023
#3  0x08063f8e in evalcommand (cmd=0x8099214, flags=0) at shell/ash.c:9027
#4  0x08060ba5 in evaltree (n=0x8099214, flags=0) at shell/ash.c:8218
#5  0x080629fd in cmdloop (top=<value optimized out>) at shell/ash.c:11938
#6  0x08063931 in ash_main (argc=1, argv=0xffffd488) at shell/ash.c:13322
#7  0x0804cbca in run_applet_no_and_exit (applet_no=65, argv=0xffffd488)
    at libbb/appletlib.c:741
#8  0x0804cbef in run_applet_and_exit (name=0xffffd64f "sh", argv=0xffffd488)
    at libbb/appletlib.c:748
#9  0x0804cdd4 in busybox_main (name=<value optimized out>, argv=0xffffd488)
    at libbb/appletlib.c:713
#10 run_applet_and_exit (name=<value optimized out>, argv=0xffffd488)
    at libbb/appletlib.c:750
#11 0x0804ce58 in main (argc=2, argv=0xffffd484) at libbb/appletlib.c:785

Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

More information about the busybox-cvs mailing list