1. Peter Thiem
  2. PowerBuilder
  3. Tuesday, 8 March 2022 22:56 PM UTC

Hi PowerBuilder Community,

This one is weird, has anyone ever seen anything like it?

I've not had this problem anywhere else or prior in this application across thousands of edits to hundreds of files.

I changed some code and although it worked and compiled normally in the IDE.

But the command line build using PBAutoBuild crashed without error message or log message.

Many further experiments later found something strange about lines of comments.

With this line of comments, the build will crash:

But with this line with one extra character, the build will complete successfully:

(The x's above can be any characters)

The same occurs with PBAutoBuild in PowerBuilder 2021 build 1311 and build 1506.

PBAutoBuild does not show an error message in the log file.

Would anyone have any ideas, or seen anything like it before?

Cheers, Peter

 

 

Peter Thiem Accepted Answer Pending Moderation
  1. Friday, 11 March 2022 00:07 AM UTC
  2. PowerBuilder
  3. # 1

Hi Ken and Brad,

Thanks for you responses.

Sadly, try as I might, I have not been able to make a small test case to reproduce it.

It may even need the whole application in its current form to reproduce.

I've not had this problem with hundreds of edits to this file and to other files.

I was hoping maybe someone had seen before, with a particular file size or library size threshold being crossed or something like that, because this one is very tricky to nail down the root cause.

Further experiments:

  • Removing comments and replacing with code of same character lengths (say by using string assignments to a variable), and the problem reoccurs/works depending on the length.
  • Deleted a different VO in the PBL (i.e. the VO from last line in failed build log) makes build work.
  • Altering (lengthening with random code) a different VO in the PBL (i.e. the VO from last line in failed build log) makes build work.

I think I'll need a log a bug/support ticket and submit the *whole* application.

Thanks!

 

Comment
  1. Ken Guo @Appeon
  2. Friday, 11 March 2022 01:20 AM UTC
Hi Peter,



Thanks for your feedback! Sure, we will be waiting for you to submit the support ticket.



Regards,

Ken
  1. Helpful
There are no comments made yet.
Ken Guo @Appeon Accepted Answer Pending Moderation
  1. Wednesday, 9 March 2022 08:19 AM UTC
  2. PowerBuilder
  3. # 2

Hi Peter,

Based on your description, I created a small case with that line of comments locally but didn’t reproduce the issue with PBAutobuild. Can you create a small case to reproduce the same issue?
If yes, I suggest you submit a bug for this issue to the Appeon Support System (https://www.appeon.com/standardsupport/newbug) and upload the small case there, so that we can better track and analyze this issue.

 

Regards,
Ken

Comment
  1. Brad Mettee
  2. Wednesday, 9 March 2022 14:15 PM UTC
It may have to do with the overall length of the script, not just the comment line.



Orig Poster - what happens if you change the script ABOVE/Below the comment in question by adding/removing another comment?
  1. Helpful 1
There are no comments made yet.
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.
We use cookies which are necessary for the proper functioning of our websites. We also use cookies to analyze our traffic, improve your experience and provide social media features. If you continue to use this site, you consent to our use of cookies.