From: SourceForge.net <no...@so...> - 2009-09-28 18:12:12
|
Bugs item #2869000, was opened at 2009-09-28 12:47 Message generated for change (Comment added) made by bigrixx You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=684730&aid=2869000&group_id=119701 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Interpreter Group: v4.0 >Status: Closed >Resolution: Invalid Priority: 5 Private: No Submitted By: Rony G. Flatscher (orexx) >Assigned to: Rick McGuire (bigrixx) Summary: Exception when using ArraySize() Initial Comment: I think I can supply code that will cause an exception when invoking ArraySize(). To get at that, follow the instructions at <https://sourceforge.net/tracker/?func=detail&atid=684730&aid=2866554&group_id=119701> to download the archive and unzip it. Before running the script "run_90_testgroup.cmd" get the package "BSF4Rexx_ArraySize_Exception.zip" from the same location and unzip it, and use the BSF4Rexx* files to replace those in the "MT_bug" subdirectory. Then follow the instructions to setup the environment and run either "run_90_testgroup.cmd" or enter "rexxj2.cmd infoBSF.rex one two three". ---------------------------------------------------------------------- >Comment By: Rick McGuire (bigrixx) Date: 2009-09-28 14:12 Message: This is not dying in ArraySize(), it is dying in the fprintf() routine because you are using a pattern position of %Zu on a numeric value. The returned value of "1" is being interpreted as a pointer to a a string value. ---------------------------------------------------------------------- Comment By: Rony G. Flatscher (orexx) Date: 2009-09-28 13:58 Message: Sorry, a typo, please get: get <http://wi.wu-wien.ac.at/rgf/tmp/ooRexx/de_bug/ArraySize_bug.zip> - unzip, "setEnvironment.cmd" and then - "run_to_bomb.cmd" ---------------------------------------------------------------------- Comment By: Rony G. Flatscher (orexx) Date: 2009-09-28 13:57 Message: Forgot: the line # where it bombs is now: 2344: fprintf(stderr, "\t---> ra~size=[%Zu]\n",rtc->ArraySize(ra));fflush(stderr); ---------------------------------------------------------------------- Comment By: Rony G. Flatscher (orexx) Date: 2009-09-28 13:55 Message: O.K. This is the complete set of new directions: - get <http://wi.wu-wien.ac.at/rgf/tmp/ooRexx/de_bug/ArraySize_fbug.zip> - unzip, change into the directory "ArraySize_bug", run - setEnvironement.cmd - run_to_bomb.cmd ---------------------------------------------------------------------- Comment By: Rony G. Flatscher (orexx) Date: 2009-09-28 13:25 Message: Oops, here too! :( Obviously, I have mixed up something in between. Will take some time to bail out my changes, in the worst case I have to re-set to this morning's stage. In any case, I will come up with a new, single arhcive, but please be patient, this mess will cost me some time! :-(( ---------------------------------------------------------------------- Comment By: Rick McGuire (bigrixx) Date: 2009-09-28 13:21 Message: I get the following error trying to to execute run_90_testgroup.cmd: test_MultiThreading_via_Java_threads.testGroup 336 *-* call bsf "bsfPrefixReturnValue", .true 28 *-* ::requires "BSF.cls" Error 40 running C:\ORexxDev\bugs\2869000\MT_bug\BSF.CLS line 336: Incorrect ca ll to routine Error 40.900: BSF4Rexx/routine/BSF(), error 1: no JVM (Java Virtual Machine) av ailable Please provide a SINGLE archive with all materials necessary to recreate this. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=684730&aid=2869000&group_id=119701 |