Page 1 of 2

WMI Explorer Crashing when searching

Posted: Sun Jan 31, 2016 6:35 am
by tbednarz
Product, version and build: WMI Explorer 2.2.57
32 or 64 bit version of product: 64-bit
Operating system: Win 8.1 Pro
32 or 64 bit OS: 64-bit

I am trying this product for a couple of weeks now. I seems to be quite unstable on my computer, it crashes every two or three queries. There is one query, where I can reproduce the crash ALL THE TIME! See the enclosed screenshot. I am searching for 'diskspace'. It finds a couple of classes and then crashes and needs to be closed. The search can never been completed. I have also cleaned and rebuilt the cash, no success.

Re: WMI Explorer Crashing when searching

Posted: Sun Jan 31, 2016 9:02 am
by Alexander Riedel
Thank you for letting us know. We will investigate.

Re: WMI Explorer Crashing when searching

Posted: Sun Jan 31, 2016 9:16 am
by Alexander Riedel
I did a quick test on Windows 7 with the find term you indicate in your screenshot and it worked fine. I also conducted multiple searches
for 'disk', 'volume' and 'battery', just to test a few, and encountered no problems.
I will also try on Windows 8.1 and 10 later and see what happens.
Can you give us any example for the three searches that make it crash on your machine?

Re: WMI Explorer Crashing when searching

Posted: Sun Jan 31, 2016 9:24 am
by Alexander Riedel
I am wondering if this a language problem. German does have characters that English does not have after all :D
Would it be possible for you to zip the cache from your machine and upload it to us here:
https://www.sapien.com/support/upload

Re: WMI Explorer Crashing when searching

Posted: Sun Jan 31, 2016 11:24 am
by tbednarz
I can search for almost anything and it crashes! Strange, I wonder if something is wrong with my installation..... I run PowerShell Studio 2015 without problems. Here what I am doing:

First, I click under 'Find' on the search icon.
I fill in the search term, such as 'Battery', 'diskspace', 'Memory', ... I search in all namespaces. This returns a list in the result pane. I see, that is filling quite a large number of results since the scroll bar on the left gets longer and longer... Then it crashes. As a person with many years programming experience in different languages (C, C++, C#, Java, Ruby, Perl, AWK and others) I could imagine that it is sort of a buffer / memory problem . When I select fewer search scopes, e.g. only Class names, it does NOT crash!

I do not search for any german expressions, programming is english. But since my Windows is German it seems to translate descriptons and error messages to german.

Where can I find the cache file?

Re: WMI Explorer Crashing when searching

Posted: Sun Jan 31, 2016 12:30 pm
by Alexander Riedel
I do this search here and the peak memory size for the process is at about 60MB, which is really nothing.
Now, having said that, your WMI database can of course be vastly larger than mine here.

Look here: C:\ProgramData\SAPIEN\WMI Explorer 2015\Cache
You should see a folder with your machine name. Zip that folder and upload it please.

Re: WMI Explorer Crashing when searching

Posted: Sun Jan 31, 2016 2:27 pm
by tbednarz
Ok, mine is about 700 MB. I have zipped and uploaded it.

Re: WMI Explorer Crashing when searching

Posted: Sun Jan 31, 2016 3:25 pm
by Alexander Riedel
That is too large to be uploaded to our site. Can you possible put it on a dropbox folder (or similar) and share the link so I can download it?

Re: WMI Explorer Crashing when searching

Posted: Sun Jan 31, 2016 11:44 pm
by tbednarz
Zipped it was around 40 MB. I got the impression the upload was successful. If not, please contact me using my email address (I am in your customer DB). I will then email you a link, where you can download it. Thanks.

Re: WMI Explorer Crashing when searching

Posted: Mon Feb 01, 2016 2:20 pm
by Alexander Riedel
We have isolated the problem thanks to the cache information you uploaded. Basically there is a corrupted cache file because some WMI use non-standard line endings. We will correct this in the upcoming 2016 release.