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
This bug is very hard to catch. It will most certainly only occur under a slow internet connection.
Here is a walkthrough of what is happening:
1 - The threads start running and generating the socket requests.
2 - The workQueue becomes empty after the last package is fed into the thread workers.
3 - Once the queue is all empty, the code goes forward to join all the threads into the main python process (thread.join)
Here is where the issue occurs (and my theory on its cause):
4 - When a network request is still being waited for inside a thread runner, the thread continues to run even though the main python process is terminated. This results in a quacky print where Mr.SIP continues to report its findings after the benchmark output (time duration: 2.99).
Related functions: def networkScanner() def sipenum_worker(run_event, option, dest_port, client_ip)
Any help is much appreciated.
The text was updated successfully, but these errors were encountered:
The issue is best described in the picture below.
This bug is very hard to catch. It will most certainly only occur under a slow internet connection.
Here is a walkthrough of what is happening:
1 - The threads start running and generating the socket requests.
2 - The
workQueue
becomes empty after the last package is fed into the thread workers.3 - Once the queue is all empty, the code goes forward to join all the threads into the main python process (thread.join)
Here is where the issue occurs (and my theory on its cause):
4 - When a network request is still being waited for inside a thread runner, the thread continues to run even though the main python process is terminated. This results in a quacky print where Mr.SIP continues to report its findings after the benchmark output (
time duration: 2.99
).Related functions:
def networkScanner()
def sipenum_worker(run_event, option, dest_port, client_ip)
Any help is much appreciated.
The text was updated successfully, but these errors were encountered: