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

VGAfontEdit - Unhandled exception when click on "File > new" due to wcslen / User32CreateWindowEx

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 0.4.15
    • Tools
    • None

    Description

      reactos-bootcd-0.4.15-dev-6658-g88808ba-x86-gcc-lin-dbg

      Open VGAfontEdit (from System32, needs RosApps - modules/rosapps/applications/devutils/vgafontedit )

      Click on "New"

      Faulty code : https://git.reactos.org/?p=reactos.git;a=blob;f=modules/rosapps/applications/devutils/vgafontedit/fontwnd.c;hb=6cdaad13bdfd5dca8cce7b88c146162d818df1fe#l380 

      Fix by patch : vgafont.patch

      Unhandled exception
      ExceptionCode:    c0000005
      Faulting Address: 00000002
      CS:EIP 1b:7c972276
      DS 23 ES 23 FS 3b GS 0
      EAX: 00000000   EBX: 0022fa74   ECX: ffffffff
      EDX: 00000030   EBP: 0022f988   ESI: 00000002   ESP: 0022f96c
      EDI: 00000002   EFLAGS: 00010246 Address:
      * <ntdll.dll:52276 (sdk/lib/crt/string/i386/tcslen.inc:30 (wcslen))> (C:\ReactOS\System32\ntdll.dll@7c920000)
      Frames:
      * <user32.dll:6655c (win32ss/user/user32/windows/window.c:131 (User32CreateWindowEx))> (C:\ReactOS\system32\user32.dll@77a20000)
      * <user32.dll:685b3 (win32ss/user/user32/windows/window.c:609 (CreateWindowExW))> (C:\ReactOS\system32\user32.dll@77a20000)
      * <user32.dll:543e0 (win32ss/user/user32/windows/mdi.c:1748 (CreateMDIWindowW))> (C:\ReactOS\system32\user32.dll@77a20000)
      <vgafontedit.exe:2c01> (C:\ReactOS\system32\vgafontedit.exe@400000)
      <vgafontedit.exe:3d3c> (C:\ReactOS\system32\vgafontedit.exe@400000)
      * <user32.dll:6aee2 (win32ss/user/user32/windows/wndproc_fixup.S:48 (CALL_EXTERN_WNDPROC))> (C:\ReactOS\system32\user32.dll@77a20000)
      * <user32.dll:5f1d0 (win32ss/user/user32/windows/message.c:1547 (IntCallWindowProcW))> (C:\ReactOS\system32\user32.dll@77a20000)
      * <user32.dll:5f5ea (win32ss/user/user32/windows/message.c:1798 (IntCallMessageProc))> (C:\ReactOS\system32\user32.dll@77a20000)
      * <user32.dll:5fd5b (win32ss/user/user32/windows/message.c:2046 (DispatchMessageW))> (C:\ReactOS\system32\user32.dll@77a20000)
      <vgafontedit.exe:2ff7> (C:\ReactOS\system32\vgafontedit.exe@400000)
      <vgafontedit.exe:57cd> (C:\ReactOS\system32\vgafontedit.exe@400000)
      <vgafontedit.exe:4e53> (C:\ReactOS\system32\vgafontedit.exe@400000)
      <vgafontedit.exe:4ea8> (C:\ReactOS\system32\vgafontedit.exe@400000)
      * <kernel32.dll:11b46 (dll/win32/kernel32/client/proc.c:463 (BaseProcessStartup))> (C:\ReactOS\system32\kernel32.dll@7c620000)

       

      Attachments

        Activity

          People

            katayama_hirofumi_mz Katayama Hirofumi MZ
            KRosUser KRosUser
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: