[Wine] page fault when running CCSC compiler - wine 0.9

Klaus Falb klaus.falb at aon.at
Sun Oct 30 07:37:20 CST 2005

I tried to run the CCSC PICC compiler (a C compiler for Microchip's PIC
micro controllers) with wine 0.9.
The compiler doesn't even start; wine drops into the debugger with a
"page fault" exception.

What can I do in order to run the program?

Here is the debugger output:

wine: Unhandled exception (thread 0009), starting debugger...
WineDbg starting on pid 0x8
Unhandled exception: page fault on read access to 0xc317ac77 in 32-bit
code (0x7fccdfd3).
In 32 bit mode.
Register dump:
 CS:0073 SS:007b DS:007b ES:007b FS:1007 GS:0033
 EIP:7fccdfd3 ESP:7fadfa80 EBP:7fadfad8 EFLAGS:00010246(   - 00
 EAX:00000001 EBX:7fd1df64 ECX:ffffffff EDX:c317ac77
 ESI:00000000 EDI:00000000
Stack dump:
0x7fadfa80:  00000073 7f049fc5 000009b4 00013e00
0x7fadfa90:  00000001 00000001 7fadfe7c 7fadfabc
0x7fadfaa0:  7beb84f7 7fadfaa8 7fadfe7c 7fadfbb0
0x7fadfab0:  7beefd4c 7fadfe7c 7fadff38 7fadfaf0
0x7fadfac0:  7beb328e 7fadfe7c 7fadff38 7fd1df64
0x7fadfad0:  7fadfbac 7fadfe78 7fadfaf4 7fccf4b7
0200: sel=1007 base=7fee6000 limit=00001fff 32-bit rw-
=>1 0x7fccdfd3 INSTR_EmulateInstruction+0x73 in kernel32 (0x7fadfad8)
  2 0x7fccf4b7 INSTR_vectored_handler+0x67 in kernel32 (0x7fadfaf4)
  3 0x7beb8b87 __regs_RtlRaiseException+0x107 in ntdll (0x7fadfb7c)
  4 0x7bed7dff DbgUserBreakPoint+0x193 in ntdll (0x7fadfb98)
  5 0x7bee287c in ntdll (+0x4287c) (0x7fadff0c)
  6 0x7beff7a0 pthread_functions+0xd80 in ntdll (0x00496e00)
  7 0xe800070c (0x00b96052)
  8 0x00000000 (0x00000000)
0x7fccdfd3 INSTR_EmulateInstruction+0x73 in kernel32: movb      0x0(%
Module  Address                 Debug info      Name (78 modules)
PE      0x00400000-00497c52     Deferred        ccsc
ELF     0x77941000-77949000     Deferred        libxrender.so.1
ELF     0x7be8f000-7bf00000     Export          ntdll<elf>
  \-PE  0x7bea0000-7bf00000     \               ntdll
ELF     0x7bf00000-7bf03000     Deferred        <wine-loader>
ELF     0x7dda1000-7ddfe000     Deferred        winedos<elf>
  \-PE  0x7ddb0000-7ddfe000     \               winedos
ELF     0x7ddfe000-7de4a000     Deferred        libgcrypt.so.11
ELF     0x7de4a000-7deac000     Deferred        libgnutls.so.11
ELF     0x7deac000-7dec9000     Deferred        libcups.so.2
ELF     0x7df47000-7df78000     Deferred        uxtheme<elf>
  \-PE  0x7df50000-7df78000     \               uxtheme
ELF     0x7df96000-7df9a000     Deferred        libxfixes.so.3
ELF     0x7df9a000-7dfa3000     Deferred        libxcursor.so.1
ELF     0x7dfa3000-7dfbf000     Deferred        imm32<elf>
  \-PE  0x7dfb0000-7dfbf000     \               imm32
ELF     0x7dfbf000-7dfdb000     Deferred        ximcp.so.2
ELF     0x7dfdb000-7dfe3000     Deferred        librt.so.1
ELF     0x7e09d000-7e7e0000     Deferred        fglrx_dri.so
ELF     0x7e7e0000-7e87f000     Deferred        libgl.so.1
ELF     0x7e87f000-7e93f000     Deferred        libx11.so.6
ELF     0x7e93f000-7e958000     Deferred        libice.so.6
ELF     0x7e958000-7e9d0000     Deferred        winex11.drv<elf>
  \-PE  0x7e970000-7e9d0000     \               winex11.drv
ELF     0x7e9d0000-7e9ef000     Deferred        libexpat.so.1
ELF     0x7e9ef000-7ea1d000     Deferred        libfontconfig.so.1
ELF     0x7ea1d000-7ea31000     Deferred        libz.so.1
ELF     0x7ea31000-7ea9b000     Deferred        libfreetype.so.6
ELF     0x7ea9e000-7eaa2000     Deferred        libgpg-error.so.0
ELF     0x7eaa2000-7eab2000     Deferred        libtasn1.so.2
ELF     0x7eab2000-7ead9000     Deferred        winspool.drv<elf>
  \-PE  0x7eac0000-7ead9000     \               winspool.drv
ELF     0x7ead9000-7eb67000     Deferred        comdlg32<elf>
  \-PE  0x7eaf0000-7eb67000     \               comdlg32
ELF     0x7eb67000-7ebbc000     Deferred        shlwapi<elf>
  \-PE  0x7eb80000-7ebbc000     \               shlwapi
ELF     0x7ebbc000-7ec78000     Deferred        shell32<elf>
  \-PE  0x7ebd0000-7ec78000     \               shell32
ELF     0x7ec78000-7ed27000     Deferred        comctl32<elf>
  \-PE  0x7ec80000-7ed27000     \               comctl32
ELF     0x7ed27000-7ed3f000     Deferred        version<elf>
  \-PE  0x7ed30000-7ed3f000     \               version
ELF     0x7ed3f000-7ed5c000     Deferred        iphlpapi<elf>
  \-PE  0x7ed50000-7ed5c000     \               iphlpapi
ELF     0x7ed5c000-7ed9e000     Deferred        rpcrt4<elf>
  \-PE  0x7ed70000-7ed9e000     \               rpcrt4
ELF     0x7ed9e000-7ee20000     Deferred        ole32<elf>
  \-PE  0x7edb0000-7ee20000     \               ole32
ELF     0x7ee20000-7eeac000     Deferred        oleaut32<elf>
  \-PE  0x7ee40000-7eeac000     \               oleaut32
ELF     0x7eeac000-7eee6000     Deferred        advapi32<elf>
  \-PE  0x7eec0000-7eee6000     \               advapi32
ELF     0x7efcc000-7f8cb000     Deferred        gdi32<elf>
  \-PE  0x7f010000-7f8cb000     \               gdi32
ELF     0x7f8cb000-7f9e0000     Deferred        user32<elf>
  \-PE  0x7f8f0000-7f9e0000     \               user32
ELF     0x7fae3000-7faf0000     Deferred        libxext.so.6
ELF     0x7faf3000-7faf7000     Deferred        libxdmcp.so.6
ELF     0x7faf7000-7fafe000     Deferred        libsm.so.6
ELF     0x7fc85000-7fd80000     Export          kernel32<elf>
  \-PE  0x7fca0000-7fd80000     \               kernel32
ELF     0x7fe91000-7fe93000     Deferred        xlcutf8load.so.2
ELF     0x7fe93000-7fe9e000     Deferred        libgcc_s.so.1
ELF     0x7fe9e000-7fea8000     Deferred        libnss_files.so.2
ELF     0x7fea8000-7feb1000     Deferred        libnss_nis.so.2
ELF     0x7feb1000-7fec6000     Deferred        libnsl.so.1
ELF     0x7fec6000-7fecf000     Deferred        libnss_compat.so.2
ELF     0x7fecf000-7fed2000     Deferred        libxrandr.so.2
ELF     0x7fed2000-7fee6000     Deferred        lz32<elf>
  \-PE  0x7fee0000-7fee6000     \               lz32
ELF     0x7fee9000-7ff0b000     Deferred        libm.so.6
ELF     0x7ff0b000-80000000     Deferred        libwine_unicode.so.1
ELF     0xb7e55000-b7e58000     Deferred        libdl.so.2
ELF     0xb7e58000-b7f86000     Deferred        libc.so.6
ELF     0xb7f87000-b7f99000     Deferred        libpthread.so.0
ELF     0xb7f99000-b7fb3000     Deferred        libwine.so.1
ELF     0xb7fb3000-b7fb6000     Deferred        libxau.so.6
ELF     0xb7fcd000-b7fe3000     Deferred        ld-linux.so.2
process  tid      prio (all id:s are in hex)
00000008 (D) C:\Program Files\picc\ccsc.exe
        00000009    0 <==
WineDbg terminated on pid 0x8

More information about the wine-users mailing list