[Pkg-lirc-maint] Bug#872375: lirc: irrecord segfaults when recording a button

Alec Leamas leamas.alec at gmail.com
Sat Aug 19 01:53:06 UTC 2017

On Fri, 18 Aug 2017 22:38:15 +0200 Gianfranco Costamagna 
<locutusofborg at debian.org> wrote:
 > Hello,
 > > Dear Maintainer,
 > >
 > > When trying to create a configuration file for my remote, irrecord
 > > crashes when it gets to the 'Now hold down button Xxx' step:
 > can you please try 0.10.0 from unstable?
 > thanks

The usage here actually does not look  sane. We have

 > # irrecord -H devinput -f -d /dev/input/event13 /tmp/tmp.conf

According to the sources, when presented with the devinput driver 
irrecord displays a message like this:

         "Usually you should not create a new config file for devinput\n"
         "devices. LIRC is installed with a devinput.lircd.conf file 
which \n"
         "is built for the current system which works with all remotes \n"
         "supported by the kernel. There might be a need to update \n"
         "this file so it matches the current kernel. For this, use the \n"
         "lirc-make-devinput(1) script.";

Perhaps you missed this message, irrecord does indeed spit out a lot of 
text. That said, this usecase is not really supported.

OTOH, a segfault is never acceptable. Filed upstream bug [1]



[1] https://sourceforge.net/p/lirc/tickets/299/

More information about the Pkg-lirc-maint mailing list