-
-
Notifications
You must be signed in to change notification settings - Fork 593
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
Segfaults on SIGINT #209
Comments
I cannot reproduce this locally. Can you build compton with debug info so the stack trace can be more useful? |
I see that bug here as well. Here's my stack trace:
The compton version is this:
|
Sure, if you can tell me how to build with debug symbols. I'm building from AUR package, I tried changing
|
xerror handler might be called during XCloseDisplay, at which point session_t is already destroyed, causing a segfault. Ping #209 Signed-off-by: Yuxuan Shui <[email protected]>
@sooqua if you build from AUR, you need to add |
I'm now seeing this output here when I interrupt it:
It does not crash, there's no segfault or anything. I'm just worrying about that output. It looks a bit concerning. When I send a TERM signal (using
The version is this:
|
It doesn't seem to crash under gdb, am I doing something wrong?
|
Okay, took some gdb courses. Here:
|
@sooqua Thanks for your help. Fixed in |
xerror handler might be called during XCloseDisplay, at which point session_t is already destroyed, causing a segfault. Ping #209 Signed-off-by: Yuxuan Shui <[email protected]>
blur_kernel_count could be none zero when user set a blur kernel but didn't enable blur. In that case deinit_render will try to free elements of blur_kerns_cache, causing a segfault because blur_kerns_cache is never allocated. Fixes #209 Signed-off-by: Yuxuan Shui <[email protected]>
Platform
Arch Linux x86_64 5.2.3-arch1-1-ARCH
GPU, drivers, and screen setup
NVIDIA Quadro K1100M, NVIDIA 430.34, one monitor (laptop)
Environment
Awesome WM. No DE.
Compton version
v7
Compton configuration:
compton.conf.example
Steps of reproduction
$ compton
<C-c>
orpkill -2 compton
Expected behavior
Graceful termination
Current Behavior
[1] 22590 segmentation fault (core dumped) compton
Stack trace
coredumpctl info 22590
The text was updated successfully, but these errors were encountered: