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

Visual C++ 4.0/4.1 can't open the GUI into master (it does in releases)

    XMLWordPrintable

Details

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

    Description

      Version tested: 0.4.16-dev-2587-g61fb4db-x86-gcc-lin-dbg
      Arch: x86
      Software tested: Microsoft Visual C++ 4.0 and 4.1 are affected. MSDEV.EXE , the GUI of the MS Developer Studio.

      It seems to work into the releases, maybe one of the hacks applied affects this piece of software.

      At the moment, I only attach the log by apimon, since the Debuglog in ReactOS is not asserting.

      Debug log from ROS:

      (dll\win32\kernel32\client\loader.c:386) LoadLibraryExW(C:\ReactOS\System32\MFC40LOC.DLL) failing with status c0000135
      (drivers\ksfilter\ks\connectivity.c:281) ZwOpenKey() failed with status 0xc0000034
      (sdk\lib\drivers\sound\mmixer\controls.c:464) MMixerCountMixerControls PinId 11 is not connected by any node
      (win32ss\user\ntuser\callback.c:343) err: Error Callback to User space Status c0000423 Message 15
      (dll\ntdll\ldr\ldrinit.c:866) WARNING: Exception 0xc0000005 during LdrpCallInitRoutine(DLL_PROCESS_ATTACH) for msvccpp.pkg
      (dll\ntdll\ldr\ldrinit.c:883) LDR: DLL_PROCESS_ATTACH for dll "msvccpp.pkg" (InitRoutine: 50F063FD) failed
      (dll\win32\kernel32\client\loader.c:386) LoadLibraryExW(USER32.dll) failing with status c0000142
      

      If in the ReactOS setup I do the upgrade in the same system, same version, a little exception appears:

      (dll\win32\kernel32\client\loader.c:386) LoadLibraryExW(C:\ReactOS\System32\MFC40LOC.DLL) failing with status c0000135
      (drivers\ksfilter\ks\connectivity.c:281) ZwOpenKey() failed with status 0xc0000034
      (sdk\lib\drivers\sound\mmixer\controls.c:464) MMixerCountMixerControls PinId 11 is not connected by any node
      err:(dll\win32\odbc32\proxyodbc.c:538) failed to open library (null): ÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌ
      (win32ss\user\ntuser\callback.c:343) err: Error Callback to User space Status c0000423 Message 15
      (dll\ntdll\ldr\ldrinit.c:866) WARNING: Exception 0xc0000005 during LdrpCallInitRoutine(DLL_PROCESS_ATTACH) for msvccpp.pkg
      (dll\ntdll\ldr\ldrinit.c:883) LDR: DLL_PROCESS_ATTACH for dll "msvccpp.pkg" (InitRoutine: 50F063FD) failed
      (dll\win32\kernel32\client\loader.c:386) LoadLibraryExW(ntdll.dll) failing with status c0000142
      Unhandled exception
      ExceptionCode:    c0000005
      Faulting Address: 517D4798
      CS:EIP 1b:5f81a2dc
      DS 23 ES 23 FS 3b GS 0
      EAX: 00000001   EBX: 50096420   ECX: 0000000c
      EDX: 7ffdfd04   EBP: 0012fae4   ESI: 517d4798   ESP: 0012fa98
      EDI: 001836b0   EFLAGS: 00010202
      Address:
      <MFC40.DLL:1a2dc> (C:\ReactOS\System32\MFC40.DLL@5f800000)
      Frames:
      <MFC40.DLL:1a42c> (C:\ReactOS\System32\MFC40.DLL@5f800000)
      <MFC40.DLL:1a1ce> (C:\ReactOS\System32\MFC40.DLL@5f800000)
      <MSVCSHL.dll:10da0> (C:\MSDEV\bin\MSVCSHL.dll@50000000)
      <MSVCSHL.dll:23fdc> (C:\MSDEV\bin\MSVCSHL.dll@50000000)
      <MSVCSHL.dll:2f859> (C:\MSDEV\bin\MSVCSHL.dll@50000000)
      <MFC40.DLL:f860> (C:\ReactOS\System32\MFC40.DLL@5f800000)
      <MSDEV.EXE:1337> (C:\MSDEV\bin\MSDEV.EXE@400000)
      <MSDEV.EXE:1246> (C:\MSDEV\bin\MSDEV.EXE@400000)
      <kernel32.dll:16f74> (C:\ReactOS\system32\kernel32.dll@7c640000)
      err:(win32ss\user\user32\windows\messagebox.c:1048) MessageBox: L"The instruction at \"0x5f81a2dc\" referenced memory at \"0x517d4798\". The memory could not be \"read\".\r\n\nClick on OK to terminate the program.\nClick on CANCEL to debug the program."
      (dll\win32\kernel32\client\except.c:612) 
      Starting debugger: 'C:\ReactOS\System32\drwtsn32 -p 832 -e 888 -g'
       
      ReactOS 0.4.16-x86-dev DrWtsn32
       
      Application exception occurred:
          App: MSDEV.EXE (pid=832, tid=0x344)
          When: 10/4/2026 @ 16:44:04.287
          First chance: 0
          Exception number: 0xc0000005 (EXCEPTION_ACCESS_VIOLATION)
          Exception flags: 0x00000000
          Exception address: 5F81A2DC
          Exception parameters: 2
            Parameter 0: 0x00000000
            Parameter 1: 0x517D4798
       
      *----> System Information <----*
       
          Computer Name: REACTOS-M7RK438
          User Name: Administrator
          BIOS Vendor: innotek GmbH
          BIOS Version: VirtualBox
          BIOS Date: 12/01/2006
          System Manufacturer: innotek GmbH
          System Family: Virtual Machine
          System Model: VirtualBox
          System Version: 1.2
          Baseboard Manufacturer: Oracle Corporation
          Baseboard Model: VirtualBox
          Baseboard Version: 1.2
          Number of Processors: 1
          Processor Type: x86 Family 6 Model 154 Stepping 3
          ReactOS Version: 5.2
          BuildLab: 20260410-0.4.16-dev-2587-g61fb4db.MSVC_19.44.35217.0
          Service Pack: Service Pack 2
          Current Type: Uniprocessor Checked
          Registered Organization: 
          Registered Owner: Owner
       
      *----> Task List <----*
       
          0: [System Process]
          4: System
         88: smss.exe
        140: csrss.exe
        160: winlogon.exe
        184: services.exe
        192: lsass.exe
        224: svchost.exe
        240: eventlog.exe
        332: rpcss.exe
        396: explorer.exe
        416: svchost.exe
        484: svchost.exe
        532: wlansvc.exe
        600: spoolsv.exe
        620: audiosrv.exe
        728: kbswitch.exe
        832: MSDEV.EXE
        876: drwtsn32.exe
       
      *----> Module List <----*
       
      (00000000 - 00090000) C:\MSDEV\bin\MSDEV.EXE
      (00250000 - 0025B000) C:\ReactOS\system32\coml2.dll
      (00A20000 - 00B5D000) C:\ReactOS\winsxs\x86_microsoft.windows.common-controls_6595b64144ccf1df_5.82.2600.2982_none_deadbeef\COMCTL32.dll
      (10000000 - 1004B000) C:\ReactOS\system32\combase.dll
      (10300000 - 10349000) C:\MSDEV\bin\mspdb41.dll
      (50000000 - 500B9000) C:\MSDEV\bin\MSVCSHL.dll
      (50260000 - 503B2000) C:\MSDEV\bin\msvcres.DLL
      (50650000 - 50765000) C:\MSDEV\bin\msvcsrc.DLL
      (50A50000 - 50B2A000) C:\MSDEV\bin\IDE\msvcbld.pkg
      (50CF0000 - 50D92000) C:\MSDEV\bin\msvcin.DLL
      (50E30000 - 50E42000) C:\MSDEV\bin\IDE\msvcx86.pkg
      (51100000 - 51136000) C:\MSDEV\bin\msvcprj.DLL
      (511A0000 - 5120A000) C:\MSDEV\bin\IDE\msvcgal.pkg
      (512D0000 - 512E3000) C:\MSDEV\bin\IDE\msvccls.pkg
      (51400000 - 51433000) C:\MSDEV\bin\EEN0CXX.DLL
      (51490000 - 514A2000) C:\MSDEV\bin\SHN0.DLL
      (514D0000 - 514D7000) C:\MSDEV\bin\TLN0LOC.DLL
      (514F0000 - 51507000) C:\MSDEV\bin\DMN0.dll
      (51540000 - 5155D000) C:\MSDEV\bin\EMN0N0.DLL
      (5F800000 - 5F8E7000) C:\ReactOS\System32\MFC40.DLL
      (74400000 - 7457E000) C:\ReactOS\System32\wdmaud.drv
      (75BE0000 - 75BF1000) C:\ReactOS\System32\ntdll_vista.dll
      (75C40000 - 75C49000) C:\ReactOS\System32\nfs41_np.dll
      (763F0000 - 7647A000) C:\ReactOS\System32\MSVCRT40.dll
      (76C40000 - 76C4F000) C:\ReactOS\System32\msacm32.drv
      (76E50000 - 76E5B000) C:\ReactOS\System32\midimap.dll
      (77160000 - 7716E000) C:\ReactOS\System32\lpk.dll
      (77510000 - 77516000) C:\ReactOS\System32\ksuser.dll
      (77530000 - 7753B000) C:\ReactOS\system32\kernel32_vista.dll
      (77A20000 - 77B27000) C:\ReactOS\system32\user32.dll
      (79FB0000 - 79FB6000) C:\ReactOS\System32\beepmidi.dll
      (7A1B0000 - 7A1D1000) C:\ReactOS\system32\apphelp.dll
      (7A250000 - 7A25A000) C:\ReactOS\system32\advapi32_vista.dll
      (7A570000 - 7A5B2000) C:\ReactOS\system32\usp10.dll
      (7AA00000 - 7AA33000) C:\ReactOS\System32\uxtheme.dll
      (7AA50000 - 7AA7F000) C:\ReactOS\System32\userenv.dll
      (7AE50000 - 7AE70000) C:\ReactOS\System32\msacm32.dll
      (7B000000 - 7B042000) C:\ReactOS\system32\imm32.dll
      (7B280000 - 7B29D000) C:\ReactOS\system32\MPR.dll
      (7B2B0000 - 7B3CE000) C:\ReactOS\system32\setupapi.dll
      (7B3E0000 - 7B495000) C:\ReactOS\system32\oleaut32.dll
      (7B510000 - 7B51F000) C:\ReactOS\system32\VERSION.dll
      (7B560000 - 7BDD9000) C:\ReactOS\system32\SHELL32.dll
      (7BDF0000 - 7BEBA000) C:\ReactOS\system32\comdlg32.dll
      (7BED0000 - 7BF5B000) C:\ReactOS\System32\WINMM.dll
      (7BF70000 - 7BFA9000) C:\ReactOS\system32\winspool.drv
      (7BFC0000 - 7C05A000) C:\ReactOS\system32\ole32.dll
      (7C110000 - 7C24D000) C:\ReactOS\winsxs\x86_microsoft.windows.common-controls_6595b64144ccf1df_6.0.2600.2982_none_deadbeef\comctl32.dll
      (7C260000 - 7C2F0000) C:\ReactOS\system32\rpcrt4.dll
      (7C300000 - 7C36C000) C:\ReactOS\system32\shlwapi.dll
      (7C380000 - 7C387000) C:\ReactOS\system32\ws2help.dll
      (7C3A0000 - 7C3BA000) C:\ReactOS\system32\ws2_32.dll
      (7C4B0000 - 7C4F8000) C:\ReactOS\system32\GDI32.dll
      (7C510000 - 7C586000) C:\ReactOS\system32\advapi32.dll
      (7C5A0000 - 7C613000) C:\ReactOS\system32\msvcrt.dll
      (7C640000 - 7C8F0000) C:\ReactOS\system32\kernel32.dll
      (7C920000 - 7C9F0000) C:\ReactOS\System32\ntdll.dll
      (ntoskrnl\mm\ARM3\mdlsup.c:1085) MDL PROBE FAILED!
       
      State Dump for Thread Id 0x344 (CRASH)
       
      eax:00000001 ebx:50096420 ecx:0000000C edx:7FFDFD04 esi:517D4798 edi:001836B0
      eip:5F81A2DC esp:0012FA98 ebp:0012FAE4
      dr0:00000000 dr1:00000000 dr2:00000000 dr3:00000000 dr6:00000000 dr7:00000000
       
      *----> Stack Back Trace <----*
       
      err:(dll\win32\dbghelp\pe_module.c:605) Couldn't find .DBG file "mfc40_opt.DBG" (L".")
      FramePtr ReturnAd Param#1  Param#2  Param#3  Param#4  Function Name
      0012FAE4 5F81A2DC 0012FB64 0012FB04 0012FB64 00000000 mfc40!EntryPoint +0x12a06
      0012FB18 5F81A42C 50096420 0012FB38 0012FB3C 001471F0 mfc40!EntryPoint +0x12b56
      0012FB40 5F81A1CE 50096420 500113AD 0012FB64 001471F8 mfc40!EntryPoint +0x128f8
      err:(dll\win32\dbghelp\pe_module.c:605) Couldn't find .DBG file "MSVCSHL.DBG" (L".")
      0012FC2C 50010DA0 0014E618 5007F468 00147128 50023F46 msvcshl!EntryPoint +0xffffffffffffffff
      0012FC50 50023FDC 004037D8 FFFFFFFF 00402000 74666F53 msvcshl!EntryPoint +0x49b
      0012FEE8 5002F859 00000000 00131E39 7FFD5000 0012FF14 msvcshl!EntryPoint +0xbd18
      0012FEFC 5F80F860 00400000 00000000 00131E39 00000005 mfc40!EntryPoint +0x7f8a
      err:(dll\win32\dbghelp\pe_module.c:605) Couldn't find .DBG file "MSDEV.DBG" (L".")
      0012FF14 00401337 00400000 00000000 00131E39 00000005 msdev!<nosymbols> +0x0
      0012FFC0 00401246 00000000 00000000 7FFD5000 C0000005 msdev!<nosymbols> +0x0
      0012FFF0 7C656F74 0040110B 00000000 75010175 00000000 kernel32!EntryPoint +0xe094
       
      *----> Raw Stack Dump <----*
       
      0012FFF8 0b 11 40 00 00 00 00 00 - 75 01 01 75 00 00 00 00  ..@.....u..u....
      00130008 ee ff ee ff 00 00 00 00 - 00 00 00 00 00 00 00 00  ................
      00130018 00 00 13 00 00 00 13 00 - 00 01 00 00 a8 0b 13 00  ................
      00130028 00 00 23 00 79 00 00 00 - 03 00 00 00 00 00 00 00  ..#.y...........
      00130038 1c 0b 13 00 ec 0a 13 00 - 02 00 00 00 00 00 00 00  ................
      00130048 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00  ................
      00130058 00 00 00 00 00 00 00 00 - 00 fe 00 00 ff ee ef 0e  ................
      00130068 00 00 10 00 00 20 00 00 - 00 02 00 00 00 20 00 00  ..... ....... ..
      00130078 67 04 00 00 ff ef fd 7f - 01 00 a8 0b 00 00 00 00  g...............
      00130088 00 00 00 00 00 00 00 00 - 2c 0b 13 00 8c 0b 13 00  ........,.......
       
      State Dump for Thread Id 0x354
       
      eax:00000118 ebx:00000000 ecx:809EE000 edx:00000000 esi:00A1FE44 edi:00A1FEC4
      eip:7C93610E esp:00A1FE28 ebp:00A1FEC4
      dr0:00000000 dr1:00000000 dr2:00000000 dr3:00000000 dr6:00000000 dr7:00000000
       
      *----> Stack Back Trace <----*
       
      FramePtr ReturnAd Param#1  Param#2  Param#3  Param#4  Function Name
      00A1FEC4 7C93610E 00000001 500979DC 00000000 FFFFFFFF ntdll!EntryPoint +0x1610e
      00A1FEE0 7C66208C 00000001 500979DC 00000000 FFFFFFFF kernel32!EntryPoint +0x191ac
      00A1FF8C 50031CC2 0012F180 00A1FFC4 00154000 CCCCCCCC msvcshl!EntryPoint +0xe181
      00A1FFB8 7643C80B 00153D48 00000000 00000000 00153D48 msvcrt40!type_info::~type_info +0x289cb
      00A1FFEC 7C66886E 7643C7B0 00153D48 00000000 00905A4D kernel32!EntryPoint +0x1f98e
       
      *----> Raw Stack Dump <----*
       
      00A1FFF4 b0 c7 43 76 48 3d 15 00 - 00 00 00 00 4d 5a 90 00  ..CvH=......MZ..
      00A20004 03 00 00 00 04 00 00 00 - ff ff 00 00 b8 00 00 00  ................
      00A20014 00 00 00 00 40 00 00 00 - 00 00 00 00 00 00 00 00  ....@...........
      00A20024 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00  ................
      00A20034 00 00 00 00 00 00 00 00 - e0 00 00 00 0e 1f ba 0e  ................
      00A20044 00 b4 09 cd 21 b8 01 4c - cd 21 54 68 69 73 20 70  ....!..L.!This p
      00A20054 72 6f 67 72 61 6d 20 63 - 61 6e 6e 6f 74 20 62 65  rogram cannot be
      00A20064 20 72 75 6e 20 69 6e 20 - 44 4f 53 20 6d 6f 64 65   run in DOS mode
      00A20074 2e 0d 0d 0a 24 00 00 00 - 00 00 00 00 07 8b 99 86  ....$...........
      00A20084 43 ea f7 d5 43 ea f7 d5 - 43 ea f7 d5 d2 63 f6 d4  C...C...C....c..
       
      State Dump for Thread Id 0x374
       
      eax:7FFD5000 ebx:00000001 ecx:00000001 edx:00000003 esi:00000004 edi:00000005
      eip:7C95E821 esp:00C1FFF0 ebp:00C1FFF4
      dr0:00000000 dr1:00000000 dr2:00000000 dr3:00000000 dr6:00000000 dr7:00000000
       
      *----> Stack Back Trace <----*
       
      FramePtr ReturnAd Param#1  Param#2  Param#3  Param#4  Function Name
      00C1FFF4 7C95E821 00000000 00000000 00000000 00000000 ntdll!EntryPoint +0x3e821
      err:(win32ss\user\user32\windows\messagebox.c:1048) MessageBox: L"The application MSDEV.EXE has crashed. Information about this crash has been saved to:\n\nC:\\Documents and Settings\\Administrator\\Desktop\\Appcrash_2026-04-10_16-44-04.txt"
      (win32ss\user\ntuser\winsta.c:1444) err: Failed to reference the inherited window station, Status 0xc0000008
      
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            julenuri julenuri
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: