Anonymous | Login | Signup for a new account | 2024-10-11 17:50 CEST |
My View | View Issues | Change Log | Roadmap | Search |
View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0000544 | CLE/P | 2. CLP | public | 2014-08-18 09:17 | 2014-08-23 14:59 | ||||
Reporter | Falk Reichbott | ||||||||
Assigned To | Falk Reichbott | ||||||||
Priority | urgent | Severity | major | Reproducibility | always | ||||
Status | resolved | Resolution | fixed | ||||||
Platform | General | OS | General | OS Version | General | ||||
Product Version | 1.1 | ||||||||
Target Version | 1.1 | Fixed in Version | 1.1 | ||||||
Summary | 0000544: Segmentation fault if error in parameter file | ||||||||
Description | After an error in paramter file the usage of ppPos (points to the error location) pointer result in a segmentation fault. | ||||||||
Tags | No tags attached. | ||||||||
Attached Files | |||||||||
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 |