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

Francois Gouget fgouget at free.fr
Tue Aug 15 18:12:35 UTC 2017

Package: lirc
Version: 0.9.4c-9
Severity: important

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:

# /etc/init.d/lircd stop
[....] Stopping lircd (via systemctl): lircd.serviceWarning: Stopping
lircd.service, but it can still be activated by:
. ok 

# cat /sys/class/rc/rc0/protocols
[rc-5] nec rc-6 jvc sony rc-5-sz sanyo sharp mce_kbd xmp [lirc]

# cat /sys/class/rc/rc0/input14/name 
Media Center Ed. eHome Infrared Remote Transceiver (147a:e03e)

# ll -d /sys/class/rc/rc0/input14/event13
drwxr-xr-x 3 root root 0 août  15 20:07 /sys/class/rc/rc0/input14/event13

# irrecord -H devinput -f -d /dev/input/event13 /tmp/tmp.conf
Checking for ambient light  creating too much disturbances.
Please don't press any buttons, just wait a few seconds...

No significant noise (received 0 bytes)

Enter name of remote (only ascii, no spaces) :Test
Using Test.lircd.conf as output filename

Hold down an arbitrary key
Found gap (227049 us)

Please enter the name for the next button (press <ENTER> to finish

Now hold down button "KEY_1".
Segmentation fault

This was working fine in the Debian Jessie package, lirc 0.9.0~pre1-1.2.

-- System Information:
Debian Release: buster/sid
  APT prefers testing
  APT policy: (500, 'testing'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.11.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8), LANGUAGE=fr_FR.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages lirc depends on:
ii  init-system-helpers  1.49
ii  libasound2           1.1.3-5
ii  libc6                2.24-12
ii  libftdi1-2           1.3-2+b3
ii  libgcc1              1:7.1.0-10
ii  liblirc-client0      0.9.4c-9
ii  liblirc0             0.9.4c-9
ii  libportaudio2        19.6.0-1
ii  libstdc++6           7.1.0-10
ii  libsystemd0          234-2
ii  libudev1             234-2
ii  libusb-0.1-4         2:0.1.12-31
ii  libusb-1.0-0         2:1.0.21-2
ii  lsb-base             9.20161125
ii  python3              3.5.3-3

Versions of packages lirc recommends:
pn  gir1.2-vte    <none>
ii  python3-gi    3.22.0-2+b1
ii  python3-yaml  3.12-1+b1

Versions of packages lirc suggests:
pn  ir-keytable          <none>
pn  lirc-compat-remotes  <none>
pn  lirc-doc             <none>
pn  lirc-drv-irman       <none>
pn  lirc-x               <none>
pn  setserial            <none>

-- Configuration Files:
/etc/lirc/lircd.conf.d/devinput.lircd.conf [Errno 2] Aucun fichier ou dossier de ce type: '/etc/lirc/lircd.conf.d/devinput.lircd.conf'

-- no debconf information

More information about the Pkg-lirc-maint mailing list