← Back to team overview

mythbuntu-bugs team mailing list archive

[Bug 471452] Re: lircd segfaults with commandir driver

 

Me too.
lirc           0.8.6-0ubuntu2

/etc/lirc/hardware.conf:
#Chosen Remote Control
REMOTE="USB-UIRT-RX"
REMOTE_MODULES=""
REMOTE_DRIVER="usb_uirt_raw"
REMOTE_DEVICE="/dev/ttyUSB0"
REMOTE_SOCKET="/dev/lircd-rx"
REMOTE_LIRCD_CONF=""
REMOTE_LIRCD_ARGS=""
#Chosen IR Transmitter
TRANSMITTER="USB-UIRT-TX"
TRANSMITTER_MODULES=""
TRANSMITTER_DRIVER="usb_uirt_raw"
TRANSMITTER_DEVICE="/dev/ttyUSB0"
TRANSMITTER_SOCKET="/dev/lircd-tx"
TRANSMITTER_LIRCD_CONF=""
TRANSMITTER_LIRCD_ARGS=""

Reproduce:
$ irsend -d /dev/lircd-tx1 send_once "WD_HD_TV_Media_Player_v1" "KEY_POWER"
$ dmesg
[431712.848423] lircd[20427]: segfault at 8 ip 0806abf0 sp bffc6230 error 4 in lircd[8048000+29000]
[431712.849127] lircd[20420]: segfault at 8 ip 0806abf0 sp bfddf5c0 error 4 in lircd[8048000+29000]

-- 
lircd segfaults with commandir driver
https://bugs.launchpad.net/bugs/471452
You received this bug notification because you are a member of Mythbuntu
Bug Team, which is subscribed to lirc in ubuntu.

Status in “lirc” package in Ubuntu: New

Bug description:
Binary package hint: lirc

lirc:
  Installed: 0.8.6-0ubuntu2
  Candidate: 0.8.6-0ubuntu2
  Version table:
 *** 0.8.6-0ubuntu2 0
        500 http://archive.linux.duke.edu karmic/universe Packages
        100 /var/lib/dpkg/status



In Ubuntu 9.10, lirc-0.8.6-0ubuntu2, on both 64-bit and 32-bit platforms, lircd segfaults when /etc/lirc/hardware.conf is configured for the commandir driver.

When using the init script /etc/init.d/lirc to start the daemon, the segfault shows up right away in /var/log/syslog

When testing with 
   /usr/sbin/lircd -n --driver=commandir
lircd stays up, but immediately segfaults when I connect to it with irw

I have not been able to test with any other USB receiver hardware, but I've talked to a friend who is using the same version successfully with a hauppauge PVR card.

syslog.1:Nov  1 19:09:59 mythtv kernel: [ 3048.583449] lircd[4443]: segfault at 4641eddc0 ip 0000000000410db4 sp 00007fffdd868930 error 4 in lircd[400000+2b000]

My /etc/lirc/hardware.conf:

--Begin


# /etc/lirc/hardware.conf
#
#Chosen Remote Control
REMOTE="CommandIR2_RCVR"
REMOTE_MODULES=""
REMOTE_DRIVER="commandir"
REMOTE_DEVICE=""
REMOTE_SOCKET=""
REMOTE_LIRCD_CONF=""
REMOTE_LIRCD_ARGS=""

#Chosen IR Transmitter
TRANSMITTER="CommandIR2_XMIT"
TRANSMITTER_MODULES=""
TRANSMITTER_DRIVER="commandir"
TRANSMITTER_DEVICE=""
TRANSMITTER_SOCKET=""
TRANSMITTER_LIRCD_CONF=""
TRANSMITTER_LIRCD_ARGS=""

#Enable lircd
START_LIRCD="true"

#Don't start lircmd even if there seems to be a good config file
#START_LIRCMD="false"

#Try to load appropriate kernel modules
LOAD_MODULES="false"

# Default configuration files for your hardware if any
LIRCMD_CONF=""

#Forcing noninteractive reconfiguration
#If lirc is to be reconfigured by an external application
#that doesn't have a debconf frontend available, the noninteractive
#frontend can be invoked and set to parse REMOTE and TRANSMITTER
#It will then populate all other variables without any user input
#If you would like to configure lirc via standard methods, be sure
#to leave this set to "false"
FORCE_NONINTERACTIVE_RECONFIGURATION="false"
START_LIRCMD=""


--end