1.21.0 is released

2013-01-22 Thread Denys Vlasenko
21 January 2013 -- BusyBox 1.21.0 (unstable)

Sizes of busybox-1.20.2 and busybox-1.21.0 (with equivalent config,
static uclibc build):

   textdata bss dec hex filename
 895377 4977584  903458   dc922 busybox-1.20.2
 897317 4977584  905398   dd0b6 busybox-1.21.0

Changes since previous release:

Alexey Froloff (1):
  ushcpc: gracefully handle packets with CHECKSUM_PARTIAL

Andreas Oberritter (2):
  ifupdown: improve compatibility with Debian
  get_linux_version_code: don't fail on Linux version strints like 3.0-foo

Anthony G. Basile (2):
  build system: fix build failure when only gunzip is selected
  CONFIG_PID_FILE_PATH: new configuration option for pidfile paths

Aurelien Jarno (1):
  *: declare strings with ALIGN1, as appropriate

Baruch Siach (3):
  nanddump: use the right operator of logic AND
  nanddump: skip bad blocks when instructed to do so
  nanddump: invert the meaning of the -o parameter to match upstream

Bernhard Reutner-Fischer (1):
  mount: fix -o user=foo mishandling, fix unc= generation, add prefixpath=

Bernhard Walle (1):
  build system: fix build of kconfig on Darwin

Boris Reisig (1):
  tar: support -J, --xz explicit compression option

Bradley M. Kuhn (1):
  Simplify copyright/license notice that appears in the binary

Christoph Lohmann (1):
  mdev: tell kernel that we didn't find the firmware

Cliff Frey (1):
  lineedit: fix Alt-D when cursor==0

Dennis Groenen (1):
  lineedit: histfile can get emptied when
CONFIG_FEATURE_EDITING_SAVE_ON_EXIT=y

Denys Vlasenko:
  build system: stop .eh_frame generation
  scripts/kconfig/mconf: work on systems w/o SIGWINCH
  platform.h: disable ALIGNn macros for s390[x]
  adduser: install to /usr, not /, like all other similar tools
  ash: fix read -s + ^C. Closes 5504
  ash: fix a bug in ${varexp} handling. Closes 5282
  ash: implement export -n
  ash: revert wrong fix for an apparent memory leak. Closes 5822
  awk: fix FS assignment behavior. Closes 5108
  awk: make -F STR interpret escape sequences. Closes 5126
  brctl: fix build failure by s/strtotimeval/bb_strtotimeval/
(android has strtotimeval)
  busybox: tweak help text and copyright year
  decompress_uncompress: comment out debug printout on corrupted data
  decompress_uncompress: move 'code' variable into loop - sole user
  dhcpd: write lease file on exit
  dpkg: fix creation of .list files (were empty since b768aeb). Closes 5324
  du: document incompatibility with standard tool
  examples/mdev_fat.conf: small addition
  find: if DESKTOP=y, support -wholename (synonym for -path)
  find: make -mindepth N -xdev correctly stop on mountpoints
  fix a typo in config help text. Closes 5714
  fix build failure when compressed help is selected, but bz2
compression is not
  ftpd: fix MDTM's month value. Closes 5336
  ftpd: free allocated string on error path
  getty: fix for NOCTTY killing us with SIGHUP
  grep: fix grep -Fw not respecting the -w option. Closes 5792
  ifconfig: do not accept ifconfig eth0 up 1.2.3.4/17 (ip with
mask). Closes 5786
  libbb: correctness/size tweaks in signal-related helpers
  lineedit: in !EDITING config, return -1 on fgets error
  login: increase login name size limit from 32 to 64
  lpr: don't send 0-byte print jobs (compat)
  man: fix handling of gzipped manpages
  mdev: add support for $DEVNAME and /dev/mdev.log debug aid
  mdev: fix mode of dir1 in =dir1/dir2/file rule
  mdev: remove undocumented subsystem/devname matching hack
  mdev: when found, print major,minor into mdev.log
  modprobe_small: make rmmod to NOT remove dependencies. Closes 5162
  mount: do not pass comment=ANYTHING option to kernel. Closes 5240
  mount: fix the wrongly stored fs creation time
  mount: set up RO loop device if mount -o ro. Closes 4784
  mount: support strictatime option. Closes 5240
  ntpd: on time step, kill all outstanding replies from other peers
  sed: fix handling of s/// which has empty matches
  sed: fix zero chars match/replace
  sha3: make size/speed optimization decision configurable
  syslogd: do not segfault on parse error when using default
config. Closes 5762
  telnet: convert CR - CR LF, not CR - CR NUL when sending data to server
  telnet: convert Enter - CR LF in line mode too
  tftpd: fix -u USER to work with chroot. Closes 5348
  top/ps: argv0:gdm-session-worker [pam/gdm-password] ==
comm:gdm-session-wor
  top: do not touch stdin if -b
  top: fix last CPU parsing
  top: implement scrolling up/down (_very_ useful)
  udhcp[cd]: fix binding to network aliases. Closes 5432, 5438
  udhcpc: make -O numeric_opt work. Closes 5402
  udhcpc[6]: show select timeout in log
  unzip: make options parsing more robust on getopt w/o gnu extensions
  

Re: 1.21.0 is released

2013-01-22 Thread Peter Korsgaard
 Denys == Denys Vlasenko vda.li...@googlemail.com writes:

 Denys 21 January 2013 -- BusyBox 1.21.0 (unstable)
 Denys Sizes of busybox-1.20.2 and busybox-1.21.0 (with equivalent config,
 Denys static uclibc build):

Thanks. Notice that the patches link for 1.21.0 points to the 1.20.0
ones, which will probably cause some confusion.

-- 
Bye, Peter Korsgaard
___
busybox mailing list
busybox@busybox.net
http://lists.busybox.net/mailman/listinfo/busybox


udhcpc6 segfault

2013-01-22 Thread Jörg Epping
Hi Denys and pramod,
I'm able to reproduce the udhcpc6 segfault on an ARM9 machine. The
problem occurs when returning
from re-allocating new memory in the new_env()-function:

udhcpc6 (v1.20.2) started
udhcpc6: xrealloc_vector_helper(): vector: 0x85040
new_env(): client6_data.env_ptr:0x85040
fill_envp(): client6_data.env_ptr: 0x4850
Segmentation fault

I think the problem is memory-alignment related.
Perhaps move_from_unaligned32 from platform.h could help?
Maybe someone with more memory-alignment background has an idea.

Best regards,
Joerg

 Hi  Denys,

 After enabling the print i am getting following:
 udhcpc6 (v1.20.2) started
 udhcpc6: curr:0x480010e0
 Segmentation fault

 Warm Regards,
 pramod

 On Wed, Aug 15, 2012 at 10:27 PM, Denys Vlasenko
 vda.linux at googlemail.com wrote:
 On Tue, Aug 14, 2012 at 4:06 PM, Pramod Bhagwat prbhagwat at gmail.com 
 wrote:
 static char **fill_envp(struct d6_packet *packet)
 {
 char **envp, **curr;

 client6_data.env_ptr = NULL;
 client6_data.env_idx = 0;

 *new_env() = xasprintf(interface=%s, client_config.interface);

 if (packet)
 option_to_env(packet-d6_options, packet-d6_options +
 sizeof(packet-d6_options));

 envp = curr = client6_data.env_ptr;

   bb_error_msg(curr:%p, curr);
   bb_error_msg(curr[0]:%p, curr[0]);

 while (*curr)

   {
   bb_error_msg(*curr:%p, *curr);
   bb_error_msg(*curr:'%s', *curr);

 putenv(*curr++);

   }


 return envp;
 }

 In the above code while accessing curr pointer it is giving the
 segmentation fault.
 But client6_data.env_ptr is not NULL.

 Please add bb_error_msg's as shown above, run udhcpc6 again and
 let me know what it printed.

 --
 vda
___
busybox mailing list
busybox@busybox.net
http://lists.busybox.net/mailman/listinfo/busybox