Created attachment 1235613 [details] fixes crash on startup, at scan time, a parser crash v1 Description of problem: Crash on startup, at scan time, a parser crash Version-Release number of selected component (if applicable): gsmartcontrol-0.8.7-10 Reproducibility: Without exception Steps to Reproduce: 1. Run gsmartcontrol Actual results: terminate called after throwing an instance of 'std::out_of_range' what(): basic_string::substr: __pos (which is 18446744073709551615) > this->size() (which is 564) Expected results: Pizza with prosecco, it marries well with tomato and cheese. Additional info: http://gsmartcontrol.sourceforge.net News 2015-04-29 The Linux binary packages have been updated with a patch that fixes crash on startup for some smartmontools version and system configuration combinations. The source patch can be downloaded separately as well. https://build.opensuse.org/package/view_file/home:alex_sh/gsmartcontrol/gsmartcontrol_parser_crash_fix.diff Note that he fix has been included in the SVN version for some time now. "Fixed a crash at scan time (bad parsing of empty smartctl output sections)." https://sourceforge.net/p/gsmartcontrol/code/107 https://sourceforge.net/p/gsmartcontrol/code/107/#diff-13 https://sourceforge.net/p/gsmartcontrol/code/107/tree//trunk/gsmartcontrol/src/applib/smartctl_parser.cpp?diff=534edf800910d42a10b7434a:106
Created attachment 1235614 [details] fixes crash on startup, at scan time, a parser crash v2
May be update it to last SVN revision?
Patch v1 is sufficient to fix crash on startup. Patch v2 -is- an upgrade to the unofficial 0.8.8, i.e. last SVN rev., migrated to GIT; $ git svn clone http://svn.code.sf.net/p/gsmartcontrol/code/trunk See https://git-scm.com/book/en/v2/Git-and-Other-Systems-Migrating-to-Git for details. Both variants - v1 and v2, work on Fedora 24 and 26, also on CentoOS 7.3.
I mean that I can create gsmartcontrol-0.8.8-0.1.r116svn version.
Created attachment 1235965 [details] Upgrade to 0.8.8 r116 svn - Upgrade to 0.8.8 r116 svn - Fixes crash on startup - rhbz#1408946
gsmartcontrol-0.9.0-1.el7 has been submitted as an update to Fedora EPEL 7. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2017-7245895212
gsmartcontrol-0.9.0-1.el6 has been submitted as an update to Fedora EPEL 6. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2017-1894e9ef52
gsmartcontrol-0.9.0-1.fc25 has been submitted as an update to Fedora 25. https://bodhi.fedoraproject.org/updates/FEDORA-2017-3f256a902e
gsmartcontrol-0.9.0-1.fc26 has been submitted as an update to Fedora 26. https://bodhi.fedoraproject.org/updates/FEDORA-2017-4182f3d50d
gsmartcontrol-0.9.0-1.el6 has been pushed to the Fedora EPEL 6 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2017-1894e9ef52
gsmartcontrol-0.9.0-1.el7 has been pushed to the Fedora EPEL 7 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2017-7245895212
gsmartcontrol-0.9.0-1.fc26 has been pushed to the Fedora 26 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-4182f3d50d
gsmartcontrol-0.9.0-1.fc25 has been pushed to the Fedora 25 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-3f256a902e
gsmartcontrol-0.9.0-1.fc25 has been pushed to the Fedora 25 stable repository. If problems still persist, please make note of it in this bug report.
gsmartcontrol-0.9.0-1.el7 has been pushed to the Fedora EPEL 7 stable repository. If problems still persist, please make note of it in this bug report.
gsmartcontrol-0.9.0-1.el6 has been pushed to the Fedora EPEL 6 stable repository. If problems still persist, please make note of it in this bug report.
gsmartcontrol-0.9.0-1.fc26 has been pushed to the Fedora 26 stable repository. If problems still persist, please make note of it in this bug report.