Bug #1011

Updated by ganeva over 5 years ago

How to reproduce: simulate some sample with formfactor truncated spheroid, go to real-time activity mode and change the formfactor geometry until the BornAgain will crash due to the assetrion failure:

---
Application Specific Information:
Assertion failed: (m_height <= 2.*m_radius*m_height_flattening), function FormFactorTruncatedSpheroid, file /Users/pospelov/development/BornAgain/source/Core/FormFactors/src/FormFactorTruncatedSpheroid.cpp, line 28.
---

To my opinion, GUI must produce the error message and let user to change the formfactor parameters.

Last lines of the crash report:

------
Model: MacBookPro11,1, BootROM MBP111.0138.B03, 2 processors, Intel Core i5, 2.4 GHz, 16 GB, SMC 2.16f58
Graphics: Intel Iris, Intel Iris, Built-In
Memory Module: BANK 0/DIMM0, 8 GB, DDR3, 1600 MHz, 0x80AD, 0x484D54343147533641465238412D50422020
Memory Module: BANK 1/DIMM0, 8 GB, DDR3, 1600 MHz, 0x80AD, 0x484D54343147533641465238412D50422020
AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0x112), Broadcom BCM43xx 1.0 (6.30.223.154.65)
Bluetooth: Version 4.2.7f4 15112, 3 services, 23 devices, 1 incoming serial ports
Network Service: Broadcom NetXtreme Gigabit Ethernet Controller, Ethernet, en5
PCI Card: Broadcom 57761-B0, Ethernet Controller, Thunderbolt@195,0,0
PCI Card: pci1b73,1100, USB eXtensible Host Controller, Thunderbolt@194,0,0
Serial ATA Device: APPLE SSD SM0256F, 251 GB
USB Device: Internal Memory Card Reader
USB Device: Apple Internal Keyboard / Trackpad
USB Device: BRCM20702 Hub
USB Device: Bluetooth USB Host Controller
USB Device: External USB 3.0
USB Device: Hub
USB Device: Keyboard Hub
USB Device: Apple Keyboard
USB Device: USB audio CODEC
Thunderbolt Bus: MacBook Pro, Apple Inc., 17.2
Thunderbolt Device: DS1/DVI, Matrox, 1, 26.4
------

Back