OMNeT++/OMNEST Bug Tracker - OMNeT++
View Issue Details
0000566OMNeT++simulation kernelpublic2012-05-07 09:302012-05-07 11:28
zbojthe 
 
normalminoralways
newopen 
 
 
0000566: Segfault at startup if NED file has two modules with same name
Simulation crashed at startup if the NED files has two modules with same name.
Segfault (139).

Simulation also crashed, if modules with same name has disjunct conditions.
e.g:
module1: ModuleType1 if condition;
module1: OtherModuleType if !condition;
No tags attached.
Issue History
2012-05-07 09:30zbojtheNew Issue
2012-05-07 11:28zbojtheNote Added: 0000752
2012-05-07 11:29zbojtheNote Edited: 0000752
2012-05-07 12:38zbojtheNote Edited: 0000752

Notes
(0000752)
zbojthe   
2012-05-07 11:28   
(edited on: 2012-05-07 12:38)
This bug is parameter sensitive:

working, but not use 'config' parameter:
        configurator: UnimplementedModule if !usenew;
        configurator: IPv4NetworkConfigurator if usenew {
            parameters:
                config=xml('<config/>');
        }

crashed:
        configurator: IPv4NetworkConfigurator if usenew {
            parameters:
                config=xml('<config/>');
        }
        configurator: UnimplementedModule if !usenew;

working:
        configurator: IPv4NetworkConfigurator if usenew;
        configurator: UnimplementedModule if !usenew;