LBEM-CH / focus

High Throughput Electron Microscopy Image Processing Software
http://www.focus-em.org
GNU General Public License v2.0
35 stars 14 forks source link

Crash after reindexing (or after emptying TRASH) #225

Open sthennin opened 6 years ago

sthennin commented 6 years ago

If one re-indexes all images in the Library, or if one empties TRASH (which afterwards re-indexes all images also), and then tries to set color flags for some selected images, then FOCUS crashes in ProjectModel.cpp:391

with:

0 org.cina.focus.focus 0x000000010fb52194 QStandardItem::setText(QString const&) + 20 (qstandarditemmodel.h:260) 1 org.cina.focus.focus 0x000000010fb56f78 ProjectModel::fillData(unsigned int, QStandardItem, QVariant) + 1480 (ProjectModel.cpp:391) 2 org.cina.focus.focus 0x000000010fb58475 QtPrivate::QFunctorSlotObject<ProjectModel::addImage(ProjectImage)::'lambda'(), 0, QtPrivate::List<>, void>::impl(int, QtPrivate::QSlotObjectBase, QObject, void, bool) + 149 (ProjectModel.cpp:303) 3 org.qt-project.QtCore 0x0000000110fe99cb QMetaObject::activate(QObject, int, int, void) + 731 4 org.cina.focus.focus 0x000000010fb1acfb ParameterElementData::setValue(QString) + 1259 (ParameterElementData.cpp:134)