Providing support for all E. Crane Computing products, including POWERGEN, PBSERVICE, HARPB, VERSIONEDIT, PBLRESCUE, and PBLEXPLORER.
You are not logged in.
With PowerGen 6.5.0.12 for PB 10.5, we have checked the box in build options "Optimize PBL". When we check modified PBLs out of our source control and build in this manner, certain areas of our application (notably, opening new windows) crash with Windows access violations.
Further, a second build, with the same set of pbls used in the first, buggy build, does not exhibit the same problems, even with the Optimize PBL feature enabled.
Why does this occur? What does "optimize pbl" do, and is it advisable to use it?
Thank you.
Steven Bras
Tessitura Network, Inc.
The Optimize function compacts the PBLs to use the least amount of disk space. It acts just like the PowerBuilder optimize function in this regard.
There are no open problem reports for Optimize and it is used heavily. Why do you suspect it, rather than some other aspect of your build?
Regards,
Phil
The Optimize PBL flag may have been a red herring.
Your response made me think of one test I should have done before posting; seems that, regardless of that flag, the first build I make from our source PBLs exhibits the crashing. Subsquent builds using the same set of PBLs built the first time do not.
Is there anything I should look for that might cause such behavior? Obviously, PowerGen is "fixing" something the second time around... or so it seems.
And last, a build using PB 10.5.1 and the original PBLs from source control does not exhibit the crashing at all.
Thanks for any insights you can give.
The need for a second build is rare, but not unprecedented. The need seems to be related to the state of the PBLs at the start of the build and what level of changes have been made to individual PBLs between builds.
You might try doing a full Bootstrap Import as part of your process. That will ensure that the PBLs are in a "known" condition.
Regards,
Phil
Forgive my ignorance; what is a "full bootstrap import"? Is that a PowerGen term, or a PowerBuilder one?
Thanks for your continued responses.
The Bootstrap Import is a process for reconstructing PBLs from source objects only. It's a good way to assure yourself that a PBL is in good condition before a build. We introduced it in the days of PB6.
Regards,
Phil