SIGFPE in plugins/LadspaEffect/swh/ladspa/bandpass_iir_1892.xml:50
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 10.4k
- Forks
- 1.3k
- Avg merge
- 2d 13h
- Merged PRs (30d)
- 7
Description
### System Information
Linux pc.localdomain 6.12.49 12 SMP PREEMPT_DYNAMIC Mon Sep 29 09:21:28 CEST 2025 x86_64 AMD Ryzen 5 5500 AuthenticAMD GNU/Linux
### LMMS Version(s)
LMMS 1.3.0-alpha.1.895+fcb356d (Linux x86_64, Qt 5.15.16, GCC Clang 18.1.6)
### Most Recent Working Version
_No response_
### Bug Summary
During startup I got
Thread 1 "lmms" received signal SIGFPE, Arithmetic exception.
0x00007fa40040f6f9 in lmms::gui::SaWaterfallView::yPixelToTime (
this=0x558c1840ba20, position=148, height=147)
at /usr/src/lmms-master-current/plugins/SpectrumAnalyzer/SaWaterfallView.cpp:207
207 float pixels_per_line = (float)height / m_processor->waterfallHeight();
### Expected Behaviour
no SIGFPE
### Steps To Reproduce
enable FPE debug
build lmms
w/ new build open lmms project w/ SpectrumAnalyzer
### Logs
Click to expand
(gdb) bt
#0 0x00007fa40040f6f9 in lmms::gui::SaWaterfallView::yPixelToTime(float, int)
(this=0x558c1840ba20, position=148, height=147)
at /usr/src/lmms-master-current/plugins/SpectrumAnalyzer/SaWaterfallView.cpp:207
#1 lmms::gui::SaWaterfallView::makeTimeTics[abi:cxx11]()
(this=this@entry=0x558c1840ba20)
at /usr/src/lmms-master-current/plugins/SpectrumAnalyzer/SaWaterfallView.cpp:219
#2 0x00007fa40040f444 in lmms::gui::SaWaterfallView::SaWaterfallView(lmms::SaControls*, lmms::SaProcessor*, QWidget*)
(this=0x558c1840ba20, controls=, processor=0x558c15d435c0, _parent=)
at /usr/src/lmms-master-current/plugins/SpectrumAnalyzer/SaWaterfallView.cpp:66
#3 0x00007fa400407b1f in lmms::gui::SaControlsDialog::SaControlsDialog(lmms::SaControls*, lmms::SaProcessor*)
(this=0x558c184073b0, controls=0x558c15d43738, processor=0x558c15d435c0)
at /usr/src/lmms-master-current/plugins/SpectrumAnalyzer/SaControlsDialog.cpp:335
#4 0x00007fa400404188 in lmms::SaControls::createView() (this=0x558c15d43738)
at /usr/src/lmms-master-current/plugins/SpectrumAnalyzer/SaControls.cpp:129
#5 0x0000558bf13c8fdb in lmms::gui::EffectView::EffectView(lmms::Effect*, QWidget*) (this=0x558c18402620, _model=0x558c15d43130, _parent=)
--Type for more, q to quit, c to continue without paging--c
at /usr/src/lmms-master-current/src/gui/EffectView.cpp:89
#6 0x0000558bf13c7c37 in lmms::gui::EffectRackView::update()
(this=0x558c158e1b90)
at /usr/src/lmms-master-current/src/gui/EffectRackView.cpp:176
#7 0x00007fa439d00032 in () at /usr/lib64/libQt5Core.so.5
#8 0x0000558bf13396ad in lmms::EffectChain::loadSettings(QDomElement const&)
(this=0x558c0d6d0ac0, _this=)
at /usr/src/lmms-master-current/src/core/EffectChain.cpp:116
#9 0x0000558bf13837e0 in lmms::SerializingObject::restoreState(QDomElement const&) (this=0x558c15d435c0, element=...)
at /usr/src/lmms-master-current/src/core/SerializingObject.cpp:71
#10 0x0000558bf1342b4c in lmms::Mixer::loadSettings(QDomElement const&)
(this=0x558c0d677520, _this=)
at /usr/src/lmms-master-current/src/core/Mixer.cpp:858
#11 0x0000558bf13837e0 in lmms::SerializingObject::restoreState(QDomElement const&) (this=0x558c15d435c0, element=...)
at /usr/src/lmms-master-current/src/core/SerializingObject.cpp:71
#12 0x0000558bf134dea9 in lmms::JournallingObject::restoreState(QDomElement const&) (this=0x558c15d435c0, _this=...)
at /usr/src/lmms-master-current/src/core/JournallingObject.cpp:92
#13 0x0000558bf1387678 in lmms::Song::loadProject(QString const&)
(this=0x558c0d505d50, fileName=...)
at /usr/src/lmms-master-current/src/core/Song.cpp:1102
#14 0x0000558bf14b9958 in main(int, char**) (argc=2, argv=)
at /usr/src/lmms-master-current/src/core/main.cpp:868
(gdb)
### Screenshots / Minimum Reproducible Project
_No response_
### Please search the issue tracker for existing bug reports before submitting your own.
- [x] I have searched all existing issues and confirmed that this is not a duplicate.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start in plugins/SpectrumAnalyzer/SaWaterfallView.cpp at yPixelToTime() line 207 and inspect its caller makeTimeTics(). Reproduce with FPE debugging by opening a project containing SpectrumAnalyzer, then verify startup and project loading complete without SIGFPE.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- audio-video-rtc
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 62/100