[ros-bugs] [Bug 3540] New: grep.exe From Free Pascal Compiler cannot "read" memory

ReactOS.Bugzilla at www.reactos.org ReactOS.Bugzilla at www.reactos.org
Mon Jul 21 01:12:06 CEST 2008


http://www.reactos.org/bugzilla/show_bug.cgi?id=3540

           Summary: grep.exe From Free Pascal Compiler cannot "read" memory
           Product: ReactOS
           Version: TRUNK
          Platform: QEmu
        OS/Version: ReactOS
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: Win32
        AssignedTo: ros-bugs at reactos.org
        ReportedBy: jeanmichel.123 at free.Fr
         QAContact: ros-bugs at reactos.org


With revision 34617, and free pascal compiler from bug 1720 .

I created a toto.c file, which contains one main function which returns 0.

And I launched:
 grep.exe main toto.c

According to ReactOS, «The instruction at "0x7c912978" referenced memory at
"0x00000010". The memory could not be "read".»

This message appears in a modal box, but grep works fine and display the
selected line, in the console.

On the debug line, one can read:



Unhandled exception
ExceptionCode:    c0000005
Faulting Address:       10
Address:          7c912978   C:\ReactOS\system32\ntdll.dll
CS:EIP 1b:7c912978
DS 23 ES 23 FS 3b GS 0
EAX: 00000000   EBX: 78028210   ECX: 000007c8
EDX: 78028220   EBP: 0064fdd0   ESI: 00000000   ESP: 0064fd70
EDI: 00000001   EFLAGS: 00000246
Frames:
   7c900000+12a4b      C:\ReactOS\system32\ntdll.dll
   78000000+9026       C:\ReactOS\system32\msvcrt.dll
   78000000+94ab       C:\ReactOS\system32\msvcrt.dll
     400000+d6f3       C:\FPC\2.2.0\bin\i386-win32\grep.EXE
     400000+d771       C:\FPC\2.2.0\bin\i386-win32\grep.EXE
   78000000+9f86       C:\ReactOS\system32\msvcrt.dll
   78000000+101d       C:\ReactOS\system32\msvcrt.dll
   7c900000+2c96       C:\ReactOS\system32\ntdll.dll
   7c900000+2e32       C:\ReactOS\system32\ntdll.dll
   7c900000+2f2d       C:\ReactOS\system32\ntdll.dll
   7c800000+22196      C:\ReactOS\system32\KERNEL32.DLL
   78000000+e24d       C:\ReactOS\system32\msvcrt.dll
   78000000+e264       C:\ReactOS\system32\msvcrt.dll
     400000+5514       C:\FPC\2.2.0\bin\i386-win32\grep.EXE
     400000+122d       C:\FPC\2.2.0\bin\i386-win32\grep.EXE
     400000+1258       C:\FPC\2.2.0\bin\i386-win32\grep.EXE
   7c800000+21801      C:\ReactOS\system32\KERNEL32.DLL
(subsystems/win32/csrss/api/wapi.c:119) CSR: received hard error c0000144
(subsystems/win32/csrss/win32csr/dllmain.c:507) The instruction at "0x7c912978"
referenced memory at "0x00000010" . The memory could not be "read".


WARNING:  MmLockPagableSectionByHandle at ntoskrnl/mm/drvlck.c:43 is
UNIMPLEMENTED!
WARNING:  MmUnlockPagableImageSection at ntoskrnl/mm/drvlck.c:79 is
UNIMPLEMENTED!
Unhandled exception
ExceptionCode:    c0000005
Faulting Address:       10
Address:          7c912978   C:\ReactOS\system32\ntdll.dll
CS:EIP 1b:7c912978
DS 23 ES 23 FS 3b GS 0
EAX: 00000000   EBX: 78028210   ECX: 000007c8
EDX: 78028220   EBP: 0064fdd0   ESI: 00000000   ESP: 0064fd70
EDI: 00000001   EFLAGS: 00000246
Frames:
   7c900000+12a4b      C:\ReactOS\system32\ntdll.dll
   78000000+9026       C:\ReactOS\system32\msvcrt.dll
   78000000+94ab       C:\ReactOS\system32\msvcrt.dll
     400000+d6f3       C:\FPC\2.2.0\bin\i386-win32\grep.EXE
     400000+d771       C:\FPC\2.2.0\bin\i386-win32\grep.EXE
   78000000+9f86       C:\ReactOS\system32\msvcrt.dll
   78000000+101d       C:\ReactOS\system32\msvcrt.dll
   7c900000+2c96       C:\ReactOS\system32\ntdll.dll
   7c900000+2e32       C:\ReactOS\system32\ntdll.dll
   7c900000+2f2d       C:\ReactOS\system32\ntdll.dll
   7c800000+22196      C:\ReactOS\system32\KERNEL32.DLL
   78000000+e24d       C:\ReactOS\system32\msvcrt.dll
   78000000+e264       C:\ReactOS\system32\msvcrt.dll
     400000+5514       C:\FPC\2.2.0\bin\i386-win32\grep.EXE
     400000+122d       C:\FPC\2.2.0\bin\i386-win32\grep.EXE
     400000+1258       C:\FPC\2.2.0\bin\i386-win32\grep.EXE
   7c800000+21801      C:\ReactOS\system32\KERNEL32.DLL
(subsystems/win32/csrss/api/wapi.c:119) CSR: received hard error c0000144
(subsystems/win32/csrss/win32csr/dllmain.c:507) The instruction at "0x7c912978"
referenced memory at "0x00000010" . The memory could not be "read".


WARNING:  MmLockPagableSectionByHandle at ntoskrnl/mm/drvlck.c:43 is
UNIMPLEMENTED!
WARNING:  MmUnlockPagableImageSection at ntoskrnl/mm/drvlck.c:79 is
UNIMPLEMENTED!
(dll/win32/kernel32/except/except.c:336) Debugging is not implemented yet
(subsystems/win32/win32k/ntuser/timer.c:157) Unable to locate timer in message
queue
WARNING:  MmLockPagableSectionByHandle at ntoskrnl/mm/drvlck.c:43 is
UNIMPLEMENTED!
WARNING:  MmUnlockPagableImageSection at ntoskrnl/mm/drvlck.c:79 is
UNIMPLEMENTED!
WARNING:  MmLockPagableSectionByHandle at ntoskrnl/mm/drvlck.c:43 is
UNIMPLEMENTED!
WARNING:  MmUnlockPagableImageSection at ntoskrnl/mm/drvlck.c:79 is
UNIMPLEMENTED!
WARNING:  MmLockPagableSectionByHandle at ntoskrnl/mm/drvlck.c:43 is
UNIMPLEMENTED!
WARNING:  MmUnlockPagableImageSection at ntoskrnl/mm/drvlck.c:79 is
UNIMPLEMENTED!
WARNING:  MmLockPagableSectionByHandle at ntoskrnl/mm/drvlck.c:43 is
UNIMPLEMENTED!
WARNING:  MmUnlockPagableImageSection at ntoskrnl/mm/drvlck.c:79 is
UNIMPLEMENTED!
Unhandled exception
ExceptionCode:    c0000005
Faulting Address:       10
Address:          7c912978   C:\ReactOS\system32\ntdll.dll
CS:EIP 1b:7c912978
DS 23 ES 23 FS 3b GS 0
EAX: 00000000   EBX: 78028210   ECX: 000007c8
EDX: 78028220   EBP: 0064fdd0   ESI: 00000000   ESP: 0064fd70
EDI: 00000001   EFLAGS: 00000246
Frames:
   7c900000+12a4b      C:\ReactOS\system32\ntdll.dll
   78000000+9026       C:\ReactOS\system32\msvcrt.dll
   78000000+94ab       C:\ReactOS\system32\msvcrt.dll
     400000+d6f3       C:\FPC\2.2.0\bin\i386-win32\grep.EXE
     400000+d771       C:\FPC\2.2.0\bin\i386-win32\grep.EXE
   78000000+9f86       C:\ReactOS\system32\msvcrt.dll
   78000000+101d       C:\ReactOS\system32\msvcrt.dll
   7c900000+2c96       C:\ReactOS\system32\ntdll.dll
   7c900000+2e32       C:\ReactOS\system32\ntdll.dll
   7c900000+2f2d       C:\ReactOS\system32\ntdll.dll
   7c800000+22196      C:\ReactOS\system32\KERNEL32.DLL
   78000000+e24d       C:\ReactOS\system32\msvcrt.dll
   78000000+e264       C:\ReactOS\system32\msvcrt.dll
     400000+5514       C:\FPC\2.2.0\bin\i386-win32\grep.EXE
     400000+122d       C:\FPC\2.2.0\bin\i386-win32\grep.EXE
     400000+1258       C:\FPC\2.2.0\bin\i386-win32\grep.EXE
   7c800000+21801      C:\ReactOS\system32\KERNEL32.DLL
(subsystems/win32/csrss/api/wapi.c:119) CSR: received hard error c0000144
(subsystems/win32/csrss/win32csr/dllmain.c:507) The instruction at "0x7c912978"
referenced memory at "0x00000010". The memory could not be "read".


WARNING:  MmLockPagableSectionByHandle at ntoskrnl/mm/drvlck.c:43 is
UNIMPLEMENTED!
WARNING:  MmUnlockPagableImageSection at ntoskrnl/mm/drvlck.c:79 is
UNIMPLEMENTED!
(subsystems/win32/win32k/ntuser/timer.c:157) Unable to locate timer in message
queue
(subsystems/win32/win32k/ntuser/timer.c:157) Unable to locate timer in message
queue


-- 
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.
You are the assignee for the bug.


More information about the Ros-bugs mailing list