Bug 1175600 - [abrt] lirc: __fdelt_chk(): lircrcd killed by SIGABRT
Summary: [abrt] lirc: __fdelt_chk(): lircrcd killed by SIGABRT
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: lirc
Version: 21
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Alec Leamas
QA Contact: Fedora Extras Quality Assurance
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:179874d04e772109ac1007acc3a...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-12-18 07:32 UTC by Michael Chapman
Modified: 2015-09-19 18:55 UTC (History)
4 users (show)

Fixed In Version: 0.9.3-5.fc23
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-09-19 18:55:21 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (6.46 KB, text/plain)
2014-12-18 07:32 UTC, Michael Chapman
no flags Details
File: cgroup (190 bytes, text/plain)
2014-12-18 07:32 UTC, Michael Chapman
no flags Details
File: core_backtrace (2.00 KB, text/plain)
2014-12-18 07:32 UTC, Michael Chapman
no flags Details
File: dso_list (1.41 KB, text/plain)
2014-12-18 07:32 UTC, Michael Chapman
no flags Details
File: limits (1.29 KB, text/plain)
2014-12-18 07:32 UTC, Michael Chapman
no flags Details
File: maps (7.26 KB, text/plain)
2014-12-18 07:32 UTC, Michael Chapman
no flags Details
File: open_fds (418 bytes, text/plain)
2014-12-18 07:32 UTC, Michael Chapman
no flags Details
File: proc_pid_status (944 bytes, text/plain)
2014-12-18 07:32 UTC, Michael Chapman
no flags Details

Description Michael Chapman 2014-12-18 07:32:36 UTC
Version-Release number of selected component:
lirc-0.9.1a-4.fc21

Additional info:
reporter:       libreport-2.3.0
backtrace_rating: 4
cmdline:        lircrcd /home/mchapman/.lircrc
crash_function: __fdelt_chk
executable:     /usr/bin/lircrcd
kernel:         3.17.6-300.fc21.x86_64
runlevel:       N 5
type:           CCpp
uid:            500

Truncated backtrace:
Thread no. 1 (2 frames)
 #5 __fdelt_chk at fdelt_chk.c:25
 #6 loop at lircrcd.c:642

Comment 1 Michael Chapman 2014-12-18 07:32:40 UTC
Created attachment 970411 [details]
File: backtrace

Comment 2 Michael Chapman 2014-12-18 07:32:41 UTC
Created attachment 970412 [details]
File: cgroup

Comment 3 Michael Chapman 2014-12-18 07:32:42 UTC
Created attachment 970413 [details]
File: core_backtrace

Comment 4 Michael Chapman 2014-12-18 07:32:44 UTC
Created attachment 970414 [details]
File: dso_list

Comment 5 Michael Chapman 2014-12-18 07:32:45 UTC
Created attachment 970415 [details]
File: limits

Comment 6 Michael Chapman 2014-12-18 07:32:48 UTC
Created attachment 970416 [details]
File: maps

Comment 7 Michael Chapman 2014-12-18 07:32:49 UTC
Created attachment 970417 [details]
File: open_fds

Comment 8 Michael Chapman 2014-12-18 07:32:50 UTC
Created attachment 970418 [details]
File: proc_pid_status

Comment 9 Alec Leamas 2015-07-30 16:22:50 UTC
Hi!

Sorry for late reply....

This boils down to a bug  or limitation in the select(2) call: the FD_ macros behaviour is undefined if the file descriptor is > 1024. Since linux supports such descriptors, we have a problem. I have been able to reproduce the same type of crash on lircd.

The correct solution seem to be to use poll(2) instead, which doesn't have this limitation. However, we are now in the process of releasing 0.9.3, and this change is too big to be done before that.

Filed upstream bug https://sourceforge.net/p/lirc/tickets/109/

Comment 10 Fedora Update System 2015-09-07 12:39:40 UTC
lirc-0.9.3-4.fc23 has been submitted as an update to Fedora 23. https://bodhi.fedoraproject.org/updates/FEDORA-2015-15270

Comment 11 Fedora Update System 2015-09-07 18:20:16 UTC
lirc-0.9.3-4.fc23 has been pushed to the Fedora 23 testing repository. If problems still persist, please make note of it in this bug report.\nIf you want to test the update, you can install it with \n su -c 'yum --enablerepo=updates-testing update lirc'. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2015-15270

Comment 12 Fedora Update System 2015-09-09 14:24:24 UTC
lirc-0.9.3-5.fc23 has been submitted as an update to Fedora 23. https://bodhi.fedoraproject.org/updates/FEDORA-2015-15465

Comment 13 Fedora Update System 2015-09-10 05:51:23 UTC
lirc-0.9.3-5.fc23 has been pushed to the Fedora 23 testing repository. If problems still persist, please make note of it in this bug report.\nIf you want to test the update, you can install it with \n su -c 'yum --enablerepo=updates-testing update lirc'. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2015-15465

Comment 14 Fedora Update System 2015-09-19 18:55:12 UTC
lirc-0.9.3-5.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report.


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