Re: sysutils/strace wilderness on 6-CURRENT

From: Dan Nelson (dnelson_at_allantgroup.com)
Date: 08/31/04

  • Next message: Scott Long: "Re: /coda/coda_fbsd.c:215: error: `NVCODA' undeclared when building kernel."
    Date: Tue, 31 Aug 2004 10:14:37 -0500
    To: Vladimir Grebenschikov <vova@fbsd.ru>
    
    

    In the last episode (Aug 31), Vladimir Grebenschikov said:
    > (fresh -CURREMT and fresh strace from ports, UP machine)
    >
    > It silmple does nothing - sleeps foreaver in suspended:
    >
    > # strace /bin/ls
    > ^T
    > load: 0.14 cmd: strace 98957 [suspended] 0.00u 0.00s 0% 760k
    > ^C
    > #

    This has happened on 5.x for ages. The quick fix is to ^Z, then fg, or
    kill -CONT the hung strace process from another vty. I don't know what
    strace does different from truss that makes it hang. Nowadays, truss
    does almost as good a job as strace, so I don't use it as often as I
    used to. The only thing I miss is strace's ability to print the name
    of blocking syscalls (read or sleep for example) as it waits.

    -- 
    	Dan Nelson
    	dnelson@allantgroup.com
    _______________________________________________
    freebsd-current@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-current
    To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
    

  • Next message: Scott Long: "Re: /coda/coda_fbsd.c:215: error: `NVCODA' undeclared when building kernel."

    Relevant Pages

    • Re: sysutils/strace wilderness on 6-CURRENT
      ... > kill -CONT the hung strace process from another vty. ... > strace does different from truss that makes it hang. ... Both the child and strace ended up ...
      (freebsd-current)
    • Re: Apache2 Dying
      ... and haven't been able to fix a thing. ... Apache stops serving pages and has to be reloaded. ... at all the logs and can find no rhyme nor reason to its ... maybe you can use strace to try to debug what is happening. ...
      (Debian-User)
    • Re: CPU model, processor type via C
      ... > tracking the system calls via truss or strace. ... No truss, and strace on HP-UX is for streams. ... tusc online. ...
      (comp.sys.hp.hpux)
    • Re: HP-UX 11i Compiling Troubles
      ... Trace the execution using strace, or truss to watch the system calls. ...
      (comp.sys.hp.hpux)
    • Re: procfs problem
      ... >> debugging tools except for truss have been converted to work without ... >> procfs, ... > strace is not part of FreeBSD. ... Is someone working on fixing the strace and truss ports yet? ...
      (freebsd-current)