GNOME Bugzilla – Bug 735633
eog crashes when attempting two-finger zoom gesture on touchpad
Last modified: 2015-03-26 18:07:46 UTC
The eog process aborts with the following error when a two (or more) finger gesture is attempted: EOG:ERROR:eog-scroll-view.c:1316:set_zoom: assertion failed: (zoom > 0.0) This appears to be because the gesture recognizer sees all touches from a touchpad at the same location, making the distance (and hence zoom factor) zero. Fixing bug #735629 fixes this.
Hmm, I am wondering whether that assertion is actually still needed. The code following it would have clamped the zoom to 2% anyway.
Oops, it is acknowledged that GTK+ gestures don't work that well yet with indirect touch devices, at the very least values that are not in pixel-based scales ought to work though, moving this to GTK+.
I tend to agree that the assertion in set_zoom should just go.
There are a few report of that issue against eog in Ubuntu https://bugs.launchpad.net/ubuntu/+source/eog/+bug/1436785 "#0 0x00007fe6550a6e37 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56 resultvar = 0 pid = 10207 selftid = 10207
+ Trace 234893
Oops, totally forgot about that assertion. Carlos, I am taking this bug back to eog to fix the actual crash. The feature bug for gtk would be bug 735629, no? If not I'll clone the ticket for gtk+. :)
Removed the assertion now for 3.16.1 so we are not segfaulting anymore. I was thinking about rolling a 3.14.4 in the next days to push out some late-coming translation updates and will most likely ship the fix as well. commit ee33862e7cede4fd2ff34e4cfcb4192dfdd52b46 Author: Felix Riemann <> Date: Thu Mar 26 19:01:05 2015 +0100 EogScrollView: Remove unneeded g_assert() The code following it is able to handle the situation. https://bugzilla.gnome.org/show_bug.cgi?id=735633 --- This problem has been fixed in our software repository. The fix will go into the next software release. Once that release is available, you may want to check for a software upgrade provided by your Linux distribution.