Acknowledged

Bug: New FR 255 Software Crashes CIQ App

Hey there,

As always, I greatly appreciate you guys for making this fantastic platform!

Since the beginning of March, I've gotten 9 reports from users of FR 255 devices with software versions either 18.22 or 18.23 that my app (Maps4Garmin) has been crashing with an IQ! at startup. Unfortunately ERA is not showing the errors, so I can't pinpoint the error.

I haven't updated the app since December, so I'm fairly confident this is a bug with the latest software version. I don't have a FR255, but the sim seems to work fine, so I have not been able to reproduce the error.

Here's a link to my app: https://apps.garmin.com/apps/f2cde121-a834-4718-a4ba-bf79d28a4e27.

Thanks,
Lance

  • , that solved the problem! Thanks for pointing me in the right direction.

    For others who may have the same issue, removing things like `System.getDeviceSettings().screenWidth;` and `Math.rand()`, and `(Communications has :startSync)` from the global namespace seemed to fix the issue for me. (I'm not sure removing the has check did anything, I just removed it to be safe).

  • I confirm the fact that the F7 and FR255 series watches crashed after updating the firmware.

    The crash occurs when trying to createBufferedBitmap with a 1x1 pixel two-color palette.

             var DC = bufferedBitmapFactory(
             {
                 :width=>1,
                 :height=>1,
                 :palette=> [
                     0,
                     0xffffff
                 ]
            });
            var tDc=DC.getDc();
            if (tDc.getTextWidthInPixels(v, $.DFont)<=l) {
                return v;
            }
    
    //===============================================================================================
    //! Factory function to create buffered bitmap
    function bufferedBitmapFactory(options as {
                :width as Lang.Number,
                :height as Lang.Number,
                :palette as Lang.Array<Gfx.ColorType>,
                :colorDepth as Lang.Number,
                :bitmapResource as Ui.BitmapResource
            }) as Gfx.BufferedBitmapReference or Gfx.BufferedBitmap {
        if (Gfx has :createBufferedBitmap) {
            return Gfx.createBufferedBitmap(options).get();
        } else {
            return new Gfx.BufferedBitmap(options);
        }
    }

    Also.

    I receive approximately the following letters:

    手表更新新系统之后不显示中文了。

    After the watch is updated to the new system, it no longer displays Chinese.

    There was a similar letter about the Romanian language.
    According to the observations of another user, after resetting the watch to the factory state, the date was displayed in Chinese, but after reboot the date is displayed in English.