locked
AppVerifier RRS feed

  • Question

  • Hi ,

    I have created an application in 3.5 and executed on WM 6.5 emulator. Executed the application in the application verifier and got the following log file.
    Can anyone explain what can be the possible issues in showing this errors ?
    Searching on Interent I found that we can ignore the error for
    1. Mismatched Load/FreeLibrary
    2. Potential leak, 1 items (assume you have performed all your steps at least twice)
    Is it true ? (Reference: http://hi.baidu.com/donghaozheng/blog/item/bb6048237bd6bb5b9822ed8b.html)

    # LOG_BEGIN 8/1/2009 11:51:31
    # SHIM_BEGIN _verifier_ 0
    # LOGENTRY shim_verifier.dll 0 'Started
    # DESCRIPTION BEGIN
    The application started running. This is an informational message; no action is required.
    # DESCRIPTION END
    # LOGENTRY shim_verifier.dll 1 'Stopped
    # DESCRIPTION BEGIN
    The application stopped running. This is an informational message; no action is required.
    # DESCRIPTION END
    # LOGENTRY shim_verifier.dll 2 'Unfreed library
    # DESCRIPTION BEGIN
    The application loaded a module without freeing it before process exit.
    # DESCRIPTION END
    | shim_verifier.dll 0 | 0 shim_verifier.dll 0
    # LOGENTRY shim_heap.dll 0 'Generic warning
    # DESCRIPTION BEGIN
    Generic warning
    # DESCRIPTION END
    # LOGENTRY shim_heap.dll 1 'Generic error
    # DESCRIPTION BEGIN
    Generic error
    # DESCRIPTION END
    # LOGENTRY shim_heap.dll 2 'Invalid heap
    # DESCRIPTION BEGIN
    The application used an invalid heap handle. If allowed to be passed to the heap, it would probably lead to a fault.
    # DESCRIPTION END
    # LOGENTRY shim_heap.dll 3 'Invalid pointer
    # DESCRIPTION BEGIN
    The application passed an invalid pointer. If allowed to be passed to the heap, it would probably lead to a fault.
    # DESCRIPTION END
    # LOGENTRY shim_heap.dll 4 'Double free
    # DESCRIPTION BEGIN
    The application is attempting to free an allocation that has already been freed.
    # DESCRIPTION END
    # LOGENTRY shim_heap.dll 5 'Buffer overflow
    # DESCRIPTION BEGIN
    The application wrote past the end of the buffer.
    # DESCRIPTION END
    # LOGENTRY shim_heap.dll 6 'Buffer underflow
    # DESCRIPTION BEGIN
    The application wrote before the beginning of the buffer
    # DESCRIPTION END
    # LOGENTRY shim_heap.dll 7 'Serialization warning
    # DESCRIPTION BEGIN
    The application used the HEAP_NO_SERIALIZE flag. This flag is ignored by the heap.
    # DESCRIPTION END
    # LOGENTRY shim_heap.dll 8 'Allocation error
    # DESCRIPTION BEGIN
    A heap allocation failed unexpectedly.
    # DESCRIPTION END
    # LOGENTRY shim_heap.dll 9 'Use after free
    # DESCRIPTION BEGIN
    The application wrote to a heap allocation after it had been freed. This is very bad!!
    # DESCRIPTION END
    # LOGENTRY shim_heap.dll 10 'Max heap size requested
    # DESCRIPTION BEGIN
    The application requested a maximum size for a heap. This shim is padding allocations, so the size of the heap will be larger than the app expects.
    # DESCRIPTION END
    # LOGENTRY shim_heap.dll 11 'Max heap size request ignored
    # DESCRIPTION BEGIN
    The application requested a maximum size for a heap, and that request was ignored. The heap will be growable.
    # DESCRIPTION END
    # LOGENTRY shim_heap.dll 12 'Destroying a non-empty heap - possible memory leak
    # DESCRIPTION BEGIN
    The application is destroying a non-empty heap. This is only a warning; it could be valid. Please double-check, though.
    # DESCRIPTION END
    # LOGENTRY shim_heap.dll 13 'Non-destroyed heap
    # DESCRIPTION BEGIN
    The application created a heap, and did not destroy it.
    # DESCRIPTION END
    # LOGENTRY shim_heap.dll 14 'Can't destroy process heap
    # DESCRIPTION BEGIN
    The application attempted to destroy the process heap.
    # DESCRIPTION END
    # LOGENTRY shim_heap.dll 15 'Injected a heap fault
    # DESCRIPTION BEGIN
    The shim is injecting a heap fault into the application. The application should handle this fault gracefully.
    # DESCRIPTION END

    | shim_heap.dll 181 | 0 mscoree3_5.dll 7812dad4'   0x78066208: shim_heap.dll!(null) + 6208h
    | shim_heap.dll 181 | 0 mscoree3_5.dll 7812dad4'   0x780662b0: shim_heap.dll!(null) + 62b0h
    | shim_heap.dll 181 | 0 mscoree3_5.dll 7812dad4'   0x78068400: shim_heap.dll!(null) + 8400h
    | shim_heap.dll 181 | 0 mscoree3_5.dll 7812dad4'   0x7812dad4: mscoree3_5.dll!(null) + adad4h
    | shim_heap.dll 181 | 0 mscoree3_5.dll 7812dad4'   0x7813f678: mscoree3_5.dll!(null) + bf678h
    | shim_heap.dll 181 | 0 mscoree3_5.dll 7812dad4'   0x7814c354: mscoree3_5.dll!(null) + cc354h
    | shim_heap.dll 181 | 0 mscoree3_5.dll 7812dad4'   0x78048bd0: mscoree.dll!(null) + 8bd0h
    | shim_heap.dll 181 | 0 mscoree3_5.dll 7812dad4'   0x78049a84: mscoree.dll!(null) + 9a84h
    | shim_heap.dll 181 | 0 mscoree3_5.dll 7812dad4'   0x03f67760: coredll.dll!(null) + 1d760h
    # LOGENTRY shim_verifier.dll 182 'Mismatched Load/FreeLibrary.     1 items at 0x2786406c
    # DESCRIPTION BEGIN
    The application did not call FreeLibrary for each LoadLibrary call
    # DESCRIPTION END
    | shim_verifier.dll 182 | 2 nk.exe 88037914'   0x2786406c: shim_verifier.dll!(null) + 406ch
    | shim_verifier.dll 182 | 2 nk.exe 88037914'   0x7812f0c0: mscoree3_5.dll!(null) + af0c0h
    | shim_verifier.dll 182 | 2 nk.exe 88037914'   0x7812ed1c: mscoree3_5.dll!(null) + aed1ch
    | shim_verifier.dll 182 | 2 nk.exe 88037914'   0x7812ef88: mscoree3_5.dll!(null) + aef88h
    | shim_verifier.dll 182 | 2 nk.exe 88037914'   0x7812f034: mscoree3_5.dll!(null) + af034h
    | shim_verifier.dll 182 | 2 nk.exe 88037914'   0x7813386c: mscoree3_5.dll!(null) + b386ch
    | shim_verifier.dll 182 | 2 nk.exe 88037914'   0x78131758: mscoree3_5.dll!(null) + b1758h
    | shim_verifier.dll 182 | 2 nk.exe 88037914'   0x780ae19c: mscoree3_5.dll!(null) + 2e19ch
    | shim_verifier.dll 182 | 2 nk.exe 88037914'   0x7814c260: mscoree3_5.dll!(null) + cc260h
    | shim_verifier.dll 182 | 2 nk.exe 88037914'   0x78048b38: mscoree.dll!(null) + 8b38h
    | shim_verifier.dll 182 | 2 nk.exe 88037914'   0x78049a64: mscoree.dll!(null) + 9a64h
    | shim_verifier.dll 182 | 2 nk.exe 88037914'   0x03f67760: coredll.dll!(null) + 1d760h
    | shim_verifier.dll 182 | 2 nk.exe 88037914'   0x97fff7e0   (coredll.dll)
    # LOGENTRY shim_verifier.dll 183 'Mismatched Load/FreeLibrary.     1 items at 0x2786406c
    # DESCRIPTION BEGIN
    The application did not call FreeLibrary for each LoadLibrary call
    # DESCRIPTION END
    | shim_verifier.dll 183 | 2 nk.exe 88037914'   0x2786406c: shim_verifier.dll!(null) + 406ch
    | shim_verifier.dll 183 | 2 nk.exe 88037914'   0x7812f0c0: mscoree3_5.dll!(null) + af0c0h
    | shim_verifier.dll 183 | 2 nk.exe 88037914'   0x7812ed1c: mscoree3_5.dll!(null) + aed1ch
    | shim_verifier.dll 183 | 2 nk.exe 88037914'   0x7812ef88: mscoree3_5.dll!(null) + aef88h
    | shim_verifier.dll 183 | 2 nk.exe 88037914'   0x7812f034: mscoree3_5.dll!(null) + af034h
    | shim_verifier.dll 183 | 2 nk.exe 88037914'   0x780b2524: mscoree3_5.dll!(null) + 32524h
    | shim_verifier.dll 183 | 2 nk.exe 88037914'   0x780ae1e0: mscoree3_5.dll!(null) + 2e1e0h
    | shim_verifier.dll 183 | 2 nk.exe 88037914'   0x7814c260: mscoree3_5.dll!(null) + cc260h
    | shim_verifier.dll 183 | 2 nk.exe 88037914'   0x78048b38: mscoree.dll!(null) + 8b38h
    | shim_verifier.dll 183 | 2 nk.exe 88037914'   0x78049a64: mscoree.dll!(null) + 9a64h
    | shim_verifier.dll 183 | 2 nk.exe 88037914'   0x03f67760: coredll.dll!(null) + 1d760h
    | shim_verifier.dll 183 | 2 nk.exe 88037914'   0x97e09104   (Ole32.dll)
    # LOGENTRY shim_verifier.dll 184 'Mismatched Load/FreeLibrary.     1 items at 0x2786406c
    # DESCRIPTION BEGIN
    The application did not call FreeLibrary for each LoadLibrary call
    # DESCRIPTION END
    | shim_verifier.dll 184 | 2 nk.exe 88037914'   0x2786406c: shim_verifier.dll!(null) + 406ch
    | shim_verifier.dll 184 | 2 nk.exe 88037914'   0x029e3538: commctrl.dll!(null) + 5f538h
    | shim_verifier.dll 184 | 2 nk.exe 88037914'   0x029ab68c: commctrl.dll!(null) + 2768ch
    | shim_verifier.dll 184 | 2 nk.exe 88037914'   0x029ea394: commctrl.dll!(null) + 66394h
    | shim_verifier.dll 184 | 2 nk.exe 88037914'   0x03f66d30: coredll.dll!(null) + 1cd30h
    | shim_verifier.dll 184 | 2 nk.exe 88037914'   0x03f66da4: coredll.dll!(null) + 1cda4h
    | shim_verifier.dll 184 | 2 nk.exe 88037914'   0x03f66ea8: coredll.dll!(null) + 1cea8h
    | shim_verifier.dll 184 | 2 nk.exe 88037914'   0x03f625a4: coredll.dll!(null) + 185a4h
    | shim_verifier.dll 184 | 2 nk.exe 88037914'   0x03fa9f90: coredll.dll!(null) + 5ff90h
    | shim_verifier.dll 184 | 2 nk.exe 88037914'   0x03f62738: coredll.dll!(null) + 18738h
    | shim_verifier.dll 184 | 2 nk.exe 88037914'   0x27864030: shim_verifier.dll!(null) + 4030h
    | shim_verifier.dll 184 | 2 nk.exe 88037914'   0x7812f0c0: mscoree3_5.dll!(null) + af0c0h
    | shim_verifier.dll 184 | 2 nk.exe 88037914'   0x7812ece4: mscoree3_5.dll!(null) + aece4h
    | shim_verifier.dll 184 | 2 nk.exe 88037914'   0x780b369c: mscoree3_5.dll!(null) + 3369ch
    | shim_verifier.dll 184 | 2 nk.exe 88037914'   0x7814c2a0: mscoree3_5.dll!(null) + cc2a0h
    | shim_verifier.dll 184 | 2 nk.exe 88037914'   0x78048b38: mscoree.dll!(null) + 8b38h
    | shim_verifier.dll 184 | 2 nk.exe 88037914'   0x78049a64: mscoree.dll!(null) + 9a64h
    | shim_verifier.dll 184 | 2 nk.exe 88037914'   0x03f67760: coredll.dll!(null) + 1d760h
    | shim_verifier.dll 184 | 2 nk.exe 88037914'   0x975c7950   (aygshell.dll)
    # LOGENTRY shim_verifier.dll 185 'Mismatched Load/FreeLibrary.     1 items at 0x2786406c
    # DESCRIPTION BEGIN
    The application did not call FreeLibrary for each LoadLibrary call
    # DESCRIPTION END
    | shim_verifier.dll 185 | 2 nk.exe 88037914'   0x2786406c: shim_verifier.dll!(null) + 406ch
    | shim_verifier.dll 185 | 2 nk.exe 88037914'   0x7812f0c0: mscoree3_5.dll!(null) + af0c0h
    | shim_verifier.dll 185 | 2 nk.exe 88037914'   0x7812ece4: mscoree3_5.dll!(null) + aece4h
    | shim_verifier.dll 185 | 2 nk.exe 88037914'   0x781394e8: mscoree3_5.dll!(null) + b94e8h
    | shim_verifier.dll 185 | 2 nk.exe 88037914'   0x781392b4: mscoree3_5.dll!(null) + b92b4h
    | shim_verifier.dll 185 | 2 nk.exe 88037914'   0x7814c2c4: mscoree3_5.dll!(null) + cc2c4h
    | shim_verifier.dll 185 | 2 nk.exe 88037914'   0x78048b38: mscoree.dll!(null) + 8b38h
    | shim_verifier.dll 185 | 2 nk.exe 88037914'   0x78049a64: mscoree.dll!(null) + 9a64h
    | shim_verifier.dll 185 | 2 nk.exe 88037914'   0x03f67760: coredll.dll!(null) + 1d760h
    | shim_verifier.dll 185 | 2 nk.exe 88037914'   0x975c7950   (\Windows\aygshell.dll)
    # LOGENTRY shim_verifier.dll 186 'Mismatched Load/FreeLibrary.     1 items at 0x2786406c
    # DESCRIPTION BEGIN
    The application did not call FreeLibrary for each LoadLibrary call
    # DESCRIPTION END
    | shim_verifier.dll 186 | 2 nk.exe 88037914'   0x2786406c: shim_verifier.dll!(null) + 406ch
    | shim_verifier.dll 186 | 2 nk.exe 88037914'   0x277c88bc: sqlceme30.dll!(null) + 88bch
    | shim_verifier.dll 186 | 2 nk.exe 88037914'   0x277c1d70: sqlceme30.dll!(null) + 1d70h
    | shim_verifier.dll 186 | 2 nk.exe 88037914'   0x277c1edc: sqlceme30.dll!(null) + 1edch
    | shim_verifier.dll 186 | 2 nk.exe 88037914'   0x780e5bf0: mscoree3_5.dll!(null) + 65bf0h
    | shim_verifier.dll 186 | 2 nk.exe 88037914'   0x2790f668: UNKNOWN!UNKNOWN + 0190f668h
    | shim_verifier.dll 186 | 2 nk.exe 88037914'   0x2790f668: UNKNOWN!UNKNOWN + 0190f668h
    | shim_verifier.dll 186 | 2 nk.exe 88037914'   0x2790f668: UNKNOWN!UNKNOWN + 0190f668h
    | shim_verifier.dll 186 | 2 nk.exe 88037914'   0x2790f668: UNKNOWN!UNKNOWN + 0190f668h
    | shim_verifier.dll 186 | 2 nk.exe 88037914'   0x2790f668: UNKNOWN!UNKNOWN + 0190f668h
    | shim_verifier.dll 186 | 2 nk.exe 88037914'   0x2790f668: UNKNOWN!UNKNOWN + 0190f668h
    | shim_verifier.dll 186 | 2 nk.exe 88037914'   0x2790f668: UNKNOWN!UNKNOWN + 0190f668h
    | shim_verifier.dll 186 | 2 nk.exe 88037914'   0x2790f668: UNKNOWN!UNKNOWN + 0190f668h
    | shim_verifier.dll 186 | 2 nk.exe 88037914'   0x2790f668: UNKNOWN!UNKNOWN + 0190f668h
    | shim_verifier.dll 186 | 2 nk.exe 88037914'   0x2790f668: UNKNOWN!UNKNOWN + 0190f668h
    | shim_verifier.dll 186 | 2 nk.exe 88037914'   0x2790f668: UNKNOWN!UNKNOWN + 0190f668h
    | shim_verifier.dll 186 | 2 nk.exe 88037914'   0x2790f668: UNKNOWN!UNKNOWN + 0190f668h
    | shim_verifier.dll 186 | 2 nk.exe 88037914'   0x2790f668: UNKNOWN!UNKNOWN + 0190f668h
    | shim_verifier.dll 186 | 2 nk.exe 88037914'   0x2790f668: UNKNOWN!UNKNOWN + 0190f668h
    | shim_verifier.dll 186 | 2 nk.exe 88037914'   0x2790f668: UNKNOWN!UNKNOWN + 0190f668h
    | shim_verifier.dll 186 | 2 nk.exe 88037914'   0x2790f668: UNKNOWN!UNKNOWN + 0190f668h
    | shim_verifier.dll 186 | 2 nk.exe 88037914'   0x2790f668: UNKNOWN!UNKNOWN + 0190f668h
    | shim_verifier.dll 186 | 2 nk.exe 88037914'   0x2790f668: UNKNOWN!UNKNOWN + 0190f668h
    | shim_verifier.dll 186 | 2 nk.exe 88037914'   0x2790f668: UNKNOWN!UNKNOWN + 0190f668h
    | shim_verifier.dll 186 | 2 nk.exe 88037914'   0x2790f668: UNKNOWN!UNKNOWN + 0190f668h
    | shim_verifier.dll 186 | 2 nk.exe 88037914'   0x2790f668: UNKNOWN!UNKNOWN + 0190f668h
    | shim_verifier.dll 186 | 2 nk.exe 88037914'   0x2790f668: UNKNOWN!UNKNOWN + 0190f668h
    | shim_verifier.dll 186 | 2 nk.exe 88037914'   0x2790f668: UNKNOWN!UNKNOWN + 0190f668h
    | shim_verifier.dll 186 | 2 nk.exe 88037914'   0x2790f668: UNKNOWN!UNKNOWN + 0190f668h
    | shim_verifier.dll 186 | 2 nk.exe 88037914'   0x2790f668: UNKNOWN!UNKNOWN + 0190f668h
    | shim_verifier.dll 186 | 2 nk.exe 88037914'   0x2790f668: UNKNOWN!UNKNOWN + 0190f668h
    | shim_verifier.dll 186 | 2 nk.exe 88037914'   0x2790f668: UNKNOWN!UNKNOWN + 0190f668h
    | shim_verifier.dll 186 | 2 nk.exe 88037914'   0x2790f668: UNKNOWN!UNKNOWN + 0190f668h
    | shim_verifier.dll 186 | 2 nk.exe 88037914'   0x2790f668: UNKNOWN!UNKNOWN + 0190f668h
    | shim_verifier.dll 186 | 2 nk.exe 88037914'   0x2790f668: UNKNOWN!UNKNOWN + 0190f668h
    | shim_verifier.dll 186 | 2 nk.exe 88037914'   0x2790f668: UNKNOWN!UNKNOWN + 0190f668h
    | shim_verifier.dll 186 | 2 nk.exe 88037914'   0x2790f668: UNKNOWN!UNKNOWN + 0190f668h
    | shim_verifier.dll 186 | 2 nk.exe 88037914'   0x2790f668: UNKNOWN!UNKNOWN + 0190f668h
    | shim_verifier.dll 186 | 2 nk.exe 88037914'   0x2790f668: UNKNOWN!UNKNOWN + 0190f668h
    | shim_verifier.dll 186 | 2 nk.exe 88037914'   0x2790f668: UNKNOWN!UNKNOWN + 0190f668h
    | shim_verifier.dll 186 | 2 nk.exe 88037914'   0x2790f668: UNKNOWN!UNKNOWN + 0190f668h
    | shim_verifier.dll 186 | 2 nk.exe 88037914'   0x2790f668: UNKNOWN!UNKNOWN + 0190f668h
    | shim_verifier.dll 186 | 2 nk.exe 88037914'   0x2790f668: UNKNOWN!UNKNOWN + 0190f668h
    | shim_verifier.dll 186 | 2 nk.exe 88037914'   0x2790f668: UNKNOWN!UNKNOWN + 0190f668h
    | shim_verifier.dll 186 | 2 nk.exe 88037914'   0x2790f668: UNKNOWN!UNKNOWN + 0190f668h
    | shim_verifier.dll 186 | 2 nk.exe 88037914'   0x2790f668: UNKNOWN!UNKNOWN + 0190f668h
    | shim_verifier.dll 186 | 2 nk.exe 88037914'   0x2790f668: UNKNOWN!UNKNOWN + 0190f668h
    | shim_verifier.dll 186 | 2 nk.exe 88037914'   0x2790f668: UNKNOWN!UNKNOWN + 0190f668h
    | shim_verifier.dll 186 | 2 nk.exe 88037914'   0x2790f668: UNKNOWN!UNKNOWN + 0190f668h
    | shim_verifier.dll 186 | 2 nk.exe 88037914'   0x2790f668: UNKNOWN!UNKNOWN + 0190f668h
    | shim_verifier.dll 186 | 2 nk.exe 88037914'   0x2790f668: UNKNOWN!UNKNOWN + 0190f668h
    | shim_verifier.dll 186 | 2 nk.exe 88037914'   0x2790f668: UNKNOWN!UNKNOWN + 0190f668h
    | shim_verifier.dll 186 | 2 nk.exe 88037914'   0x2790f668: UNKNOWN!UNKNOWN + 0190f668h
    | shim_verifier.dll 186 | 2 nk.exe 88037914'   0x2790f668: UNKNOWN!UNKNOWN + 0190f668h
    | shim_verifier.dll 186 | 2 nk.exe 88037914'   0x2790f668: UNKNOWN!UNKNOWN + 0190f668h
    | shim_verifier.dll 186 | 2 nk.exe 88037914'   0x2790f668: UNKNOWN!UNKNOWN + 0190f668h
    | shim_verifier.dll 186 | 2 nk.exe 88037914'   0x2790f668: UNKNOWN!UNKNOWN + 0190f668h
    | shim_verifier.dll 186 | 2 nk.exe 88037914'   0x2790f668: UNKNOWN!UNKNOWN + 0190f668h
    | shim_verifier.dll 186 | 2 nk.exe 88037914'   0x2790f668: UNKNOWN!UNKNOWN + 0190f668h
    | shim_verifier.dll 186 | 2 nk.exe 88037914'   0x2790f668: UNKNOWN!UNKNOWN + 0190f668h
    | shim_verifier.dll 186 | 2 nk.exe 88037914'   0x2790f668: UNKNOWN!UNKNOWN + 0190f668h
    | shim_verifier.dll 186 | 2 nk.exe 88037914'   0x2790f668: UNKNOWN!UNKNOWN + 0190f668h
    | shim_verifier.dll 186 | 2 nk.exe 88037914'   0x2790f668: UNKNOWN!UNKNOWN + 0190f668h
    | shim_verifier.dll 186 | 2 nk.exe 88037914'   0x2790f668: UNKNOWN!UNKNOWN + 0190f668h
    | shim_verifier.dll 186 | 2 nk.exe 88037914'   0x83d4a000   (\Windows\sqlceer30EN.DLL)
    # LOGENTRY shim_verifier.dll 187 'Mismatched Load/FreeLibrary.     1 items at 0x2786406c
    # DESCRIPTION BEGIN
    The application did not call FreeLibrary for each LoadLibrary call
    # DESCRIPTION END
    | shim_verifier.dll 187 | 2 nk.exe 88037914'   0x2786406c: shim_verifier.dll!(null) + 406ch
    | shim_verifier.dll 187 | 2 nk.exe 88037914'   0x277c88bc: sqlceme30.dll!(null) + 88bch
    | shim_verifier.dll 187 | 2 nk.exe 88037914'   0x277c8c20: sqlceme30.dll!(null) + 8c20h
    | shim_verifier.dll 187 | 2 nk.exe 88037914'   0x277c8d7c: sqlceme30.dll!(null) + 8d7ch
    | shim_verifier.dll 187 | 2 nk.exe 88037914'   0x277c65e8: sqlceme30.dll!(null) + 65e8h
    | shim_verifier.dll 187 | 2 nk.exe 88037914'   0x780e5bf0: mscoree3_5.dll!(null) + 65bf0h
    | shim_verifier.dll 187 | 2 nk.exe 88037914'   0x836708f8   (\Windows\sqlcese30.dll)
    # LOGENTRY shim_verifier.dll 188 'Mismatched Load/FreeLibrary.     1 items at 0x2786406c
    # DESCRIPTION BEGIN
    The application did not call FreeLibrary for each LoadLibrary call
    # DESCRIPTION END
    | shim_verifier.dll 188 | 2 nk.exe 88037914'   0x2786406c: shim_verifier.dll!(null) + 406ch
    | shim_verifier.dll 188 | 2 nk.exe 88037914'   0x277c88bc: sqlceme30.dll!(null) + 88bch
    | shim_verifier.dll 188 | 2 nk.exe 88037914'   0x277c8c20: sqlceme30.dll!(null) + 8c20h
    | shim_verifier.dll 188 | 2 nk.exe 88037914'   0x277c6130: sqlceme30.dll!(null) + 6130h
    | shim_verifier.dll 188 | 2 nk.exe 88037914'   0x780e5bf0: mscoree3_5.dll!(null) + 65bf0h
    | shim_verifier.dll 188 | 2 nk.exe 88037914'   0x83670c10   (\Windows\sqlceqp30.dll)
    # LOGENTRY shim_verifier.dll 189 'Mismatched Load/FreeLibrary.     1 items at 0x278641b4
    # DESCRIPTION BEGIN
    The application did not call FreeLibrary for each LoadLibrary call
    # DESCRIPTION END
    | shim_verifier.dll 189 | 2 nk.exe 88037914'   0x278641b4: shim_verifier.dll!(null) + 41b4h
    | shim_verifier.dll 189 | 2 nk.exe 88037914'   0x02e85584: compime.dll!(null) + 4584h
    | shim_verifier.dll 189 | 2 nk.exe 88037914'   0x02ea2e64: compime.dll!(null) + 21e64h
    | shim_verifier.dll 189 | 2 nk.exe 88037914'   0x03f66d30: coredll.dll!(null) + 1cd30h
    | shim_verifier.dll 189 | 2 nk.exe 88037914'   0x03f66da4: coredll.dll!(null) + 1cda4h
    | shim_verifier.dll 189 | 2 nk.exe 88037914'   0x03f66ea8: coredll.dll!(null) + 1cea8h
    | shim_verifier.dll 189 | 2 nk.exe 88037914'   0x03f625a4: coredll.dll!(null) + 185a4h
    | shim_verifier.dll 189 | 2 nk.exe 88037914'   0x03fa9f90: coredll.dll!(null) + 5ff90h
    | shim_verifier.dll 189 | 2 nk.exe 88037914'   0x03f62738: coredll.dll!(null) + 18738h
    | shim_verifier.dll 189 | 2 nk.exe 88037914'   0x03f55094: coredll.dll!(null) + b094h
    | shim_verifier.dll 189 | 2 nk.exe 88037914'   0x03f559fc: coredll.dll!(null) + b9fch
    | shim_verifier.dll 189 | 2 nk.exe 88037914'   0x03f56604: coredll.dll!(null) + c604h
    | shim_verifier.dll 189 | 2 nk.exe 88037914'   0x03f56760: coredll.dll!(null) + c760h
    | shim_verifier.dll 189 | 2 nk.exe 88037914'   0x03f56810: coredll.dll!(null) + c810h
    | shim_verifier.dll 189 | 2 nk.exe 88037914'   0x03f56c20: coredll.dll!(null) + cc20h
    | shim_verifier.dll 189 | 2 nk.exe 88037914'   0x03f61780: coredll.dll!(null) + 17780h
    | shim_verifier.dll 189 | 2 nk.exe 88037914'   0x0c04f62c: gwes.exe!(null) + 4f62ch
    | shim_verifier.dll 189 | 2 nk.exe 88037914'   0x0c0214a0: gwes.exe!(null) + 214a0h
    | shim_verifier.dll 189 | 2 nk.exe 88037914'   0x0c023794: gwes.exe!(null) + 23794h
    | shim_verifier.dll 189 | 2 nk.exe 88037914'   0x0c058e60: gwes.exe!(null) + 58e60h
    | shim_verifier.dll 189 | 2 nk.exe 88037914'   0x0c058ec4: gwes.exe!(null) + 58ec4h
    | shim_verifier.dll 189 | 2 nk.exe 88037914'   0x03f60a6c: coredll.dll!(null) + 16a6ch
    | shim_verifier.dll 189 | 2 nk.exe 88037914'   0x7817f38c: netcfagl3_5.dll!(null) + f38ch
    | shim_verifier.dll 189 | 2 nk.exe 88037914'   0x03f61780: coredll.dll!(null) + 17780h
    | shim_verifier.dll 189 | 2 nk.exe 88037914'   0x0c027194: gwes.exe!(null) + 27194h
    | shim_verifier.dll 189 | 2 nk.exe 88037914'   0x0c027c88: gwes.exe!(null) + 27c88h
    | shim_verifier.dll 189 | 2 nk.exe 88037914'   0x0c0237dc: gwes.exe!(null) + 237dch
    | shim_verifier.dll 189 | 2 nk.exe 88037914'   0x0c059240: gwes.exe!(null) + 59240h
    | shim_verifier.dll 189 | 2 nk.exe 88037914'   0x0c02144c: gwes.exe!(null) + 2144ch
    | shim_verifier.dll 189 | 2 nk.exe 88037914'   0x0c023794: gwes.exe!(null) + 23794h
    | shim_verifier.dll 189 | 2 nk.exe 88037914'   0x0c058a6c: gwes.exe!(null) + 58a6ch
    | shim_verifier.dll 189 | 2 nk.exe 88037914'   0x0c049630: gwes.exe!(null) + 49630h
    | shim_verifier.dll 189 | 2 nk.exe 88037914'   0x0c04a6b4: gwes.exe!(null) + 4a6b4h
    | shim_verifier.dll 189 | 2 nk.exe 88037914'   0x03f5cd60: coredll.dll!(null) + 12d60h
    | shim_verifier.dll 189 | 2 nk.exe 88037914'   0x7817641c: netcfagl3_5.dll!(null) + 641ch
    | shim_verifier.dll 189 | 2 nk.exe 88037914'   0x78179fdc: netcfagl3_5.dll!(null) + 9fdch
    | shim_verifier.dll 189 | 2 nk.exe 88037914'   0x7817f874: netcfagl3_5.dll!(null) + f874h
    | shim_verifier.dll 189 | 2 nk.exe 88037914'   0x9757b51c   (shellres.dll)
    | shim_verifier.dll 1 | 0 nk.exe 88037914'?????? - 11:53:09 AM
    # LOGENTRY shim_heap.dll 190 'Potential leak.     1 items (   20 bytes) at 0x78066b78
    # DESCRIPTION BEGIN
    Potential resource leak
    # DESCRIPTION END
    | shim_heap.dll 190 | 1 nk.exe 88037914'Callstack:
    | shim_heap.dll 190 | 0 nk.exe 88037914'   0x78066b78: shim_heap.dll!(null) + 6b78h
    | shim_heap.dll 190 | 0 nk.exe 88037914'   0x7806984c: shim_heap.dll!(null) + 984ch
    | shim_heap.dll 190 | 0 nk.exe 88037914'   0x027d0c3c: ole32.dll!(null) + 5c3ch
    | shim_heap.dll 190 | 0 nk.exe 88037914'   0x027cd360: ole32.dll!(null) + 2360h
    | shim_heap.dll 190 | 0 nk.exe 88037914'   0x027cd594: ole32.dll!(null) + 2594h
    | shim_heap.dll 190 | 0 nk.exe 88037914'   0x7804994c: mscoree.dll!(null) + 994ch
    | shim_heap.dll 190 | 0 nk.exe 88037914'   0x03f67760: coredll.dll!(null) + 1d760h
    | shim_heap.dll 190 | 1 nk.exe 88037914'Leaked items:
    | shim_heap.dll 190 | 1 nk.exe 88037914'   0x01a52860      20 bytes, thread: 0xb617cf8e, checkpoint 0
    | shim_heap.dll 190 | 1 nk.exe 88037914'      Total: 20 bytes
    # LOGENTRY shim_heap.dll 191 'Potential leak.     1 items (  120 bytes) at 0x78066b78
    # DESCRIPTION BEGIN
    Potential resource leak
    # DESCRIPTION END
    | shim_heap.dll 191 | 1 nk.exe 88037914'Callstack:
    | shim_heap.dll 191 | 0 nk.exe 88037914'   0x78066b78: shim_heap.dll!(null) + 6b78h
    | shim_heap.dll 191 | 0 nk.exe 88037914'   0x7806984c: shim_heap.dll!(null) + 984ch
    | shim_heap.dll 191 | 0 nk.exe 88037914'   0x7804aab8: mscoree.dll!(null) + aab8h
    | shim_heap.dll 191 | 0 nk.exe 88037914'   0x7804b3b8: mscoree.dll!(null) + b3b8h
    | shim_heap.dll 191 | 0 nk.exe 88037914'   0x78048d94: mscoree.dll!(null) + 8d94h
    | shim_heap.dll 191 | 0 nk.exe 88037914'   0x780499c0: mscoree.dll!(null) + 99c0h
    | shim_heap.dll 191 | 0 nk.exe 88037914'   0x03f67760: coredll.dll!(null) + 1d760h
    | shim_heap.dll 191 | 1 nk.exe 88037914'Leaked items:
    | shim_heap.dll 191 | 1 nk.exe 88037914'   0x01a53ba0     120 bytes, thread: 0xb617cf8e, checkpoint 0
    | shim_heap.dll 191 | 1 nk.exe 88037914'      Total: 120 bytes
    # LOGENTRY shim_heap.dll 192 'Potential leak.     1 items (  124 bytes) at 0x78066b78
    # DESCRIPTION BEGIN
    Potential resource leak
    # DESCRIPTION END
    | shim_heap.dll 192 | 1 nk.exe 88037914'Callstack:
    | shim_heap.dll 192 | 0 nk.exe 88037914'   0x78066b78: shim_heap.dll!(null) + 6b78h
    | shim_heap.dll 192 | 0 nk.exe 88037914'   0x7812d954: mscoree3_5.dll!(null) + ad954h
    | shim_heap.dll 192 | 0 nk.exe 88037914'   0x7812dbdc: mscoree3_5.dll!(null) + adbdch
    | shim_heap.dll 192 | 0 nk.exe 88037914'   0x7819e2ac: netcfagl3_5.dll!(null) + 2e2ach
    | shim_heap.dll 192 | 0 nk.exe 88037914'   0x7819e2d4: netcfagl3_5.dll!(null) + 2e2d4h
    | shim_heap.dll 192 | 0 nk.exe 88037914'   0x7818a368: netcfagl3_5.dll!(null) + 1a368h
    | shim_heap.dll 192 | 0 nk.exe 88037914'   0x7818a5c4: netcfagl3_5.dll!(null) + 1a5c4h
    | shim_heap.dll 192 | 0 nk.exe 88037914'   0x7818a7c0: netcfagl3_5.dll!(null) + 1a7c0h
    | shim_heap.dll 192 | 1 nk.exe 88037914'Leaked items:
    | shim_heap.dll 192 | 1 nk.exe 88037914'   0x01c5ef30     124 bytes, thread: 0xb617cf8e, checkpoint 0
    | shim_heap.dll 192 | 1 nk.exe 88037914'      Total: 124 bytes
    # LOGENTRY shim_heap.dll 193 'Potential leak.     1 items (   14 bytes) at 0x78066b78
    # DESCRIPTION BEGIN
    Potential resource leak
    # DESCRIPTION END
    | shim_heap.dll 193 | 1 nk.exe 88037914'Callstack:
    | shim_heap.dll 193 | 0 nk.exe 88037914'   0x78066b78: shim_heap.dll!(null) + 6b78h
    | shim_heap.dll 193 | 0 nk.exe 88037914'   0x7812d954: mscoree3_5.dll!(null) + ad954h
    | shim_heap.dll 193 | 0 nk.exe 88037914'   0x7812dbdc: mscoree3_5.dll!(null) + adbdch
    | shim_heap.dll 193 | 0 nk.exe 88037914'   0x7819e2ac: netcfagl3_5.dll!(null) + 2e2ach
    | shim_heap.dll 193 | 0 nk.exe 88037914'   0x7819c128: netcfagl3_5.dll!(null) + 2c128h
    | shim_heap.dll 193 | 0 nk.exe 88037914'   0x7818a404: netcfagl3_5.dll!(null) + 1a404h
    | shim_heap.dll 193 | 0 nk.exe 88037914'   0x7818a5c4: netcfagl3_5.dll!(null) + 1a5c4h
    | shim_heap.dll 193 | 0 nk.exe 88037914'   0x7818a7c0: netcfagl3_5.dll!(null) + 1a7c0h
    | shim_heap.dll 193 | 1 nk.exe 88037914'Leaked items:
    | shim_heap.dll 193 | 1 nk.exe 88037914'   0x01c5efd0      14 bytes, thread: 0xb617cf8e, checkpoint 0
    | shim_heap.dll 193 | 1 nk.exe 88037914'      Total: 14 bytes
    # LOGENTRY shim_heap.dll 194 'Potential leak.     1 items (   14 bytes) at 0x78066b78
    # DESCRIPTION BEGIN
    Potential resource leak
    # DESCRIPTION END
    | shim_heap.dll 194 | 1 nk.exe 88037914'Callstack:
    | shim_heap.dll 194 | 0 nk.exe 88037914'   0x78066b78: shim_heap.dll!(null) + 6b78h
    | shim_heap.dll 194 | 0 nk.exe 88037914'   0x7812d954: mscoree3_5.dll!(null) + ad954h
    | shim_heap.dll 194 | 0 nk.exe 88037914'   0x7812dbdc: mscoree3_5.dll!(null) + adbdch
    | shim_heap.dll 194 | 0 nk.exe 88037914'   0x7819e2ac: netcfagl3_5.dll!(null) + 2e2ach
    | shim_heap.dll 194 | 0 nk.exe 88037914'   0x7819c128: netcfagl3_5.dll!(null) + 2c128h
    | shim_heap.dll 194 | 0 nk.exe 88037914'   0x7818a41c: netcfagl3_5.dll!(null) + 1a41ch
    | shim_heap.dll 194 | 0 nk.exe 88037914'   0x7818a5c4: netcfagl3_5.dll!(null) + 1a5c4h
    | shim_heap.dll 194 | 0 nk.exe 88037914'   0x7818a7c0: netcfagl3_5.dll!(null) + 1a7c0h
    | shim_heap.dll 194 | 1 nk.exe 88037914'Leaked items:
    | shim_heap.dll 194 | 1 nk.exe 88037914'   0x01c30de0      14 bytes, thread: 0xb617cf8e, checkpoint 0
    | shim_heap.dll 194 | 1 nk.exe 88037914'      Total: 14 bytes
    # LOGENTRY shim_hleak.dll 195 'Leaked 1 handles that were allocated at this stack

    # DESCRIPTION BEGIN
    Gives the callstack for a handle that leaked
    # DESCRIPTION END
    | shim_hleak.dll 195 | 2 nk.exe 88037914'Leaked handle values:
    | shim_hleak.dll 195 | 2 nk.exe 88037914'EVENT Handle = 0xd7ad1fc6 'IP_ADDR_CHANGE_EVENT'
    | shim_hleak.dll 195 | 2 nk.exe 88037914'CALL STACK
    | shim_hleak.dll 195 | 2 nk.exe 88037914'PC=0x27805970 shim_hleak.dll!(null) + 5970h
    | shim_hleak.dll 195 | 2 nk.exe 88037914'PC=0x27805880 shim_hleak.dll!(null) + 5880h
    | shim_hleak.dll 195 | 2 nk.exe 88037914'PC=0x27805d5c shim_hleak.dll!(null) + 5d5ch
    | shim_hleak.dll 195 | 2 nk.exe 88037914'PC=0x02894064 iphlpapi.dll!(null) + 2064h
    | shim_hleak.dll 195 | 2 nk.exe 88037914'PC=0x028940cc iphlpapi.dll!(null) + 20cch
    | shim_hleak.dll 195 | 2 nk.exe 88037914'PC=0x78136030 mscoree3_5.dll!(null) + b6030h
    | shim_hleak.dll 195 | 2 nk.exe 88037914'PC=0x03f67818 coredll.dll!(null) + 1d818h
    # LOGENTRY shim_usergdi.dll 196 'Potential leak.     1 items at 0x277f2340
    # DESCRIPTION BEGIN
    Potential resource leak
    # DESCRIPTION END
    | shim_usergdi.dll 196 | 1 nk.exe 88037914'Callstack:
    | shim_usergdi.dll 196 | 1 nk.exe 88037914'   0x277f2340: shim_usergdi.dll!(null) + 2340h
    | shim_usergdi.dll 196 | 1 nk.exe 88037914'   0x781a3ae4: netcfagl3_5.dll!(null) + 33ae4h
    | shim_usergdi.dll 196 | 1 nk.exe 88037914'   0x7818a3b0: netcfagl3_5.dll!(null) + 1a3b0h
    | shim_usergdi.dll 196 | 1 nk.exe 88037914'   0x7818a5c4: netcfagl3_5.dll!(null) + 1a5c4h
    | shim_usergdi.dll 196 | 1 nk.exe 88037914'   0x7818a7c0: netcfagl3_5.dll!(null) + 1a7c0h
    | shim_usergdi.dll 196 | 1 nk.exe 88037914'Leaked items:
    | shim_usergdi.dll 196 | 1 nk.exe 88037914'   0x00220502   (CreateFontIndirectW) (checkpoint: 0)
    # LOGENTRY shim_usergdi.dll 197 'Potential leak.     1 items at 0x277f2340
    # DESCRIPTION BEGIN
    Potential resource leak
    # DESCRIPTION END
    | shim_usergdi.dll 197 | 1 nk.exe 88037914'Callstack:
    | shim_usergdi.dll 197 | 1 nk.exe 88037914'   0x277f2340: shim_usergdi.dll!(null) + 2340h
    | shim_usergdi.dll 197 | 1 nk.exe 88037914'   0x02f36490: aygshell.dll!(null) + 18490h
    | shim_usergdi.dll 197 | 1 nk.exe 88037914'   0x02f366d4: aygshell.dll!(null) + 186d4h
    | shim_usergdi.dll 197 | 1 nk.exe 88037914'   0x02f36720: aygshell.dll!(null) + 18720h
    | shim_usergdi.dll 197 | 1 nk.exe 88037914'   0x02f683e0: aygshell.dll!(null) + 4a3e0h
    | shim_usergdi.dll 197 | 1 nk.exe 88037914'   0x02f67dbc: aygshell.dll!(null) + 49dbch
    | shim_usergdi.dll 197 | 1 nk.exe 88037914'   0x02f41c58: aygshell.dll!(null) + 23c58h
    | shim_usergdi.dll 197 | 1 nk.exe 88037914'   0x02f68104: aygshell.dll!(null) + 4a104h
    | shim_usergdi.dll 197 | 1 nk.exe 88037914'   0x03f61780: coredll.dll!(null) + 17780h
    | shim_usergdi.dll 197 | 1 nk.exe 88037914'   0x0c027194: gwes.exe!(null) + 27194h
    | shim_usergdi.dll 197 | 1 nk.exe 88037914'   0x0c027c88: gwes.exe!(null) + 27c88h
    | shim_usergdi.dll 197 | 1 nk.exe 88037914'   0x0c0237dc: gwes.exe!(null) + 237dch
    | shim_usergdi.dll 197 | 1 nk.exe 88037914'   0x0c01d614: gwes.exe!(null) + 1d614h
    | shim_usergdi.dll 197 | 1 nk.exe 88037914'   0x0c01dfac: gwes.exe!(null) + 1dfach
    | shim_usergdi.dll 197 | 1 nk.exe 88037914'   0x03f5caf0: coredll.dll!(null) + 12af0h
    | shim_usergdi.dll 197 | 1 nk.exe 88037914'   0x02f40378: aygshell.dll!(null) + 22378h
    | shim_usergdi.dll 197 | 1 nk.exe 88037914'   0x02f56d6c: aygshell.dll!(null) + 38d6ch
    | shim_usergdi.dll 197 | 1 nk.exe 88037914'   0x7818cffc: netcfagl3_5.dll!(null) + 1cffch
    | shim_usergdi.dll 197 | 1 nk.exe 88037914'   0x7818d0f4: netcfagl3_5.dll!(null) + 1d0f4h
    | shim_usergdi.dll 197 | 1 nk.exe 88037914'   0x7818d898: netcfagl3_5.dll!(null) + 1d898h
    | shim_usergdi.dll 197 | 1 nk.exe 88037914'   0x78183f14: netcfagl3_5.dll!(null) + 13f14h
    | shim_usergdi.dll 197 | 1 nk.exe 88037914'   0x78183fc0: netcfagl3_5.dll!(null) + 13fc0h
    | shim_usergdi.dll 197 | 1 nk.exe 88037914'   0x78184560: netcfagl3_5.dll!(null) + 14560h
    | shim_usergdi.dll 197 | 1 nk.exe 88037914'Leaked items:
    | shim_usergdi.dll 197 | 1 nk.exe 88037914'   0x00060564   (CreateFontIndirectW) (checkpoint: 0)

    What are the other errors related to ?
    Can some one help.......
    Thanks a ton......

    Saturday, August 1, 2009 6:53 AM

Answers

  • Hello,

    You can ignore load library mismatch error but few like GDI leak(CreateFontIndirectW) and other(on heap or handle) its better to clean them up.

    If the above logs is after clean exit then i will say you wrote a good app and you already keep track of most of the leaks.

    Still logs are not clear to mention which function leak happen; so keep the map file in release folder in ur handset root directory.

    Thanks
    Arpit Pradhan

    WinCE CODER (If you think my solution help you in some sense do mark my Reply as Answer)
    Saturday, August 1, 2009 10:15 AM

All replies

  • Hello,

    You can ignore load library mismatch error but few like GDI leak(CreateFontIndirectW) and other(on heap or handle) its better to clean them up.

    If the above logs is after clean exit then i will say you wrote a good app and you already keep track of most of the leaks.

    Still logs are not clear to mention which function leak happen; so keep the map file in release folder in ur handset root directory.

    Thanks
    Arpit Pradhan

    WinCE CODER (If you think my solution help you in some sense do mark my Reply as Answer)
    Saturday, August 1, 2009 10:15 AM
  • Hi Arpit,

    Thanks for the reply. Would like to know about the map file mentioned above. Where is the map file present or how to create it in VS 2008 (C#) ?

    Thanks
    Saturday, August 1, 2009 12:06 PM
  • Hello,

    http://social.msdn.microsoft.com/Forums/en-US/windowsmobiledev/thread/3b59e1ae-ba8b-411c-a347-87c3580515cb

    Thanks
    Arpit Pradhan
    WinCE CODER (If you think my solution help you in some sense do mark my Reply as Answer)
    Saturday, August 1, 2009 1:02 PM
  • Hi Arpit,

    I have checked that link already and then added the above reply. The map file is generated in VC++ but I am working in C#. And I could not find any option as mentioned for the linker or other.

    Thanks.
    Monday, August 3, 2009 6:29 AM