Re: Euphoria 4.0 crashes (rev 1176)
- Posted by bernie Sep 16, 2008
- 1094 views
Hello
This is meant for the development team but I do not exactly know where to send this.
Something does not work correctly with Euphoria 4.0. I tried to run compat02.ew of Win32lib with Eu 40 rev 1176. I expected an error message like in Euphoria 3.1.1 but this is not the case.
Using Windows Vista and Euphoria 3.1.1 I will get this error, which is ok:
D:\Euphoria\win32libv07\Include\compat02.ew:4
w32from_memory has not been declared
return w32from_memory(ID_SYSTEMTIME, st )
^
Press Enter
With Euphoria 4.0 rev 1176 exw.exe crashes and there is a message from the OS:
EXW.EXE does not work any more (EXW.EXE funktioniert nicht mehr)
Using exwc.exe I get this result:
C:\EUPHORIA\SOURCE40>exwc
Euphoria Interpreter 4.0 (development) for 32-bit Windows.
SVN Revision 1176
Copyright (c) Rapid Deployment Software 2008
See http://www.RapidEuphoria.com/License.txt
file name to execute? d:\euphoria\win32libv07\include\compat02.ew
The instruction at 0x0040dbba referenced memory at 0x00000270.
The memory could not be read.
Exception fielded by 0x0047ef10
EAX=0xfffffeff EBX=0x00000001 ECX=0x0000004e EDX=0x800392f4
ESI=0x0000004e EDI=0x00000000 EBP=0x0006f8bc ESP=0x0006f850
EIP=0x0040dbba EFL=0x00010213 CS =0x0000001b SS =0x00000023
DS =0x00000023 ES =0x00000023 FS =0x0000003b GS =0x00000000
Stack dump (SS:ESP)
0x00170000 0x001b6b50 0x00000000 0x00000000 0xfffffeff 0x0000060e
0x00000000 0x001b6ad0 0x00000000 0x001b6548 0x00000001 0x00000000
0x00000000 0x76f25883 0x00000001 0x00000000 0x00000000 0x00000000
0x75a7c56f 0x0000000b 0x00000142 0x001b6b48 0x00000000 0x00472ba3
0x00170000 0x00000000 0x001b6b50 0x80036d5b 0x80036d6a 0x00000001
0x0042ca50 0x00000000 0x00000018 0x0042c6b4 0x0000000b 0x00000000
0x00000002 0x00000000 0x0042ca50 0x00000000 0x00000018 0x0042c76a
0x00000002 0x00000000 0x0042ca50 0x00000000 0x00000018 0x0042c83e
0x0006f924 0x00000000 0x00000002 0x00000000 0x0042ca50 0x00000000
0x00000018 0x0042cb7b 0xffffffff 0x00000000 0x00000000 0x00000002
0x80036d38 0x0042ca50 0xffffffe2 0x00000018 0x00426c35 0x00000000
0x80036d51 0xffffffe8 0x0000000b 0x00000000 0x00000020 0x0042bf7a
C:\EUPHORIA\SOURCE40>
Trying to run compat02.ew with exwc.exe and eu.ex I get this result:
C:\EUPHORIA\SOURCE40>exwc
Euphoria Interpreter 4.0 (development) for 32-bit Windows.
SVN Revision 1176
Copyright (c) Rapid Deployment Software 2008
See http://www.RapidEuphoria.com/License.txt
file name to execute? eu.ex
Euphoria Interpreter 4.0 (development) for 32-bit Windows.
SVN Revision 1176
Copyright (c) Rapid Deployment Software 2008
See http://www.RapidEuphoria.com/License.txt
file name to execute? d:\euphoria\win32libv07\include\compat02.ew
.\emit.e:888 in procedure emit_op()
subscript value -257 is out of bounds, reading from a sequence of length 426
... called from .\parser.e:1237 in function aexpr()
... called from .\parser.e:1247 in function cexpr()
... called from .\parser.e:1270 in function rexpr()
... called from .\parser.e:1300 in procedure Expr()
... called from .\parser.e:604 in function Expr_list()
... called from .\parser.e:1161 in procedure Factor()
... called from .\parser.e:1209 in procedure UFactor()
... called from .\parser.e:1218 in function term()
... called from .\parser.e:1233 in function aexpr()
... called from .\parser.e:1247 in function cexpr()
... called from .\parser.e:1270 in function rexpr()
... called from .\parser.e:1300 in procedure Expr()
... called from .\parser.e:2699 in procedure Global_declaration()
... called from .\parser.e:3502 in procedure real_parser()
... called from .\parser.e:3685 in procedure parser()
... called from .\main.e:247 in procedure main()
... called from .\main.e:267
> See ex.err
Press Enter...
Trying to run exwc.exe then eu.ex in eu.ex I get this result:
C:\EUPHORIA\SOURCE40>exwc
Euphoria Interpreter 4.0 (development) for 32-bit Windows.
SVN Revision 1176
Copyright (c) Rapid Deployment Software 2008
See http://www.RapidEuphoria.com/License.txt
file name to execute? eu.ex
Euphoria Interpreter 4.0 (development) for 32-bit Windows.
SVN Revision 1176
Copyright (c) Rapid Deployment Software 2008
See http://www.RapidEuphoria.com/License.txt
file name to execute? eu.ex
Euphoria Interpreter 4.0 (development) for 32-bit Windows.
SVN Revision 1176
Copyright (c) Rapid Deployment Software 2008
See http://www.RapidEuphoria.com/License.txt
file name to execute? d:\euphoria\win32libv07\include\compat02.ew
.\execute.e:1387 in procedure opSWITCH_SPI()
type_check failure, a is {403,391,394,385,393,392,407,403,391,393,390,...
... called from .\execute.e:3817 in procedure do_exec()
... called from .\execute.e:3983 in procedure Execute()
... called from .\execute.e:3991 in procedure BackEnd()
... called from .\mode.e:41 in procedure BackEnd()
... called from .\main.e:260 in procedure main()
... called from .\main.e:267
> See ex.err
Press Enter...
is this of any help? Btw I had to revert the changes in revget.ex because otherwise .svn/entries would not have been found.
Regards
Roland Stowasser
Roland:
Did you build the EXW.EXE yourself or get it from some other person ?
If you built the EXW.EXE be certain all your std/include files are at the latest version number because there were changes to the parsing.
Try commenting out a few lines at a time and then try running compat02.ew
again and see if you can isolate the error that way.