ResInsight icon indicating copy to clipboard operation
ResInsight copied to clipboard

Crash on loading grid from toolbar method

Open EdmundStephens opened this issue 3 years ago • 1 comments

[2021.10.1] A peculiar little crash using the attached model:

This works:

  • Start ResInsight GUI
  • File / Import / Eclipse Cases / Import Eclipse
  • Select TEST_SWOF2E.EGRID
  • Opens Ok

This does not:

  • Start ResInsight GUI
  • Click toolbar method Import Eclipse Files
  • Select TEST_SWOF2E.EGRID
  • Crashes

I tested if you remove the SMSPEC and UNSMRY files, the toolbar method then works Ok ... possibly something to do with recognising files for load up?? TEST_SWOF2E.zip

EdmundStephens avatar Dec 31 '21 15:12 EdmundStephens

Addendum: as I was using this test model for other reasons, the following occurs repeatably for me:

  • Restart ResInsight GUI / click toolbar method Import Eclipse Files / select TEST_SWOF2E.EGRID --> crashes
  • Restart ResInsight GUI / click toolbar method Import Eclipse Files / select TEST_SWOF2E.EGRID --> loads Ok
  • Restart ResInsight GUI / click toolbar method Import Eclipse Files / select TEST_SWOF2E.EGRID --> loads Ok

then appears to load Ok

  • Restart ResInsight GUI / click toolbar method Import Eclipse Files / select TEST_SWOF2F.EGRID --> crashes
  • Restart ResInsight GUI / click toolbar method Import Eclipse Files / select TEST_SWOF2F.EGRID --> loads Ok

etc. and appears to load Ok

So it appears that the load fail only occurs when the files is being opened for the first time, but when you change the file some internal attributes may not be being properly reset. TEST_SWOF2E.zip TEST_SWOF2F.zip

EdmundStephens avatar Dec 31 '21 16:12 EdmundStephens