Description of problem: There is a bug in the latest smstools (3.1.14) that prevent the sending of outgoing sms. The problem is generated by the segfault of the outgoing file checker process. It's a known bug with also a patch (see unterwulf post at http://smstools3.kekekasvi.com/topic.php?post=4363). However it's not yet fixed in the main source, so I propose to apply the patch via SPEC file. Also Fedora 18 is affected. Version-Release number of selected component (if applicable): Name : smstools Arch : x86_64 Version : 3.1.14 Release : 3.fc17 How reproducible: Always, launch smsd -t -> segmentation fault Steps to Reproduce: 1. Install smstools with yum 2. Set the configuration in /etc/smsd.conf and enable outgoing sms with "outgoing = yes" 3. Run smsd -t Actual results: segmentation fault Expected results: the program should start in foreground mode Additional info: http://smstools3.kekekasvi.com/topic.php?post=4363 With the patch applied the program is running fine and stable since three weeks
Created attachment 622699 [details] Patch to fix the segfault Patch by unterwulf at http://smstools3.kekekasvi.com/topic.php?post=4363
Created attachment 622700 [details] Updated SPEC file
smstools-3.1.14-4.fc17 has been submitted as an update for Fedora 17. https://admin.fedoraproject.org/updates/smstools-3.1.14-4.fc17
this should soon be in f17-updates-testing, f18-update-testing and rawhide. Thanks you for the bug and thanks to unterwulf for the patch Having recently moved countries, I do not yet have a SIM in my SMS modem, I could not yet reproduce this on the epel6 package. If someone sees the bug there, please clone this one and I'll build an updates-testing package for EPEL6.
Package smstools-3.1.14-4.fc17: * should fix your issue, * was pushed to the Fedora 17 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing smstools-3.1.14-4.fc17' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2012-16096/smstools-3.1.14-4.fc17 then log in and leave karma (feedback).
Thank you! I'm currently abroad for a few days and I can't test the packaget I'll do it next week. I also will check the EPEL6 current version/rpm.
Ok, tested on both F17 and F18 and now everything is working fine "out-of-the-box". Thank you! [root@microserver etc]# yum info smstools Loaded plugins: changelog, remove-with-leaves Installed Packages Name : smstools Arch : x86_64 Version : 3.1.14 Release : 4.fc17 Size : 731 k Repo : installed From repo : updates-testing 2012-10-18 21:01:00,2, smsd: Smsd v3.1.14 started. 2012-10-18 21:01:00,2, smsd: Running as root:root. 2012-10-18 21:01:00,4, smsd: File mode creation mask: 022 (0644, rw-r--r--). 2012-10-18 21:01:00,5, smsd: Outgoing file checker has started. PID: 19108. 2012-10-18 21:01:00,5, GSM1: Modem handler 0 has started. PID: 19109. smsd -t -> no segfault Next I'll check the EPEL RPM and eventually open a new bug for it.
On 21st upstream has released the version 3.1.15 with the bug fixed, no more patches are needed http://smstools3.kekekasvi.com/index.php?p=packages 21.10.2012 3.1.15 After a long time, some changes and fixes are pending, but in this version only one fix is applied. The bug with lockfiles is very critical, and hopefully the creation of new package is easier for maintainers, when only one fix is done. Bug fixes: When creating a lockfile, main process used incorrect offset -1 with the table of names of processes. This caused segmentation fault when smsd was compiled using latest compilers.
smstools-3.1.15-2.fc18 has been submitted as an update for Fedora 18. https://admin.fedoraproject.org/updates/smstools-3.1.15-2.fc18
smstools-3.1.15-2.el6 has been submitted as an update for Fedora EPEL 6. https://admin.fedoraproject.org/updates/smstools-3.1.15-2.el6
smstools-3.1.15-2.fc17 has been submitted as an update for Fedora 17. https://admin.fedoraproject.org/updates/smstools-3.1.15-2.fc17
smstools-3.1.15-3.el6 has been submitted as an update for Fedora EPEL 6. https://admin.fedoraproject.org/updates/smstools-3.1.15-3.el6
smstools-3.1.15-2.fc18 has been pushed to the Fedora 18 stable repository. If problems still persist, please make note of it in this bug report.
smstools-3.1.15-3.el6 has been pushed to the Fedora EPEL 6 stable repository. If problems still persist, please make note of it in this bug report.