Re: tcsh backtick hang info

From: Steve Kargl <sgk_at_troutmask.apl.washington.edu>
Date: Fri, 13 Jul 2007 21:39:18 -0700
On Fri, Jul 13, 2007 at 03:59:00PM -0700, Doug White wrote:
> Dropping Christos and tcsh-bugs from CC: for now.
> 
> On Thu, 12 Jul 2007, Steve Kargl wrote:
> 
> >On Thu, Jul 12, 2007 at 10:37:50PM +0300, Abdullah Ibn Hamad Al-Marri 
> >wrote:
> >>
> >>As for GDB, why don't you import 6.6? it's already in the ports and
> >>works smoothly in 7.0 and 6.2-stable as well.
> >>
> >
> >GDB 6.6 doesn't magically fix tcsh.
> 
> As I noted in my PR followup, I wasn't able to reproduce your issue with 
> current SVN GCC and HEAD.  I'm looking for either something thats 
> different in our environments (library versions?) or a different test case 
> that triggers the issue on -CURRENT.
> 
> Have you verified the issue still exists with current everything 
> (including a freshened mpfr library)?
> 

This has absolutely nothing to do with SVN GCC.  tcsh 6.15.0 is
BROKEN. 

In one xterm:

mobile:kargl[204] cd tmp
mobile:kargl[205] cat > h.c
#include <stdio.h>
int main(void) {
   printf("hello\n");
   return 0;
}
mobile:kargl[206] cc -o z -g h.c 
mobile:kargl[207] gdb z
GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-marcel-freebsd"...
(gdb) run
Starting program: /usr/home/kargl/tmp/z 
^C
^C^C^C^C^C^C^C^C
^Z
Terminated

In a 2nd xterm:

44 processes:  2 running, 40 sleeping, 1 stopped, 1 zombie
CPU states:     % user,     % nice,     % system,     % interrupt,     % idle
Mem: 113M Active, 223M Inact, 91M Wired, 25M Cache, 60M Buf, 41M Free
Swap: 712M Total, 19M Used, 694M Free, 2% Inuse

  PID USERNAME    THR PRI NICE   SIZE    RES STATE    TIME   WCPU COMMAND
25340 kargl         1 107    0  5844K  3920K RUN      0:19 64.12% gdb
25341 kargl         1 101    0  4472K  1712K STOP     0:08 28.44% tcsh

mobile:kargl[203] killall gdb

The 'killall gdb' is the cause of the 'Terminated' message in the
first xterm.

You can also visit the tcsh mailing list
http://mx.gw.com/pipermail/tcsh-bugs/2007-May/thread.html

-- 
Steve
Received on Sat Jul 14 2007 - 02:41:24 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:14 UTC