dbx - Can't attach to process.

dbx - Can't attach to process.

Post by S » Thu, 15 Jan 2004 14:28:33



Hi all,

I am trying to attach dbx to a running process.
When I issue the command -
$ dbx process_name process_pid
I get -
Cannot attach to process 2333 -- Permission denied.

What could be the reason for the error?

Thanks and regards,
SK

 
 
 

dbx - Can't attach to process.

Post by Barry Margoli » Thu, 15 Jan 2004 15:00:45




> Hi all,

> I am trying to attach dbx to a running process.
> When I issue the command -
> $ dbx process_name process_pid
> I get -
> Cannot attach to process 2333 -- Permission denied.

> What could be the reason for the error?

Unless you're the superuser, you can only attach to a process running
under your UID.  So either the process was started by another user, or
it's running setuid to another user.

--

Arlington, MA

 
 
 

1. dbx - fatal error when attaching to process

Hello,
i try to attach to my application ,
my application contains many dll , some of them really huge.
when i try to attach it , to debug it  i run :

ddd -a someid
and i get this fatal error

"
Waiting to attach to process 27824 ...
Successfully attached to fismqSrvd.exe.
Type 'help' for help.
reading symbolic information ...dbx: fatal error: Not enough space
"

is there any way to increase the dbx space for debugging ??
any idea ?

thanks allot
Yaniv

2. I need cons25

3. DBX says "Can't write to process" !

4. Module-player for linux.

5. How to attach stdin/out to fork/exec'ed process?

6. More NFS problems

7. Processes attached to CPU's

8. Sound Blaster 16 Problem

9. It's not bad canned meat...

10. Several 'processes' in Unix-process. Portability ?

11. How to not have process number / 'done' line for background process?

12. 'dbx' core dumps