Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Segmentation fault when just playing a song #7047

Open
michaelgregorius opened this issue Jan 4, 2024 · 0 comments
Open

Segmentation fault when just playing a song #7047

michaelgregorius opened this issue Jan 4, 2024 · 0 comments
Labels

Comments

@michaelgregorius
Copy link
Contributor

michaelgregorius commented Jan 4, 2024

Bug Summary

I got a segmentation fault from just playing a song (with a debug build). The song was "Greippi - Krem Kaakkuja (Second Flight Remix).mmpz" and the crash seems to have happened around the 108th beat. Please also refer to the attached screenshot for times, etc.

Steps to reproduce

This cannot be reproduced deterministically but I was able to reproduce it several times by setting a loop point as follows and then let it play in that loop until the segmentation fault occurs:
LoopCrash

No actions were taken at the time of the crash.

Expected behavior

No crash. 😉

Actual behavior

Crash.

Screenshot

Here's how the screen looked during the crash:
Screenshot_20240104_204612

Affected LMMS versions

master at commit c2f2b7e.

Stack trace

Stack trace
lmms::InstrumentTrack::processAudioBuffer(lmms::InstrumentTrack * const this, lmms::sampleFrame * buf, const lmms::fpp_t frames, lmms::NotePlayHandle * n) (/home/michael/Eigene Dateien/Development/LMMS/lmms-dev-mg/lmms/src/tracks/InstrumentTrack.cpp:236)
lmms::InstrumentPlayHandle::play(lmms::InstrumentPlayHandle * const this, lmms::sampleFrame * working_buffer) (/home/michael/Eigene Dateien/Development/LMMS/lmms-dev-mg/lmms/src/core/InstrumentPlayHandle.cpp:71)
lmms::PlayHandle::doProcessing(lmms::PlayHandle * const this) (/home/michael/Eigene Dateien/Development/LMMS/lmms-dev-mg/lmms/src/core/PlayHandle.cpp:59)
lmms::ThreadableJob::process(lmms::ThreadableJob * const this) (/home/michael/Eigene Dateien/Development/LMMS/lmms-dev-mg/lmms/include/ThreadableJob.h:77)
lmms::AudioEngineWorkerThread::JobQueue::run(lmms::AudioEngineWorkerThread::JobQueue * const this) (/home/michael/Eigene Dateien/Development/LMMS/lmms-dev-mg/lmms/src/core/AudioEngineWorkerThread.cpp:88)
lmms::AudioEngineWorkerThread::startAndWaitForJobs() (/home/michael/Eigene Dateien/Development/LMMS/lmms-dev-mg/lmms/src/core/AudioEngineWorkerThread.cpp:161)
lmms::AudioEngine::renderStageInstruments(lmms::AudioEngine * const this) (/home/michael/Eigene Dateien/Development/LMMS/lmms-dev-mg/lmms/src/core/AudioEngine.cpp:387)
lmms::AudioEngine::renderNextBuffer(lmms::AudioEngine * const this) (/home/michael/Eigene Dateien/Development/LMMS/lmms-dev-mg/lmms/src/core/AudioEngine.cpp:454)
lmms::AudioEngine::fifoWriter::run(lmms::AudioEngine::fifoWriter * const this) (/home/michael/Eigene Dateien/Development/LMMS/lmms-dev-mg/lmms/src/core/AudioEngine.cpp:1245)
libQt5Core.so.5![Unknown/Just-In-Time compiled code] (Unbekannte Quelle:0)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant