Re: Attempting to get WEE to work on Linux
- Posted by xecronix Aug 27, 2015
- 1716 views
jimcbrown said...
Perhaps there's a permissions issue here? ...
Ops. My bad. The ex.err file was owned by root. I deleted the file and re-ran the demo. This run was done by user "euphoria" which is the only user with a shell on this machine. (other than root of course)
[euphoria@localhost unix]$ ls -l
total 16
-rw-rw-r--. 1 euphoria euphoria 1248 Aug 26 21:39 callc.ex
-rw-rw-r--. 1 euphoria euphoria 419 Aug 26 21:39 Mylib.c
-rw-rw-r--. 1 euphoria euphoria 903 Aug 26 21:39 mylib.ex
-rw-rw-r--. 1 euphoria euphoria 1295 Aug 26 22:36 qsort.ex
[euphoria@localhost unix]$ eui -v
Euphoria Interpreter v4.1.0 development
64-bit Linux, Using System Memory
Revision Date: 2015-08-26 20:10:00, Id: 6338:c1c2c7afb749
[euphoria@localhost unix]$ eui qsort.ex
/usr/local/share/euphoria/include/std/dll.e:554 in function call_back()
Internal error: CallBack routine id patch failed: missing magic.
... called from /home/euphoria/dev/euphoria/demo/unix/qsort.ex:31
--> See ex.err
[euphoria@localhost unix]$ cat ex.err
/usr/local/share/euphoria/include/std/dll.e:554 in function call_back()
Internal error: CallBack routine id patch failed: missing magic.
id = 3
... called from /home/euphoria/dev/euphoria/demo/unix/qsort.ex:31
Public & Export & Global & Local Variables
/usr/local/share/euphoria/include/std/memconst.e:
DEP_really_works = 0
use_DEP = 1
FREE_RID = 2
kernel_dll = <no value>
memDLL_id = <no value>
VirtualAlloc_rid = <no value>
VirtualLock_rid = <no value>
VirtualUnlock_rid = <no value>
VirtualProtect_rid = <no value>
GetLastError_rid = <no value>
GetSystemInfo_rid = <no value>
/usr/local/share/euphoria/include/std/memory.e:
edges_only = <no value>
check_calls = 1
VirtualFree_rid = <no value>
/usr/local/share/euphoria/include/std/types.e:
Defined_Sets = {
{98'b',99'c',100'd',102'f',103'g',104'h',106'j',107'k',
108'l',109'm',110'n',112'p',113'q',114'r',115's',116't',118'v',119'w',120'x',
121'y',122'z',66'B',67'C',68'D',70'F',71'G',72'H',74'J',75'K',76'L',77'M',
78'N',80'P',81'Q',82'R',83'S',84'T',86'V',87'W',88'X',89'Y',90'Z'},
{97'a',101'e',105'i',111'o',117'u',65'A',69'E',73'I',
79'O',85'U'},
{
{48'0',57'9'},
{65'A',70'F'},
{97'a',102'f'}
},
{32' ',9,10,13,11,160},
{
{32' ',47'/'},
{58':',63'?'},
{91'[',96'`'},
{123'{',126'~'}
},
{
{32' ',126'~'}
},
{
{32' ',126'~'},
{32' ',32' '},
{9,9},
{10,10},
{13,13},
{8,8},
{7,7}
},
{
{97'a',122'z'}
},
{
{65'A',90'Z'}
},
{
{48'0',57'9'},
{97'a',122'z'},
{65'A',90'Z'}
},
{
{48'0',57'9'},
{97'a',122'z'},
{65'A',90'Z'},
{95'_',95'_'}
},
{
{97'a',122'z'},
{65'A',90'Z'}
},
{
{0,127}
},
{
{0,31},
{127,127}
},
{
{48'0',57'9'}
},
{
{33'!',126'~'}
},
{
{0,255}
},
{95'_'},
{1,0}
}
/usr/local/share/euphoria/include/std/machine.e:
FREE_ARRAY_RID = 1
page_size = 4096
/home/euphoria/dev/euphoria/demo/unix/qsort.ex:
libc = 140264072531968
qid = 3
nitems = <no value>
item_size = <no value>
qsort = <no value>
ncalls = 0
qaddr = <no value>
array = <no value>

