On a Mac it produces a segv exception. The problem seems to be associated with use of a NULL pCircuit pointer. This may happen in many other objects that require parents to function. Example does not allow an object to have any connection to other objects, so objects must be made robust to being alone in the model.
nikhilgupta10 imported these comments from Sourceforge:
The user dchassin does not exist anymore. Therefore assigning this to afisher1.
Description has changed:
Diff:
status: new --> assigned
assigned_to: Jason Fuller --> Laurentiu Marinovici
Milestone: Version 3.0 RC 1 --> Version 3.1 RC1
Resolution: --> none
Component: Residential --> residential
Priority: major --> critical
,
Laurentiu, please review all of the residential objects for this behavior.,
The ones that fail entirely (with segmentation fault) are: dishwasher,dryer, evcharger, thermal_storage.
Some pass, and some seem to give FATAL errors. See attachment. Could it be because of the NULL pointer due to lack of a parent? I will try to investigate. Any help with trying to understand the final error messages at the end of each --example test would be much appreciated.,
That is almost certainly the cause. The original post suggests that the solution is to make the init process robust to this possibility. An error is appropriate. An exception is not. An SEGV is downright unacceptable.,
The issue of example displaying errors is a larger problem with the example process. This is going to be addressed by ticket:794.,
status: assigned --> accepted
Milestone: Version 3.1 RC1 --> Version 3.2 RC1
,
Fixed the Windows Runtime Error: This Application has requested the Runtime to terminate it in an unusual way and the Linux: Aborted (core dump) counterpart, by adding the CREATE_CATCHALL(range) and INIT_CATCHALL(range) in the CORE LINKAGE implementation functions corresponding to create and init in range.cpp.
Still working on fixing the problem of the missing parent.,
On a Mac it produces a segv exception. The problem seems to be associated with use of a NULL pCircuit pointer. This may happen in many other objects that require parents to function. Example does not allow an object to have any connection to other objects, so objects must be made robust to being alone in the model.
,