Steca crashed while playing with normalization function
How to reproduce: Load and work with data normally - Fit peaks and background - create a diagram with (x:beta, y:Intensity) - change normalization to delta monitor ~~~ normTyp 2 # Δ monitor ## Long time task began: "peak fitting" WARNING: Bad normalisation value. normalization reset to 'None'. QObject::setParent: Cannot set parent, new parent is in a different thread WARNING: Bad normalisation value. normalization reset to 'None'. QObject::setParent: Cannot set parent, new parent is in a different thread lm_check_inverse found 1.43051e-06 instead of 0 at 2,0 lm_check_inverse found -1.90735e-06 instead of 0 at 2,0 lm_check_inverse found -0.000244141 instead of 0 at 2,1 lm_check_inverse found 1.00098 instead of 1 at 0,0 lm_check_inverse found 0.00012207 instead of 0 at 1,0 lm_check_inverse found 0.999512 instead of 1 at 0,0 ~~~ with the stack: ~~~ Thread 1 "steca" received signal SIGINT, Interrupt. __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x0, op=393, expected=0, futex_word=0x555564a1fc40) at ./nptl/futex-internal.c:57 57 ./nptl/futex-internal.c: No such file or directory. (gdb) where #0 __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x0, op=393, expected=0, futex_word=0x555564a1fc40) at ./nptl/futex-internal.c:57 #1 __futex_abstimed_wait_common (cancel=true, private=0, abstime=0x0, clockid=0, expected=0, futex_word=0x555564a1fc40) at ./nptl/futex-internal.c:87 #2 __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x555564a1fc40, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0) at ./nptl/futex-internal.c:139 #3 0x00007ffff654cac1 in __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x555564a1fbf0, cond=0x555564a1fc18) at ./nptl/pthread_cond_wait.c:503 #4 ___pthread_cond_wait (cond=0x555564a1fc18, mutex=0x555564a1fbf0) at ./nptl/pthread_cond_wait.c:627 #5 0x00007ffff6daad13 in QWaitConditionPrivate::wait (deadline=..., deadline=..., this=0x555564a1fbf0) at /home/qt/work/qt/qtbase/src/corelib/thread/qwaitcondition_unix.cpp:147 #6 QWaitCondition::wait (this=<optimized out>, mutex=0x5555649adbf0, deadline=...) at /home/qt/work/qt/qtbase/src/corelib/thread/qwaitcondition_unix.cpp:220 #7 0x00007ffff6dabe8e in QFutureInterfaceBase::waitForFinished (this=0x555556a73720) at /home/qt/work/qt/qtbase/include/QtCore/../../src/corelib/kernel/qdeadlinetimer.h:68 #8 0x00007ffff796f1b4 in QFuture<void>::waitForFinished() () from /home/trageser/dev/steca/build2/lib/libstecacore.so #9 0x00007ffff796a0cb in (anonymous namespace)::computeDirectInfoSequence(int) () from /home/trageser/dev/steca/build2/lib/libstecacore.so #10 0x00007ffff796a335 in AllPeaksAllInfos::AllPeaksAllInfos()::{lambda(int, AllPeaksAllInfos const*)#2}::operator()(int, AllPeaksAllInfos const*) const () from /home/trageser/dev/steca/build2/lib/libstecacore.so #11 0x00007ffff796b8f4 in OnePeakAllInfos std::__invoke_impl<OnePeakAllInfos, AllPeaksAllInfos::AllPeaksAllInfos()::{lambda(int, AllPeaksAllInfos const*)#2}&, int, AllPeaksAllInfos const*>(std::__invoke_other, AllPeaksAllInfos::AllPeaksAllInfos()::{lambda(int, AllPeaksAllInfos const*)#2}&, int&&, AllPeaksAllInfos const*&&) () from /home/trageser/dev/steca/build2/lib/libstecacore.so #12 0x00007ffff796b3e1 in std::enable_if<is_invocable_r_v<OnePeakAllInfos, AllPeaksAllInfos::AllPeaksAllInfos()::{lambda(int, AllPeaksAllInfos const*)#2}&, int, AllPeaksAllInfos const*>, OnePeakAllInfos>::type std::__invoke_r<OnePeakAllInfos, AllPeaksAllInfos::AllPeaksAllInfos()::{lambda(int, AllPeaksAllInfos const*)#2}&, int, AllPeaksAllInfos const*>(AllPeaksAllInfos::AllPeaksAllInfos()::{lambda(int, AllPeaksAllInfos const*)#2}&, int&&, AllPeaksAllInfos const*&&) () from /home/trageser/dev/steca/build2/lib/libstecacore.so #13 0x00007ffff796aee4 in std::_Function_handler<OnePeakAllInfos (int, AllPeaksAllInfos const*), AllPeaksAllInfos::AllPeaksAllInfos()::{lambda(int, AllPeaksAllInfos const*)#2}>::_M_invoke(std::_Any_data const&, int&&, AllPeaksAllInfos const*&&) () from /home/trageser/dev/steca/build2/lib/libstecacore.so #14 0x00007ffff7973b9a in std::function<OnePeakAllInfos (int, AllPeaksAllInfos const*)>::operator()(int, AllPeaksAllInfos const*) const () from /home/trageser/dev/steca/build2/lib/libstecacore.so #15 0x00007ffff79716a5 in lazy_data::VectorCache<OnePeakAllInfos, AllPeaksAllInfos const*>::check_size(AllPeaksAllInfos const*) const::{lambda(AllPeaksAllInfos const*)#1}::operator()(AllPeaksAllInfos const*) const () from /home/trageser/dev/steca/build2/lib/libstecacore.so #16 0x00007ffff797a4ad in OnePeakAllInfos std::__invoke_impl<OnePeakAllInfos, lazy_data::VectorCache<OnePeakAllInfos, AllPeaksAllInfos const*>::check_size(AllPeaksAllInfos const*) const::{lambda(AllPeaksAllInfos const*)#1}&, AllPeaksAllInfos const*>(std::__invoke_other, lazy_data::VectorCache<OnePeakAllInfos, AllPeaksAllInfos const*>::check_size(AllPeaksAllInfos const*) const::{lambda(AllPeaksAllInfos const*)#1}&, AllPeaksAllInfos const*&&) () from /home/trageser/dev/steca/build2/lib/libstecacore.so #17 0x00007ffff7978554 in std::enable_if<is_invocable_r_v<OnePeakAllInfos, lazy_data::VectorCache<OnePeakAllInfos, AllPeaksAllInfos const*>::check_size(AllPeaksAllInfos const*) const::{lambda(AllPeaksAllInfos const*)#1}&, AllPeaksAllInfos const*>, OnePeakAllInfos>::type std::__invoke_r<OnePeakAllInfos, lazy_data::VectorCache<OnePeakAllInfos, AllPeaksAllInfos const*>::check_size(AllPeaksAllInfos const*) const::{lambda(AllPeaksAllInfos const*)#1}&, AllPeaksAllInfos const*>(lazy_data::VectorCache<OnePeakAllInfos, AllPeaksAllInfos const*>::check_size(AllPeaksAllInfos const*) const::{lambda(AllPeaksAllInfos const*)#1}&, AllPeaksAllInfos const*&&) () from /home/trageser/dev/steca/build2/lib/libstecacore.so #18 0x00007ffff7976051 in std::_Function_handler<OnePeakAllInfos (AllPeaksAllInfos const*), lazy_data::VectorCache<OnePeakAllInfos, AllPeaksAllInfos const*>::check_size(AllPeaksAllInfos const*) const::{lambda(AllPeaksAllInfos const*)#1}>::_M_invoke(std::_Any_data const&, AllPeaksAllInfos const*&&) () from /home/trageser/dev/steca/build2/lib/libstecacore.so #19 0x00007ffff7971d36 in std::function<OnePeakAllInfos (AllPeaksAllInfos const*)>::operator()(AllPeaksAllInfos const*) const () from /home/trageser/dev/steca/build2/lib/libstecacore.so #20 0x00007ffff796f68d in lazy_data::Cached<OnePeakAllInfos, AllPeaksAllInfos const*>::yield(AllPeaksAllInfos const*) const () from /home/trageser/dev/steca/build2/lib/libstecacore.so #21 0x00007ffff796f245 in lazy_data::VectorCache<OnePeakAllInfos, AllPeaksAllInfos const*>::yield_at(int, AllPeaksAllInfos const*) const () from /home/trageser/dev/steca/build2/lib/libstecacore.so #22 0x00007ffff796a3b1 in AllPeaksAllInfos::AllPeaksAllInfos()::{lambda(int, AllPeaksAllInfos const*)#4}::operator()(int, AllPeaksAllInfos const*) const () from /home/trageser/dev/steca/build2/lib/libstecacore.so #23 0x00007ffff796baa4 in OnePeakAllInfos std::__invoke_impl<OnePeakAllInfos, AllPeaksAllInfos::AllPeaksAllInfos()::{lambda(int, AllPeaksAllInfos const*)#4}&, int, AllPeaksAllInfos const*>(std::__invoke_other, AllPeaksAllInfos::AllPeaksAllInfos()::{lambda(int, AllPeaksAllInfos const*)#4}&, int&&, AllPeaksAllInfos const*&&) () from /home/trageser/dev/steca/build2/lib/libstecacore.so #24 0x00007ffff796b6d1 in std::enable_if<is_invocable_r_v<OnePeakAllInfos, AllPeaksAllInfos::AllPeaksAllInfos()::{lambda(int, AllPeaksAllInfos const*)#4}&, int, AllPeaksAllInfos const*>, OnePeakAllInfos>::type std::__invoke_r<OnePeakAllInfos, AllPeaksAllInfos::AllPeaksAllInfos()::{lambda(int, AllPeaksAllInfos const*)#4}&, int, AllPeaksAllInfos const*>(AllPeaksAllInfos::AllPeaksAllInfos()::{lambda(int, AllPeaksAllInfos const*)#4}&, int&&, AllPeaksAllInfos const*&&) () from /home/trageser/dev/steca/build2/lib/libstecacore.so #25 0x00007ffff796b132 in std::_Function_handler<OnePeakAllInfos (int, AllPeaksAllInfos const*), AllPeaksAllInfos::AllPeaksAllInfos()::{lambda(int, AllPeaksAllInfos const*)#4}>::_M_invoke(std::_Any_data const&, int&&, AllPeaksAllInfos const*&&) () from /home/trageser/dev/steca/build2/lib/libstecacore.so #26 0x00007ffff7973b9a in std::function<OnePeakAllInfos (int, AllPeaksAllInfos const*)>::operator()(int, AllPeaksAllInfos const*) const () from /home/trageser/dev/steca/build2/lib/libstecacore.so #27 0x00007ffff79716a5 in lazy_data::VectorCache<OnePeakAllInfos, AllPeaksAllInfos const*>::check_size(AllPeaksAllInfos const*) const::{lambda(AllPeaksAllInfos const*)#1}::operator()(AllPeaksAllInfos const*) const () from /home/trageser/dev/steca/build2/lib/libstecacore.so #28 0x00007ffff797a4ad in OnePeakAllInfos std::__invoke_impl<OnePeakAllInfos, lazy_data::VectorCache<OnePeakAllInfos, AllPeaksAllInfos const*>::check_size(AllPeaksAllInfos const*) const::{lambda(AllPeaksAllInfos const*)#1}&, AllPeaksAllInfos const*>(std::__invoke_other, lazy_data::VectorCache<OnePeakAllInfos, AllPeaksAllInfos const*>::check_size(AllPeaksAllInfos const*) const::{lambda(AllPeaksAllInfos const*)#1}&, AllPeaksAllInfos const*&&) () from /home/trageser/dev/steca/build2/lib/libstecacore.so #29 0x00007ffff7978554 in std::enable_if<is_invocable_r_v<OnePeakAllInfos, lazy_data::VectorCache<OnePeakAllInfos, AllPeaksAllInfos const*>::check_size(AllPeaksAllInfos const*) const::{lambda(AllPeaksAllInfos const*)#1}&, AllPeaksAllInfos const*>, OnePeakAllInfos>::type std::__invoke_r<OnePeakAllInfos, lazy_data::VectorCache<OnePeakAllInfos, AllPeaksAllInfos const*>::check_size(AllPeaksAllInfos const*) const::{lambda(AllPeaksAllInfos const*)#1}&, AllPeaksAllInfos const*>(lazy_data::VectorCache<OnePeakAllInfos, AllPeaksAllInfos const*>::check_size(AllPeaksAllInfos const*) const::{lambda(AllPeaksAllInfos const*)#1}&, AllPeaksAllInfos const*&&) () from /home/trageser/dev/steca/build2/lib/libstecacore.so #30 0x00007ffff7976051 in std::_Function_handler<OnePeakAllInfos (AllPeaksAllInfos const*), lazy_data::VectorCache<OnePeakAllInfos, AllPeaksAllInfos const*>::check_size(AllPeaksAllInfos const*) const::{lambda(AllPeaksAllInfos const*)# ~~~
issue