strace -p returns immediately

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

 



Well, a bit offtopi, but...

As stated above, strace -p xyz returns quietly immediately. Then
strace -tt strace -p 348 produced the following:
...
13:12:51.403665 ptrace(PTRACE_ATTACH, 348, 0x1, 0) = 0
13:12:51.406825 --- SIGCHLD (Child exited) ---
13:12:51.409439 rt_sigaction(SIGTTOU, {SIG_IGN}, NULL, 8) = 0
13:12:51.412711 rt_sigaction(SIGTTIN, {SIG_IGN}, NULL, 8) = 0
13:12:51.415929 rt_sigaction(SIGHUP, {0x2002608, [], 0x4000000}, NULL, 8) = 0
13:12:51.419328 rt_sigaction(SIGINT, {0x2002608, [], 0x4000000}, NULL, 8) = 0
13:12:51.423309 rt_sigaction(SIGQUIT, {0x2002608, [], 0x4000000}, NULL, 8) = 0
13:12:51.426559 rt_sigaction(SIGPIPE, {0x2002608, [], 0x4000000}, NULL, 8) = 0
13:12:51.429817 rt_sigaction(SIGTERM, {0x2002608, [], 0x4000000}, NULL, 8) = 0
13:12:51.433197 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
13:12:51.436463 wait4(-1, 0xbfffeb88, 0, NULL) = -1 ECHILD (No child processes)
13:12:51.439628 rt_sigprocmask(SIG_BLOCK, [HUP INT QUIT PIPE TERM], NULL,
8) = 013:12:51.443699 ptrace(PTRACE_DETACH, 348, 0x1, SIG_0) = 0
13:12:51.447166 _exit(0)                = ?

So, it looks somewhat as if 348 no longer existed, but it is still there
in the S(leeping) state... What can this mean? A hint - this process was,
probably, created with pthread_create()...

Thanks
Guennadi
---------------------------------
Guennadi Liakhovetski, Ph.D.
DSA Daten- und Systemtechnik GmbH
Pascalstr. 28
D-52076 Aachen
Germany

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/



[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux