T O P I C R E V I E W |
FLDelphi |
Posted - Aug 03 2020 : 11:54:52 We have a user who does not have any connected scanners. Every once in a blue moon the program will completely lock up on TImageEnIO.TwainParams.GetFromScanner. The user will need to kill the program from task manager. They'll go right back to the offending code and it will return instantly.
We're using Delphi XE3 and ImageEn 8.6.0. What kind of debugging can we do here? |
6 L A T E S T R E P L I E S (Newest First) |
FLDelphi |
Posted - Sep 14 2020 : 18:03:01 We haven't been watching other applications until now. I don't think the user connects the phone up for anything more than charging. |
xequte |
Posted - Sep 10 2020 : 17:05:59 Hi
Well the main difference is that it looks to have recognized the failed connection with the Galaxy S8 and terminated appropriately.
Do other applications have problems connecting to the device?
Nigel Xequte Software www.imageen.com
|
FLDelphi |
Posted - Sep 09 2020 : 15:38:03 For comparison, here's a log file where it DOESN'T lock up.
Twain log. Core version 8.6.0 8-6-2019 * 32 bit 8/21/2020 10:04:04 AM : CreateProxyWindow 8/21/2020 10:04:04 AM : CreateProxyWindow : created 8/21/2020 10:04:04 AM : IETW_LoadSourceManager 8/21/2020 10:04:04 AM : IETW_LoadSourceManager : Load OK 8/21/2020 10:04:04 AM : IETW_OpenSourceManager 8/21/2020 10:04:04 AM : IETW_OpenSourceManager : Ok 8/21/2020 10:04:04 AM : IETW_CloseSourceManager 8/21/2020 10:04:04 AM : IETW_EmptyMessageQueue 8/21/2020 10:04:04 AM : IETW_MessageHook 8/21/2020 10:04:04 AM : IETW_MessageHook : state = 3 8/21/2020 10:04:04 AM : IETW_EmptyMessageQueue : end 8/21/2020 10:04:04 AM : IETW_CloseSourceManager : Ok 8/21/2020 10:04:04 AM : IETW_UnloadSourceManager 8/21/2020 10:04:04 AM : IETW_UnloadSourceManager not Unloaded, for future uses 8/21/2020 10:04:04 AM : DestroyProxyWindow 8/21/2020 10:04:04 AM : DestroyProxyWindow : not destroyed, for future uses 8/21/2020 10:04:04 AM : CreateProxyWindow 8/21/2020 10:04:04 AM : CreateProxyWindow : already created 8/21/2020 10:04:04 AM : IETW_LoadSourceManager 8/21/2020 10:04:04 AM : IETW_LoadSourceManager : already loaded 8/21/2020 10:04:04 AM : IETW_OpenSourceManager 8/21/2020 10:04:04 AM : IETW_OpenSourceManager : Ok 8/21/2020 10:04:04 AM : IETW_OpenSource 8/21/2020 10:04:04 AM : Opening "WIA-Galaxy S8+" 8/21/2020 10:04:05 AM : IETW_Mgr : General failure. Unload Source immediately. 8/21/2020 10:04:05 AM : IETW_OpenSource : FAILED! 8/21/2020 10:04:05 AM : IETW_CloseSourceManager 8/21/2020 10:04:05 AM : IETW_EmptyMessageQueue 8/21/2020 10:04:05 AM : IETW_MessageHook 8/21/2020 10:04:05 AM : IETW_MessageHook : state = 3 8/21/2020 10:04:05 AM : IETW_MessageHook : end 8/21/2020 10:04:05 AM : IETW_EmptyMessageQueue : end 8/21/2020 10:04:05 AM : IETW_CloseSourceManager : Ok 8/21/2020 10:04:05 AM : IETW_UnloadSourceManager 8/21/2020 10:04:05 AM : IETW_UnloadSourceManager not Unloaded, for future uses 8/21/2020 10:04:05 AM : DestroyProxyWindow 8/21/2020 10:04:05 AM : DestroyProxyWindow : not destroyed, for future uses 8/21/2020 10:04:05 AM : CreateProxyWindow 8/21/2020 10:04:05 AM : CreateProxyWindow : created 8/21/2020 10:04:05 AM : IETW_LoadSourceManager 8/21/2020 10:04:05 AM : IETW_LoadSourceManager : Load OK 8/21/2020 10:04:05 AM : IETW_OpenSourceManager 8/21/2020 10:04:05 AM : IETW_OpenSourceManager : Ok 8/21/2020 10:04:05 AM : IETW_CloseSourceManager 8/21/2020 10:04:05 AM : IETW_EmptyMessageQueue 8/21/2020 10:04:05 AM : IETW_EmptyMessageQueue : end 8/21/2020 10:04:05 AM : IETW_CloseSourceManager : Ok 8/21/2020 10:04:05 AM : IETW_UnloadSourceManager 8/21/2020 10:04:05 AM : IETW_UnloadSourceManager not Unloaded, for future uses 8/21/2020 10:04:05 AM : DestroyProxyWindow 8/21/2020 10:04:05 AM : DestroyProxyWindow : not destroyed, for future uses 8/21/2020 10:04:05 AM : CreateProxyWindow 8/21/2020 10:04:05 AM : CreateProxyWindow : already created 8/21/2020 10:04:05 AM : IETW_LoadSourceManager 8/21/2020 10:04:05 AM : IETW_LoadSourceManager : already loaded 8/21/2020 10:04:05 AM : IETW_OpenSourceManager 8/21/2020 10:04:05 AM : IETW_OpenSourceManager : Ok 8/21/2020 10:04:05 AM : IETW_OpenSource 8/21/2020 10:04:05 AM : Opening "WIA-Galaxy S8+" 8/21/2020 10:04:05 AM : IETW_Mgr : General failure. Unload Source immediately. 8/21/2020 10:04:05 AM : IETW_OpenSource : FAILED! 8/21/2020 10:04:05 AM : IETW_CloseSourceManager 8/21/2020 10:04:05 AM : IETW_EmptyMessageQueue 8/21/2020 10:04:05 AM : IETW_MessageHook 8/21/2020 10:04:05 AM : IETW_MessageHook : state = 3 8/21/2020 10:04:05 AM : IETW_MessageHook : end 8/21/2020 10:04:05 AM : IETW_EmptyMessageQueue : end 8/21/2020 10:04:05 AM : IETW_CloseSourceManager : Ok 8/21/2020 10:04:05 AM : IETW_UnloadSourceManager 8/21/2020 10:04:05 AM : IETW_UnloadSourceManager not Unloaded, for future uses 8/21/2020 10:04:05 AM : DestroyProxyWindow 8/21/2020 10:04:05 AM : DestroyProxyWindow : not destroyed, for future uses 8/21/2020 10:04:37 AM : DestroyProxyWindow 8/21/2020 10:04:37 AM : DestroyProxyWindow : destroyed 8/21/2020 10:04:37 AM : IETW_UnloadSourceManager 8/21/2020 10:04:37 AM : IETW_UnloadSourceManager : Unload OK 8/21/2020 10:04:37 AM : DestroyProxyWindow 8/21/2020 10:04:37 AM : DestroyProxyWindow : destroyed 8/21/2020 10:04:37 AM : IETW_UnloadSourceManager 8/21/2020 10:04:37 AM : IETW_UnloadSourceManager : Unload OK
|
FLDelphi |
Posted - Sep 09 2020 : 10:21:06 Sorry for the delay...the lockup happens very rarely (about 4 times since I posted this). Each time there were different troubles getting the log file, but we were finally successful this morning. Here it is:
Twain log. Core version 8.6.0 8-6-2019 * 32 bit 9/9/2020 7:59:06 AM : CreateProxyWindow 9/9/2020 7:59:06 AM : CreateProxyWindow : created 9/9/2020 7:59:06 AM : IETW_LoadSourceManager 9/9/2020 7:59:06 AM : IETW_LoadSourceManager : Load OK 9/9/2020 7:59:06 AM : IETW_OpenSourceManager 9/9/2020 7:59:06 AM : IETW_OpenSourceManager : Ok 9/9/2020 7:59:06 AM : IETW_CloseSourceManager 9/9/2020 7:59:06 AM : IETW_EmptyMessageQueue 9/9/2020 7:59:06 AM : IETW_EmptyMessageQueue : end 9/9/2020 7:59:06 AM : IETW_CloseSourceManager : Ok 9/9/2020 7:59:06 AM : IETW_UnloadSourceManager 9/9/2020 7:59:06 AM : IETW_UnloadSourceManager not Unloaded, for future uses 9/9/2020 7:59:06 AM : DestroyProxyWindow 9/9/2020 7:59:06 AM : DestroyProxyWindow : not destroyed, for future uses 9/9/2020 7:59:06 AM : CreateProxyWindow 9/9/2020 7:59:06 AM : CreateProxyWindow : already created 9/9/2020 7:59:06 AM : IETW_LoadSourceManager 9/9/2020 7:59:06 AM : IETW_LoadSourceManager : already loaded 9/9/2020 7:59:06 AM : IETW_OpenSourceManager 9/9/2020 7:59:06 AM : IETW_OpenSourceManager : Ok 9/9/2020 7:59:06 AM : IETW_OpenSource 9/9/2020 7:59:06 AM : Opening "WIA-Galaxy S8+"
Looks like it's having trouble with his phone/WIA...but like I said, the error doesn't happen very often. Where can we go from here? |
FLDelphi |
Posted - Aug 04 2020 : 10:35:07 That's great. Will compile a new version and get it installed. Thank you. |
xequte |
Posted - Aug 03 2020 : 22:56:40 Hi
You can enable the log file with the following property:
https://www.imageen.com/help/TIETwainParams.LogFile.html
I suspect you will find that ImageEn will be waiting for a response from Windows. Let me know what you find.
Nigel Xequte Software www.imageen.com
|