Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: ST crashes with "bus error" / SIGBUS since version 4186 #6575

Open
N0vaPixel opened this issue Dec 27, 2024 · 0 comments
Open

Bug: ST crashes with "bus error" / SIGBUS since version 4186 #6575

N0vaPixel opened this issue Dec 27, 2024 · 0 comments

Comments

@N0vaPixel
Copy link

Description of the bug

Since 4186, ST immediately crashes with SIGBUS when opening/adding whatever folder in the workspace.
More specifically, ST seems to crash when the folder contains some source files.
Before the crash, I get a warning regarding ptrace (see output below).
'ptrace' is effectively disabled globally on my system, which might be the source of the crash (mishandled exception).
Bug reproducible on 4186 & 4189.

I don't get a crash nor any ptrace warning before 4186.

Output with --debug --multiinstance --safe-mode:

:0                                                                startup, version: 4186 linux x64 channel: stable
:0                                                                SAFE MODE - overriding packages, state and cache paths
:0                                                                executable: /opt/sublime_text/sublime_text
:0                                                                application: /opt/sublime_text
:0                                                                working dir: /home/user/Downloads
:0                                                                packages path: /home/user/.config/sublime-text-safe-mode/Packages
:0                                                                state path: /home/user/.config/sublime-text-safe-mode/Local
[7301:7301:20241227,184418.354300:WARNING exception_handler_server.cc:203] no ptrace
Bus error (core dumped)

Steps to reproduce

  1. Disable ptrace with SELinux
  2. Start ST in safemode
  3. Open a folder that contains some source files

Expected behavior

No crash after opening a folder

Actual behavior

Sublime-text receives SIGBUS and gets killed

Sublime Text build number

4189

Operating system & version

Fedora 41 (Atomic / Silverblue)

(Linux) Desktop environment and/or window manager

i3

Additional information

No response

OpenGL context information

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant