Bug 1066 - Workrave requires librecord.so, librecord.so causes Xorg to SIGSEGV
Status:
RESOLVED FIXED
Component:
Core :: UNIX
Version:
1.9.4
Hardware:
PC Linux
Importance:
P5 normal
Target Milestone:
---
Assignee:
Rob Caelers
URL:
Depends on:
Blocks:
Reported:
Mar 1 2012 14:54:03 UTC
by:
m.**@la**.net
Modified:
Apr 2 2012 23:43:31 UTC
WhoWhenWhatRemovedAdded
Rob CaelersMar 24 2012 21:51:12 UTCstatusNEWRESOLVED
resolutionFIXED
Description
m.**@la**.net  Mar 1 2012 14:54:03 UTC
I've been having regular (and seemingly randomly timed) Xorg segfaults, approx 2-3 per day, which can be traced to librecord.so. I get kicked out to the ubuntu login prompt. There is a discussion of the problem here: https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-input-synaptics/+bug/774978
Post #38 summarises it I think. The errors in my xorg.log are the same as those seen in that thread, i.e. something like 
..... 2: /lib/x86_64-linux-gnu/libpthread.so.0 (0x7f8335203000+0xfc60) [0x7f8335212c60]
[ 15223.014] 3: /usr/lib/xorg/modules/extensions/librecord.so (0x7f8332bb8000+0x2920) [0x7f8332bba920] ......

The suggested solution in that thread is to disable librecord.so, which stops the crashes for me, however workrave requires librecord to work. 
This happens for me in both unity and gnome 3 (i'm running ubuntu 11.10). Not sure how many people this affects, or how easy it would be for workrave to avoid using librecord?
Regards
Comment 1
Rob Caelers  Mar 24 2012 21:51:12 UTC
I just added a new activity monitor based on the XScreenSaver extension.

The order in which workrave tries the different monitors can be configured at compile time:

configure ... --enable-monitors=screensaver,x11events,record

The default to use can be changed using gsettings:

gsettings set org.workrave.advanced monitor record
Comment 2
m.**@la**.net  Apr 2 2012 23:43:31 UTC
No crashes for me since the update. Brilliant, thanks!