FLAM® Issue Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000544CLE/P2. CLPpublic2014-08-18 09:172014-08-23 14:59
ReporterFalk Reichbott 
Assigned ToFalk Reichbott 
PriorityurgentSeveritymajorReproducibilityalways
StatusresolvedResolutionfixed 
PlatformGeneralOSGeneralOS VersionGeneral
Product Version1.1 
Target Version1.1Fixed in Version1.1 
Summary0000544: Segmentation fault if error in parameter file
DescriptionAfter an error in paramter file the usage of ppPos (points to the error location) pointer result in a segmentation fault.
TagsNo tags attached.
Attached Files

- Relationships

-  Notes
(0000596)
Falk Reichbott (administrator)
2014-08-18 09:25

The ppPos Pointer was designed for comand line parsing. With the extension to support parameter files for object and overlays the memory used to parse the parameter file will be frred in case of an error, the ppPos points in the memory and this result in a segementation fault.

To solve this issue the error handling of CLP must be redesigned. The CLP can not use anymore the pointer from the handle direct, in a case of an error a copy of the error location must be build.

We plan to use a new error structure, with a string that contains the line with the arror, the error location in this line, the row and column number, error message and other useful informations. This structure will be filled up if the pointer not NULL on the other side, we will print all these error information to pfErr if pfErr!=NULL. Means the caller can deside to use the error structure or the printouts or both.

Addtional we plan to add a parameter at ClpOpen() which control the support of parameter files.

- Issue History
Date Modified Username Field Change
2014-08-18 09:17 Falk Reichbott New Issue
2014-08-18 09:17 Falk Reichbott Status new => assigned
2014-08-18 09:17 Falk Reichbott Assigned To => Falk Reichbott
2014-08-18 09:25 Falk Reichbott Note Added: 0000596
2014-08-23 14:59 Falk Reichbott Status assigned => resolved
2014-08-23 14:59 Falk Reichbott Fixed in Version => 1.1
2014-08-23 14:59 Falk Reichbott Resolution open => fixed


Copyright © 2000 - 2024 MantisBT Team
Powered by Mantis Bugtracker