-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix segmentation fault in Rocky Linux for ReadSparseFormatCKeysError
Le probleme provient de la classe ValueBlock, hautement optimisee KWValueBlock - La classe utilise une fonctionnalite avancee du C++, le 'placement new operator', pour allouer prealablement la memoire donnee au constructeur, qui usuellement d'une part alloue la memoire, d'autre part l'initialise - Ici, on aura une sequence de trois methodes dans les 'placement new' exploites dans les methodes NewValueBlock des sous classes: - appel de GenericAllocValueBlock pour creer un bloc memoire - appel du placement new du C++ avec ce bloc, qui declenche un appel standard du C++ (implemente en ne faisant rien) - appel de GenericInitValueBlock pour initialiser le bloc memoire Auparavant, on avait une seule methode GenericNewValueBlock qui allouait la memoire et l'initialisait. Le constructeur etait appele ensuite, mais il semble qu'il modifiait (a tort) le contenu de la memoire, entrainant un bug. Impact etudie sur les autre utilisations du "placement new" - uniquement la classe KWTuple: ok (utilisation plus basique) Correction au passage d'une typo dans un message d'erreur SNBPredictorSNBTrainingTask::MasterInitializeDataTableBinarySliceSet - le premier caractere est mis en majuscule dans le message "Not enough memory to run the task" - pour suivre le meme pattern que partout ailleurs dans le code - pour etre traite systematiquement dans les pattern de resilience au messages utilisateurs dans le scripts de LearningTest Note: la modification de IrisLight est a ignorer - il n'y a en fait aucune difference (peut-etre les fins de lignes?)
- Loading branch information
1 parent
f0a1b8c
commit 5683f1d
Showing
13 changed files
with
4,817 additions
and
4,776 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
22 changes: 11 additions & 11 deletions
22
test/LearningTest/TestKhiops/Standard/IrisLight/IrisSelection.kdic
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
#Khiops 7.7.2i | ||
Dictionary Iris | ||
{ | ||
Numerical SepalLength ; | ||
Numerical SepalWidth ; | ||
Numerical PetalLength ; | ||
Numerical PetalWidth ; | ||
Categorical Class ; | ||
Unused Numerical NoSetosa = NEQc(Class, "Iris-setosa") ; | ||
}; | ||
#Khiops 7.7.2i | ||
|
||
Dictionary Iris | ||
{ | ||
Numerical SepalLength ; | ||
Numerical SepalWidth ; | ||
Numerical PetalLength ; | ||
Numerical PetalWidth ; | ||
Categorical Class ; | ||
Unused Numerical NoSetosa = NEQc(Class, "Iris-setosa") ; | ||
}; |
Oops, something went wrong.