April 2017 RAD Studio 10.2 Hotfix for Toolchain Issues

Posted by on in Blogs

We are pleased to release a hotfix for RAD Studio 10.2. This hotfix addresses:

  • debugger issues for Android, iOS, and Linux;
  • Delphi Win64 compiler issues;
  • a C++ RTL issue addressing a crash on exit;
  • a security issue in the C/C++ RTL. Our thanks to Łukasz Wyporek for notifying us of this issue.

You can find full details about each issue in the readme and download page on CodeCentral.

We also have an Android compatibility patch in the works to address Android issues around text input, control rendering and performance.



About
Gold User, No rank,
C++ Product Manager, looking after C++Builder as well as the IDE.

Comments

  • Andrew Bond
    Andrew Bond Friday, 21 July 2017

    David

    When are you going to fix the problem with the shipping Boost libraries? As supplied with Tokyo, they CANNOT be used. See RSP-18123 (which still remains unresolved).

    When major flaws like this go unresolved for a long time, existing customers lose confidence in Embarcadero's ability to provide a fit-for-purpose product. Or should I switch to Micrcosoft's products instead?

  • James M40502
    James M40502 Friday, 21 July 2017

    Whilst this is something I've already said it looks like this might be an opportunity to show some solidarity on something that needs to be addressed.
    There needs to be balance between pushing out new features (in conjunction with a new release) and making absolutely sure current releases reach a stable point.
    New releases are no good if they contain broken essential that never get fixed. Maintenance needs to be given a higher priority than it currently has. In this instance Boost libraries have been a part of the toolschain for donkeys years. A lot of Devs will have code that uses it so it should have been tested and proven 100% working before Tokyo was released....because problems like these will affect many, not just Andrew. After discovery of the issues it should have been sorted....because problems will affect many, not just Andrew.
    (David) I note your reply from last Month. "You may be able to rebuild Boost yourself, though that is a lengthy process". It sounds like this issue is fixable, if you rebuild boost, why has this not been done on the Embarcadero end and pushed out as a hotfix or patch?

  • Steve J
    Steve J Friday, 21 July 2017

    I think Andrew is right.
    Same for me. I just renewed my subscription but if things continue to go this way, it's the last time. I have been waiting fro almost 5 months to eventually have NexusDB 3rd party added to GetIt (it was passed to Embarcadero the day after Tokyo was released).
    I opened 1 support ticket (1 of the 3 included with PAID subscription), still no answer, not even studied obviously. Without saying that for 4 weeks it was not possible to check on it as SalesForce had a portal problem not allowing logging in.
    Delphi compiling for the AppStore still doesn't work with the latest Xcode
    This is not serious, especially for that price range, RADStudio is not a 50$ piece.
    Seems to me, it's just a feeling, but everything started to go awry since Idera took over and reduced the teams.
    I have been on the Delphi/C++ bandwagon since 1991... but I fear to be forced out soon. With regrets.

  • Khodr B41240
    Khodr B41240 Wednesday, 19 July 2017

    Hi
    Almost all of my android programs are suddenly closing after a while after being compiled with Tokyo. So ultimately I resorted to a very minimal test: start a new Multi-Device application... Create an empty form. Put a button and a text or a label on it. Compile and deploy to android 5.01 or 6.1... The application would run for one hour then suddenly closes without any message. This happened on 3 devices with no apparent reason.

    There seems to be a bug somewhere. Memory consumption stays normal. Cpu usage normally. But applications compiled with tokyo always crash after 1 hour or so, even simple apps on brand new devices

    Has anyone experienced a similar problem?

    Thanks

  • denver J42605
    denver J42605 Tuesday, 18 July 2017

    Fresh install of Tokyo then apply this Hotfix try to compile existing Android app and get "FMX.Forms not found" errors (it seems like heaps of other FMX units are missing as they are red-underlined as well) complies fine with fresh Tokyo or Seattle installs.
    I have turned off the Windows Defender anti-virus - the only AV on the machine.

  • Andrew Bond
    Andrew Bond Monday, 19 June 2017

    David

    When will the toolchain be fixe to allow Boost to be used with Tokyo? This is a MAJOR bug, making it impossible for us to upgrade to Tokyo since we rely on boost.

    Please see RSP-18123 (which remains unresolved).

    The proble is that the pre-packaged Boost DLLs that ship with Tokyo have been compiler with the memory Manager from Berlin (!!) - hence at run-time Windows comlains that it cannot find the right emory manager and forces your app to shut down. It is not a workaround to ship the old memory manager, since that causes untold confusion where data is held.

    This bug warrants a re-issue of ALL the Boost libraries. It does not require a hotif for Tokyo as such.

  • David Millington
    David Millington Thursday, 29 June 2017

    Hi Andrew - you're right, and my apologies it's taking so long. You may be able to rebuild Boost yourself, though that is a lengthy process. We're looking into it and I've just escalated it.

  • Laszlo K1618
    Laszlo K1618 Sunday, 18 June 2017

    David!
    You wrote a month ago:
    "We also have an Android compatibility patch in the works to address Android issues around text input, control rendering and performance."
    We are unable to use 10.2, because of the control refreshing problems, that are known at least 6 weeks ago.
    Where is the "promised" patch? Does it take more than 6 weeks? If we would work so slow, we had no customers more...
    It's a shame.

  • David Millington
    David Millington Thursday, 29 June 2017

    Hi Laszlo - we released the patch a few days ago! https://community.embarcadero.com/blogs/entry/firemonkey-android-compatibility-patch-for-rad-studio-10-2-tokyo

    10.2.1 will have further fixes.

  • Steve J
    Steve J Friday, 16 June 2017

    To me the most important thing would be to focus on releasing fixes within a week of a new version of Xcode and releasing all 3rd party tools in your hands when available.
    I am under subscription but I'm still stuck with Berlin because Tokyo can't create Apple store packages for iOS and Xcode 8.3.n and because NexusDB Embedded that has been released 3 days after Tokyo has not been pushed yet to GetIt, blocking my developments.
    This is non-sense to pay for a subscription that provides tools I can't use anymore. I'm just throwing money through the window. And it has been the same thing between Seattle and Berlin when this latter was released. I had to wait for 4 months before NexusDB was eventually pushed to GetIt (while the product was handed to Embarcadero the day after Berlin was out).

  • David Millington
    David Millington Thursday, 29 June 2017

    Understood. iOS and Xcode, should be coming soon. Until then please use 8.2; you can install that version by downloading it from Apple.

    NexusDB: I'm not aware of that, will follow it up.

  • James M40502
    James M40502 Thursday, 15 June 2017

    having seen the roadmap 10.2.1 & 10.2.2 are both due this year
    is the hotfix listed above tokyo 10.2.1? If not when's it due

    Currently my ilink32 works on Seattle but not Tokyo (LME200) and I read (having done a lot of googling on the subject) that ilink32 is undergoing a lot of work to bring it up to date...so I've my fingers crossed that some updates will come with 10.2.1 as it's frustrating. Well back to seeing if I can find any details on how to use the new linker heap options (that are not even mentioned in the help files!)

  • David Millington
    David Millington Friday, 16 June 2017

    The hotfix will be included in 10.2.1 - each release stands alone.

    We do have ongoing work in the linker. There'll be more in 10.2.1, and more over the course of the year. Stay tuned and install updates :)

    FWIW, LME200 can be caused by an anti-virus. Try turning it off for your source and build folders.

  • James M40502
    James M40502 Friday, 16 June 2017

    Thanks for the info (including the FWIW)
    If the hotfix isn't 10.2.1 is there a release date for the full patch?

    BTW : As mentioned I've been googling for a while now so...
    * I had already tried modifying the app scanning features, didn't work.
    * I then tried excluding the entire Embarcadero folder, didn't work.
    * I tried fully turning off everything, didn't work.
    * Completely Uninstalling kaspesky is next on the list, this may work but it's finding time to do all these test!

    That said The **curious thing** is I have Seattle installed on the same PC....no such issues there!?!?

  • David Millington
    David Millington Thursday, 29 June 2017

    Did you try turning it off from your source and build folders? Compiling and linking opens and uses a lot of files, and they're executables, and they're exactly what AVs are interested in. An AV can interrupt and cause errors that are completely out of our control.

  • Rohit Kamat
    Rohit Kamat Sunday, 11 June 2017

    After installing the hotfix, the TDateEdit does not change the displayed month (see https://quality.embarcadero.com/browse/RSP-18348). Is there a way to rollback the April hotfix (without having to go thru a full re-install of Tokyo)?

  • David Millington
    David Millington Friday, 16 June 2017

    I believe the date edit issue is a Windows bug! If it's the one I'm thinking of it was fixed in a Windows update this past week.

  • Rohit Kamat
    Rohit Kamat Sunday, 18 June 2017

    Hi David - I don't think it is related to the Windows bug. I used the TDateEdit in 10.1.2 Berlin and it worked fine. Used it in Tokyo and it does not.

  • David Millington
    David Millington Thursday, 29 June 2017

    My apologies - I missed this was a FireMonkey bug, not VCL. We're tracking it and hope to have a fix.

  • Ederson S8801
    Ederson S8801 Thursday, 11 May 2017

    Hi
    And about the screen erros on Android?

    https://quality.embarcadero.com/browse/RSP-17885?filter=-2

    Thanks

  • Please login first in order for you to submit comments

Check out more tips and tricks in this development video: