[ros-bugs] [Bug 1556] New: module32next causing STOP 1E error
ReactOS.Bugzilla at reactos.org
ReactOS.Bugzilla at reactos.org
Sun Jun 4 21:18:12 CEST 2006
http://www.reactos.org/bugzilla/show_bug.cgi?id=1556
Summary: module32next causing STOP 1E error
Product: ReactOS
Version: TRUNK
Platform: VMWare 5
OS/Version: ReactOS
Status: NEW
Severity: normal
Priority: P3
Component: Kernel
AssignedTo: ros-bugs at reactos.org
ReportedBy: scribly at heijnen1.demon.nl
QAContact: ros-bugs at reactos.org
When module32next is called and it should return false because there are no
more modules, it directly or indirectly causes a STOP error
0x0000001e (0x80000003,0x8006d511,0x00000000,0xa1749b80)
You can verify the bug with this code:
#include <stdio.h>
#include <windows.h>
#include <tlhelp32.h>
int main()
{
HANDLE ths;
MODULEENTRY32 module;
ths=CreateToolhelp32Snapshot(TH32CS_SNAPMODULE,GetCurrentProcessId());
if ((DWORD)ths==-1)
{
printf("Failed creating a snapshot\n");
return 1;
}
module.dwSize=sizeof(module);
if (Module32First(ths,&module))
do
{
printf("module=%s (%s)\n",module.szModule,module.szExePath);
}
while (Module32Next(ths,&module));
CloseHandle(ths);
return 0;
}
--
Configure bugmail: http://www.reactos.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.
You are the assignee for the bug, or are watching the assignee.
More information about the Ros-bugs
mailing list