-
Notifications
You must be signed in to change notification settings - Fork 518
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 creating a new file #1174
Comments
Interesting; thank you for the report. Do you also get the crash when you cancel adding the filename (select new file, but then use Esc to cancel)? Does the filename matter in this case or does it happen with any file added? |
I don't even get to enter a filename, ZBS crashes within a second or two after displaying the filename edit box. |
I think I know what could be causing this. I have a script that is run by cron that creates a file in the affected project folder, then edits another file, and removes the (previously created) file really quickly (SQLite DB single-row append), it runs every 5 seconds. ZBS seems to catch on the file being created and removed, and that seems to throw it off. The crash doesn't happen in any other project folder, only in this specific one. |
Very interesting; can you try setting |
No more segfaults when this setting is applied. So I guess we found the reason, but what can be done about it? |
I'm using ZBS from current master at 803d382 on KDE Neon. I've just noticed a segfault in ZBS that is 100%-repeatable on one of my computers, but not on the other (with identical OS and ZBS version):
I've tried running ZBS under gdb with the following:
Unfortunately I'm not too familiar with Linux troubleshooting, so I have no idea what to explore next in order to provide more information. Not to mention that I don't think this is exactly ZBS's fault, Lua shouldn't segfault like this, I assume some loaded library is causing this.
The text was updated successfully, but these errors were encountered: