Skip to content

[BUG] Animated images after firmware update to V0.98 cause system crash #728

@UrsKobler

Description

@UrsKobler

Bug report

Describe the bug

If apps display animated images in addition to text, the system may crash, depending on the number of animated images used.

Afterward, the display can only be restarted from the frozen state by manually resetting it.

Additional information

  • Devices involved:

    • Model: Ulanzi Awtrix Smart Pixel Clock 2882 (TC001)
    • awtrix3 version: [v0.98 ]
    • used interface: HTTP API
  • My System requirements:

    • Platform Operating system: Linux
    • Architecture: Arm64
    • CPUs: 4
    • Speed: 2400 MHz
    • Model: Cortex-A76
    • RAM: 7.8 GB
    • Node.js: v20.19.1
    • NPM: 10.8.2

To Reproduce

Steps to reproduce the behavior:

  1. Use the HTTP API interface of the Ulanzi Awtrix Smart Pixel Clock.

  2. Create App-1 with the text 'App-1' and the animated image ID 50065.

  3. Create App-2 with the text 'App-2' and the animated image ID 50556.

  4. Create App-3 with the text 'App-3' and the animated image ID 51008.

  5. Create App-4 with the text 'App-4' and the animated image ID 55417.

  6. Create App-5 with the text 'App-5' and the animated image ID 61524.

  7. Create App-6 with the text 'App-6' and the animated image ID 7789.

  8. Display the apps on the screen and wait approximately 48 hours until the screen freezes.

Expected behavior

The display remains frozen and can only be reset by manually restarting. When using 6 animated GIF files, the display freezes after 48 hours of operation!

Screenshots

Image

Logs

The firmware crashes so no log file can be written.

Additional context

I suspect the error lies in the program component responsible for displaying the animated images (GIF files). Presumably, a memory leak occurs every time the image is displayed, which consumes RAM and causes the program to crash.

All 6 apps have been running smoothly for 14 days, as long as only the text and no animated images are displayed!

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions