Uploaded image for project: 'Core ReactOS'
  1. Core ReactOS
  2. CORE-16662

imagehlp:integrity crashes

    XMLWordPrintable

Details

    Description

      [ROSAUTOTEST] System uptime 649.50 seconds
      err:(dll\win32\advapi32\service\eventlog.c:144) RpcBindingFree returned 0x6a6
      Running Wine Test, Module: imagehlp, Test: integrity
      (sdk\lib\rtl\image.c:172) Invalid base address: 00000000
      (ntoskrnl\mm\mmfault.c:136) Address: deadbeef
      Access violation - code c0000005 (first chance)
      First chance exceptions are reported before any exception handling.
      This exception may be expected and handled.
      ntdll!RtlImageNtHeaderEx+0x2ee:
      001b:7c944c7e 0fb702          movzx   eax,word ptr [edx]
      kd> kp
       # ChildEBP RetAddr  
      00 0012fc6c 7c944940 ntdll!RtlImageNtHeaderEx(unsigned long Flags = 1, void * Base = 0xdeadbeef, unsigned int64 Size = 0, struct _IMAGE_NT_HEADERS32 ** OutHeaders = 0x0012fc8c)+0x2ee [r:\src\dev\sdk\lib\rtl\image.c @ 190] 
      01 0012fc94 782c42cf ntdll!RtlImageNtHeader(void * Base = 0xdeadbeef)+0x30 [r:\src\dev\sdk\lib\rtl\image.c @ 265] 
      02 0012fcb4 00403523 imagehlp!CheckSumMappedFile(void * BaseAddress = 0xdeadbeef, unsigned long FileLength = 0, unsigned long * HeaderSum = 0x0012fde8, unsigned long * CheckSum = 0x0012fddc)+0xbf [r:\src\dev\dll\win32\imagehlp\modify.c @ 198] 
      03 0012fdf0 00402ee3 imagehlp_winetest!test_pe_checksum(void)+0x133 [r:\src\dev\modules\rostests\winetests\imagehlp\integrity.c @ 291] 
      04 0012fe14 00404ecb imagehlp_winetest!func_integrity(void)+0x303 [r:\src\dev\modules\rostests\winetests\imagehlp\integrity.c @ 453] 
      05 0012fe30 00404dda imagehlp_winetest!run_test(char * name = 0x00132058 "integrity")+0xab [r:\src\dev\sdk\include\reactos\wine\test.h @ 758] 
      06 0012fecc 00405e3a imagehlp_winetest!main(int argc = 0n2, char ** argv = 0x00132040)+0x1ca [r:\src\dev\sdk\include\reactos\wine\test.h @ 814] 
      07 0012ffb4 00406108 imagehlp_winetest!__tmainCRTStartup(void)+0x2ba [r:\src\dev\sdk\lib\crt\startup\crtexe.c @ 315] 
      08 0012ffc0 7c6369d4 imagehlp_winetest!mainCRTStartup(void)+0x28 [r:\src\dev\sdk\lib\crt\startup\crtexe.c @ 200] 
      09 0012fff0 00000000 kernel32!BaseProcessStartup(<function> * lpStartAddress = 0x004060e0)+0x54 [r:\src\dev\dll\win32\kernel32\client\proc.c @ 463] 
      

      RtlImageNtHeaderEx needs seh.

      Attachments

        Issue Links

          Activity

            People

              learn_more Mark Jansen
              learn_more Mark Jansen
              Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: