on Tue Mar 18 2008, Tim Hatch <trac-dev-AT-timhatch.com> wrote:

> If you answer "n" to quit and then "n" to creating a core file, it
> will continue (and seems to give reasonable information).
>
> On my FreeBSD box I get the same behavior as you by attaching without
> specifying the executable itself.  Try:
>
> gdb -p $pid `which python`

This trac process was occupying 400MB but 0% CPU when I stopped
it

  $ gdb -p 94603 `which python`
  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 "amd64-marcel-freebsd"...(no debugging symbols 
found)...
  Attaching to program: /usr/local/bin/python, process 94603
  ptrace: Operation not permitted.
  /usr/home/dave/94603: No such file or directory.
  (gdb) bt
  No stack.
  (gdb) 

-- 
Dave Abrahams
Boost Consulting
http://boost-consulting.com


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac 
Development" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/trac-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to