[Wine] CCSC PICC Compiler - page fault (wine 0.9)

Klaus Falb klaus.falb at aon.at
Thu Oct 27 14:54:02 CDT 2005

I tried to use the CCSC PICC Compiler (a C compiler for Microchip's PIC
micro controllers) with Wine.

The program doesn't even start, Wine drops into the debugger. What can I
do in order to use the compiler?

Here's the debugger output:

$ wine Ccsc.exe
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:00210246(   - 00      -RIZP1)
 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(%edx,%edi,1),%al
Module  Address                 Debug info      Name (78 modules)
PE      0x00400000-00497c52     Deferred        ccsc
ELF     0x77942000-7794a000     Deferred        libxrender.so.1
ELF     0x7be8f000-7bf00000     Export          ntdll<elf>
  \-PE  0x7bea0000-7bf00000     \               ntdll
ELF     0x7bf00000-7bf03000     Deferred        <wine-loader>
ELF     0x7dda2000-7ddff000     Deferred        winedos<elf>
  \-PE  0x7ddb0000-7ddff000     \               winedos
ELF     0x7ddff000-7de4b000     Deferred        libgcrypt.so.11
ELF     0x7de4b000-7dead000     Deferred        libgnutls.so.11
ELF     0x7dead000-7deca000     Deferred        libcups.so.2
ELF     0x7df48000-7df79000     Deferred        uxtheme<elf>
  \-PE  0x7df50000-7df79000     \               uxtheme
ELF     0x7df97000-7df9b000     Deferred        libxfixes.so.3
ELF     0x7df9b000-7dfa4000     Deferred        libxcursor.so.1
ELF     0x7dfa4000-7dfc0000     Deferred        imm32<elf>
  \-PE  0x7dfb0000-7dfc0000     \               imm32
ELF     0x7dfc0000-7dfdc000     Deferred        ximcp.so.2
ELF     0x7dfdc000-7dfe4000     Deferred        librt.so.1
ELF     0x7e09e000-7e7e1000     Deferred        fglrx_dri.so
ELF     0x7e7e1000-7e880000     Deferred        libgl.so.1
ELF     0x7e880000-7e940000     Deferred        libx11.so.6
ELF     0x7e940000-7e959000     Deferred        libice.so.6
ELF     0x7e959000-7e9d1000     Deferred        winex11.drv<elf>
  \-PE  0x7e970000-7e9d1000     \               winex11.drv
ELF     0x7e9d1000-7e9f0000     Deferred        libexpat.so.1
ELF     0x7e9f0000-7ea1e000     Deferred        libfontconfig.so.1
ELF     0x7ea1e000-7ea32000     Deferred        libz.so.1
ELF     0x7ea32000-7ea9c000     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     0x7fae0000-7fae3000     Deferred        libxrandr.so.2
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-7fe94000     Deferred        libxau.so.6
ELF     0x7fe94000-7fe9f000     Deferred        libgcc_s.so.1
ELF     0x7fe9f000-7fea9000     Deferred        libnss_files.so.2
ELF     0x7fea9000-7feb2000     Deferred        libnss_nis.so.2
ELF     0x7feb2000-7fec7000     Deferred        libnsl.so.1
ELF     0x7fec7000-7fed0000     Deferred        libnss_compat.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     0xb7d76000-b7d79000     Deferred        libdl.so.2
ELF     0xb7d79000-b7ea7000     Deferred        libc.so.6
ELF     0xb7ea8000-b7eba000     Deferred        libpthread.so.0
ELF     0xb7eba000-b7ed4000     Deferred        libwine.so.1
ELF     0xb7ed4000-b7ed6000     Deferred        xlcutf8load.so.2
ELF     0xb7eed000-b7f03000     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