Skip to search.
win32forth

Group Information

  • Members: 398
  • Category: Forth
  • Founded: Oct 11, 2002
  • Language: English
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Hear how Yahoo! Groups has changed the lives of others. Take me there.

Messages

  Messages Help
Advanced
ACCESS_VIOLATION in Mind.F AI   Message List  
Reply Message #12425 of 15737 |
Re: [win32forth] Re: ACCESS_VIOLATION in Mind.F AI

AT Murray wrote:
[...]
> Frank J. Russo (FJR) has granted exciting new capabilities
> to his AI Mind in Win32Forth, especially in the area of
> communications across the Web.
>
> My role in the Forth AI collaboration is to make sure
> that these programs can actually think logically and
> not produce bad output based on spurious associations.
> Therefore I feel that I need to keep developing the
> original Mind.Forth as the "test lab" for the AI parts.
>
> Meanwhile, on Fri.6.APR.2007 I completely rewrote
> http://mind.sourceforge.net/forth.html to track the
> State of the Art in Forth AI and to present a
> To Do List of things for Forth AI coders to work on.
>
> Will the gamble pay off? Will any Forth coders take
> up the challenge of participating in creating Forth AI?
> Only time will tell.

OK downloaded your Mind version and looked at it.
There is no reason to use an old version of Win32Forth.
It will also go wrong when you use the newest Win32Forth.

Just start alife and press ENTER

Then things are goning wrong in nounAct.

Here is the output from the debugger:

code IF --> empty
code I --> [1] 191
code lit 0x4 --> [2] 191 4
does PSI{ --> [1] 4460352
code @ --> [1] 5
code lit 0x5 --> [2] 5 5
code = --> [1] -1
code IF --> empty
code lit 0x28 --> [1] 40 \ Here you put 40 on the stack
code - --> empty \ Then you made a subtraction without a second
parameter on so the stack is EMPTY!
code I --> [1] 191
const 1 --> [2] 191 1
does PSI{ --> [1] 4448064
code +! --> \ As a result +! gets an adres and no
parameter. So you get your error

In your source:

\ 3apr2007 If the active concept is not the selection-winner...
I 0 psi{ @ psi @ = NOT IF \ If concept "psi" is not found...
I 4 psi{ @ 5 = IF \ If the concept is an also-ran noun
40 - I 1 psi{ +! \ 3apr2007 Damp non-winning also-rans. <<< Here it
goes wrong
I 1 psi{ @ < 0 IF \ 3apr2007 If psi1 is below zero
0 I 1 psi{ ! \ If activation is below zero.
THEN \ 3apr2007 End of test for subzero activation
THEN \ 3apr2007 End of test to detect also-ran nouns.
THEN \ 3apr2007 End of test for non-psi concepts.

The main question is: What must be the number or parameter where 40 must be
subtraced from.

Jos

==
4ePost: 2,546 bytes in mail. Elapsed time to buffer: .000112 sec.



Mon Apr 9, 2007 1:03 pm

josven2001
Offline Offline
Send Email Send Email

Message #12425 of 15737 |
Expand Messages Author Sort by Date

The http://mind.sourceforge.net/mind4th.html AI Mind for robots is getting ACCESS_VIOLATION error messages. ...
AT Murray
mentifex Offline Send Email
Apr 8, 2007
2:02 pm

... Please post up; 1. the version of Win32Forth 2. any mini-dump error messages associated with it (the access violation message does not generally appear...
Alex McDonald
alextangent Offline Send Email
Apr 8, 2007
4:31 pm

... W32FOR42_671.zip -- last release by Tom Zimmer. ... **** report #8 (after going from t down to 64 in nounAct): EGO? Robot: Human: Robot: EXCEPTION:...
AT Murray
mentifex Offline Send Email
Apr 9, 2007
12:50 am

I am a bit puzzled. On Comp.Lang.Forth was written: From: mentifex@... Date: 31 Mar 2007 Mind.Forth artificial intelligence in Win32Forth is being updated...
Jos van de Ven
josven2001 Offline Send Email
Apr 9, 2007
8:58 am

... [...] http://aimind-i.com and the original Mind.Forth at http://mind.sourceforge.net/mind4th.html have evolved into different programs. Frank J. Russo...
AT Murray
mentifex Offline Send Email
Apr 9, 2007
10:40 am

... Meanwhile the problem will remain unfixed unless you post up the diagnostic information. -- Regards Alex McDonald...
Alex McDonald
alextangent Offline Send Email
Apr 9, 2007
3:59 pm

... [...] ... Thanks to Jos van de Ven upthread, the ACCESS_VIOLATION problem has been fixed and the latest code is now at ...
AT Murray
mentifex Offline Send Email
Apr 9, 2007
8:33 pm

AT Murray wrote: [...] ... OK downloaded your Mind version and looked at it. There is no reason to use an old version of Win32Forth. It will also go wrong when...
Jos van de Ven
josven2001 Offline Send Email
Apr 9, 2007
1:40 pm

... It was not an old version when I started using it. :-) ... without a second parameter on so the stack is EMPTY! ... and no parameter. So you get your error...
AT Murray
mentifex Offline Send Email
Apr 9, 2007
2:44 pm
Advanced

Copyright © 2010 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines NEW - Help