iMatch hang on closing

Started by Carlo Didier, July 25, 2014, 07:18:19 PM

Previous topic - Next topic

Carlo Didier

iMatch hang on closing. It seemed to close normally, but when I wanted to open it again, it said there was still an instance running. I had to kill it in Task Manager.
Here are the last entries in the event log. I "closed" iMatch at 15:50.
07.25 15:50:45+    0 [0C40] 00  M>    >  3 CIMCacheManager::Close  'IMCacheManager.cpp(496)'
07.25 15:50:45+    0 [0C40] 00  M>    <  3 CIMCacheManager::Close
07.25 15:50:45+    0 [0C40] 00  M>    >  3 CIMCacheManager::RemoveTempFiles  'IMCacheManager.cpp(594)'
07.25 15:50:45+    0 [0C40] 00  M>    <  3 CIMCacheManager::RemoveTempFiles
07.25 15:50:45+    0 [0C40] 00  M>    >  3 CIMCacheManager::PurgeCache  'IMCacheManager.cpp(624)'
07.25 15:50:45+    0 [0C40] 00  M>    <  3 CIMCacheManager::PurgeCache
07.25 15:50:45+    0 [0C40] 00  M>    >  3 CIMCacheManager::Close  'IMCacheManager.cpp(527)'
07.25 15:50:45+    0 [0C40] 00  M>    <  3 CIMCacheManager::Close
07.25 15:50:45+    0 [0C40] 02  I>     Cache Manager closed
07.25 15:50:45+    0 [0C40] 02  I>     Event Queue closed
07.25 15:50:45+    0 [0C40] 02  I>     Thumbnail Cache closed
07.25 15:50:45+    0 [0C40] 02  I>     Blob Stores closed
07.25 15:50:45+    0 [0C40] 02  I>     Catalog Database closed
07.25 15:50:46+ 1125 [0C40] 02  I>   ValueCache Stats: 1261 entries, 5330 total hits, 12.57 MB
07.25 15:50:46+   62 [0C40] 02  I>     Metabase closed
07.25 15:50:46+   16 [0C40] 00  M>    >  3 PTSimpleDB::Close  'PTSimpleDB.cpp(457)'
07.25 15:50:46+    0 [0C40] 00  M>    <  3 PTSimpleDB::Close
07.25 15:50:46+    0 [0C40] 02  I>     SimpleDB closed
07.25 15:50:46+    0 [0C40] 02  I>     Settings Store closed
07.25 15:50:46+  140 [0C40] 00  S>   #STS#: "engine.uptime" 0 0 0.00 "02:16:22"
07.25 15:50:46+    0 [0C40] 00  M>   <  2 [5796ms] CIMEngine5::Close
07.25 15:50:46+   32 [0C40] 00  M>  <  1 [6047ms] CMainFrame::CloseDatabase
07.25 15:51:55+69047 [0C40] 00  I> Flags: 4163, String: ''
07.25 15:51:56+ 1015 [0C40] 00  I> Flags: 47, no section
07.25 15:51:58+ 2016 [0C40] 01  W> Spelling: Cannot find a dictionary for language 'en' or failed to load.  'IMatch.cpp(2991)'
07.25 19:10:00+11881672 [0C40] 00  I> Flags: 47, no section
07.25 19:10:02+ 2015 [0C40] 01  W> Spelling: Cannot find a dictionary for language 'en' or failed to load.  'IMatch.cpp(2991)'

Mario

That's unfortunately no debug log so the info is limited. Can you attach the full log please anyway.
One reason might have been that IMatch was unable to detach from an exiftool.exe process and that the process refused to close. Can't see that in this log snippet.

Do you run scripts?
Did you use drag and drop to another application?
Maybe added a PDF file?
-- Mario
IMatch Developer
Forum Administrator
http://www.photools.com  -  Contact & Support - Follow me on 𝕏 - Like photools.com on Facebook

Carlo Didier

I don't have this log anymore. Should have made a copy, I know. No scripts running, no drag and drop to another app. I just closed iMatch as I didn't need it at that moment.
I think I'll just run it in full debug log for some time in case the problem re-appears.

Mario

When an ExifTool instance hangs, IMatch waits up to 3 minutes and then tries to close it forcefully. If this also fails, and Windows cannot detach IMatch from the blocked process, IMatch may be hanging. But then usually warnings and errors are logged (in all log modes) but your log snipped does not show any of this. I can't say more without more info, unfortunately.
-- Mario
IMatch Developer
Forum Administrator
http://www.photools.com  -  Contact & Support - Follow me on 𝕏 - Like photools.com on Facebook