DragonFly bugs List (threaded) for 2008-01
DragonFly BSD
DragonFly bugs List (threaded) for 2008-01
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

tcsh consumes much cpu when trying to gdb anything


From: "Nuno Antunes" <nuno.antunes@xxxxxxxxx>
Date: Wed, 23 Jan 2008 16:45:27 +0000

how to replicate:

1) set the environment variable SHELL=/bin/tcsh
2) gdb /usr/bin/true
3) (gdb) run

a ktrace of the offending process reveals the following:

[...]
 2203 tcsh     CALL  fork
 2203 tcsh     RET   fork RESTART
 2203 tcsh     CALL  fork
 2203 tcsh     RET   fork RESTART
 2203 tcsh     CALL  fork
 2203 tcsh     RET   fork RESTART
 2203 tcsh     CALL  fork
 2203 tcsh     RET   fork RESTART
 2203 tcsh     CALL  fork
 2203 tcsh     RET   fork RESTART
 2203 tcsh     CALL  fork
 2203 tcsh     RET   fork RESTART
 2203 tcsh     CALL  fork
 2203 tcsh     RET   fork RESTART
 2203 tcsh     CALL  fork
 2203 tcsh     RET   fork RESTART
[...]

This is on a recent HEAD.

I'll try to chase this but any help would be appreciated. :)

Cheers,
Nuno



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]