Author Topic: Linux process | Strace | Stack trace  (Read 34 times)

0 Members and 1 Guest are viewing this topic.

Offline ylp

  • Jr. Member
  • **
  • Posts: 1
  • Karma: 0
  • I've just joined!
    • View Profile
    • Awards
Linux process | Strace | Stack trace
« on: November 30, 2019, 10:20:35 am »
Hello everyone!

Can someone please help me understand this stack trace?
 Also how do I make sure if a socket used by an old process is released before I a new process attempts to create and bind with one?

strace -p 28520 -q -f
[pid 26055] futex(0x5577be22f054, FUTEX_WAIT_PRIVATE, 103057546, NULL <unfinished ...>
[pid 25940] futex(0x7f233c000020, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
[pid 24767] futex(0x5577be22f054, FUTEX_WAIT_PRIVATE, 103057535, NULL <unfinished ...>
[pid 23168] futex(0x5577be22f054, FUTEX_WAIT_PRIVATE, 103057539, NULL <unfinished ...>
[pid 23086] futex(0x5577be22f054, FUTEX_WAIT_PRIVATE, 103057541, NULL <unfinished ...>
[pid 18635] futex(0x5577be22f054, FUTEX_WAIT_PRIVATE, 103057543, NULL <unfinished ...>
[pid 29399] futex(0x5577be22f054, FUTEX_WAIT_PRIVATE, 103057538, NULL <unfinished ...>
[pid 29395] futex(0x5577ca523b44, FUTEX_WAIT_PRIVATE, 1, NULL <unfinished ...>
[pid 29392] futex(0x5577be22f054, FUTEX_WAIT_PRIVATE, 103057547, NULL <unfinished ...>
[pid 29383] futex(0x5577be22f054, FUTEX_WAIT_PRIVATE, 103057545, NULL <unfinished ...>
[pid 29145] futex(0x5577be22f054, FUTEX_WAIT_PRIVATE, 103057548, NULL <unfinished ...>
[pid 29061] futex(0x7f23cc076c44, FUTEX_WAIT_PRIVATE, 5, NULL <unfinished ...>
[pid 29059] futex(0x7f23cc04d8d4, FUTEX_WAIT_PRIVATE, 9, NULL <unfinished ...>
[pid 29058] futex(0x7f23cc0459a4, FUTEX_WAIT_PRIVATE, 9, NULL <unfinished ...>
[pid 29057] futex(0x5577c628fcc4, FUTEX_WAIT_PRIVATE, 21, NULL <unfinished ...>
[pid 28525] futex(0x5577be22f054, FUTEX_WAIT_PRIVATE, 103057544, NULL <unfinished ...>
[pid 28522] restart_syscall(<... resuming interrupted call ...> <unfinished ...>
[pid 28520] futex(0x5577be22f774, FUTEX_WAIT_PRIVATE, 15, NULL <unfinished ...>
[pid 26055] <... futex resumed> )       = -1 EAGAIN (Resource temporarily unavailable)
[pid 24767] <... futex resumed> )       = -1 EAGAIN (Resource temporarily unavailable)
[pid 23168] <... futex resumed> )       = -1 EAGAIN (Resource temporarily unavailable)
[pid 23086] <... futex resumed> )       = -1 EAGAIN (Resource temporarily unavailable)
[pid 18635] <... futex resumed> )       = -1 EAGAIN (Resource temporarily unavailable)
[pid 29399] <... futex resumed> )       = -1 EAGAIN (Resource temporarily unavailable)
[pid 29392] <... futex resumed> )       = -1 EAGAIN (Resource temporarily unavailable)
[pid 29383] <... futex resumed> )       = -1 EAGAIN (Resource temporarily unavailable)
[pid 28525] <... futex resumed> )       = -1 EAGAIN (Resource temporarily unavailable)
[pid 26055] futex(0x5577be22f054, FUTEX_WAIT_PRIVATE, 103057548, NULL <unfinished ...>
[pid 24767] futex(0x5577be22f054, FUTEX_WAIT_PRIVATE, 103057548, NULL <unfinished ...>
[pid 23168] futex(0x5577be22f054, FUTEX_WAIT_PRIVATE, 103057548, NULL <unfinished ...>
[pid 23086] futex(0x5577be22f054, FUTEX_WAIT_PRIVATE, 103057548, NULL <unfinished ...>
[pid 18635] futex(0x5577be22f054, FUTEX_WAIT_PRIVATE, 103057548, NULL <unfinished ...>
[pid 29399] futex(0x5577be22f054, FUTEX_WAIT_PRIVATE, 103057548, NULL <unfinished ...>
[pid 29392] futex(0x5577be22f054, FUTEX_WAIT_PRIVATE, 103057548, NULL <unfinished ...>
[pid 29383] futex(0x5577be22f054, FUTEX_WAIT_PRIVATE, 103057548, NULL <unfinished ...>
[pid 28525] futex(0x5577be22f054, FUTEX_WAIT_PRIVATE, 103057548, NULL <unfinished ...>
[pid 28522] <... restart_syscall resumed> ) = 0
[pid 28522] poll([{fd=3, events=POLLIN}], 1, 100) = 0 (Timeout)
[pid 28522] poll([{fd=3, events=POLLIN}], 1, 100) = 0 (Timeout)
[pid 28522] poll([{fd=3, events=POLLIN}], 1, 100) = 0 (Timeout)
[pid 28522] poll([{fd=3, events=POLLIN}], 1, 100) = 0 (Timeout)
[pid 28522] poll([{fd=3, events=POLLIN}], 1, 100) = 0 (Timeout)
[pid 28522] poll([{fd=3, events=POLLIN}], 1, 100) = 0 (Timeout)
[pid 28522] poll([{fd=3, events=POLLIN}], 1, 100) = 0 (Timeout)
[pid 28522] poll([{fd=3, events=POLLIN}], 1, 100) = 0 (Timeout)
[pid 28522] poll([{fd=3, events=POLLIN}], 1, 100) = 0 (Timeout)
[pid 28522] poll([{fd=3, events=POLLIN}], 1, 100) = 0 (Timeout)
[pid 28522] poll([{fd=3, events=POLLIN}], 1, 100) = 0 (Timeout)
[pid 28522] poll([{fd=3, events=POLLIN}], 1, 100) = 0 (Timeout)
[pid 28522] poll([{fd=3, events=POLLIN}], 1, 100) = 0 (Timeout)
[pid 28522] poll([{fd=3, events=POLLIN}], 1, 100) = 0 (Timeout)

Thanks!

 


SimplePortal 2.3.3 © 2008-2010, SimplePortal