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

Matrox G400 driver (ver 5.96.004): its Setup.exe triggers an 'Unhandled exception'

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • Major
    • None
    • None
    • None

    Description

      Workaround would be to "extract the files with 7-zip, then install the driver using device manager".

      https://www.matrox.com/graphics/en/support/drivers/files/xp2k_596_004.php
      links to
      ftp://ftp.matrox.com/pub/mga/archive/2kxp/2006/xp2k_596_004.exe

      Tested on Virtual PC 2004 SP1.

      Windows XP (+ GA):
      Unpacks and starts fine, then (correctly) detects no Matrox card. Need to cancel.

      ReactOS: (Selecting 'Debug' or not.)
      Unpacks then crashes when starting.

      ReactOS-0.4.9-iso

      Entered debugger on first-chance exception (Exception Code: 0xc0000005) (Page Fault)
      Memory at 0x0015D000 could not be read: Page not present.
      kdb:> bt
      Eip:
      <Setup.exe:154f9>
      Frames:
      <Setup.exe:7c8f>
      <Setup.exe:7355>
      <Setup.exe:3926c>
      <kernel32.dll:10b52>
      <00000000>
      kdb:> cont
      Unhandled exception
      ExceptionCode:    c0000005
      Faulting Address:   15d000
      CS:EIP 1b:4154f9
      DS 23 ES 23 FS 3b GS 0
      EAX: 00000049   EBX: 00000000   ECX: 00462d74
      EDX: 00134556   EBP: 0012f548   ESI: 0015d000   ESP: 0012e5c4
      EDI: 0015cff0   EFLAGS: 00010202
      Address:
      <Setup.exe:154f9> (C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\WZSE0.TMP\Setup.exe@400000)
      Frames:
      <Setup.exe:7c94> (C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\WZSE0.TMP\Setup.exe@400000)
      <Setup.exe:735a> (C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\WZSE0.TMP\Setup.exe@400000)
      <Setup.exe:39271> (C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\WZSE0.TMP\Setup.exe@400000)
      <kernel32.dll:10b57> (C:\ReactOS\system32\kernel32.dll@7c710000)
      (../../sdk/lib/rtl/heap.c:2199) HEAP: Trying to free an invalid address 7A07A1E8!
      err:(../../win32ss/user/user32/windows/window.c:490) CreateWindowExW RegisterSystemControls
      WARNING:  MmLockPageableDataSection at ../../ntoskrnl/mm/ARM3/drvmgmt.c:62 is UNIMPLEMENTED!
      WARNING:  MmUnlockPageableImageSection at ../../ntoskrnl/mm/ARM3/drvmgmt.c:39 is UNIMPLEMENTED!
      (../../dll/win32/kernel32/client/except.c:602) 
      Starting debugger: 'C:\ReactOS\System32\drwtsn32 -p 692 -e 1164 -g'
      ...
      Entered debugger on first-chance exception (Exception Code: 0xc0000005) (Page Fault)
      Memory at 0x010F0000 could not be read: Page not present.
      kdb:> bt
      Eip:
      <NTOSKRNL.EXE:16da28 (:0 (memcpy))>
      Frames:
      <NTOSKRNL.EXE:d5cf3 (sdk/include/crt/mingw32/intrin_x86.h:76 (MiDoPoolCopy))>
      <NTOSKRNL.EXE:d5ff0 (ntoskrnl/mm/ARM3/virtual.c:1295 (MmCopyVirtualMemory))>
      <NTOSKRNL.EXE:dacfb (ntoskrnl/mm/ARM3/virtual.c:2761 (NtReadVirtualMemory))>
      <NTOSKRNL.EXE:131a3e (ntoskrnl/include/internal/i386/ke.h:712 (KiSystemServiceHandler))>
      <NTOSKRNL.EXE:3da9 (:0 (KiFastCallEntry))>
      <ntdll.dll:de45>
      Couldn't access memory at 0x0022E72C!
      

      reactos-bootcd-0.4.13-dev-168-g262f712-x86-gcc-lin-dbg

      Entered debugger on first-chance exception (Exception Code: 0xc0000005) (Page Fault)
      Memory at 0x0016B000 could not be read: Page not present.
      kdb:> bt
      Eip:
      <Setup.exe:154f9>
      Frames:
      <Setup.exe:7c8f>
      <Setup.exe:7355>
      <Setup.exe:3926c>
      <kernel32.dll:10f02>
      <00000000>
      kdb:> cont
      Unhandled exception
      ExceptionCode:    c0000005
      Faulting Address:   16b000
      CS:EIP 1b:4154f9
      DS 23 ES 23 FS 3b GS 0
      EAX: 00000049   EBX: 00000000   ECX: 00462d74
      EDX: 00134556   EBP: 0012f548   ESI: 0016b000   ESP: 0012e5c4
      EDI: 0016aff0   EFLAGS: 00010202
      Address:
      <Setup.exe:154f9> (C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\WZSE0.TMP\Setup.exe@400000)
      Frames:
      <Setup.exe:7c94> (C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\WZSE0.TMP\Setup.exe@400000)
      <Setup.exe:735a> (C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\WZSE0.TMP\Setup.exe@400000)
      <Setup.exe:39271> (C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\WZSE0.TMP\Setup.exe@400000)
      <kernel32.dll:10f07> (C:\ReactOS\system32\kernel32.dll@7c5d0000)
      err:(win32ss/user/user32/windows/messagebox.c:1048) MessageBox: L"The instruction at \"0x004154f9\" referenced memory at \"0x0016b000\". The memory could not be \"read\".\r\n\nClick on OK to terminate the program.\nClick on CANCEL to debug the program."
      err:(win32ss/user/user32/windows/window.c:491) CreateWindowExW RegisterSystemControls
      WARNING:  MmLockPageableDataSection at ntoskrnl/mm/ARM3/drvmgmt.c:62 is UNIMPLEMENTED!
      WARNING:  MmUnlockPageableImageSection at ntoskrnl/mm/ARM3/drvmgmt.c:39 is UNIMPLEMENTED!
      (dll/win32/kernel32/client/except.c:605) 
      Starting debugger: 'C:\ReactOS\System32\drwtsn32 -p 652 -e 1252 -g'
      ...
      Entered debugger on first-chance exception (Exception Code: 0xc0000005) (Page Fault)
      Memory at 0x01010000 could not be read: Page not present.
      kdb:> bt
      Eip:
      <ntoskrnl.exe:173008 (sdk/lib/crt/mem/i386/memmove_asm.s:59 (mbstowcs))>
      Frames:
      <ntoskrnl.exe:d79a3 (sdk/include/crt/mingw32/intrin_x86.h:76 (MiDoPoolCopy))>
      <ntoskrnl.exe:d7ca0 (ntoskrnl/mm/ARM3/virtual.c:1295 (MmCopyVirtualMemory))>
      <ntoskrnl.exe:dc9ab (ntoskrnl/mm/ARM3/virtual.c:2761 (NtReadVirtualMemory))>
      <ntoskrnl.exe:136e6e (ntoskrnl/include/internal/i386/ke.h:730 (KiSystemServiceHandler))>
      <ntoskrnl.exe:3da9 (:0 (KiFastCallEntry))>
      <ntdll.dll:fa8d>
      Couldn't access memory at 0x0022E724!
      

      Attachments

        Activity

          People

            bug zilla Bug Zilla
            Serge Gautherie Serge Gautherie
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: