Ticket #9618 (closed: fixed)

Opened 6 years ago

Last modified 5 years ago

Seg fault with new usage examples

Reported by: Andrei Savici Owned by: Roman Tolchenov
Priority: blocker Milestone: Release 3.2
Component: Documentation Keywords:
Cc: Blocked By:
Blocking: Tester: Martyn Gigg

Description

I created a simple workspace using w=CreateSampleWorkspace(), then I tried to show the instrument, and choose Cylindrical Z direction. That results in a segmentation fault, on Ubuntu 14.04 and RHEL6. On Ubuntu I get this error in the terminal

terminate called after throwing an instance of 'std::runtime_error'
  what():  The eye vector is null in InstrumentActor::rotateToLookAt.
Aborted (core dumped)

We should make sure that we cannot crash Mantid with usage examples

Change History

comment:1 Changed 6 years ago by Nick Draper

  • Status changed from new to assigned
  • Owner changed from Nick Draper to Roman Tolchenov

Add some protection into the unwrapping code please

comment:2 Changed 6 years ago by Roman Tolchenov

  • Status changed from assigned to inprogress

Re #9618. Handle exceptions inside parallel loop.

Changeset: af86779a5fc528b6fdad0bd780013dbe73e0f05b

comment:3 Changed 6 years ago by Roman Tolchenov

  • Status changed from inprogress to verify
  • Resolution set to fixed

comment:4 Changed 6 years ago by Martyn Gigg

  • Status changed from verify to verifying
  • Tester set to Martyn Gigg

comment:5 Changed 6 years ago by Martyn Gigg

  • Status changed from verifying to closed

Merge remote-tracking branch 'origin/bugfix/9618_instrument_view_segfault_usage_examples'

Full changeset: ef7fec5e0ed05d3b5c89aaba599614b90b08241d

comment:6 Changed 5 years ago by Stuart Campbell

This ticket has been transferred to github issue 10461

Note: See TracTickets for help on using tickets.