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
i3 crash on headless start via NoMachine #6027
Comments
I don’t see a link to logs.i3wm.org. Did you follow https://i3wm.org/docs/debugging.html? (In case you actually provided a link to a logfile, please ignore me.) |
I tried to create the logs but |
Thank you. Any chance you can get an i3 binary with debug symbols (e.g. by building it from source) so that we can have accurate source code lines in the stacktrace? |
I managed to work around it be setting |
I did compile it from source using the PKGFILE from Arch Linux. I did set the option to strip the binary, here is what I'm running: |
arch has a debug option that you can also apply per package: https://wiki.archlinux.org/title/Debugging/Getting_traces#Compilation_options Additionally, setting |
Actually from the stack trace we can still likely infer what happened:
|
I can reproducing by printing "hello world" at the top of diff --git a/libi3/mkdirp.c b/libi3/mkdirp.c
index 8bdca0c3..a5ee326d 100644
--- a/libi3/mkdirp.c
+++ b/libi3/mkdirp.c
@@ -18,6 +18,7 @@
*
*/
int mkdirp(const char *path, mode_t mode) {
+ ELOG("hello world!\n");
if (mkdir(path, mode) == 0) {
return 0;
} |
Welcome
Current Behavior
By starting i3 via NoMachine in a headless configuration (virtual Framebuffer) it crashes with a coredump:
Expected Behavior
No crash when starting with NoMachine headless
Reproduction Instructions
systemctl stop lightdm
)DefaultDesktopCommand "env DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/$(id -ud)/bus /usr/bin/i3"
i3 version
Config file
Linux distribution & Version
Arch Linux
Are you using a compositor?
I am sure I don't run any compositor
Logfile
No response
The text was updated successfully, but these errors were encountered: