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

segfault when read_file module is missing the path option #489

Closed
stapelberg opened this issue Jun 11, 2022 · 0 comments · Fixed by #490
Closed

segfault when read_file module is missing the path option #489

stapelberg opened this issue Jun 11, 2022 · 0 comments · Fixed by #490
Labels

Comments

@stapelberg
Copy link
Member

stapelberg commented Jun 11, 2022

Originally posted by @sworthiness in #128 (comment)


I am experiencing this issue too.
I am running Arch Linux, i3bar v4.20.1, i3status v2.14

I have done the following suggestion which did not resolve the issue

output_format = "i3bar" in the general block of the i3status config

In my case, it seems to be related to using the path_exists module, which when it fails it's check, results in the error message in i3bar but when run from xterm, it prints the format_down message with no problem.
However i have also seen segfaults from xterm too depending on what combination of path_exists and disk is used.
See segfault.txt for journal entry.

EDIT:
I found my problem with path_exists - i needed to add the path attribute to the module. Still it would be good if it failed in a cleaner way :)

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

Successfully merging a pull request may close this issue.

1 participant