Hello,
-- I have to migrate our application from VAST 8.6.3 to VAST 9.0. Our app works fine with VAST in 32-bit mode. But in the 64-bit environment we cannot load the Testmentor of Silver Mark. It fails when trying to load methods with hidden source code. An error 356 appears: Error: 356 Cannot complete the load because the source is missing for StmGraphicsRepository class>>#scriptStepImage and it must be compiled. Is there a solution to avoid this error? Kind regards Klaus You received this message because you are subscribed to the Google Groups "VA Smalltalk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. To post to this group, send email to [hidden email]. Visit this group at https://groups.google.com/group/va-smalltalk. For more options, visit https://groups.google.com/d/optout. |
Hello Klaus -
The bytecodes used in 64-bit are different from the 32-bit bytecodes (to account for the larger memory addresses). This means that all methods must be recompiled for 64-bit image. The best solution is to ask the SilverMark guys for the source code. They (or you) may also need to make any necessary adaptations for 64-bit. A second possible solution is to load TestMentor in a 32-bit image and then process the resulting 'fully loaded' image with the off-line 32- to 64-bit image converter. This image converter does bytecode conversion rather than source compilation. However, since the TestMentor code has not been adapted for 64-bit, issues can arise if the TestMentor code makes DLL calls or manipulates memory addresses or .... If you are lucky none of these potential problems occur in the methods with hidden source. You should be able to find more detailed info in our Migration Guide. John -- You received this message because you are subscribed to the Google Groups "VA Smalltalk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. To post to this group, send email to [hidden email]. Visit this group at https://groups.google.com/group/va-smalltalk. For more options, visit https://groups.google.com/d/optout. |
In reply to this post by Klaus Breker-2
Hello John,
-- thank you for your informations. But I still have some questions: 1. Does Silver Mark exists. Who owns actual the Testmentor? Have you the contact information? 2. I tried the image-converter tool convic.exe, but I had no success. With the example I found in the Q&A I trued the following command to convert a 32-bit VAST 9.0 image into a 64-bit VAST 9.0 image. convic.exe –icRoot=C:\vast90-32\icsrun –ic=C:\vast90-32\abt.icx –icOutPath=C:\vast90-64 I didn't found any documentation for this tool. c:\vast90-32 is the VAST 9.0 32-bit directory and c:\vast90-64 ist the 64-bit directory Kind regards Klaus Am Donnerstag, 9. November 2017 16:54:33 UTC+1 schrieb Klaus Breker:
You received this message because you are subscribed to the Google Groups "VA Smalltalk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. To post to this group, send email to [hidden email]. Visit this group at https://groups.google.com/group/va-smalltalk. For more options, visit https://groups.google.com/d/optout. |
Administrator
|
but I had no success. I can appreciate your frustration. Did convic.exe produce any output at all? Console messages in your prompt window? New files in either directory? (It is always better to describe what it did rather than what it didn't.) On Friday, November 10, 2017 at 1:12:57 AM UTC-8, Klaus Breker wrote:
You received this message because you are subscribed to the Google Groups "VA Smalltalk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. To post to this group, send email to [hidden email]. Visit this group at https://groups.google.com/group/va-smalltalk. For more options, visit https://groups.google.com/d/optout. |
In reply to this post by Klaus Breker-2
Hi Klaus,
Are those path arguments in your example quoted on the command line? This may be the issue. -- You received this message because you are subscribed to the Google Groups "VA Smalltalk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. To post to this group, send email to [hidden email]. Visit this group at https://groups.google.com/group/va-smalltalk. For more options, visit https://groups.google.com/d/optout. |
In reply to this post by Klaus Breker-2
Hi all,
-- there were no files changed or created in the VAST directories and the output in a command line window: Without quotes: C:\vast90>convic.exe –icRoot=C:\vast90-32\icsrun\ –ic=C:\vast90-32\abt.icx –icOutPath=C:\vast90\ VA Smalltalk, Version 9.0 Timestamp: 4.0, 09/07/17 (100) (C) Copyright Instantiations 1994, 2017. All rights reserved. (C) Copyright International Business Machines Corp. 1994, 2006. All rights reserved. no components for converting. With quotes: C:\vast90>convic.exe –icRoot="C:\vast90-32\icsrun" –ic="C:\vast90-32\abt.icx" –icOutPath="C:\vast90" VA Smalltalk, Version 9.0 Timestamp: 4.0, 09/07/17 (100) (C) Copyright Instantiations 1994, 2017. All rights reserved. (C) Copyright International Business Machines Corp. 1994, 2006. All rights reserved. no components for converting. Kind regards Klaus You received this message because you are subscribed to the Google Groups "VA Smalltalk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. To post to this group, send email to [hidden email]. Visit this group at https://groups.google.com/group/va-smalltalk. For more options, visit https://groups.google.com/d/optout. |
In reply to this post by Klaus Breker-2
Klaus - 1. SilverMark seems to have gone dark. The last www.silvermark.com pages on the WaybackMachine are from 2015. Mark Foulkrod and Michael Silverstein, the owners of SilverMark, are still active on LinkedIn, so you may be able to find help there, but I'm not overly hopeful. 2. Here is my run of convic. Notice that there is no backslash after icsrun - I get your results if there is a backslash: c:\vast90>convic -icRoot="C:\vast90-32\icsrun" -ic="C:\vast90-32\newimage\abt.icx" -icOutPath="C:\vast90" VA Smalltalk, Version 9.0 Timestamp: 4.0, 09/07/17 (100) (C) Copyright Instantiations 1994, 2017. All rights reserved. (C) Copyright International Business Machines Corp. 1994, 2006. All rights reserved. processing abt.icx... {Verify image: Segment count 270, memory size 96353408 bytes } abt.icx loaded... saving converted IC to C:\vast90\abt.icx... saved. John On Friday, November 10, 2017 at 4:12:57 AM UTC-5, Klaus Breker wrote:
You received this message because you are subscribed to the Google Groups "VA Smalltalk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. To post to this group, send email to [hidden email]. Visit this group at https://groups.google.com/group/va-smalltalk. For more options, visit https://groups.google.com/d/optout. |
John,
-- thanks for your reply and your eyes. I got it. I've got 3 different images out of our loaded 32-bit-image. But this images don't start with error message: "Exit due to error: 37 - Image file is not an image." Hmmm.. Klaus Am Montag, 13. November 2017 22:41:52 UTC+1 schrieb John O'Keefe:
You received this message because you are subscribed to the Google Groups "VA Smalltalk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. To post to this group, send email to [hidden email]. Visit this group at https://groups.google.com/group/va-smalltalk. For more options, visit https://groups.google.com/d/optout. |
Hello Klaus,
-- The converted 64-bit images are being launched with an ini that specifies 64-bit ICs? IC_ROOT=C:\Path\To\64Bit\icsrun A 64-bit image that is launched with an ini that still references 32-bit ICs will produce the error message you showed. -- Seth On Tuesday, November 14, 2017 at 8:03:32 AM UTC-5, Klaus Breker wrote:
You received this message because you are subscribed to the Google Groups "VA Smalltalk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. To post to this group, send email to [hidden email]. Visit this group at https://groups.google.com/group/va-smalltalk. For more options, visit https://groups.google.com/d/optout. |
Hello Seth,
-- I understand. Then I have to take for converting the command line option -ini=c:\vast90-64\64-bit-ini-file.ini to take the references to the 64-bit ic with new image. Is there any documentation for convic.exe? Thanks and regards Klaus Am Mittwoch, 15. November 2017 20:51:44 UTC+1 schrieb Seth Berman:
You received this message because you are subscribed to the Google Groups "VA Smalltalk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. To post to this group, send email to [hidden email]. Visit this group at https://groups.google.com/group/va-smalltalk. For more options, visit https://groups.google.com/d/optout. |
Hello Klaus,
-- The documentation for the moment is in the FAQ - 64-bit Support The 2 examples there (conversion of ICs and conversion of an image) are the only 'public' features this tool provides. I have created a dev case to relax the path specification parser to read trailing '\' or '/'. I have also put in a case to have a "-help" command line arg that will give a short description of the args and usage. I think you mentioned you saw this FAQ article...please tell me what other kinds of information you would you like to see and I will get it added. -- Seth On Thursday, November 16, 2017 at 2:21:39 AM UTC-5, Klaus Breker wrote:
You received this message because you are subscribed to the Google Groups "VA Smalltalk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. To post to this group, send email to [hidden email]. Visit this group at https://groups.google.com/group/va-smalltalk. For more options, visit https://groups.google.com/d/optout. |
Hello Seth,
-- in a hex editor I think, that I saw some other command line options. How do they work? A -help option with short explanation of all options would be helpful. Also more examples, who shows possible dependencies of the options. Examples which worked. I want to convert a development image, in which I loaded our application based on ibmst.icx. The source image is a VAST 9.0 32-bit icx. No preloaded VA-Assist and VisualAge apps. I checked the abt.ini file in my target directory. All directories are correct. I tried to convert on two different machines.. Nothing. I converted an preloaded image (abt.icx) as it come from Instantiations.. I tried with our app out of VAST 8.6.3.. Always error 37 appears. Have a nice weekend and kind regards Klaus Am Donnerstag, 16. November 2017 17:45:37 UTC+1 schrieb Seth Berman:
You received this message because you are subscribed to the Google Groups "VA Smalltalk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. To post to this group, send email to [hidden email]. Visit this group at https://groups.google.com/group/va-smalltalk. For more options, visit https://groups.google.com/d/optout. |
Hello Klaus,
-- There are internal options intended for use by the vm team, which is what you may be seeing in the hex editor. Some of those may require special builds in order to use them...or some other constraint. The public options...the ones that will be listed in -help we will develop are the ones you see mentioned in the FAQ. I just tried a conversion of a 32-bit 9.0 ibmst.icx image myself using convic. I believe the issue to be that the converted image must also use converted ICs (also using convic). This is how I had historically used this tool to build the 64-bit Beta releases. First I convert all the 32-bit ICs to 64-bit ICs Options: -icInPath <-- [Input] Directory that contains the 32-bit ICs -icOutPath <-- [Output] Directory that will contain the converted 64-bit ICs Command: >convice.exe -icInPath="C:\Program Files (x86)\Instantiations\VA Smalltalk\9.0x86\icsrun" -icOutPath="C:\Users\sberman\Desktop\icsrun64" Then convert the icx, which takes as input the 32-bit icx to convert AND the 32-bit ICs associated with the icx. The resulting 64-bit icx will be output to the directory specified. Options: -icRoot <-- [Input] Directory that contains the 32-bit ICs -ic <-- [Input] Path of the icx file -icOutPath <-- [Output] Directory that will contain the converted 64-bit icx Command: >convic.exe -icRoot="C:\Program Files (x86)\Instantiations\VA Smalltalk\9.0x86\icsrun" -ic="C:\Program Files (x86)\Instantiations\VA Smalltalk\9.0x86\newimage\ibmst.icx" -icOutPath="C:\Users\sberman\Desktop" The converted 64-bit icx image should run with the 64-bit converted ICs specified as IC_ROOT Hope this solves your issue. Have a great weekend, as well. Let me know how things go. -- Seth On Friday, November 17, 2017 at 6:07:34 AM UTC-5, Klaus Breker wrote:
You received this message because you are subscribed to the Google Groups "VA Smalltalk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. To post to this group, send email to [hidden email]. Visit this group at https://groups.google.com/group/va-smalltalk. For more options, visit https://groups.google.com/d/optout. |
Hello Seth,
-- it works :-) First convert the 32-bit ics, Then convert the full loaded development-icx. Put the directory's name of the converted ics in the 64-bit ini-file. Everything is running fine. Thank a lot Klaus Am Freitag, 17. November 2017 16:21:43 UTC+1 schrieb Seth Berman:
You received this message because you are subscribed to the Google Groups "VA Smalltalk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. To post to this group, send email to [hidden email]. Visit this group at https://groups.google.com/group/va-smalltalk. For more options, visit https://groups.google.com/d/optout. |
Hi Klaus,
Glad to hear...thanks for verifying. I’ll work this experience report into the documentation for next release. Kind Regards, — Seth -- You received this message because you are subscribed to the Google Groups "VA Smalltalk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. To post to this group, send email to [hidden email]. Visit this group at https://groups.google.com/group/va-smalltalk. For more options, visit https://groups.google.com/d/optout. |
Free forum by Nabble | Edit this page |