[Pkg-lirc-maint] Bug#780062: lircrcd segfaults

fld fld at r00t3d.com
Sun Oct 11 14:41:55 UTC 2015


On Sun, 8 Mar 2015 22:09:00 +0000 John Williams <john at pond-weed.com> wrote:
> Package: lirc
> Version: 0.9.0~pre1-1.2
> 
> I have just updated from wheezy to jessie (i386)
> 
> At random intervals my lirc configuration stops working; I can see that
> the lircrcd program has disappeared, and /var/log/syslog contains this:
> 
> lircrcd[843]: segfault at e975f324 ip 0804942b sp bfac5c90 error 7 in
> lircrcd[8048000+4000]
> 
> I have the current latest jessie version of every package. My lirc
> configuration files have not changed and were working fine in wheezy.
> 
> 
Hi,

Just upgraded from Wheezy->Jessie and I also started getting these random segfaults:
$ dmesg | grep segm
[ 4235.019558] traps: lircrcd[969] trap stack segment ip:401a87 sp:7ffd5ab61bc0 error:0 in lircrcd[400000+4000]
[16587.897038] traps: lircrcd[17175] trap stack segment ip:401a87 sp:7ffc39fb23e0 error:0 in lircrcd[400000+4000]
[16604.362987] traps: lircrcd[17364] trap stack segment ip:401a87 sp:7ffeefdd7fa0 error:0 in lircrcd[400000+4000]
[16645.638990] traps: lircrcd[17611] trap stack segment ip:401a87 sp:7fff7cc04b20 error:0 in lircrcd[400000+4000]
[16652.761130] traps: lircrcd[17947] trap stack segment ip:401a87 sp:7ffc13236300 error:0 in lircrcd[400000+4000]
[97933.168463] traps: lircrcd[3988] trap stack segment ip:401a87 sp:7ffd60e72a90 error:0 in lircrcd[400000+4000]
[97940.655398] traps: lircrcd[26463] trap stack segment ip:401a87 sp:7ffe29c07fb0 error:0 in lircrcd[400000+4000]
[191015.136621] traps: lircrcd[29975] trap stack segment ip:401a87 sp:7ffd56ac76f0 error:0 in lircrcd[400000+4000]

$ sudo ir-keytable
Found /sys/class/rc/rc0/ (/dev/input/event3) with:
        Driver mceusb, table rc-rc6-mce
        Supported protocols: NEC RC-5 RC-6 JVC SONY SANYO LIRC SHARP other 
        Enabled protocols: NEC RC-5 RC-6 JVC SONY SANYO LIRC SHARP other 
        Name: Media Center Ed. eHome Infrared 
        bus: 3, vendor/product: 045e:006d, version: 0x0200
        Repeat delay = 500 ms, repeat period = 125 ms

$ ps aux | grep lirc
root     28584  0.0  0.0  21044  1480 ?        Ss   16:32   0:00 /usr/sbin/lircd --driver=default --device=/dev/lirc0
root     28589  0.0  0.0   6288  1224 ?        Ss   16:32   0:00 lircrcd /etc/lirc/lircrc
root     28590  0.0  0.0   6276    96 ?        Ss   16:32   0:00 /usr/bin/irexec -d /etc/lirc/lircrc

The current workaround that I'm using:
/bin/sh -c 'while true; do while pgrep lircrcd; do sleep 1s; done; /etc/init.d/lirc restart; done' &> /dev/null &

This bug should be escalated to 'Serious / Release Critical' classification?



More information about the Pkg-lirc-maint mailing list