Re: Re: time seg fault

2009-07-23 Thread rjustinwilliams
That makes sense. I was seeing a gentoo bug report that might indicate issues with hardened kernel (and/or version issue) and glibc's gettimeofday() function. That was filed for a different issue, but, found it interesting... On Jul 23, 2009 2:22pm, Greg Wooledge wrote: On Thu, Jul 23, 200

Re: time seg fault

2009-07-23 Thread Justin Williams
Greg, you mentioned that it might be a build bug causing headaches. As the same build environment was used to build tcsh, and to (re)build/upgrade bash on this system, and tcsh's time works while bash's doesn, I'm curious where the idea comes from. I don't doubt it, but I'm curious what leads you

Re: time seg fault

2009-07-23 Thread Justin Williams
That's a huge help; thanks! Output below: execve("/bin/bash", ["bash", "-c", "time ls"], [/* 22 vars */]) = 0 brk(0) = 0x74c079d3c20 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x306158131000 access("/etc/ld.so.preload", R_OK) =

Re: time seg fault

2009-07-23 Thread Greg Wooledge
On Thu, Jul 23, 2009 at 09:59:48AM -0400, Justin Williams wrote: > Unfortunately, if I try to strace it (strace time ls), I get command not > found. ''strace time ls'' will try to run the external command ''time'' which apparently you haven't got installed. (Which is probably good in this case, a

Re: time seg fault

2009-07-23 Thread Justin Williams
Unfortunately, if I try to strace it (strace time ls), I get command not found. If I try to strace `time ls`, I get a hung screen. Attaching gdb to the running bash session from which I am trying to run time, I don't get any useful pointers, but, what I get is below: (no debugging symbols found)

Re: time seg fault

2009-07-23 Thread Chet Ramey
rjustinwilli...@gmail.com wrote: > time echo "bah" > time ls > time who > > Running the commands without the time, they return results as close to > instantly as I can think of, but, try to time them, in bash, and they > all hang. Since nobody seems to be able to reproduce this, maybe attaching t

Re: Re: time seg fault

2009-07-23 Thread rjustinwilliams
time echo "bah" time ls time who Running the commands without the time, they return results as close to instantly as I can think of, but, try to time them, in bash, and they all hang. Time the same commands in tcsh, they come back near-instantly, with time readouts. At first, I thought th

Re: time seg fault

2009-07-23 Thread pk
rjustinwilli...@gmail.com wrote: > Hi all > > I have, on a 64-bit system an issue with time hanging. I've installed > multiple versions, one at a time, and gotten the same results on each > version. > > If I use tcsh, instead of bash, time works. > > With bash 3.17, I got a seg fault; with the

time seg fault

2009-07-23 Thread rjustinwilliams
Hi all I have, on a 64-bit system an issue with time hanging. I've installed multiple versions, one at a time, and gotten the same results on each version. If I use tcsh, instead of bash, time works. With bash 3.17, I got a seg fault; with the other versions up through 4.10, it just hang