Re: Ptrace segfault

2010-04-30 Thread John Baldwin
On Thursday 29 April 2010 7:49:26 pm Gunnar Hinriksson wrote: > 2010/4/29 Gunnar Hinriksson : > > 2010/4/29 Gunnar Hinriksson : > >> 2010/4/29 Bob Bishop : > >>> Hi, > >>> > >>> On 29 Apr 2010, at 22:37, Garrett Cooper wrote: > >>> > On Thu, Apr 29, 2010 at 12:06 PM, Gunnar Hinriksson wrote:

Re: Ptrace segfault

2010-04-29 Thread Gunnar Hinriksson
2010/4/29 Gunnar Hinriksson : > 2010/4/29 Gunnar Hinriksson : >> 2010/4/29 Bob Bishop : >>> Hi, >>> >>> On 29 Apr 2010, at 22:37, Garrett Cooper wrote: >>> On Thu, Apr 29, 2010 at 12:06 PM, Gunnar Hinriksson wrote: > Hello > > Im having a little problem using ptrace on my sy

Re: Ptrace segfault

2010-04-29 Thread Gunnar Hinriksson
2010/4/29 Gunnar Hinriksson : > 2010/4/29 Bob Bishop : >> Hi, >> >> On 29 Apr 2010, at 22:37, Garrett Cooper wrote: >> >>> On Thu, Apr 29, 2010 at 12:06 PM, Gunnar Hinriksson >>> wrote: Hello Im having a little problem using ptrace on my system. If I use ptrace to attach to an

Re: Ptrace segfault

2010-04-29 Thread Gunnar Hinriksson
2010/4/29 Bob Bishop : > Hi, > > On 29 Apr 2010, at 22:37, Garrett Cooper wrote: > >> On Thu, Apr 29, 2010 at 12:06 PM, Gunnar Hinriksson >> wrote: >>> Hello >>> >>> Im having a little problem using ptrace on my system. >>> If I use ptrace to attach to another process the child process >>> segfau

Re: Ptrace segfault

2010-04-29 Thread Bob Bishop
Hi, On 29 Apr 2010, at 22:37, Garrett Cooper wrote: > On Thu, Apr 29, 2010 at 12:06 PM, Gunnar Hinriksson wrote: >> Hello >> >> Im having a little problem using ptrace on my system. >> If I use ptrace to attach to another process the child process >> segfaults once I detach. >> For example usin

Re: Ptrace segfault

2010-04-29 Thread Garrett Cooper
On Thu, Apr 29, 2010 at 12:06 PM, Gunnar Hinriksson wrote: > Hello > > Im having a little problem using ptrace on my system. > If I use ptrace to attach to another process the child process > segfaults once I detach. > For example using this simple program. > > #include > #include > #include >

Ptrace segfault

2010-04-29 Thread Gunnar Hinriksson
Hello Im having a little problem using ptrace on my system. If I use ptrace to attach to another process the child process segfaults once I detach. For example using this simple program. #include #include #include #include #include int main(int argc, char *argv[]) { int pid = atoi(a