You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I use lptrace, i just simply run python lptrace -p 21640. But this command just hang forever.
When i add some print log in lptrace like this
`
signal.signal(signal.SIGINT, sigint_handler)
print("bbbbbbbbbb")
with open(fifo_name) as fd:
print("ssssssssssss")
while True:
print("aaaaaaaa")
data = fd.read()
print(111111111111)
if data != '':
print data
print("mmmmmmmm")
`
it will only print "bbbbbbb", but not any other logs. Did i miss anything
The text was updated successfully, but these errors were encountered:
demonguy
changed the title
Lptrace just hang at read() function
Lptrace just hang
Oct 12, 2017
BTW, it will cause process "21640" die.
Actually 21640 is just listening socket, but after i running this command, my process just die, and cannot listen socket anymore
When I use lptrace, i just simply run
python lptrace -p 21640
. But this command just hang forever.When i add some print log in lptrace like this
`
signal.signal(signal.SIGINT, sigint_handler)
`
it will only print "bbbbbbb", but not any other logs. Did i miss anything
The text was updated successfully, but these errors were encountered: