Can't compile large scripts (wine)
#1

Hello!

Lately I've started to prefer Ubuntu more and more, and therefore I tried to also set up SA-MP scripting environment there. I tried the easiest way - running it under wine. Pawno starts, and when I open some small script like grandlarc for instance, I can compile it without any issues.

When I opened my real gamemode (closer to 40 000 lines), wine reports that compiler has crashed and I get the following output by compiler:

Код:
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase

Unhandled exception: page fault on read access to 0x00000044 in 32-bit code (0x100119ec).
Register dump:
 CS:0023 SS:002b DS:002b ES:002b FS:0063 GS:006b
 EIP:100119ec ESP:00d9f228 EBP:00000001 EFLAGS:00010202(  R- --  I   - - - )
 EAX:00000004 EBX:00000020 ECX:00000000 EDX:00000000
 ESI:00162fe0 EDI:00000000
Stack dump:
0x00d9f228:  00d9f934 00162fe0 00d9f470 00000000
0x00d9f238:  00000000 00000000 00000001 00163058
0x00d9f248:  00163058 001906b8 0018fae8 00000000
0x00d9f258:  00000000 00000000 00000001 00000000
0x00d9f268:  00000000 00d9f328 00162fe0 00000000
0x00d9f278:  00d9f934 00000000 00000000 00000000
Backtrace:
0x100119ec: cmpl	%eax,0x44(%ecx)
Modules:
Module	Address			Debug info	Name (52 modules)
PE	  400000-  407000	Deferred        pawncc
PE	10000000-10029000	Export          pawnc
ELF	7bf00000-7bf04000	Deferred        <wine-loader>
ELF	7e2a0000-7e2a6000	Deferred        libxfixes.so.3
ELF	7e2a6000-7e2b1000	Deferred        libxcursor.so.1
ELF	7e2b1000-7e2b5000	Deferred        libxcomposite.so.1
ELF	7e2b5000-7e2be000	Deferred        libxrandr.so.2
ELF	7e2be000-7e2c9000	Deferred        libxrender.so.1
ELF	7e2c9000-7e2cf000	Deferred        libxxf86vm.so.1
ELF	7e2cf000-7e2d3000	Deferred        libxinerama.so.1
ELF	7e2d3000-7e2f6000	Deferred        imm32<elf>
  \-PE	7e2e0000-7e2f6000	\               imm32
ELF	7e2f6000-7e2fd000	Deferred        libxdmcp.so.6
ELF	7e2fd000-7e301000	Deferred        libxau.so.6
ELF	7e301000-7e320000	Deferred        libxcb.so.1
ELF	7e320000-7e326000	Deferred        libuuid.so.1
ELF	7e326000-7e340000	Deferred        libice.so.6
ELF	7e340000-7e476000	Deferred        libx11.so.6
ELF	7e476000-7e489000	Deferred        libxext.so.6
ELF	7e489000-7e492000	Deferred        libsm.so.6
ELF	7e4b2000-7e55f000	Deferred        winex11<elf>
  \-PE	7e4c0000-7e55f000	\               winex11
ELF	7e5a4000-7e5ce000	Deferred        libexpat.so.1
ELF	7e5ce000-7e603000	Deferred        libfontconfig.so.1
ELF	7e603000-7e618000	Deferred        libz.so.1
ELF	7e618000-7e6af000	Deferred        libfreetype.so.6
ELF	7e6cf000-7e701000	Deferred        msvcr90<elf>
  \-PE	7e6e0000-7e701000	\               msvcr90
ELF	7e701000-7e78e000	Deferred        msvcrt<elf>
  \-PE	7e710000-7e78e000	\               msvcrt
ELF	7e78e000-7e7bd000	Deferred        msvcr80<elf>
  \-PE	7e7a0000-7e7bd000	\               msvcr80
ELF	7e7bd000-7e81f000	Deferred        advapi32<elf>
  \-PE	7e7d0000-7e81f000	\               advapi32
ELF	7e81f000-7e8b6000	Deferred        gdi32<elf>
  \-PE	7e830000-7e8b6000	\               gdi32
ELF	7e8b6000-7e9fb000	Deferred        user32<elf>
  \-PE	7e8d0000-7e9fb000	\               user32
ELF	7e9fb000-7ea08000	Deferred        libnss_files.so.2
ELF	7ea08000-7ea12000	Deferred        libnss_compat.so.2
ELF	7ed64000-7eeee000	Deferred        kernel32<elf>
  \-PE	7ed80000-7eeee000	\               kernel32
ELF	7eeee000-7ef18000	Deferred        libm.so.6
ELF	7ef1f000-7ef38000	Deferred        libnsl.so.1
ELF	7ef38000-7f000000	Deferred        ntdll<elf>
  \-PE	7ef50000-7f000000	\               ntdll
ELF	f7423000-f7428000	Deferred        libdl.so.2
ELF	f7428000-f75a2000	Deferred        libc.so.6
ELF	f75a3000-f75be000	Deferred        libpthread.so.0
ELF	f75d2000-f75de000	Deferred        libnss_nis.so.2
ELF	f75de000-f7720000	Deferred        libwine.so.1
ELF	f7722000-f7742000	Deferred        ld-linux.so.2
Threads:
process  tid      prio (all id:s are in hex)
0000000e services.exe
	00000018    0
	00000017    0
	00000015    0
	00000014    0
	00000010    0
	0000000f    0
00000011 winedevice.exe
	00000016    0
	00000013    0
	00000012    0
00000021 pawno.exe
	00000022    0
00000023 explorer.exe
	00000024    0
00000025 (D) Z:\home\lassi\SA-MP\0.3d\pawno\pawncc.exe
	00000026    0 <==
Backtrace:
I'm running Ubuntu 11.10 64-bit.

Anyone has any idea what causes this and how to fix if possible?


Thanks already in advance,

Regards Johnson
Reply
#2

Yes this thread is a little bit old, but i agree with the author.

Same problem with Wine on CrossOver for Mac.

It would be great, if there is a fix somewhere, because programming with Parallels in a virtual machine costs resources and power for battery.
Reply
#3

People should use Ubuntu for their everyday needs, and windows for gaming, scripting, opening large programs etc..
Reply
#4

Ok sry wrong report.

I have tested it on a windows machine, and it has crashed. After a long time i saw a "csea" which should be a "case" and because of that it crashes.

I think the pawn compiler itself can't handle large scripts, if a huge error occurs xD
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)