Solved TD-23526: ACA crashes TD IDE when parameter list is too long

Post found bugs and possible workarounds.
Dave Rabelink
Founder/Site Admin
Founder/Site Admin
Netherlands
Posts: 275
Joined: 24 Feb 2017, 09:12
Location: Gouda, The Netherlands

TD-23526: ACA crashes TD IDE when parameter list is too long

Post by Dave Rabelink » 10 May 2017, 14:25

TD70:

When a class has functions having a lot of parameters, TD will crash immediately when the ACA is opened OR will crash when the tooltip of the function is shown when the ACA popup window is open.

Testcase crash ACA:

- Go to class -> ClsSomeTable
- Open function ClsSomeTable.AddItHere
- Place cursor behind the existing line Call set
- Press CTRL-TAB to open ACA

ACA should show then :
SetPbHandles1
SetPbHandles2( Window Handle, Window Handle etc)

Move the mouse over ACA popup screen and display the tooltip for

SetPbHandles1
SetPbHandles2


NO crash when this function is active (uncommented) in the class:
SetPbHandles2 ! NO CRASH

Crash on showing tooltip for SetPbHandles2 when this function is active (uncommented) in the class:
SetPbHandles2 ! CRASH WHEN ACA OPENED DURING DISPLAY TOOLTIP OF SetPbHandles2

Crash on start of displaying ACA when this function is active (uncommented) in the class:
SetPbHandles2 ! CRASH WHEN ACA OPENED

So the number of parameters of the function (which is displayed in ACA and the tooltip) causes TD to crash in different ways.
The ACA window is also very wide when a lot of params are present for functions. It can even cover the whole screen.

This issue has been reported as:

Ticket # 3029646: TD-23526: ACA crashes TD IDE on parameter list too long

ACA_Crash_Parameters.zip
You do not have the required permissions to view the files attached to this post.
Regards,
Dave Rabelink

Image
Articles and information on Team Developer Tips & Tricks Wiki
Download samples, documents and resources from TD Sample Vault
Videos on TDWiki YouTube Channel

Igor Ivanovic
Site Admin
Site Admin
Croatia
Posts: 74
Joined: 05 Mar 2017, 12:37
Location: Zagreb, Croatia

Re: ACA crashes TD IDE when parameter list is too long

Post by Igor Ivanovic » 11 May 2017, 07:59

I have a lot of ACA crashes in a large app, resulting in a loss of work if the .apl wasn't saved frequently, but never had the time to investigate.
Could be that it was related to the case you found Dave, will try to reproduce it in my own app.
Igor Ivanovic
Image

Dave Rabelink
Founder/Site Admin
Founder/Site Admin
Netherlands
Posts: 275
Joined: 24 Feb 2017, 09:12
Location: Gouda, The Netherlands

Re: TD-23526: ACA crashes TD IDE when parameter list is too long

Post by Dave Rabelink » 12 Jun 2017, 07:12

This defect has been fixed in TD 7.0.2.

Testcase does not crash any more.

When other IDE issues (crashes) are found, please report them.
Regards,
Dave Rabelink

Image
Articles and information on Team Developer Tips & Tricks Wiki
Download samples, documents and resources from TD Sample Vault
Videos on TDWiki YouTube Channel

Return to “Bug Reports”

Who is online

Users browsing this forum: Ccbot [Crawler] and 0 guests