Re: Bash bug with ints beyond 2147483646

2010-11-04 Thread Chet Ramey
On 11/2/10 3:48 PM, Pete Gregory wrote: > Even with a 64-bit kernel, under bash4.1-2 under ubuntu 10.04, problems exist > with numbers beyond 2147483646. > > Easy duplication method: > echo {2147483640..2147483646} > reports > 2147483640 2147483641 2147483642 2147483643 2147483644 2147483645 214

Re: Bash bug with ints beyond 2147483646

2010-11-04 Thread Andreas Schwab
Marc Herbert writes: > #0 __lll_lock_wait_private () at > ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:97 > #1 0x00323007c138 in _L_lock_9162 () at malloc.c:3503 > #2 0x003230079a32 in __libc_malloc (bytes=215557320320) at malloc.c:3657 > #3 0x004664c3 in xmalloc (by

Re: Bash bug with ints beyond 2147483646

2010-11-04 Thread Marc Herbert
Le 02/11/2010 19:48, Pete Gregory a écrit : > Easy duplication method: > echo {2147483640..2147483646} > reports > 2147483640 2147483641 2147483642 2147483643 2147483644 2147483645 2147483646 > echo {2147483640..2147483647} > dies with a malloc error - At other times I get this error: *** gli

Re: [OT] Linux Out-Of-Memory Killer

2010-11-04 Thread Marc Herbert
Le 03/11/2010 18:50, Bob Proulx a écrit : > Marc Herbert wrote: >> I suggest that Linux kids do not try this at home: the OutOfMemory killer >> killed a few random processes of mine! > > Off-Topic for this mailing list but if so then you should configure > your Linux kernel to avoid memory overcom