SoftPerfect Support Forum
All Forums
► Network Scanner
► Current topic
Thread scan stuck: diagnostics and solutions
|
Thread scan stuck: diagnostics and solutions 26 August 2017, 00:19 |
Registered: 15 years ago Posts: 61 |
Good Morning,
Many times I scan a network and NetScan gets stuck with something like "Threads 62 Devices 62 /62" and never continues. I assume it is stuck trying to gather the information I have requested but cannot for some reason. I have let the software run all day and it will stay stuck. If I stop the scan and then force the Threads to end the software will stay stuck on 62 threads and eventually I have to use task manager to end the software or worse reboot the computer.
Is there a way to add an option to tell you where a thread is stuck? In other words an option to put NetScan into say a diagnostics mode so when you are scanning a network with a lot of options you could find out where NetScan is stuck?
Thanks,
WS
Many times I scan a network and NetScan gets stuck with something like "Threads 62 Devices 62 /62" and never continues. I assume it is stuck trying to gather the information I have requested but cannot for some reason. I have let the software run all day and it will stay stuck. If I stop the scan and then force the Threads to end the software will stay stuck on 62 threads and eventually I have to use task manager to end the software or worse reboot the computer.
Is there a way to add an option to tell you where a thread is stuck? In other words an option to put NetScan into say a diagnostics mode so when you are scanning a network with a lot of options you could find out where NetScan is stuck?
Thanks,
WS
|
|
Re: Thread scan stuck: diagnostics and solutions 26 August 2017, 11:48 |
Admin Registered: 20 years ago Posts: 2 097 |
There's no out of the box diagnostics for that, but I believe it's caused by a bug in the Windows API FindFirstFileExW (or underlying network driver), which for some reason never returns. Try:
- Unchecking Check for write access under Options - Shares; and
- Unchecking all items under Remote File.
|
Re: Thread scan stuck: diagnostics and solutions 29 August 2017, 14:23 |
Registered: 15 years ago Posts: 61 |
|
Re: Thread scan stuck: diagnostics and solutions 01 September 2017, 04:50 |
Registered: 15 years ago Posts: 61 |
|
|
Re: Thread scan stuck: diagnostics and solutions 01 September 2017, 10:20 |
Admin Registered: 20 years ago Posts: 2 097 |
That's pretty strange then, and I'd love to identify the cause of it.
Please submit a ticket here and I will send you a personalised build with debug information to find out what's going on there.
Please submit a ticket here and I will send you a personalised build with debug information to find out what's going on there.
|
borekon
Re: Thread scan stuck: diagnostics and solutions 13 September 2017, 05:49 |
|
|
Re: Thread scan stuck: diagnostics and solutions 13 September 2017, 09:17 |
Admin Registered: 20 years ago Posts: 2 097 |
It could the same issue as OP's. In that case it happens deep in the WNetAddConnection2() system API call, which is used to authenticate custom user name and password in several types of scan. It's a fairly common issue, for example discussed here.
Unfortunately there seems to be no solution for this problem. The recommended CancelSynchronousIo() call doesn't seem to cancel WNetAddConnection2(), which is also confirmed by this discussion.
Unfortunately there seems to be no solution for this problem. The recommended CancelSynchronousIo() call doesn't seem to cancel WNetAddConnection2(), which is also confirmed by this discussion.
|
Re: Thread scan stuck: diagnostics and solutions 17 September 2017, 13:00 |
Registered: 10 years ago Posts: 22 |
|
Gaurav
Re: Thread scan stuck: diagnostics and solutions 10 May 2018, 11:13 |
|
|
Re: Thread scan stuck: diagnostics and solutions 10 May 2018, 11:25 |
Admin Registered: 12 years ago Posts: 1 151 |
As suggested before, you can try:
- Unchecking Check for write access on the Shares tab in Options.
- Unchecking all items in Remote File.