Resolved - I suspect infinite loop when i use a new image

Feature(s) impacted

Upload and use of an image in collection

Observed behavior

When i click on “use this file” after uploading a new image, my chrome browser freeze and i need to restart my computer. I suspect an infinite loop

Expected behavior

Failure Logs

Context

  • Project name: Bampa
  • Team name: Operations
  • Environment name: Staging
  • Agent (forest package) name & version:
    @forestadmin/agent”: “^1.35.13”,
    @forestadmin/datasource-sql”: “^1.7.39”,
    @forestadmin/datasource-toolkit”: “^1.29.0”,
  • Database type: postgresql
  • Recent changes made on your end if any: …

Hello @Benoit_Findeling,

Sorry to hear that, I couldn’t reproduce it on my side. To help the team we need more information.

  • What type of image did you upload? Is it a big file?
  • Did you use any rotate or crop ability before hitting the Use this file button?
  • You are using Chrome, do you use the latest version or a specific one?
  • Could you try with another browser if you end up in the same state?

Thanks in advance.

Kind regards,
Morgan

Hello Morgan,

Thank you for your answer.

We have identified the problem. This comes from an image, probably corrupted, which causes Chrome to crash, even when opened from Drive.

The image was generated via midjourney and retouched on figma.

The other images upload well.

Thank you for your time

1 Like

Hey @Benoit_Findeling,

Glad that you find out. :pray: (Even though it’s crazy that it crashes your entire browser…)

Thank you, have a nice day.

Kind regards,
Morgan

Hello Again

Our problem ultimately repeats itself for several images and with several computers.
There are no specific logs in the console or in the network.

The bug persists after clearing the cache and storages.

On the other hand, the bug does not seem to occur in incognito mode on Chrome.

Hey @Benoit_Findeling,

Well that being said, it could be due to some extensions on Chrome, as they are disabled in incognito. :eyes:

Do we need to reopen the topic? If that’s the case could you share the “corrupted” image that froze the browser but works on incognito? (by private message if they are sensitive or let us know a way to reproduce it)

Kind regards,
Morgan

1 Like

Thank you for your answer Morgan,

For our part, we will use incognito mode for the moment. If you make a patch, let us know so we can return to our normal chrome

Benoit

1 Like