The thing is, Startup script runs before the session manager is shown. Verify by placing wd 'Hello' there. Try putting your kernel... line as the last line of profile.ijs (the one near j.exe).
----- Original Message ---- From: Claude Bélanger <[EMAIL PROTECTED]> To: General forum <[email protected]> Sent: Thursday, June 22, 2006 12:31:04 PM Subject: Re: [Jgeneral] Crash on % 0 1 2 3 Hi, I made a check by opening J and executing the test and got a crash. Next, I made a second check by reopening J. Then I used Edit|Configure|Startup|Open and copied the sentence «kernel32 ...» to the J screen, executed the sentence got the boxed zeros and no crash on the test. Please advise. ----- Original Message ----- From: "Eric Iverson" <[EMAIL PROTECTED]> To: "General forum" <[email protected]> Sent: Wednesday, June 21, 2006 7:46 PM Subject: Re: [Jgeneral] Crash on % 0 1 2 3 > Please check with edit configure to be sure you added the line correctly. > Output from running a script is not normally displayed so don't expect to > see the boxed 0s. > > ----- Original Message ----- > From: "Claude Bélanger" <[EMAIL PROTECTED]> > To: "General forum" <[email protected]> > Sent: Wednesday, June 21, 2006 7:38 PM > Subject: Re: [Jgeneral] Crash on % 0 1 2 3 > > >> Hello! >> >> I tried to Edit|Configure|Startup, got the message that it didn't exits, >> said yes to create it, saved the file and closed J, then restarted J. Got >> a clean screen (not even the two boxed zeros). Tried the test and >> obviously it didn't took effect because I got the same message. >> What did I do wrong? >> >> ----- Original Message ----- >> From: "Eric Iverson" <[EMAIL PROTECTED]> >> To: "General forum" <[email protected]> >> Sent: Wednesday, June 21, 2006 2:51 PM >> Subject: Re: [Jgeneral] Crash on % 0 1 2 3 >> >> >>> Glad it worked and happy birthday. >>> >>> Add that sentence to your startup script. >>> start J >>> Edit|Configure|Startup >>> press open to edit the startup.ijs script and add the required line >>> >>> Could you please do one more experiment for me before you start living >>> with the workaround. It would narrow down the area where the problem >>> occurs and might suggest a better solution. There are two chunks of code >>> that might be causing the problem on your machine. The 1st is the >>> general startup of the front end and the 2nd is the load of the profile >>> scripts. I would like you to start J without the startup scripts and try >>> your test. >>> >>> Start a Command Prompt window (DOS) (same as you did to test >>> jconsole.exe) >>> ...>\j601\j.exe -jprofile >>> this starts a barebones J without loading the profile >>> %0 1 2 3 >>> does this work or fail? >>> >>> You need to terminate this J session with the following sentence: >>> 2!:55[0 >>> >>> Bear in mind some of the comments Oleg made. J has run on many systems >>> and, other than the variation reported by Bill and known problems with >>> some dll calls, we dont' see this problem. There is something wrong with >>> your system in some deep dark corner. You can probably ignore it, but >>> don't forget it. >>> >>> If this problem were more widely reported we would dig much deeper into >>> finding a solution. >>> >>> ----- Original Message ----- >>> From: "Claude Bélanger" <[EMAIL PROTECTED]> >>> To: "general - J Software" <[email protected]> >>> Sent: Wednesday, June 21, 2006 1:06 PM >>> Subject: Re: [Jgeneral] Crash on % 0 1 2 3 >>> >>> >>>> Hi, >>>> >>>> It is 13:06, and ALL IS FINE UNDER THE SUN. >>>> >>>>>From what I tested it seems that I must execute that command everytime >>>>>I >>>> open J (win). I remember that there is a file where I should put that >>>> command. Could you tell me wich file. I am relearning at 64( today), >>>> nice birthday gift. >>>> >>>> Thanks to everyone who contributed. >>>> >>>> Claude Bélanger [EMAIL PROTECTED] >>>> >>>> ----- Original Message ----- >>>> From: "Eric Iverson" <[EMAIL PROTECTED]> >>>> To: "General forum" <[email protected]> >>>> Sent: Wednesday, June 21, 2006 11:25 AM >>>> Subject: Re: [Jgeneral] Crash on % 0 1 2 3 >>>> >>>> >>>>>A wild guess is that some action is damaging the floating point state. >>>>>Some >>>>>dll calls damage the state and require a reset in order for the J >>>>>Engine to >>>>>continue running properly. For this reason the % option was added to >>>>>the cd >>>>>mechanism. Please do the following test: >>>>> >>>>> start J >>>>> run sentence: >>>>> 'kernel32 CloseHandle % i i' 15!:0 [0 >>>>> the result is two boxed zeros >>>>> >>>>> now try your troubling sentence: >>>>> %0 1 2 3 >>>>> >>>>> >>>>> ---------------------------------------------------------------------- >>>>> For information about J forums see http://www.jsoftware.com/forums.htm >>>>> >>>> >>>> >>>> ---------------------------------------------------------------------- >>>> For information about J forums see http://www.jsoftware.com/forums.htm >>> >>> ---------------------------------------------------------------------- >>> For information about J forums see http://www.jsoftware.com/forums.htm >>> >> >> >> ---------------------------------------------------------------------- >> For information about J forums see http://www.jsoftware.com/forums.htm > > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm > ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
