evince segfaults

Bug #879348 reported by zikaface
52
This bug affects 9 people
Affects Status Importance Assigned to Milestone
Geis
Fix Released
Undecided
Stephen M. Webb
utouch-geis (Ubuntu)
Fix Released
Undecided
Stephen M. Webb

Bug Description

[ 6168.402557] evince[7514] general protection ip:7fe846a7439c sp:7fffc136e4f0 error:0 in libutouch-geis.so.1.2.0[7fe846a6d000+20000]

Evince crashes every time it starts:
$ evince
Segmentation fault
$
(Precice Pangolin)

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: evince 3.2.1-0ubuntu2
ProcVersionSignature: Error: [Errno 2] No such file or directory: '/proc/version_signature'
Uname: Linux 3.1.0-999-generic x86_64
ApportVersion: 1.24-0ubuntu1
Architecture: amd64
Date: Fri Oct 21 12:45:37 2011
KernLog:
 Oct 21 09:40:07 cave kernel: [ 0.000000] Command line: BOOT_IMAGE=/boot/vmlinuz-3.1.0-999-generic root=UUID=cc6bbee2-5948-4dc2-84d5-d1e0ce266bba ro rootflags=data=ordered ipv6.disable=1 apparmor=0
 Oct 21 09:40:07 cave kernel: [ 0.000000] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-3.1.0-999-generic root=UUID=cc6bbee2-5948-4dc2-84d5-d1e0ce266bba ro rootflags=data=ordered ipv6.disable=1 apparmor=0
 Oct 21 09:40:07 cave kernel: [ 0.004049] Security Framework initialized
 Oct 21 09:40:07 cave kernel: [ 0.004059] AppArmor: AppArmor disabled by boot time parameter
 Oct 21 09:40:07 cave kernel: [ 0.829118] type=2000 audit(1319182759.828:1): initialized
SourcePackage: evince
UpgradeStatus: No upgrade log present (probably fresh install)

Related branches

Revision history for this message
zikaface (zikaface) wrote :
Revision history for this message
Sebastien Bacher (seb128) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. Please try to obtain a backtrace following the instructions at http://wiki.ubuntu.com/DebuggingProgramCrash and upload the backtrace (as an attachment) to the bug report. This will greatly help us in tracking down your problem.

affects: evince (Ubuntu) → utouch-geis (Ubuntu)
Changed in utouch-geis (Ubuntu):
assignee: nobody → Chase Douglas (chasedouglas)
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in utouch-geis (Ubuntu):
status: New → Confirmed
Revision history for this message
Harry (harry33) wrote :

I have done some testing.
The problem is not Evince nor the package libgrip0.
The bug is in the package libutouch-geis1_2.2.0-0ubuntu1

Workaround:
Downgrade to the earlier libutouch-geis1 version 2.1.2-0ubuntu4.

Stephen M. Webb (bregma)
Changed in utouch-geis (Ubuntu):
assignee: Chase Douglas (chasedouglas) → Stephen M. Webb (bregma)
Stephen M. Webb (bregma)
Changed in utouch-geis:
status: New → Triaged
assignee: nobody → Stephen M. Webb (bregma)
milestone: none → utouch-geis-2.2.1
Stephen M. Webb (bregma)
Changed in utouch-geis:
status: Triaged → In Progress
Changed in utouch-geis (Ubuntu):
status: Confirmed → In Progress
Stephen M. Webb (bregma)
Changed in utouch-geis:
status: In Progress → Fix Committed
Stephen M. Webb (bregma)
Changed in utouch-geis:
status: Fix Committed → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package utouch-geis - 2.2.1-0ubuntu1

---------------
utouch-geis (2.2.1-0ubuntu1) precise; urgency=low

  * New upstream release.
  * Remove all callbacks and filters on DBus client shutdown (LP: #879348).
 -- <email address hidden> (Stephen M. Webb) Sat, 22 Oct 2011 00:13:06 -0400

Changed in utouch-geis (Ubuntu):
status: In Progress → Fix Released
Revision history for this message
Harry (harry33) wrote :

This bug is certainly not fixed with the libutouch-geis1, version 2.2.1-0ubuntu1.
Evince does segfault with this update exactly the same way as with the version 2.2.0-0ubntu1.
So, it is of no use for Evince.
The only working version is 2.1.2-0ubuntu4.

Revision history for this message
Rico Tzschichholz (ricotz) wrote :

I can confirm 2.2.1-0ubuntu1 doesn't solve the problem and evince/eog are still freezing for me here.
2.1.2-0ubuntu4 works though.

#0 0x00007fbe5106a913 in select () at ../sysdeps/unix/syscall-template.S:82
#1 0x00007fbe4c246a9f in _geis_v1_wait_for_init (geis_instance=<optimized out>) at geis_v1.c:474
#2 geis_init (win_info=<optimized out>, geis_instance=0x7fff574a53a8) at geis_v1.c:532
#3 0x00007fbe50561c53 in grip_get_devices (gesture_manager=0x7fbe55be4240) at gripgesturemanager.c:235
#4 grip_gesture_manager_constructor (type=<optimized out>, n_params=0, params=<optimized out>) at gripgesturemanager.c:335

Note this happens using Xserver 1.11.

Revision history for this message
Chase Douglas (chasedouglas) wrote :

Reopening since the bug doesn't seem fixed.

Changed in utouch-geis (Ubuntu):
status: Fix Released → Triaged
Changed in utouch-geis:
status: Fix Released → Triaged
Revision history for this message
Harry (harry33) wrote :

It seems clear to me that the libutouch-geis1_2.2.1-0ubuntu1 does not work with xserver 1.11 series.
This is because xserver 1.11 does not have utouch support yet and libutouch-geis1_2.2.1-0ubuntu1 cannot handle that.
This is why evince segfaults.

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

I am unable to reproduce either the crash or the hang in Precise. In the case of the crash, please try to obtain a backtrace following the instructions at http://wiki.ubuntu.com/DebuggingProgramCrash and upload the backtrace (as an attachment) to the bug report. This will greatly help me in tracking down your problem.

Changed in utouch-geis (Ubuntu):
status: Triaged → Incomplete
Revision history for this message
Russ Dill (russ-dill) wrote :

Program received signal SIGINT, Interrupt.
0x00007fa718357913 in select () at ../sysdeps/unix/syscall-template.S:82
82 ../sysdeps/unix/syscall-template.S: No such file or directory.
 in ../sysdeps/unix/syscall-template.S
(gdb) bt
#0 0x00007fa718357913 in select () at ../sysdeps/unix/syscall-template.S:82
#1 0x00007fa7135eba9f in geis_init () from /usr/lib/libutouch-geis.so.1
#2 0x00007fa71784ec53 in ?? () from /usr/lib/libgrip.so.0
#3 0x00007fa7191ef502 in g_object_newv (object_type=140355721116416, n_parameters=0,
    parameters=0x0) at /build/buildd/glib2.0-2.30.1/./gobject/gobject.c:1412
#4 0x00007fa7191f008c in g_object_new (object_type=140355721116416,
    first_property_name=0x0) at /build/buildd/glib2.0-2.30.1/./gobject/gobject.c:1322
#5 0x00007fa71b03b5ed in ?? () from /usr/lib/libevview3.so.3
#6 0x00007fa7191f0601 in object_set_property (nqueue=0x7fa71ce52340,
    value=0x7fffe1b78670, pspec=0x7fa71ce65cf0, object=0x7fa71ce68260)
    at /build/buildd/glib2.0-2.30.1/./gobject/gobject.c:1199
#7 g_object_set_valist (object=0x7fa71ce68260, first_property_name=<optimized out>,
    var_args=0x7fffe1b786f8) at /build/buildd/glib2.0-2.30.1/./gobject/gobject.c:1727
#8 0x00007fa7191f1057 in g_object_set (_object=0x7fa71ce68260,
    first_property_name=0x7fa71bb1f0ed "enable-gestures")
    at /build/buildd/glib2.0-2.30.1/./gobject/gobject.c:1833
#9 0x00007fa71bb01f40 in ?? ()
#10 0x00007fa71920c373 in g_type_create_instance (type=<optimized out>)
    at /build/buildd/glib2.0-2.30.1/./gobject/gtype.c:1885
#11 0x00007fa7191ec5ac in g_object_constructor (type=<optimized out>,
    n_construct_properties=2, construct_params=0x7fa708001390)
    at /build/buildd/glib2.0-2.30.1/./gobject/gobject.c:1629
#12 0x00007fa7191eee94 in g_object_newv (object_type=<optimized out>,
    n_parameters=134220896, parameters=<optimized out>)
    at /build/buildd/glib2.0-2.30.1/./gobject/gobject.c:1493
#13 0x00007fa7191efd66 in g_object_new_valist (object_type=140355370487824,
    first_property_name=<optimized out>, var_args=0x7fffe1b78c68)
    at /build/buildd/glib2.0-2.30.1/./gobject/gobject.c:1610
#14 0x00007fa7191f0074 in g_object_new (object_type=140355370487824,
    first_property_name=0x7fa71bb1db07 "type")
    at /build/buildd/glib2.0-2.30.1/./gobject/gobject.c:1325
#15 0x00007fa71bb033d3 in ?? ()
#16 0x00007fa71baee3c3 in ?? ()
#17 0x00007fa71bae9c0a in main ()

Revision history for this message
Russ Dill (russ-dill) wrote :

For slightly more detail, evince it sitting on this system call:

select(12, [0 11], NULL, NULL, NULL) = 1 (in [0])

Where 0 is stdin and 11 is from "epoll_create1(O_CLOEXEC)" and listed as "anon_inode:[eventpoll]". Hitting any key will cause the select to spin.

Revision history for this message
Russ Dill (russ-dill) wrote :

btw, eog is also effected.

Revision history for this message
Russ Dill (russ-dill) wrote :

This is due to the xorg-edgers ppa xserver-xorg-input-evdev module not having utouch support. The utouch library response when confronted with this is to just hang.

That's a really bad response to an error. Please, Please, Please. If you can't connect, just don't give utouch support, or at the very least provide a GEIS_DISABLE env.

Currently only evince and eog are broken, but they are rather critical apps.

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

The response of the uTouch stack to an S server that does not support the gesture protocol is not to hang but to report the error and fail gracefully. That has been fully tested over many releases.

All of the stack traces that have been posted show that utouch-geis is hanging while trying to connect to the session dBus server to query for the existence of a uTouch service. This occurs long before any attempt is made to contact the X server for any reason. It is unclear why the dBus library does not handle this case in an expected manner on some precise installs and not others, since it works on all this developer's precise installs.

Investigation is continuing.

Revision history for this message
Russ Dill (russ-dill) wrote :

(I'm running precise, but with the xorg edgers ppa)

I don't know if this helps or not:

GEIS(warning)-_set_valist:565 back end not specified, defaulting to DBus
GEIS(debug)-geis_backend_by_name:123 creating back end of class "com.canonical.utouch.backend.dbus"
GEIS(debug)-geis_register_gesture_class:967 registering class "Flick" id 128
GEIS(debug)-geis_backend_multiplexor_pump:398 activity 0x1 on fd 12 callback_info=0xef7b70
GEIS(debug)-_input_event_handler:214 input event available
GEIS(debug)-_default_output_event_callback:102 posting output event
GEIS(debug)-geis_backend_multiplexor_pump:398 activity 0x1 on fd 14 callback_info=0xf29d00
GEIS(warning)-_locator_message_handler:120 server not found!
GEIS(debug)-geis_backend_multiplexor_pump:398 activity 0x1 on fd 12 callback_info=0xef7b70
GEIS(debug)-_input_event_handler:214 input event available
GEIS(debug)-geis_backend_delete:160 destroying back end com.canonical.utouch.backend.dbus
GEIS(debug)-geis_backend_by_name:123 creating back end of class "com.canonical.utouch.backend.xcb"
GEIS(error)-_verify_xcb_version:285 failed to receive XCB gesture version reply.

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

Since an application hanging is an entirely different bug than the crash originall reported here, I have taken the liberty of opening an entirely new bug for that complaint. Please redirect all follow-up correspondance not dealing with the original crash bug to bug #898175.

Revision history for this message
Chase Douglas (chasedouglas) wrote :

This was likely fixed in a previous version of utouch-geis. I am marking this bug as fix released. If it is not, please reopen.

Changed in utouch-geis (Ubuntu):
status: Incomplete → Fix Released
Changed in utouch-geis:
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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