-
-
Notifications
You must be signed in to change notification settings - Fork 171
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
Arch Linux: Intermittent crash freeing Gesture unique_ptr #443
Comments
Same here, for a quick test when i swipe three fingers to right on the touchscreen it always crash on the second time, if i do it on touchpad works fine ( no matter how many times). "journalctl -u touchegg -b -f" -> https://pastebin.com/4UFm5rK5 Your environment
|
Hi! Thanks for the bug report. @iwismer could you attach your configuration file please? @vvitorveloso it looks like the same issue, it crashes when it tries to free the memory allocated for the gesture. And you both use Arch 🤔 I guess I'll have to install Arch... |
My configuration file is here: https://github.com/iwismer/dotfiles/blob/master/touchegg/.config/touchegg/touchegg.conf |
Also, re: when does it crash. I'm going to try and keep an eye on what I'm doing when it crashes today to see if I can figure it out. |
@JoseExposito it happen with others combinations, I just used that one to test it, I use the same to verify if always crash in the same point. |
Another crash log, with all the gestures since boot, if that helps: |
Maybe this will help, i try here now and note that if i swipe with 3 fingers to the right one time on touchpad and one time on touchscreen it will crash too, but if i swipe first with the touchscreen no matter how many times i swipe on the touchpad it wont crash, also when using thouscreen appears a lot more "Gesture update detected" than touchpad. log -> https://pastebin.com/zsrGpxt7 Also forgot to tell i was using xfce-terminal to test it, but just test with firefox and swipe to left and same thing. It looks like something to do with the touchscreen. Bus 001 Device 005: ID 04f3:002a Elan Microelectronics Corp. Touchscreen Thanks for your time. |
@iwismer you too are using touchscreen or touchpad when it crash? |
I am using a touchpad only, but there is a touchscreen on my laptop |
Later I will try open and use just touchpad to see if it crash too |
Thanks for attaching your configuration file and more logs. It definitely looks like it is an intermittent bug freeing memory. I don't understand why it crash, I mean, it is just freeing memory, but it does:
I'll need to test it in a similar system to see what's going on. I'm not able to reproduce in Debian based OSs. |
The My touchegg.conf (slightly modified version of https://github.com/NayamAmarshe/ToucheggKDE) I'm using KDE if that helps. |
Hi! Yesterday I installed Manjaro (installing Arch is just too difficult, sorry) and I'm not able to reproduce the bug. My understanding is that both OSs should be similar... I followed this steps, just to make sure we installed Touchégg in a similar way. First I installed every dependency and build dependency:
And build if from code, as explained here. I tested the compiled version and it didn't crash, so I tried with AUR:
The same, I'm not able to reproduce the crash. How did you installed it? Did you install the dependencies from the official repo? Just to make sure we are using a similar environment. My system info:
|
Manjaro isn't Arch. It shares the same build system but the repo packages are completely their own. They are usually 2 weeks behind on updates. An issue on Arch will not always coorelate to Manjaro and vice versa. |
For what it's worth I tried the config from the repo you posted @pongo1231 (On KDE as well) and I haven't gotten SHOW_DESKTOP to crash yet. Vanilla Arch. Strange indeed. |
Thanks for testing it @parkerlreed . It might be something hardware specific... Do you guys run a 32 bits OS? Since the information of the gesture is correct, and it doesn't crash on the first time... Could you test the same disabling animations? The log is not pointing in that direction, but because I use GTK to figure out the animation color and I added in this release D-Bus (using a glib event loop) there could be a conflict in the way the event loops interact. |
I'm using regular 64 bit arch with all my repos up to date. I use Paru as my AUR helper. I will give changing the colour and animation a try and see if that stops the crashes. As a side note, I think it only started crashing in 2.0.6 (and maybe 2.0.5, but I doubt it), but definitely not before that. |
Just test it with my wife hd on my notebook (Manjaro). Linux ester-inspironn5110 5.10.7-3-MANJARO #1 SMP PREEMPT Fri Jan 15 21:11:34 UTC 2021 x86_64 GNU/Linux Not sure if it is the same problem of others |
Tested now with xinit -> openbox & -> xfce4-terminal , crashes same way daemon in one tab, client and another the minimal and without effects i can think of |
Branch event-loop seems to fix it |
Cool! I commited a quick change on that branch. I need to do some testing and I'll let you know when it is merged so you can use For the moment, you can avoid using Thanks a lot for testing it! |
Thanks for the fix.
How do i change it? is a gtk setting? I upload a PKGBUILD pointing to event-loop branch, so if anyone wanna test can clone it and run makepkg. git clone https://github.com/vvitorveloso/touchegg-aur-fix |
Hello all! |
kkkk i felt stupid, now i see the config file. Changing the color options fix the issue on v2.0.6 like you said before @JoseExposito
Thanks for the help and the awesome application |
I just finished testing the change and it doesn't seem to affect anything else, so it's merged. You can install Thank you all for testing it! |
Describe the bug
Touchegg client crashes sometimes on gesture. Not quite sure what exactly causes it.
Expected behaviour
The gesture should run the action
Actual behaviour
Touchegg crashes
Your environment
Here is the log from a crash. If anything else is needed to figure this out, let me know!
log2.txt
The text was updated successfully, but these errors were encountered: