Page 2 of 3

Re: DGDecIM crash on Windows 2012 R2

Posted: Tue Aug 15, 2017 12:02 pm
by admin
Please re-download and get the new trace.

It's not related to spurious DLLs, something is going wrong with WMI. This new trace will give me some return values from pEnumerator->Next which is used to query the mobo serial number.

Re: DGDecIM crash on Windows 2012 R2

Posted: Tue Aug 15, 2017 12:34 pm
by Nico83500
Here is the new log :
00000001 0.00000000 [22348] DGIndexIM: ref 1
00000002 0.00019167 [22348] DGIndexIM: ref 2
00000003 0.00028616 [22348] DGIndexIM: ref 3
00000004 0.00032572 [22348] DGIndexIM: ref 4
00000005 0.00036990 [22348] DGIndexIM: ref 5
00000006 0.00040178 [22348] DGIndexIM: ref 6
00000007 0.00044518 [22348] DGIndexIM: ref 7
00000008 0.00120495 [22348] DGIndexIM: ref 8
00000009 0.00137089 [22348] DGIndexIM: ref 9
00000010 0.02637910 [22348] DGIndexIM: ref 10
00000011 0.02841949 [22348] DGIndexIM: ref 11
00000012 0.02976771 [22348] DGIndexIM: ref 11a
00000013 0.03122464 [22348] DGIndexIM: ref 11b
00000014 0.03318167 [22348] DGIndexIM: ref 11c
00000015 0.03973612 [22348] DGIndexIM: ref 11d
00000016 0.03986556 [22348] DGIndexIM: ref 11e
00000017 0.04048206 [22348] DGIndexIM: ref 11f
00000018 0.04052508 [22348] DGIndexIM: ref 11h
00000019 0.04056810 [22348] DGIndexIM: ref 12a
00000020 0.06235248 [22348] DGIndexIM: pEnumerator->Next returned 1, count 0
00000021 0.06250305 [22348] DGIndexIM: ref 11i

Re: DGDecIM crash on Windows 2012 R2

Posted: Tue Aug 15, 2017 12:51 pm
by admin
WMI is giving me a non-NULL enumerator but then telling me there are no objects. Not good.

I have to think about why it could be working in the mbserialnumber.exe but not DGIndexIM.exe. Web search reveals two people with the same WMI problem and no answers.

Re: DGDecIM crash on Windows 2012 R2

Posted: Tue Aug 15, 2017 12:59 pm
by Nico83500
Count 0 should be Count 1 or an other value ?
Thank you for your search, but if there is no answer I don't want to take all your time :(

Re: DGDecIM crash on Windows 2012 R2

Posted: Tue Aug 15, 2017 1:35 pm
by admin
It should return 0 with count 1 and then the Get call gets the serial number string. The weird thing is that the same code worked for you with the mbserialnumber.exe. I don't like mysteries.

Re: DGDecIM crash on Windows 2012 R2

Posted: Tue Aug 15, 2017 3:17 pm
by Nico83500
If you want to do some tests tell me. Thank you for your time :-)

Re: DGDecIM crash on Windows 2012 R2

Posted: Tue Aug 15, 2017 3:51 pm
by admin
I will have more tests for you. Thank you.

Re: DGDecIM crash on Windows 2012 R2

Posted: Tue Aug 15, 2017 4:25 pm
by admin
Please re-download and try again.

Re: DGDecIM crash on Windows 2012 R2

Posted: Tue Aug 15, 2017 5:01 pm
by Nico83500
Good thing, now app doesn't crash and I have this message : Machine ID 000000000: Incorrect options to DGIndex. Please refer to the manual.
Here is the log :
00000001 0.00000000 [14052] DGIndexIM: ref 11a
00000002 0.00175039 [14052] DGIndexIM: ref 11b
00000003 0.00380422 [14052] DGIndexIM: ref 11c
00000004 0.01108962 [14052] DGIndexIM: ref 11d
00000005 0.01119064 [14052] DGIndexIM: ref 11e
00000006 0.01190393 [14052] DGIndexIM: ref 11f
00000007 0.01197576 [14052] DGIndexIM: ref 11h
00000008 0.01204798 [14052] DGIndexIM: ref 12a
00000009 0.02890692 [14052] DGIndexIM: pEnumerator->Next returned 1, count 0
00000010 0.02905327 [14052] DGIndexIM: ref 11i
00000011 0.02983301 [14052] DGIndexIM: ref 11j
00000012 0.02989984 [14052] DGIndexIM: ref 11k
00000013 0.02996553 [14052] DGIndexIM: ref 11m
00000014 0.03003659 [14052] DGIndexIM: ref 11m
00000015 0.03006309 [14052] DGIndexIM: ref 11m
00000016 0.03010649 [14052] DGIndexIM: ref 11m
00000017 0.03020291 [14052] DGIndexIM: ref 11m
00000018 0.03043068 [14052] DGIndexIM: ref 11m
00000019 0.03054976 [14052] DGIndexIM: ref 11m
00000020 0.03059777 [14052] DGIndexIM: ref 11m
00000021 0.03063080 [14052] DGIndexIM: ref 11m
00000022 0.03066115 [14052] DGIndexIM: ref 11m
00000023 0.03069034 [14052] DGIndexIM: ref 11m
00000024 0.03072030 [14052] DGIndexIM: ref 11m
00000025 0.03075026 [14052] DGIndexIM: ref 11m
00000026 0.03078022 [14052] DGIndexIM: ref 11m
00000027 0.03081018 [14052] DGIndexIM: ref 11m
00000028 0.03084014 [14052] DGIndexIM: ref 11m
00000029 0.03087049 [14052] DGIndexIM: ref 11m
00000030 0.03090083 [14052] DGIndexIM: ref 11m
00000031 0.03093041 [14052] DGIndexIM: ref 11m
00000032 0.03096037 [14052] DGIndexIM: ref 11m
00000033 0.03098995 [14052] DGIndexIM: ref 11m
00000034 0.03101952 [14052] DGIndexIM: ref 11m
00000035 0.03104948 [14052] DGIndexIM: ref 11m
00000036 0.03107944 [14052] DGIndexIM: ref 11m
00000037 0.03110902 [14052] DGIndexIM: ref 11m
00000038 0.03113898 [14052] DGIndexIM: ref 11m
00000039 0.03116856 [14052] DGIndexIM: ref 11m
00000040 0.03119813 [14052] DGIndexIM: ref 11m
00000041 0.03122886 [14052] DGIndexIM: ref 11m
00000042 0.03125959 [14052] DGIndexIM: ref 11m
00000043 0.03128955 [14052] DGIndexIM: ref 11m
00000044 0.03132028 [14052] DGIndexIM: ref 11m
00000045 0.03135101 [14052] DGIndexIM: ref 11m
00000046 0.03138097 [14052] DGIndexIM: ref 11m
00000047 0.03141093 [14052] DGIndexIM: ref 11m
00000048 0.03144128 [14052] DGIndexIM: ref 11m
00000049 0.03146701 [14052] DGIndexIM: ref 11o
00000050 0.03151464 [14052] DGIndexIM: ref 1
00000051 0.03164255 [14052] DGIndexIM: ref 2
00000052 0.03168365 [14052] DGIndexIM: ref 3
00000053 0.03171054 [14052] DGIndexIM: ref 4
00000054 0.03174818 [14052] DGIndexIM: ref 5
00000055 0.03178044 [14052] DGIndexIM: ref 6
00000056 0.03182423 [14052] DGIndexIM: ref 7
00000057 0.03247645 [14052] DGIndexIM: ref 8
00000058 0.03261050 [14052] DGIndexIM: ref 9
00000059 0.05831895 [14052] DGIndexIM: ref 10
00000060 0.06053295 [14052] DGIndexIM: ref 11
00000061 0.06056406 [14052] DGIndexIM: ref 12
00000062 0.06059095 [14052] DGIndexIM: ref 13
00000063 0.06061669 [14052] DGIndexIM: ref 14

Re: DGDecIM crash on Windows 2012 R2

Posted: Tue Aug 15, 2017 5:13 pm
by admin
No good. It's still giving count = 0. It can't read the mobo serial number. Thinking...

Re: DGDecIM crash on Windows 2012 R2

Posted: Tue Aug 15, 2017 5:24 pm
by admin
OK, please re-download again and test. We need count = 1.

Re: DGDecIM crash on Windows 2012 R2

Posted: Wed Aug 16, 2017 2:33 am
by Nico83500
Same result with the latest exe :
[22488] DGIndexIM: ref 11a
[22488] DGIndexIM: ref 11b
[22488] DGIndexIM: ref 11c
[22488] DGIndexIM: ref 11d
[22488] DGIndexIM: ref 11e
[22488] DGIndexIM: ref 11f
[22488] DGIndexIM: ref 11h
[22488] DGIndexIM: ref 12a
[22488] DGIndexIM: pEnumerator->Next returned 1, count 0
[22488] DGIndexIM: ref 11i
[22488] DGIndexIM: ref 11j
[22488] DGIndexIM: ref 11k
[22488] DGIndexIM: ref 11m
[22488] DGIndexIM: ref 11m
[22488] DGIndexIM: ref 11m
[22488] DGIndexIM: ref 11m
[22488] DGIndexIM: ref 11m
[22488] DGIndexIM: ref 11m
[22488] DGIndexIM: ref 11m
[22488] DGIndexIM: ref 11m
[22488] DGIndexIM: ref 11m
[22488] DGIndexIM: ref 11m
[22488] DGIndexIM: ref 11m
[22488] DGIndexIM: ref 11m
[22488] DGIndexIM: ref 11m
[22488] DGIndexIM: ref 11m
[22488] DGIndexIM: ref 11m
[22488] DGIndexIM: ref 11m
[22488] DGIndexIM: ref 11m
[22488] DGIndexIM: ref 11m
[22488] DGIndexIM: ref 11m
[22488] DGIndexIM: ref 11m
[22488] DGIndexIM: ref 11m
[22488] DGIndexIM: ref 11m
[22488] DGIndexIM: ref 11m
[22488] DGIndexIM: ref 11m
[22488] DGIndexIM: ref 11m
[22488] DGIndexIM: ref 11m
[22488] DGIndexIM: ref 11m
[22488] DGIndexIM: ref 11m
[22488] DGIndexIM: ref 11m
[22488] DGIndexIM: ref 11m
[22488] DGIndexIM: ref 11m
[22488] DGIndexIM: ref 11m
[22488] DGIndexIM: ref 11m
[22488] DGIndexIM: ref 11m
[22488] DGIndexIM: ref 11m
[22488] DGIndexIM: ref 11m
[22488] DGIndexIM: ref 11o
[22488] DGIndexIM: ref 1
[22488] DGIndexIM: ref 2
[22488] DGIndexIM: ref 3
[22488] DGIndexIM: ref 4
[22488] DGIndexIM: ref 5
[22488] DGIndexIM: ref 6
[22488] DGIndexIM: ref 7
[22488] DGIndexIM: ref 8
[22488] DGIndexIM: ref 9
[22488] DGIndexIM: ref 10
[22488] DGIndexIM: ref 11
[22488] DGIndexIM: ref 12
[22488] DGIndexIM: ref 13
[22488] DGIndexIM: ref 14

Commandline "wmic bios get serialnumber" gives me the right result, I don't know if it is a good information for you.

Re: DGDecIM crash on Windows 2012 R2

Posted: Wed Aug 16, 2017 5:35 am
by admin
The BIOS and mobo serial numbers are different things. Anyway, it doesn't matter as my nico.exe worked for you. I will have a series of more tests for you today.

Re: DGDecIM crash on Windows 2012 R2

Posted: Wed Aug 16, 2017 7:44 am
by Nico83500
No problem ;)
"wmic baseboard get serialnumber" command doesn't give result, perhaps because it's a HP ProLiant server and not a PC ?! It works on my PC HP, I get a result.

Re: DGDecIM crash on Windows 2012 R2

Posted: Wed Aug 16, 2017 8:20 am
by admin
That's interesting and could explain our problem. But I thought nico.exe was working. Let me give you that one again with more printfs.

Re: DGDecIM crash on Windows 2012 R2

Posted: Wed Aug 16, 2017 6:08 pm
by admin
Sorry Nico, I am on day 4 of going cold turkey off coffee (was a heavy drinker). Just couldn't summon any energy today for anything. Hoping for more oomph tomorrow.

Day 4 is the peak. You get aching joints, headache, lethargy, brain fog, stomach cramps, and more. I have all of them. But I am going to tough it out. :facepalm:

http://www.theyoganomads.com/survive-5- ... nt-sucked/

Re: DGDecIM crash on Windows 2012 R2

Posted: Thu Aug 17, 2017 1:02 am
by Nico83500
No problem Donald, good luck ! :) I hope you'll win against the coffee ;)

Re: DGDecIM crash on Windows 2012 R2

Posted: Fri Aug 18, 2017 10:13 am
by admin
OK, feeling better today. :P

Please re-download nico.exe, run it in a command window (no need for DBView), and post results. The difference from before is that this one is 64-bit and I have added some more printfs.

Re: DGDecIM crash on Windows 2012 R2

Posted: Fri Aug 18, 2017 1:05 pm
by Nico83500
Thank you but I could try Monday only... I'll tell you ;-)

Re: DGDecIM crash on Windows 2012 R2

Posted: Fri Aug 18, 2017 1:35 pm
by admin
Thanks, Nico, I appreciate your help with this issue.

Re: DGDecIM crash on Windows 2012 R2

Posted: Fri Aug 18, 2017 2:33 pm
by Nico83500
You're welcome, it's a pleasure, thank you to spend your time to help me :P

Re: DGDecIM crash on Windows 2012 R2

Posted: Mon Aug 21, 2017 2:15 am
by Nico83500
So I've tried the new nico.exe and here is the result :
Connected to ROOT\CIMV2 WMI namespace
returned 1, count 0
No objects found
Cleaning up...
Cleanup successfull

Re: DGDecIM crash on Windows 2012 R2

Posted: Mon Aug 21, 2017 3:32 am
by admin
OK then, thanks, it's clear that the WMI query is not supported on that server. I don't have any solution short of removing my protections, and that is not likely any time soon.

Re: DGDecIM crash on Windows 2012 R2

Posted: Mon Aug 21, 2017 3:38 am
by Nico83500
No problem I understand ;) so I'll use DGDecIM only on my PC.
It's only an (perhaps bad) idea : you could test if your WMI request works and if not, get WMI BIOS serial number instead of baseboard ? And if it doesn't work show a warning "Your hardware is not supported"

WMI request on my PC :
wmic bios get serialnumber : PESZ........
wmic baseboard get serialnumber : CZC....... (serial number on the external sticker)

WMI requestion on my server :
wmic bios get serialnumber : CZ2............. (serial number on the external sticker)
wmic baseboard get serialnumber : Not available

So on ProLiant server, it seems Bios S/N replaces Baseboard S/N

Re: DGDecIM crash on Windows 2012 R2

Posted: Mon Aug 21, 2017 4:15 am
by admin
That's a good idea. I'll do some experiments and if it's feasible I'll do it.

Can you do one more experiment for me? Try to run the 32-bit version of DGIndexIM on the server. Is it the same?