Dear Wolfgang,

I just tried installing XEmacs-21.4.21, but Oz again failed to run,
this time returning a slightly different error message in XEmacs:

>Process Oz Emulator trace trap

It's strange that both ozc and ozengine will run, but that Oz will
fail to run on both GNU Emacs 22.3.1 and XEmacs 21.4.21.

It seems that my only remaining option is to try using Mozart/Oz
1.3.2.

Any other suggestions?

-- Benjamin L. Russell

On Thu, 23 Apr 2009 13:56:24 +0900, Benjamin L. Russell
<[email protected]> wrote:

>Dear Wolfgang,
>
>>1. Did you run Oz as an Administrator or as a limited user?
>>"Exited abnormally with code 5" indicates that Windows denied access to some 
>>resource and this made the emulator crash.
>>Normally, it should not be necessary to run Oz as an Administrator, but it is 
>>possible that some security setting or firewall software is interfering.
>>Also look at Control Panel->Administrative Tools->Event Viewer for any hints 
>>about the problem.
>
>I am running Oz as a user with administrative privileges.
>
>It is unlikely that the Windows Firewall is interfering, since the
>same error occurs even if the firewall is turned off.  However, it is
>possible that the anti-virus software or some other security software
>may still be interfering, although this is unlikely, since Oz was
>working on August 7, 2008 (when I saved my last session), on this same
>computer.
>
>I was unable to find any irregularities using Event Viewer.
>
>>2. Your diagnostic run of "ozengine.exe" actually shows normal behaviour.
>>So maybe it's just the Emacs OPI which does not work at this point while the 
>>compiler and emulator might work normally.
>>Try to compile a minimal application like
>>
>>functor
>>import
>>   Application
>>   System
>>define
>>   {System.showInfo "Hello, world!"}
>>   {Application.exit 0}
>>end
>>
>>
>>with "ozc -c HelloWorld.oz" and then execute it with "ozengine 
>>HelloWorld.ozf".
>
>Okay, both commands ran without errors; _viz._:
>
>>benja...@200706-05 /cygdrive/c/Documents and Settings/Benjamin/My 
>>Documents/Programming Practice/Oz/Functions
>>$ ozc -c HelloWorld.oz
>>
>>benja...@200706-05 /cygdrive/c/Documents and Settings/Benjamin/My 
>>Documents/Programming Practice/Oz/Functions
>>$ ls -l
>>total 5
>>-rwx------+ 1 Benjamin ???? 289 Jul 11  2008 Factorial-case.oz
>>-rwx------+ 1 Benjamin ???? 248 Mar 26  2008 Factorial.oz
>>-rwx------+ 1 Benjamin ???? 314 Mar 26  2008 Fibonacci.oz
>>-rwx------+ 1 Benjamin ???? 118 Apr 23 13:34 HelloWorld.oz
>>-rwx------+ 1 Benjamin ???? 378 Apr 23 13:35 HelloWorld.ozf
>>
>>benja...@200706-05 /cygdrive/c/Documents and Settings/Benjamin/My 
>>Documents/Programming Practice/Oz/Functions
>>$ ozengine HelloWorld.ozf
>>Hello, world!
>
>Apparently, it's a problem with the Emacs OPI; however, even
>installing the old GNU Emacs 20.7 available at the "Mozart 1.4.0 for
>Windows" download site (see under the subheading "Additional Packages"
>at
>http://www.mozart-oz.org/download/view.cgi?action=windows&version=1.4.0)
>and running addpm.exe to register that product did not solve this
>problem; neither did starting up with a clean .emacs file.
>
>Oz used to work under GNU Emacs 22.1; when I became busy and didn't
>use Oz for about eight months, upgraded to GNU Emacs 22.3, and tried
>to use Oz again, it somehow stopped working, but even downgrading back
>to 22.1 (and running addpm.exe to reset the registry settings) did not
>restore Oz in Emacs.
>
>Perhaps I should try XEmacs?  According to the page "Getting a Unix
>version of Emacs" (see
>http://www.mozart-oz.org/documentation/install/node13.html#appendix.emacsunix):
>
>>Oz also runs with XEmacs version 19.14 or higher, which is available from 
>>http://www.xemacs.org
>
>At this point, it seems that I have two alternatives:
>
>1. Try using Oz 1.4.0 with XEmacs 19.14 or higher.
>2. Try using Oz 1.3.2.
>
>It seems that option 2 is more likely to work; however, since I am
>already used to Oz 1.4.0, I'd rather stick with that version if
>possible.
>
>Therefore, I'll try XEmacs 19.14 or higher and see if that will work
>(unless you have any other ideas for getting Oz to work with GNU
>Emacs; in that case, please let me know).
>
>-- Benjamin L. Russell
>
>On Wed, 22 Apr 2009 15:48:53 +0200, "Wolfgang Meyer"
><[email protected]> wrote:
>
>>Dear Benjamin,
>>
>>as a fellow Windows user, I will try to give you some ideas:
>>
>>1. Did you run Oz as an Administrator or as a limited user?
>>"Exited abnormally with code 5" indicates that Windows denied access to some 
>>resource and this made the emulator crash.
>>Normally, it should not be necessary to run Oz as an Administrator, but it is 
>>possible that some security setting or firewall software is interfering.
>>Also look at Control Panel->Administrative Tools->Event Viewer for any hints 
>>about the problem.
>>
>>2. Your diagnostic run of "ozengine.exe" actually shows normal behaviour.
>>So maybe it's just the Emacs OPI which does not work at this point while the 
>>compiler and emulator might work normally.
>>Try to compile a minimal application like
>>
>>functor
>>import
>>   Application
>>   System
>>define
>>   {System.showInfo "Hello, world!"}
>>   {Application.exit 0}
>>end
>>
>>
>>with "ozc -c HelloWorld.oz" and then execute it with "ozengine 
>>HelloWorld.ozf".
>>
>>Cheers,
>>  Wolfgang
>>
>>
>>Benjamin L. Russell wrote:
>>> ...
>>> That sounds great; until then, however, because of my previously
>>> posted Mozart/Oz startup bug, "Process Oz Emulator exited abnormally
>>> with code 5," regarding which nobody has posted a follow-up yet, I'm
>>> pretty much dead in the water, with no way of even starting up
>>> Mozart/Oz 1.4.0.
>>> 
>>> Is there a possibility that the 1.4.1 release may address this
>>> mysterious bug?  I tried uninstalling/reinstalling Mozart/Oz,
>>> downgrading to a lower verson of GNU Emacs, removing my .emacs file,
>>> and posting bug reports here and on the official bug report site (see
>>> http://gforge.info.ucl.ac.be/tracker/index.php?func=detail&aid=203&group_id=17&atid=149),
>>> but even searching on Google does not reveal a solution, and nobody
>>> seems to know what to do; similar previous reports of this bug seem to
>>> have been unresolved.  I'm eager to resume reading CTM, but it's
>>> difficult to do the exercises therein without being able to run Oz.
>>> 
>>> -- Benjamin L. Russell
>>> -- 
>>> Benjamin L. Russell  /   DekuDekuplex at Yahoo dot com
>>> http://dekudekuplex.wordpress.com/
>>> Translator/Interpreter / Mobile:  +011 81 80-3603-6725
>>> "Furuike ya, kawazu tobikomu mizu no oto." 
>>> -- Matsuo Basho^ 
>>> 
>>> _________________________________________________________________________________
>>> mozart-users mailing list                              
>>> [email protected]
>>> http://www.mozart-oz.org/mailman/listinfo/mozart-users
-- 
Benjamin L. Russell  /   DekuDekuplex at Yahoo dot com
http://dekudekuplex.wordpress.com/
Translator/Interpreter / Mobile:  +011 81 80-3603-6725
"Furuike ya, kawazu tobikomu mizu no oto." 
-- Matsuo Basho^ 

_________________________________________________________________________________
mozart-users mailing list                               
[email protected]
http://www.mozart-oz.org/mailman/listinfo/mozart-users

Reply via email to