geis_filter_add_term segfault

Bug #856022 reported by Mark Nunberg
96
This bug affects 20 people
Affects Status Importance Assigned to Milestone
Geis
Invalid
Undecided
Unassigned
Touchegg
Unknown
Unknown
touchegg (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

root@debmed:/sources/utouch/touchegg# gdb ./touchegg
GNU gdb (GDB) 7.0.1-debian
Copyright (C) 2009 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /sources/utouch/touchegg/touchegg...done.
(gdb) r
Starting program: /sources/utouch/touchegg/touchegg
[Thread debugging using libthread_db enabled]
[New Thread 0x7ffff095d700 (LWP 791)]
Xlib: extension "RANDR" missing on display ":1.0".
Reading config from "/root/.config/touchegg/touchegg.conf"

Program received signal SIGSEGV, Segmentation fault.
__strcmp_sse42 () at ../sysdeps/x86_64/multiarch/strcmp.S:129
129 ../sysdeps/x86_64/multiarch/strcmp.S: No such file or directory.
 in ../sysdeps/x86_64/multiarch/strcmp.S
Current language: auto
The current source language is "auto; currently asm".
(gdb) bt
#0 __strcmp_sse42 () at ../sysdeps/x86_64/multiarch/strcmp.S:129
#1 0x00007ffff7bd1d20 in ?? () from /usr/lib/libutouch-geis.so.1
#2 0x00007ffff7bcdfd8 in geis_filter_add_term () from /usr/lib/libutouch-geis.so.1
#3 0x000000000041429d in GestureCollector::addWindow (this=0x656720, w=2381)
    at src/touchegg/gestures/collector/GestureCollector.cpp:164
#4 0x0000000000424f34 in Touchegg::start (this=0x7fffffffe7d0) at src/touchegg/Touchegg.cpp:66
#5 0x00000000004257ec in Touchegg::qt_metacall (this=0x7fffffffe7d0, _c=QMetaObject::InvokeMetaMethod,
    _id=<value optimized out>, _a=0x7fffffffdd40) at build/moc_Touchegg.cpp:79
#6 0x00007ffff62472e6 in QMetaObject::activate (sender=0x656720, m=<value optimized out>,
    local_signal_index=<value optimized out>, argv=0x10) at kernel/qobject.cpp:3295
#7 0x0000000000414f0a in GestureCollector::geisEvent (this=0x656720)
    at src/touchegg/gestures/collector/GestureCollector.cpp:115
#8 0x00000000004252ac in GestureCollector::qt_metacall (this=0x656720, _c=QMetaObject::InvokeMetaMethod, _id=48,
    _a=0x7fffffffdee0) at build/moc_GestureCollector.cpp:86
#9 0x00007ffff62472e6 in QMetaObject::activate (sender=0x81c470, m=<value optimized out>,
    local_signal_index=<value optimized out>, argv=0x10) at kernel/qobject.cpp:3295
#10 0x00007ffff6293e5e in QSocketNotifier::activated (this=0x8, _t1=21)
    at .moc/release-shared/moc_qsocketnotifier.cpp:89
#11 0x00007ffff624e143 in QSocketNotifier::event (this=0x81c470, e=0x7fffffffe540) at kernel/qsocketnotifier.cpp:317
#12 0x00007ffff674432c in QApplicationPrivate::notify_helper (this=0x651410, receiver=0x81c470, e=0x7fffffffe540)
    at kernel/qapplication.cpp:4302
#13 0x00007ffff674a80b in QApplication::notify (this=0x7fffffffe7d0, receiver=0x81c470, e=0x7fffffffe540)
    at kernel/qapplication.cpp:4185
#14 0x00007ffff623409c in QCoreApplication::notifyInternal (this=0x7fffffffe7d0, receiver=0x81c470,
    event=0x7fffffffe540) at kernel/qcoreapplication.cpp:726
#15 0x00007ffff625da6a in QCoreApplication::sendEvent (source=0x6564c0)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#16 socketNotifierSourceDispatch (source=0x6564c0) at kernel/qeventdispatcher_glib.cpp:110
#17 0x00007ffff402a4a3 in g_main_dispatch (context=0x6554e0) at /tmp/buildd/glib2.0-2.28.6/./glib/gmain.c:2440
#18 g_main_context_dispatch (context=0x6554e0) at /tmp/buildd/glib2.0-2.28.6/./glib/gmain.c:3013
#19 0x00007ffff402ac80 in g_main_context_iterate (context=0x6554e0, block=1, dispatch=1, self=<value optimized out>)
    at /tmp/buildd/glib2.0-2.28.6/./glib/gmain.c:3091
---Type <return> to continue, or q <return> to quit---bt
#20 0x00007ffff402af1d in g_main_context_iteration (context=0x6554e0, may_block=1)
    at /tmp/buildd/glib2.0-2.28.6/./glib/gmain.c:3154
#21 0x00007ffff625d6b3 in QEventDispatcherGlib::processEvents (this=0x652990, flags=<value optimized out>)
    at kernel/qeventdispatcher_glib.cpp:412
#22 0x00007ffff67f419e in QGuiEventDispatcherGlib::processEvents (this=0x8, flags=<value optimized out>)
    at kernel/qguieventdispatcher_glib.cpp:204
#23 0x00007ffff62329c2 in QEventLoop::processEvents (this=<value optimized out>, flags=DWARF-2 expression error: DW_OP_reg operations must be used either alone or in conjuction with DW_OP_piece.
)
    at kernel/qeventloop.cpp:149
#24 0x00007ffff6232d9c in QEventLoop::exec (this=0x7fffffffe780, flags=DWARF-2 expression error: DW_OP_reg operations must be used either alone or in conjuction with DW_OP_piece.
) at kernel/qeventloop.cpp:201
#25 0x00007ffff6237a2b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1003
#26 0x0000000000424700 in main (argc=<value optimized out>, argv=<value optimized out>) at src/touchegg/Main.cpp:37
(gdb) quit
A debugging session is active.

 Inferior 1 [process 785] will be killed.

Quit anyway? (y or n) yroot@debmed:/sources/utouch/touchegg# dpkg -l | grep utouch
ii libutouch-evemu-dev 1.0.5-0ubuntu1 Kernel Device Emulation Library - dev files
ii libutouch-evemu1 1.0.5-0ubuntu1 Kernel Device Emulation Library
ii libutouch-frame-dev 1.1.4-0ubuntu1 Touch Frame Library - dev files
ii libutouch-frame1 1.1.4-0ubuntu1 Touch Frame Library
ii libutouch-geis-dev 2.1.2-0ubuntu3 Gesture engine interface support - dev files
ii libutouch-geis1 2.1.2-0ubuntu3 Gesture engine interface support
ii libutouch-grail-dev 2.0.1-0ubuntu1 Gesture Recognition And Instantiation Library - dev files
ii libutouch-grail1 2.0.1-0ubuntu1 Gesture Recognition And Instantiation Library
ii python-utouch-geis 2.1.2-0ubuntu3 python bindings for libutouch-geis
ii utouch-geis-tools 2.1.2-0ubuntu3 Gesture engine interface support - test tools

Related branches

Revision history for this message
Stephen M. Webb (bregma) wrote :

Problem is a coding error in touchegg. Reported upstream here: http://code.google.com/p/touchegg/issues/detail?id=128

Changed in utouch-geis:
status: New → Invalid
Revision history for this message
José Expósito (jose-exposito89) wrote :

Thanks for report Mark, and thanks for the patch Bregma. Commited to the SVN

Stephen M. Webb (bregma)
Changed in touchegg (Ubuntu):
status: New → Confirmed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package touchegg - 1.1.1-0ubuntu1

---------------
touchegg (1.1.1-0ubuntu1) raring; urgency=low

  [ Mitsuya Shibata ]
  * New upstream release (LP: #1059489)
    - Fixed several segv problems:
      LP: #1065673, LP: #856022, LP: #918551
    - Applied geis rename patch.
  * Removed 0001-geis_rename.patch, not needed anymore.

  [ Andrew Starr-Bochicchio ]
  * Add a debian/watch file.
  * Update Format field of debian/copyright to latest spec.
 -- Mitsuya Shibata <email address hidden> Mon, 17 Dec 2012 23:16:27 +0900

Changed in touchegg (Ubuntu):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.