Hi,

I have installed lirc 0.8.7 pre3 and trying to use IR over portaudio.
using this setup:http://people.inf.ethz.ch/mringwal/lirc/
My problem is this:

when lirc starts at system startup, it segfaults when i try to access it with IRW or other program that i configured to use lirc, i.e. XBMC.
The error is this:

Dec 27 18:52:42 media kernel: [ 8212.929126] lircd[5143]: segfault at 0 ip 00007f2efaa84fd3 sp 00007f2ef5698cb0 error 4 in libportaudio.so.2.0.0[7f2efaa7c000+2b000]

At first i thought it has something to do with the startup timing, so i set up monit service to watch for lirc, and restart it if not running, so it does exactly that, but still segfaults.

But if i manually run "sudo /etc/init.d/lirc start" from terminal, it stays up and works as it should.

My system is default installtion of UBUNTU 10.10, 64bit.

What can be the problem? What is the diference between these startups? Any help is apreciated.

this is my hardware.conf:

# /etc/lirc/hardware.conf
#
#Chosen Remote Control
REMOTE="Receiver/transmitter using PortAudio (EXPERIMENTAL)"
REMOTE_MODULES=""
REMOTE_DRIVER="audio"
REMOTE_DEVICE=""
REMOTE_SOCKET=""
REMOTE_LIRCD_CONF=""
REMOTE_LIRCD_ARGS=""

#Chosen IR Transmitter
TRANSMITTER="Custom"
TRANSMITTER_MODULES=""
TRANSMITTER_DRIVER=""
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"

START_LIRCMD=""
FORCE_NONINTERACTIVE_RECONFIGURATION="false"


Regards,
Karolis