I have googled many times searching for a fix, but I have been unable to find anything that would fix my case, I've deleted the wineprefix and re-created it with the WINEARCH 32bit , I've also installed all needed components for pawn compiler to work : vcrun5, vcrun6,vcrun6sp6,vcrun2010 using winetricks, but none of these fixed my issue other than being required for the compiler to work.
System information:
OS : Ubuntu 12.04 LTS
Wine Version: wine-1.6.1 (highest version according to ubuntu 12.04 repositories)
Pawn Compiler version : 3.2.3664 (Custom compiler made for http://www.sa-mp.com but with the same base)
Error log:
Code: Select all
Unhandled exception: page fault on read access to 0x00000044 in 32-bit code (0x10012320).
Register dump:
CS:0023 SS:002b DS:002b ES:002b FS:0063 GS:006b
EIP:10012320 ESP:0033f184 EBP:0033f2c0 EFLAGS:00010206( R- -- I - -P- )
EAX:00000003 EBX:00000000 ECX:00000000 EDX:00000000
ESI:00432b58 EDI:00000001
Stack dump:
0x0033f184: 0033f8d4 00432b58 00000000 10017091
0x0033f194: 00432b58 0033f8d4 00000000 0033f23c
0x0033f1a4: 0033f854 00000000 00000000 00432928
0x0033f1b4: 00000000 00000000 00000000 00000000
0x0033f1c4: 00000000 00000000 0200d43d 00000018
0x0033f1d4: 00000001 00000000 00432908 00000001
Backtrace:
=>0 0x10012320 in pawnc (+0x12320) (0x0033f2c0)
1 0x10012adf in pawnc (+0x12ade) (0x0033f3cc)
2 0x10013c9a in pawnc (+0x13c99) (0x0033f474)
3 0x100123d0 in pawnc (+0x123cf) (0x0033f4b4)
4 0x1001434b in pawnc (+0x1434a) (0x0033f4d0)
5 0x100123d0 in pawnc (+0x123cf) (0x0033f510)
6 0x1001436b in pawnc (+0x1436a) (0x0033f52c)
7 0x100123d0 in pawnc (+0x123cf) (0x0033f56c)
8 0x1001438b in pawnc (+0x1438a) (0x0033f588)
9 0x100123d0 in pawnc (+0x123cf) (0x0033f5c8)
10 0x100143ab in pawnc (+0x143aa) (0x0033f5e4)
11 0x100123d0 in pawnc (+0x123cf) (0x0033f624)
12 0x100143cb in pawnc (+0x143ca) (0x0033f640)
13 0x100123d0 in pawnc (+0x123cf) (0x0033f680)
14 0x100143eb in pawnc (+0x143ea) (0x0033f69c)
15 0x100124fd in pawnc (+0x124fc) (0x0033f6d8)
16 0x10014408 in pawnc (+0x14407) (0x0033f6f0)
17 0x100123d0 in pawnc (+0x123cf) (0x0033f730)
18 0x1001442e in pawnc (+0x1442d) (0x0033f74c)
19 0x10010eb7 in pawnc (+0x10eb6) (0x0033f78c)
20 0x1001445f in pawnc (+0x1445e) (0x0033f7ac)
21 0x10010eb7 in pawnc (+0x10eb6) (0x0033f7ec)
22 0x100144a0 in pawnc (+0x1449f) (0x0033f83c)
23 0x100147c7 in pawnc (+0x147c6) (0x0033f8c4)
24 0x10014ede in pawnc (+0x14edd) (0x0033f8ec)
25 0x10003059 in pawnc (+0x3058) (0x0033f92c)
26 0x100034a3 in pawnc (+0x34a2) (0x0033f948)
27 0x100073f8 in pawnc (+0x73f7) (0x0033f9bc)
28 0x10007d4f in pawnc (+0x7d4e) (0x0033fa64)
29 0x1000af14 in pawnc (+0xaf13) (0x0033fe1c)
30 0x0040117d in pawncc (+0x117c) (0x0033fe60)
31 0x7b85f33c call_process_entry+0xb() in kernel32 (0x0033fe78)
32 0x7b8605bb in kernel32 (+0x505ba) (0x0033feb8)
33 0x7bc7a120 call_thread_func_wrapper+0xb() in ntdll (0x0033fed8)
34 0x7bc7d12d call_thread_func+0x7c() in ntdll (0x0033ffa8)
35 0x7bc7a0fe RtlRaiseException+0x21() in ntdll (0x0033ffc8)
36 0x7bc4e75e call_dll_entry_point+0x33d() in ntdll (0x0033ffe8)
37 0xf75f276d wine_call_on_stack+0x1c() in libwine.so.1 (0x00000000)
38 0xf75f282b wine_switch_to_stack+0x2a() in libwine.so.1 (0xfffb73b8)
39 0x7bc545c0 LdrInitializeThunk+0x3af() in ntdll (0xfffb7428)
40 0x7b866b92 __wine_kernel_init+0xa21() in kernel32 (0xfffb85d8)
41 0x7bc54d7b __wine_process_init+0x25a() in ntdll (0xfffb8668)
42 0xf75efccc wine_init+0x2db() in libwine.so.1 (0xfffb86d8)
43 0x7bf00f43 main+0xf2() in <wine-loader> (0xfffb8b28)
44 0xf741d4d3 __libc_start_main+0xf2() in libc.so.6 (0x00000000)
0x10012320: cmpl %eax,0x44(%ecx)
Modules:
Module Address Debug info Name (47 modules)
PE 400000- 408000 Export pawncc
PE 10000000-1002c000 Export pawnc
PE 78aa0000-78b5e000 Deferred msvcr100
ELF 7b800000-7ba5b000 Dwarf kernel32<elf>
\-PE 7b810000-7ba5b000 \ kernel32
ELF 7bc00000-7bcdc000 Dwarf ntdll<elf>
\-PE 7bc10000-7bcdc000 \ ntdll
ELF 7bf00000-7bf04000 Dwarf <wine-loader>
ELF 7e6a9000-7e6af000 Deferred libxfixes.so.3
ELF 7e6af000-7e6ba000 Deferred libxcursor.so.1
ELF 7e6ba000-7e6cb000 Deferred libxi.so.6
ELF 7e6cb000-7e6cf000 Deferred libxcomposite.so.1
ELF 7e6cf000-7e6d8000 Deferred libxrandr.so.2
ELF 7e6d8000-7e6e2000 Deferred libxrender.so.1
ELF 7e6e2000-7e6e8000 Deferred libxxf86vm.so.1
ELF 7e6e8000-7e6ef000 Deferred libxdmcp.so.6
ELF 7e6ef000-7e710000 Deferred libxcb.so.1
ELF 7e710000-7e844000 Deferred libx11.so.6
ELF 7e844000-7e856000 Deferred libxext.so.6
ELF 7e870000-7e902000 Deferred winex11<elf>
\-PE 7e880000-7e902000 \ winex11
ELF 7e955000-7e97f000 Deferred libexpat.so.1
ELF 7e97f000-7e9b3000 Deferred libfontconfig.so.1
ELF 7e9b3000-7e9c9000 Deferred libz.so.1
ELF 7e9c9000-7ea63000 Deferred libfreetype.so.6
ELF 7ea63000-7ea67000 Deferred libxinerama.so.1
ELF 7ea67000-7ea6b000 Deferred libxau.so.6
ELF 7ea7d000-7ea97000 Deferred version<elf>
\-PE 7ea80000-7ea97000 \ version
ELF 7ea97000-7eb06000 Deferred advapi32<elf>
\-PE 7eaa0000-7eb06000 \ advapi32
ELF 7eb06000-7ec23000 Deferred gdi32<elf>
\-PE 7eb10000-7ec23000 \ gdi32
ELF 7ec23000-7ed7e000 Deferred user32<elf>
\-PE 7ec40000-7ed7e000 \ user32
ELF 7ef7e000-7ef8b000 Deferred libnss_files.so.2
ELF 7ef8b000-7ef97000 Deferred libnss_nis.so.2
ELF 7ef97000-7efb1000 Deferred libnsl.so.1
ELF 7efb1000-7efdd000 Deferred libm.so.6
ELF 7efdd000-7efe6000 Deferred librt.so.1
ELF f7404000-f75ae000 Dwarf libc.so.6
ELF f75ae000-f75b3000 Deferred libdl.so.2
ELF f75b4000-f75cf000 Deferred libpthread.so.0
ELF f75e0000-f75e9000 Deferred libnss_compat.so.2
ELF f75e9000-f779f000 Dwarf libwine.so.1
ELF f77a1000-f77c3000 Deferred ld-linux.so.2
ELF f77c3000-f77c4000 Deferred [vdso].so
Threads:
process tid prio (all id:s are in hex)
00000008 (D) Z:\home\alexander\Documents\RP-try\pawno\pawncc.exe
00000009 0 <==
0000000e services.exe
0000001e 0
0000001d 0
00000019 0
00000016 0
00000014 0
00000010 0
0000000f 0
00000012 winedevice.exe
0000001c 0
00000018 0
00000017 0
00000013 0
0000001a plugplay.exe
00000020 0
0000001f 0
0000001b 0
00000021 explorer.exe
00000023 0
00000022 0
System information:
Wine build: wine-1.6.1
Platform: i386
Host system: Linux
Host version: 3.2.0-61-generic
To run the wine compiler I use Sublime-text 2 with a build command:
Code: Select all
{
"cmd": ["wine","/home/path/to/pawno/pawncc.exe","$file_name","-;+","-v2","-d3","-\\)+"],
"working_dir": "${file_path}",
"file_regex": "(.*?)[(]([0-9]*)[)]"
}
Thanks in advance!
Cordial salutes,
D. Adrian.