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

Recuva 1.53 Unhandled Exception at startup due to QueryDosDeviceW (Assertion failed: BlockSize >= 2 in sdk/lib/rtl/heap.c), BootCD only

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • None
    • None
    • None

    Description

      BootCD problem only, LiveCD is not affected

      reactos-bootcd-0.4.15-dev-6902-g83e1193-x86-gcc-lin-dbg
      reactos-livecd-0.4.15-dev-6902-g83e1193-x86-gcc-lin-dbg but still affected by CORE-9511

      Install Recuva 1.53

      Launch application :

      Note, see logs, just after starting, we can see :

      (sdk/lib/rtl/heap.c:2304) HEAP: Trying to free an invalid address

      Suspicious code : https://git.reactos.org/?p=reactos.git;a=blob;f=dll/win32/kernel32/client/dosdev.c;hb=ee11747527d0a4ffff60f5d0b1ee820001ac9319#l1025  

      *** Assertion failed: BlockSize >= 2
      ***   Source File: /srv/buildbot/worker_data/Build_GCCLin_x86/build/sdk/lib/rtl/heap.c, line 309Break repeatedly, break Once, Ignore, terminate Process or terminate Thread (boipt)?
      kdb:> b
      Execute '.cxr 0139F6F8' to dump context
      Unhandled exception
      ExceptionCode:    80000003
      CS:EIP 1b:7c96539a
      DS 23 ES 23 FS 3b GS 0
      EAX: 00000000   EBX: 7c979bc8   ECX: 0139f4a0
      EDX: 00000028   EBP: 0139f9d8   ESI: 0139f9c6   ESP: 0139f6dc
      EDI: 00000135   EFLAGS: 00000206
      Address:
      * <ntdll.dll:4539a (:0 (DbgUserBreakPoint))> (C:\ReactOS\System32\ntdll.dll@7c920000)
      Frames:
      * <ntdll.dll:247a6 (sdk/lib/rtl/heap.c:309 (RtlpInsertFreeBlockHelper))> (C:\ReactOS\System32\ntdll.dll@7c920000)
      * <ntdll.dll:24a5c (sdk/lib/rtl/heap.c:402 (RtlpInsertFreeBlock))> (C:\ReactOS\System32\ntdll.dll@7c920000)
      * <ntdll.dll:26aae (sdk/lib/rtl/heap.c:894 (RtlFreeHeap))> (C:\ReactOS\System32\ntdll.dll@7c920000)
      * <kernel32.dll:5056 (dll/win32/kernel32/client/dosdev.c:1016 (_SEH3$_FinallyFunction.34266))> (C:\ReactOS\system32\kernel32.dll@7c620000)
      * <kernel32.dll:5e83 (dll/win32/kernel32/client/dosdev.c:1025 (QueryDosDeviceW))> (C:\ReactOS\system32\kernel32.dll@7c620000)
      <recuva.exe:16d450> (C:\Program Files\Recuva\recuva.exe@400000)
      <recuva.exe:16fb24> (C:\Program Files\Recuva\recuva.exe@400000)
      <recuva.exe:1a99f2> (C:\Program Files\Recuva\recuva.exe@400000)
      <recuva.exe:18e3ee> (C:\Program Files\Recuva\recuva.exe@400000)
      <recuva.exe:16b22f> (C:\Program Files\Recuva\recuva.exe@400000)
      <recuva.exe:7c174> (C:\Program Files\Recuva\recuva.exe@400000)
      <recuva.exe:7c194> (C:\Program Files\Recuva\recuva.exe@400000)
      <recuva.exe:2d4bc7> (C:\Program Files\Recuva\recuva.exe@400000)
      * <kernel32.dll:1c980 (dll/win32/kernel32/client/thread.c:71 (BaseThreadStartup))> (C:\ReactOS\system32\kernel32.dll@7c620000)
      err:(win32ss/user/user32/windows/messagebox.c:1048) MessageBox: L"The exception Breakpoint\r\nA breakpoint has been reached.\r\n (0x80000003) occurred in the application at location 0x7c96539a.\r\n\nCliquez sur OK pour terminer le programme.\nCliquez sur Annuler pour d\00e9boguer le programme."
      *** Assertion failed: BlockSize >= 2
      ***   Source File: /srv/buildbot/worker_data/Build_GCCLin_x86/build/sdk/lib/rtl/heap.c, line 309Break repeatedly, break Once, Ignore, terminate Process or terminate Thread (boipt)?
      kdb:> b
      Execute '.cxr 0129F6F8' to dump context
      Unhandled exception
      ExceptionCode:    80000003
      CS:EIP 1b:7c965a8a
      DS 23 ES 23 FS 3b GS 0
      EAX: 00000000   EBX: 7c979ce8   ECX: 0129f4a0
      EDX: 00000028   EBP: 0129f9d8   ESI: 0129f9c6   ESP: 0129f6dc
      EDI: 00000135   EFLAGS: 00000206 Address:
      * <ntdll.dll:45a8a (:0 (DbgUserBreakPoint))> (C:\ReactOS\System32\ntdll.dll@7c920000)
      Frames:
      * <ntdll.dll:24ba6 (sdk/lib/rtl/heap.c:309 (RtlpInsertFreeBlockHelper))> (C:\ReactOS\System32\ntdll.dll@7c920000)
      * <ntdll.dll:24e5c (sdk/lib/rtl/heap.c:402 (RtlpInsertFreeBlock))> (C:\ReactOS\System32\ntdll.dll@7c920000)
      * <ntdll.dll:270ae (sdk/lib/rtl/heap.c:2374 (RtlFreeHeap))> (C:\ReactOS\System32\ntdll.dll@7c920000)
      * <kernel32.dll:5053 (sdk/include/crt/mingw32/intrin_x86.h:996 (_SEH3$_FinallyFunction.34309))> (C:\ReactOS\system32\kernel32.dll@7c620000)
      * <kernel32.dll:5e7b (dll/win32/kernel32/client/dosdev.c:1025 (QueryDosDeviceW))> (C:\ReactOS\system32\kernel32.dll@7c620000)
      <recuva.exe:16d450> (C:\Program Files\Recuva\recuva.exe@400000)
      <recuva.exe:16fb24> (C:\Program Files\Recuva\recuva.exe@400000)
      <recuva.exe:1a99f2> (C:\Program Files\Recuva\recuva.exe@400000)
      <recuva.exe:18e3ee> (C:\Program Files\Recuva\recuva.exe@400000)
      <recuva.exe:16b22f> (C:\Program Files\Recuva\recuva.exe@400000)
      <recuva.exe:7c174> (C:\Program Files\Recuva\recuva.exe@400000)
      <recuva.exe:7c194> (C:\Program Files\Recuva\recuva.exe@400000)
      <recuva.exe:2d4bc7> (C:\Program Files\Recuva\recuva.exe@400000)
      * <kernel32.dll:1cca4 (dll/win32/kernel32/client/thread.c:71 (BaseThreadStartup))> (C:\ReactOS\system32\kernel32.dll@7c620000)err:(win32ss/user/user32/windows/messagebox.c:1048) MessageBox: L"The exception Breakpoint\r\nA breakpoint has been reached.\r\n (0x80000003) occurred in the application at location 0x7c965a8a.\r\n\nCliquez sur OK pour terminer le programme.\nCliquez sur Annuler pour d\00e9boguer le programme."
      

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              KRosUser KRosUser
              Votes:
              2 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated: