1. machine exception in file.e
The program ran for 3 days, then crashed with the ex.err on
http://pastebin.ca/1017034
Platform is winxp-sp2. I opened a dox box on that dir,and did a listing >
dir.txt, which is 3,634,889 bytes long, my average filename len seems to be 44
chars. Dir size is 254,305,792 bytes, 43,989 files, 0 folders. The last filenames
written look fine, i can open the dir in Textpad, get a listing, and open the
files.
So what happened?
Kat
2. Re: machine exception in file.e
Kat wrote:
>
>
> The program ran for 3 days, then crashed with the ex.err on
>
> <a href="http://pastebin.ca/1017034">http://pastebin.ca/1017034</a>
>
> Platform is winxp-sp2. I opened a dox box on that dir,and did a listing >
> dir.txt, which is 3,634,889 bytes long, my average filename len seems to be
> 44 chars. Dir size is 254,305,792 bytes, 43,989 files, 0 folders. The last
> filenames
> written look fine, i can open the dir in Textpad, get a listing, and open the
> files.
>
> So what happened?
>
> Kat
Hmm. No one else has answered and I'm not sure how much I can help with the
problem without understanding the nature of the machine exception better --
whether it was an access violation or what.
My only guess is the interpreter is somehow running out of memory or swap or
something, or somehow the interpreter got hold of a bad address and either tried
to access it or free it.
Which version of Euphoria are you using? Which interpreter are you running --
ex.exe, exw.exe, or exwc.exe?
--
A complex system that works is invariably found to have evolved from a simple
system that works.
--John Gall's 15th law of Systemantics.
"Premature optimization is the root of all evil in programming."
--C.A.R. Hoare
j.
3. Re: machine exception in file.e
Jason Gade wrote:
>
> Kat wrote:
> >
> >
> > The program ran for 3 days, then crashed with the ex.err on
> >
> > <a href="http://pastebin.ca/1017034">http://pastebin.ca/1017034</a>
> >
> > Platform is winxp-sp2. I opened a dox box on that dir,and did a listing >
> > dir.txt, which is 3,634,889 bytes long, my average filename len seems to be
> > 44 chars. Dir size is 254,305,792 bytes, 43,989 files, 0 folders. The last
> > filenames
> > written look fine, i can open the dir in Textpad, get a listing, and open
> > the
> > files.
> >
> > So what happened?
> >
> > Kat
>
> Hmm. No one else has answered and I'm not sure how much I can help with the
> problem without understanding the nature of the machine exception better --
> whether it was an access violation or what.
>
> My only guess is the interpreter is somehow running out of memory or swap or
> something, or somehow the interpreter got hold of a bad address and either
> tried
> to access it or free it.
>
> Which version of Euphoria are you using? Which interpreter are you running --
> ex.exe, exw.exe, or exwc.exe?
exw.exe v3.1
Kat
4. Re: machine exception in file.e
Did you get a pop-up window from Windows saying that an error has occurred and
that exw.exe would be closed and then it gives you a (hex-value) stack trace?
Or did you just get an ex.err file?
--
A complex system that works is invariably found to have evolved from a simple
system that works.
--John Gall's 15th law of Systemantics.
"Premature optimization is the root of all evil in programming."
--C.A.R. Hoare
j.
5. Re: machine exception in file.e
Originally I thought it had to do with allocating space for name or for the
return value of machine_func(), but maybe something within machine_func(M_DIR)
itself?
I don't have the source code handy right now.
--
A complex system that works is invariably found to have evolved from a simple
system that works.
--John Gall's 15th law of Systemantics.
"Premature optimization is the root of all evil in programming."
--C.A.R. Hoare
j.
6. Re: machine exception in file.e
Kat wrote:
>
>
> The program ran for 3 days, then crashed with the ex.err on
>
> <a href="http://pastebin.ca/1017034">http://pastebin.ca/1017034</a>
>
> Platform is winxp-sp2. I opened a dox box on that dir,and did a listing >
> dir.txt, which is 3,634,889 bytes long, my average filename len seems to be
> 44 chars. Dir size is 254,305,792 bytes, 43,989 files, 0 folders. The last
> filenames
> written look fine, i can open the dir in Textpad, get a listing, and open the
> files.
>
> So what happened?
>
Kat:
Are you running FAT32 or NTFS ??
Remember FAT32 has max size limits and you may have exceeded
the limit and not realize that your hidden SWAP file has to be taken
into consideration.
Bernie
My files in archive:
WMOTOR, XMOTOR, W32ENGIN, MIXEDLIB, EU_ENGIN, WIN32ERU, WIN32API
Can be downloaded here:
http://www.rapideuphoria.com/cgi-bin/asearch.exu?dos=on&win=on&lnx=on&gen=on&keywords=bernie+ryan
7. Re: machine exception in file.e
- Posted by Kat <KAT12 at coosa?s.ne?>
May 13, 2008
-
Last edited May 14, 2008
Jason Gade wrote:
>
> Did you get a pop-up window from Windows saying that an error has occurred and
> that exw.exe would be closed and then it gives you a (hex-value) stack trace?
>
> Or did you just get an ex.err file?
L:\wikipedia\euphoria\file.e:100 in function dir()
A machine-level exception occurred during execution of this statement
... called from L:\wikipedia\euphoria\splitwiki2.ex:21 in procedure create_direc
tory()
... called from L:\wikipedia\euphoria\splitwiki2.ex:161 in procedure split()
... called from L:\wikipedia\euphoria\splitwiki2.ex:218
--> See ex.err
Press Enter...
8. Re: machine exception in file.e
- Posted by Jason Gade <jaygade at ?a?oo.com>
May 13, 2008
-
Last edited May 14, 2008
Heh. Sorry, I meant other than that...
Like this:
http://members.aol.com/shobansen3/illegal_operation.gif
(That's the quickest one I could find -- I think the XP one is a little
different).
--
A complex system that works is invariably found to have evolved from a simple
system that works.
--John Gall's 15th law of Systemantics.
"Premature optimization is the root of all evil in programming."
--C.A.R. Hoare
j.
9. Re: machine exception in file.e
- Posted by Kat <KAT12 at coo?ahs.net>
May 13, 2008
-
Last edited May 14, 2008
Jason Gade wrote:
>
> Heh. Sorry, I meant other than that...
>
> Like this:
> <a
> href="http://members.aol.com/shobansen3/illegal_operation.gif">http://members.aol.com/shobansen3/illegal_operation.gif</a>
No, i was putsing to a dos box, so that's where the error msg went, like i
copy/pasted in last post.
Kat
10. Re: machine exception in file.e
Kat wrote:
>
>
> The program ran for 3 days, then crashed with the ex.err on
>
> <a href="http://pastebin.ca/1017034">http://pastebin.ca/1017034</a>
>
> Platform is winxp-sp2. I opened a dox box on that dir,and did a listing >
> dir.txt, which is 3,634,889 bytes long, my average filename len seems to be
> 44 chars. Dir size is 254,305,792 bytes, 43,989 files, 0 folders. The last
> filenames
> written look fine, i can open the dir in Textpad, get a listing, and open the
> files.
>
> So what happened?
Memory going bad? Power supply? I'd suspect hardware...
Matt
11. Re: machine exception in file.e
Matt Lewis wrote:
>
> Kat wrote:
> >
> >
> > The program ran for 3 days, then crashed with the ex.err on
> >
> > <a href="http://pastebin.ca/1017034">http://pastebin.ca/1017034</a>
> >
> > Platform is winxp-sp2. I opened a dox box on that dir,and did a listing >
> > dir.txt, which is 3,634,889 bytes long, my average filename len seems to be
> > 44 chars. Dir size is 254,305,792 bytes, 43,989 files, 0 folders. The last
> > filenames
> > written look fine, i can open the dir in Textpad, get a listing, and open
> > the
> > files.
> >
> > So what happened?
>
> Memory going bad? Power supply? I'd suspect hardware...
About what? Oh....
I don't know. I added a trace:
junk = dir(directory)
if atom(junk) then
trace(1)
so i could see when it happens, but it's all been legit so far.
It was gigabytes way into the 15gig file, and since Winxp and *nixes have a
48bit series of extensions to the file operations Eu uses, praps the blockbuster
v4.0 could offer these as fall thrus if the new conditional code detects the OS
has them?
http://msdn.microsoft.com/en-us/library/aa365542(VS.85).aspx
http://msdn.microsoft.com/en-us/library/aa364937(VS.85).aspx
http://msdn.microsoft.com/en-us/library/aa365748(VS.85).aspx
etc.
Kat