Bug #1147

GUI: project open failure for the project file of 1.1 version containing core shell particle

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

Status:ArchivedStart date:24 Jul 2015
Priority:HighDue date:
Assignee:pospelov% Done:

0%

Category:-
Target version:Sprint 28

Description

While trying to open attached project (generated in BornAgain version 1.1) there is a segmentation fault

i.e. in this particular case the machinery of safe opening of obsolete project files is not working.
The project can be opened in BornAgain 1.2 without problems

#5 0x00007f02dee5fbb4 in QtPrivate::QStringList_contains(QStringList const*, QString const&, Qt::CaseSensitivity) () from /home/pospelov/software/Qt5.5/5.5/gcc_64/lib/libQt5Core.so.5
#6 0x000000000040fa29 in QStringList::contains (this=0x10, str=..., cs=Qt::CaseSensitive) at /home/pospelov/software/Qt5.5/5.5/gcc_64/include/QtCore/qstringlist.h:207
#7 0x00007f02edce3891 in ParameterizedItem::getRegisteredProperty (this=0x0, name=...) at /home/pospelov/development/BornAgain/BornAgain/GUI/coregui/Models/ParameterizedItem.cpp:248
#8 0x00007f02edce3575 in ParameterizedItem::setRegisteredProperty (this=0x0, name=..., variant=...) at /home/pospelov/development/BornAgain/BornAgain/GUI/coregui/Models/ParameterizedItem.cpp:234
#9 0x00007f02edce23c0 in ParameterizedItem::setItemName (this=0x0, item_name=...) at /home/pospelov/development/BornAgain/BornAgain/GUI/coregui/Models/ParameterizedItem.cpp:61
#10 0x00007f02edcb66f5 in SessionModel::readItems (this=0x266cd10, reader=0x7ffeeed9c8f0, item=0x0, row=-1) at /home/pospelov/development/BornAgain/BornAgain/GUI/coregui/Models/SessionModel.cpp:539
#11 0x00007f02edcb51d3 in SessionModel::readFrom (this=0x266cd10, reader=0x7ffeeed9c8f0) at /home/pospelov/development/BornAgain/BornAgain/GUI/coregui/Models/SessionModel.cpp:345
#12 0x00007f02edc6c4ba in ProjectDocument::readModel (this=0x266e760, model=0x266cd10, reader=0x7ffeeed9c8f0) at /home/pospelov/development/BornAgain/BornAgain/GUI/coregui/mainwindow/projectdocument.cpp:319
#13 0x00007f02edc6bffc in ProjectDocument::readFrom (this=0x266e760, device=0x7ffeeed9c9d0) at /home/pospelov/development/BornAgain/BornAgain/GUI/coregui/mainwindow/projectdocument.cpp:272
#14 0x00007f02edc6b98f in ProjectDocument::load (this=0x266e760, project_file_name=...) at /home/pospelov/development/BornAgain/BornAgain/GUI/coregui/mainwindow/projectdocument.cpp:171

UntitledXXX.pro (39.8 KB) pospelov, 24 Jul 2015 14:35

History

#1 Updated by pospelov about 5 years ago

  • Status changed from Sprint to Resolved
  • Assignee set to pospelov

#2 Updated by pospelov about 5 years ago

  • Status changed from Resolved to Archived

Also available in: Atom PDF