Skip to content

[BUG] On Firefox web interface crashes upon opening details dialog for torrent with too many cached pieces #809

Description

@event

Web interface crashes on firefox (v. 152, but likely happens with older ones as well) when clicking "DETAILS" button for torrent with >10k pieces cached. Same torrent on Chromium show sad face in place of piece map

To Reproduce
Steps to reproduce the behavior:

  1. Configure big cache in torrserver, e.g. 5GB
  2. Add big torrent with a lot of pieces >10_000
  3. Open torrserver main page in Firefox
  4. Click "DETAILS" for this torrent
  5. Dialog opens, loading animation spins`` for a while, then white screen is shown
  6. On chromium, error canvas is shown in place of cache piece map (see attached screenshot)
    Expected behavior
    Normal details dialog is shown

Screenshots

Image

Desktop (please complete the following information):

  • OS: Ubuntu Linux 24.04
  • TorrServer Version MatriX.142
  • Browser: Firefox 152, Chromium 149.0.7827.114

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