Description
Observed in this test run: https://build.reactos.org/#/builders/3/builds/19090
while running
Wine Test, Module: shell32, Test: ShellExecCmdLine
Stack trace:
| err:(/win32ss/user/user32/windows/messagebox.c:1048) MessageBox: L"File 'Test File.txt'\ndoes not exist\n\nDo you want to create a new file ?" | 
| fixme:(/dll/win32/imm32/imm.c:494) We have to do something | 
| fixme:(/dll/win32/imm32/ctf.c:44) (000502B0) | 
| fixme:(/dll/win32/imm32/imm.c:494) We have to do something | 
| fixme:(/dll/win32/imm32/ctf.c:44) (000502B0) | 
| (/win32ss/user/ntuser/simplecall.c:128) err: Calling invalid routine number 0x7 in NtUserCallNoParam | 
|  | 
| Entered debugger on last-chance exception (Exception Code: 0xc0000005) (Page Fault) | 
| libvirt: VirtualBox Driver error : unsupported flags (0x1) in function vboxDomainReboot | 
| libvirt: VirtualBox Driver error : internal error: could not delete the domain, rc=80bb0007 | 
| Memory at 0x0000002C could not be accessed | 
| kdb:> | 
|  bt | 
| Eip: | 
| <win32k.sys:88ad4 (win32ss/user/ntuser/window.c:1583 (NtUserBuildHwndList))> | 
| Frames: | 
| <ntoskrnl.exe:3fe5 (:0 (KiSystemCallTrampoline))> | 
| <ntoskrnl.exe:14ea79 (ntoskrnl/ke/i386/traphdlr.c:1840 (KiSystemServiceHandler))> | 
| <ntoskrnl.exe:3e2f (:0 (KiFastCallEntry))> | 
| <ntdll.dll:10181> | 
| <user32.dll:64c71> | 
| <shell32_apitest.exe:17ca7> | 
| <shell32_apitest.exe:18933> | 
| <shell32_apitest.exe:18c6a> | 
| <shell32_apitest.exe:24197> | 
| <shell32_apitest.exe:24f01> | 
| <shell32_apitest.exe:24f78> | 
| <kernel32.dll:11af1> | 
| kdb:>
 | 
Another crash at a different place, triggered by the same winetest (observe also the intermediate errors being triggered):
https://build.reactos.org/#/builders/3/builds/19100
| Running Wine Test, Module: shell32, Test: ShellExecCmdLine | 
| fixme:(/dll/win32/shell32/shlexec.cpp:1934) flags ignored: 0x00000100 | 
| [...] | 
| [ The following lines repeat many times ... ] | 
| fixme:(/dll/win32/imm32/ctf.c:44) (0084019C) | 
| fixme:(/dll/win32/imm32/imm.c:494) We have to do something | 
| fixme:(/dll/win32/imm32/ctf.c:44) (0084019C) | 
| (/win32ss/user/ntuser/simplecall.c:128) err: Calling invalid routine number 0x7 in NtUserCallNoParam | 
| [...] | 
| fixme:(/dll/win32/imm32/imm.c:494) We have to do something | 
| err:(/win32ss/user/user32/windows/messagebox.c:1048) MessageBox: L"File 'Test File.txt'\ndoes not exist\n\nDo you want to create a new file ?" | 
| fixme:(/dll/win32/imm32/imm.c:494) We have to do something | 
| fixme:(/dll/win32/imm32/ctf.c:44) (00020768) | 
| fixme:(/dll/win32/imm32/imm.c:494) We have to do something | 
| fixme:(/dll/win32/imm32/ctf.c:44) (00020768) | 
| (/win32ss/user/ntuser/simplecall.c:128) err: Calling invalid routine number 0x7 in NtUserCallNoParam | 
| [...] | 
| [ Now, we get a ton of such allocation failures ... ] | 
| [...] | 
| (/sdk/lib/rtl/heap.c:2035) HEAP: Allocation failed! | 
| (/sdk/lib/rtl/heap.c:2036) Flags 69 | 
| (/win32ss/user/ntuser/class.c:1242) err: Failed to allocate class on Desktop 0xB482D038 | 
| (/win32ss/user/ntuser/class.c:1571) err: UserRegisterClass: Yes, that is right, you have no Class! | 
| (/sdk/lib/rtl/heap.c:2035) HEAP: Allocation failed! | 
| [...] | 
| (/win32ss/user/ntuser/desktop.c:3292) err: Failed to allocate new pcti | 
| (/win32ss/user/ntuser/main.c:646) err: Failed to set thread desktop | 
| (/win32ss/user/ntuser/main.c:691) err: InitThreadCallback failed! Freeing pti 0xB3A10008 for TID:0x574 | 
| (/dll/ntdll/ldr/ldrinit.c:868) LDR: DLL_PROCESS_ATTACH for dll "user32.dll" (InitRoutine: 77A4E5EC) failed | 
| (/dll/ntdll/ldr/ldrinit.c:2509) LDR: LdrpProcessInitialization failed running initialization routines; status c0000142 | 
| (/dll/ntdll/ldr/ldrinit.c:2544) LDR: Process initialization failure for C:\ReactOS\test program.exe; NTSTATUS = c0000142 | 
| (/sdk/lib/rtl/heap.c:2035) HEAP: Allocation failed! | 
| (/sdk/lib/rtl/heap.c:2036) Flags 69 | 
| (/win32ss/user/ntuser/class.c:1242) err: Failed to allocate class on Desktop 0xB482D038 | 
| (/win32ss/user/ntuser/class.c:1571) err: UserRegisterClass: Yes, that is right, you have no Class! | 
| [...] | 
| [ And then a crash!! ] | 
| [...] | 
| err:(/win32ss/user/user32/misc/imm.c:1048) Failed to register IME Class! | 
| (/sdk/lib/rtl/heap.c:2035) HEAP: Allocation failed! | 
| (/sdk/lib/rtl/heap.c:2036) Flags 69 | 
| (/win32ss/user/ntuser/class.c:1242) err: Failed to allocate class on Desktop 0xB482D038 | 
| (/win32ss/user/ntuser/class.c:1571) err: UserRegisterClass: Yes, that is right, you have no Class! | 
|  | 
| Entered debugger on last-chance exception (Exception Code: 0xc0000005) (Page Fault) | 
| Memory at 0x00000004 could not be accessed | 
| kdb:> | 
|  bt | 
| Eip: | 
| <win32k.sys:87143 (mnt/ramdisk/buildbot/output-MinGW-i386/sdk/include/ddk/wdm.h:11496 (co_UserFreeWindow))> | 
| Frames: | 
| <win32k.sys:8a059 (win32ss/user/ntuser/window.c:2989 (co_UserDestroyWindow))> | 
| <win32k.sys:99d47 (win32ss/user/ntuser/object.c:740 (UserDestroyObjectsForOwner))> | 
| <win32k.sys:1e2cf (win32ss/user/ntuser/main.c:781 (ExitThreadCallback))> | 
| <win32k.sys:1effe (win32ss/user/ntuser/main.c:897 (Win32kThreadCallback))> | 
| <ntoskrnl.exe:12045a (ntoskrnl/ps/kill.c:747 (PspExitThread))> | 
| <ntoskrnl.exe:12098a (ntoskrnl/ps/kill.c:944 (PsExitSpecialApc))> | 
| <ntoskrnl.exe:8a822 (ntoskrnl/ke/apc.c:474 (KiDeliverApc))> | 
| <ntoskrnl.exe:14b85f (ntoskrnl/include/internal/i386/ke.h:800 (KiServiceExit))> | 
| <ntoskrnl.exe:14f1a1 (ntoskrnl/ke/i386/usercall.c:358 (KiUserModeCallout))> | 
| <ntoskrnl.exe:3ffe (:0 (KiCallUserMode))> | 
| <win32k.sys:28434 (win32ss/user/ntuser/callback.c:1164 (co_IntDeliverUserAPC))> | 
| <win32k.sys:69bbd (win32ss/user/ntuser/msgqueue.c:2187 (co_MsqWaitForNewMessages))> | 
| <win32k.sys:5f6c9 (win32ss/user/ntuser/message.c:1269 (co_IntGetPeekMessage))> | 
| <win32k.sys:614c5 (win32ss/user/ntuser/message.c:2311 (NtUserGetMessage))> | 
| <ntoskrnl.exe:3fe5 (:0 (KiSystemCallTrampoline))> | 
| <ntoskrnl.exe:14ea79 (ntoskrnl/ke/i386/traphdlr.c:1840 (KiSystemServiceHandler))> | 
| <ntoskrnl.exe:3e2f (:0 (KiFastCallEntry))> | 
| <ntdll.dll:10181> | 
| <notepad.exe:4c98> | 
| <notepad.exe:7338>--- Press q to abort, any other key to continue --- | 
| <notepad.exe:69be> | 
| <notepad.exe:6a13> | 
| <kernel32.dll:11af1> | 
| kdb:>
 | 
Attachments
Issue Links
- blocks
- 
                    CORE-11700 supporting Japanese input -         
- Resolved
 
-         
- relates to
- 
                    CORE-18002 VBox buildbot crashes by Win32K BSOD during Module: shell32, Test: ShellExecCmdLine -         
- Open
 
-