Skip to content

Ruff logging core dump messages in the system journal #12545

@Fissium

Description

@Fissium

I've noticed that ruff continues to run, but there are frequent core dump messages logged in the system journal. Below are the details from the most recent log entry:

PID: 4280 (ruff)
UID: 1000 (fissium)
GID: 1000 (fissium)
Signal: 6 (ABRT)
Timestamp: Sat 2024-07-27 20:31:43 MSK (1min 31s ago)
Command Line: /home/fissium/.local/share/nvim/mason/bin/ruff server
Executable: /home/fissium/.local/share/nvim/mason/packages/ruff/venv/bin/ruff
Control Group: /user.slice/user-1000.slice/user@1000.service/app.slice/kitty-2546-0.scope
Unit: user@1000.service
User Unit: kitty-2546-0.scope
Slice: user-1000.slice
Owner UID: 1000 (fissium)
Boot ID: 37f1ef78ff7a449faf604ccbdf1e3943
Machine ID: 830b850f950448748db101e10b137d6b
Hostname: archlinux
Storage: /var/lib/systemd/coredump/core.ruff.1000.37f1ef78ff7a449faf604ccbdf1e3943.4280.1722101503000000.zst (present)
Size on Disk: 377K
Message: Process 4280 (ruff) of user 1000 dumped core.
                
    Stack trace of thread 4280:
    #0  0x00007c96eafde3f4 n/a (libc.so.6 + 0x963f4)
    #1  0x00007c96eaf85120 raise (libc.so.6 + 0x3d120)
    #2  0x00007c96eaf6c4c3 abort (libc.so.6 + 0x244c3)
    #3  0x00006023b6fe820a n/a (/home/fissium/.local/share/nvim/mason/packages/ruff/venv/bin/ruff + 0xf7820a)
    #4  0x00006023b6fe29c1 n/a (/home/fissium/.local/share/nvim/mason/packages/ruff/venv/bin/ruff + 0xf729c1)
    #5  0x00006023b6fe2574 n/a (/home/fissium/.local/share/nvim/mason/packages/ruff/venv/bin/ruff + 0xf72574)
    #6  0x00006023b6fe12a9 n/a (/home/fissium/.local/share/nvim/mason/packages/ruff/venv/bin/ruff + 0xf712a9)
    #7  0x00006023b6fe22c7 n/a (/home/fissium/.local/share/nvim/mason/packages/ruff/venv/bin/ruff + 0xf722c7)
    #8  0x00006023b616a323 n/a (/home/fissium/.local/share/nvim/mason/packages/ruff/venv/bin/ruff + 0xfa323)
    #9  0x00006023b6fdd09a n/a (/home/fissium/.local/share/nvim/mason/packages/ruff/venv/bin/ruff + 0xf6d09a)
    #10 0x00006023b6de94ab n/a (/home/fissium/.local/share/nvim/mason/packages/ruff/venv/bin/ruff + 0xd794ab)
    ELF object binary architecture: AMD x86-64

ruff version: 0.5.5

system: Arch Linux

pyproject.toml

[tool.ruff]
exclude = [
  ".bzr",
  ".direnv",
  ".eggs",
  ".git",
  ".git-rewrite",
  ".hg",
  ".ipynb_checkpoints",
  ".mypy_cache",
  ".nox",
  ".pants.d",
  ".pyenv",
  ".pytest_cache",
  ".pytype",
  ".ruff_cache",
  ".svn",
  ".tox",
  ".venv",
  ".vscode",
  "__pypackages__",
  "_build",
  "buck-out",
  "build",
  "dist",
  "node_modules",
  "site-packages",
  "venv",
]

line-length = 88
indent-width = 4

[tool.ruff.lint]
select = ["ARG", "F", "E", "I", "W", "B", "C4", "UP", "RUF"]
fixable = ["I"]
dummy-variable-rgx = "^(_+|(_+[a-zA-Z0-9_]*[a-zA-Z0-9]+?))$"

[tool.ruff.format]
quote-style = "double"
indent-style = "space"
skip-magic-trailing-comma = false
line-ending = "auto"

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingserverRelated to the LSP server

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions