Skip to content

The Firefox add-on seems to infinite loop upon opening the tree #61

@Koroeskohr

Description

@Koroeskohr

Hi!

I wanted to give SpanTree a try and unfortunately had this issue. Here are my findings.

Update 1, H+2 minutes: this is now working properly without me having changed anything. I don't really know what happened. I reproduced the bug 3-4 times, restarting my browser each time, and by the time I wrote this issue I couldn't anymore

Update 2, H+10 minutes: I know have a in-between, if I click the SpanTree button, the panel blinks, but the browser does not crash.

Error in console:

Warning: Can't perform a React state update on an unmounted component. This is a no-op, but it indicates a memory leak in your application. To fix, cancel all subscriptions and asynchronous tasks in a useEffect cleanup function.
    in Unknown (created by n)
in content.js:5:168824 (but I can't open it)

What happens

  • Open the root page of a project
  • The SpanTree button is visible, page is still responsive
  • Click the SpanTree element
  • The left column with the repo's menu flickers and alternates quickly between the menu and the SpanTree element
  • The browser becomes unresponsive (or just very slow if closed quickly). This keeps going even after the Gitlab tab is closed. Nothing works except killing the browser.

What I can tell

  • Self-hosted Gitlab (API /version result : {"version":"13.6.3-ee","revision":"8578025c5e8"})
  • Ubuntu 20.04
  • Firefox 84.0
  • Tested with the Chrome add-on, no issue

If you need any other info feel free to ask, I don't really know how to troubleshoot any further. This project is promising, looking forward to using it :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions