flood icon indicating copy to clipboard operation
flood copied to clipboard

Flood crashes on startup (FreeBSD 13.1)

Open kipukun opened this issue 3 years ago • 5 comments

Type: Bug Report

  • [] Try to follow the update procedure described in the README and try again before opening this issue.

Your Environment

  • Version used:
    • Version 4.7.0
  • Environment name and version:
    • Node.js version node --version: v18.13.0
    • npm version npm --version: 9.4.2
  • Operating system and version: FreeBSD 13.1-RELEASE
  • Torrent client and version: rtorrent 0.9.8

Summary

Flood exits on startup

Expected Behavior

Flood starts

Current Behavior

Flood returns this error:

Flood server 4.7.0 starting on http://127.0.0.1:3000

(node:19248) [DEP0111] DeprecationWarning: Access to process.binding('http_parser') is deprecated.
(Use `node --trace-deprecation ...` to show where the warning was created)
FATAL internal error. Please open an issue.
Uncaught exception: RangeError: File size (2171966202) is greater than 2 GiB

Possible Solution

Steps to Reproduce

  1. npx flood

Context

I updated from FreeBSD 13.0-RELEASE to 13.1-RELEASE, and it was working on 13.0. I have some files in rtorrent already. It's hard to determine what node/npm combination I was on at the time, since I am using the ports collection (so whatever the version was when I installed the port)

kipukun avatar Feb 22 '23 00:02 kipukun

Nevermind, different error. It's got nothing to do with the process bind on http_parser being depcrecated.

FATAL internal error. Please open an issue. Unhandled rejection: undefined

ChristopherTheBoss avatar Feb 25 '23 18:02 ChristopherTheBoss

Same error here, directly on startup.
FATAL internal error. Please open an issue. Unhandled rejection: undefined

paulchartres avatar Mar 31 '23 16:03 paulchartres

I couldn't be bothered to investigate the root cause of this, upgrading to @jesec/flood fixes this for me.

NeelChotai avatar Nov 22 '23 18:11 NeelChotai

Please try latest flood again and paste stack trace

trim21 avatar Dec 11 '23 21:12 trim21

Hello, I found out it is the db causing the crash, the file fiveMinSnapshot.db was indeed larger than 2 gb located in ~/.local/share/flood/db/[db_id]/history, deleted the .db file and crash was gone at startup.

Canardil avatar Mar 05 '24 12:03 Canardil