Bug #2169

Application crash on fitting job

Added by pospelov about 2 years ago. Updated about 2 years ago.

Status:ResolvedStart date:25 Sep 2018
Priority:NormalDue date:
Assignee:pospelov% Done:

0%

Category:-
Target version:Sprint 38

Description

  • create sample Cylinders and Prisms, made simulation, save real data out of it
  • Prepare fitting job with the same sample
  • Tune cylinder radius to become 4nm instead of 5
  • Make a fit parameter out of it
  • Set slider to update-every-1st iteration
  • Run fitting job, again and again

At some point exception will be thrown (not equal size of data vectors)

1   raise                                                                                                                                                                                                                0x7fffef2b90e0 
2   abort                                                                                                                                                                                                                0x7fffef2ba6c1 
3   __gnu_cxx::__verbose_terminate_handler()                                                                                                                                                                             0x7fffefc38485 
4   ??                                                                                                                                                                                                                   0x7fffefc36276 
5   std::terminate()                                                                                                                                                                                                     0x7fffefc362c1 
6   __cxa_throw                                                                                                                                                                                                          0x7fffefc36503 
7   OutputData<double>::setRawDataVector                                                                                                                                                    OutputData.h             589 0x7ffff701da59 
8   DataItem::setRawDataVector                                                                                                                                                              DataItem.cpp             37  0x7ffff70146e0 
9   IntensityDataItem::setRawDataVector                                                                                                                                                     IntensityDataItem.cpp    98  0x7ffff70f4001 
10  FitSessionController::onPlotsUpdate                                                                                                                                                     FitSessionController.cpp 111 0x7ffff747181d 
11  QtPrivate::FunctorCall<QtPrivate::IndexesList<>, QtPrivate::List<>, void, void (FitSessionController:: *)()>::call(void (FitSessionController:: *)(), FitSessionController *, void * *) qobjectdefs_impl.h       134 0x7ffff74762a0 
12  QtPrivate::FunctionPointer<void (FitSessionController:: *)()>::call<QtPrivate::List<>, void>(void (FitSessionController:: *)(), FitSessionController *, void * *)                       qobjectdefs_impl.h       167 0x7ffff74760cf 
13  QtPrivate::QSlotObject<void (FitSessionController:: *)(), QtPrivate::List<>, void>::impl(int, QtPrivate::QSlotObjectBase *, QObject *, void * *, bool *)                                qobjectdefs_impl.h       396 0x7ffff7475cf8 
14  QObject::event(QEvent *)                                                                                                                                                                                             0x7ffff01ba721 
15  QApplicationPrivate::notify_helper(QObject *, QEvent *)                                                                                                                                                              0x7ffff1371eac 
16  QApplication::notify(QObject *, QEvent *)                                                                                                                                                                            0x7ffff1378fe0 
17  QCoreApplication::notifyInternal2(QObject *, QEvent *)                                                                                                                                                               0x7ffff018e918 
18  QCoreApplicationPrivate::sendPostedEvents(QObject *, int, QThreadData *)                                                                                                                                             0x7ffff019132b 
19  postEventSourceDispatch(_GSource *, int ( *)(void *), void *)                                                                                                                                                        0x7ffff01e31c3 
20  g_main_context_dispatch                                                                                                                                                                                              0x7fffeb194f57 
... <More>                                                                                                                                                                                                                              

It seems that at some point in FitSessionController::onPlotsUpdate we get shorter vector.

History

#1 Updated by pospelov about 2 years ago

  • Status changed from Sprint to Resolved

Also available in: Atom PDF