Bug 13978 - lircd segfaults (upstream release is 0.9.4d)
Summary: lircd segfaults (upstream release is 0.9.4d)
Status: NEW
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: x86_64 Linux
: High critical
Target Milestone: ---
Assignee: All Packagers
QA Contact:
URL:
Whiteboard: MGA5TOO
Keywords: 6sta2, PATCH, Triaged, UPSTREAM
: 16446 16541 (view as bug list)
Depends on:
Blocks:
 
Reported: 2014-08-24 01:54 CEST by Bit Twister
Modified: 2017-01-31 18:48 CET (History)
5 users (show)

See Also:
Source RPM: lirc-0.9.1a-1.mga5.src.rpm
CVE:
Status comment:


Attachments

Description Bit Twister 2014-08-24 01:54:33 CEST
Description of problem:

 lircd segfaults.  Snippet from journalctl

 systemd[1]: Starting LIRC Infrared Signal Decoder...
 systemd[1]: Started LIRC Infrared Signal Decoder.
 lircd[9026]: Cannot open /sys/class/rc
 kernel: lircd[9026]: segfault at 0 ip 00007f821daa645a sp 00007fff1f5c0ae8
          error 4 in libc-2.19.so[7f82
 systemd[1]: lircd.service: main process exited, code=killed, status=11/SEGV

Version-Release number of selected component (if applicable):


How reproducible: Always


Steps to Reproduce:
1. urpmi lirc
2. systemctl start lircd



Reproducible: 

Steps to Reproduce:
Comment 1 Bit Twister 2014-08-31 12:54:26 CEST
I opened a ticket at http://sourceforge.net/p/lirc/tickets/39/
Suggested fix found at http://sourceforge.net/p/lirc/tickets/39/#cc0b
Comment 2 Bit Twister 2014-09-01 19:18:43 CEST
Workaround/Solution:
change "output = /var/run/lirc/lircd"
to     "lircdfile = /var/run/lirc/lircd"
in /etc/lirc/lirc_options.conf
Comment 3 Alec Leamas 2014-09-02 08:10:05 CEST
Hi, I'm the upstream maintainer.

Note that patches are available in the release_0.9.1b branch, should you want to release this before next upstream point release. The solution in comment #2 is not really the proper one although it kinda works.
Comment 4 Samuel Verschelde 2015-05-20 00:02:27 CEST
This bug was not fixed.

We have a patch from upstream (see comment #3), would be nice to integrate it.
Comment 5 David Walser 2015-05-23 13:04:27 CEST
There is no 0.9.1b release still, and I see no such branch in the sourceforge git interface.
Comment 6 Rémi Verschelde 2015-05-23 13:30:14 CEST
Indeed, upstream went directly to 0.9.2a. I had a look whether I could find the patches to backport, but my motivation was not high enough and I quickly gave up.
Other distros have patches though, so we might want to look there (I'm just not so interested as I don't have any infrared device to test the results).
Comment 7 Gilles Mouchard 2015-07-23 19:05:09 CEST
*** Bug 16446 has been marked as a duplicate of this bug. ***
Comment 8 Florian Hubold 2015-08-06 10:30:17 CEST
*** Bug 16541 has been marked as a duplicate of this bug. ***
Comment 9 Samuel Verschelde 2015-09-28 09:30:27 CEST
Anssi, this bug seems to hit various users. Do you intend to fix it or must we look for another volunteer?
Comment 10 Alec Leamas 2015-09-28 09:50:55 CEST
BTW, lirc-0.9.3 is out, fixing this.
Comment 11 Alec Leamas 2015-10-24 19:00:10 CEST
And now 0.9.3a...
Comment 12 Bit Twister 2016-07-06 23:56:17 CEST
 Better yet, http://www.lirc.org/    [22-May-2016]  lirc-0.9.4 released.
Comment 13 Alec Leamas 2016-07-07 09:25:34 CEST
Actually, 0.9.4a as of 2016-06-28: 

https://sourceforge.net/projects/lirc/files/LIRC/0.9.4a/
Comment 14 Samuel Verschelde 2016-10-10 18:06:46 CEST
Assigning to all packagers collectively since Anssi isn't responding. 

To packagers: this is a bug that requires updating lirc to a newer version.

Note You need to log in before you can comment on or make changes to this bug.