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

Francois Gouget fgouget at free.fr
Tue Aug 22 15:06:29 UTC 2017


On Fri, 18 Aug 2017, Gianfranco Costamagna 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?

I tried with 0.10.0-2 but I'm still getting a segfault. Note that the 
segfault happens *before* I press the button on the remote.

# dpkg -l | grep lirc
ii  liblirc-client0:amd64                     0.10.0-2                                amd64        infra-red remote control support - client library
ii  liblirc0:amd64                            0.10.0-2                                amd64        Infra-red remote control support - Run-time libraries
ii  lirc                                      0.10.0-2                                amd64        Infra-red remote control support - daemons and utils

As before I get:
# irrecord -H devinput -f -d /dev/input/event13 /tmp/foo.conf          
[...]
Hold down an arbitrary key
................................................................................
Found gap (115997 us)

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

Now hold down button "KEY_1".
Segmentation fault


Running that command in gdb does not give me much more data due to the 
lack of debugging symbols:

Program received signal SIGSEGV, Segmentation fault.
0x0000000000000000 in ?? ()
(gdb) bt
#0  0x0000000000000000 in ?? ()
#1  0x00007ffff79afe73 in record_buttons ()
   from /usr/lib/x86_64-linux-gnu/libirrecord.so.0
#2  0x000055555555814d in ?? ()
#3  0x0000555555556e4c in ?? ()
#4  0x00007ffff762b2b1 in __libc_start_main (main=0x5555555564c0, argc=7, 
    argv=0x7fffffffe748, init=<optimized out>, fini=<optimized out>, 
    rtld_fini=<optimized out>, stack_end=0x7fffffffe738) at ../csu/libc-start.c:291
#5  0x00005555555574da in ?? ()



-- 
Francois Gouget <fgouget at free.fr>              http://fgouget.free.fr/
  Good judgment comes from experience, and experience comes from bad judgment
                               -- Barry LePatner



More information about the Pkg-lirc-maint mailing list