Skip to content

Segmentation fault #29

@Revalto

Description

@Revalto

Hello. Maybe someone has encountered this problem and knows how to fix it. The server crashes with the error "Segmentation fault" often, rarely, in absolutely different cases. It is displayed directly in the console of the NodeJS part.

I have a frequent and not a little data exchange between PAWN and NodeJS, at some point, an error can pop up, and can work without incident for several days.

I already wanted to try to watch everything through the package - "segfault-handler", but at startup I get an error - "wrong ELF class: ELFCLASS64".

Installed plugins:

  • crashdetect.so samp-node.so FCNPC.so sscanf.so filemanager.so streamer.so mysql_static.so gvar.so env.so

Packages used:

"devDependencies": {
    "@types/node": "^16.18.41",
    "sequelize-cli": "^6.6.1",
    "typescript": "^4.5.4"
  },
  "dependencies": {
    "@sa-mp/node": "^0.2.0",
    "dotenv": "^16.3.1",
    "iconv-lite": "^0.6.3",
    "mysql2": "^3.6.0",
    "reflect-metadata": "^0.1.13",
    "segfault-handler": "^1.3.0",
    "sequelize": "^6.32.1",
    "sequelize-typescript": "^2.1.5",
    "telegraf": "^4.12.2",
    "tsyringe": "^4.8.0"
  }

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