Actions
Support Request #504
closedADTFS-46475 Linux ADTF Crash beim stoppen des Python Support Service wenn ein Service eine Execption wirft
Status:
Closed
Priority:
Normal
Customer:
ELEKTROBIT
Department:
SUPPORT
Requester's Priority:
Normal
Support Level:
3rd Level
Resolution:
Not Supported Scope
Product Issue Numbers:
Affected Products:
Platform:
Ubuntu 16.04 64bit
Topic:
ADTF::Common
FAQ Links:
Description
Supportanfrage
Hallo Supporter,
betrifft nur linux:
wenn ein Service in der Init() einen Fehler wirft, schmiert der python_support service beim herunterfahren ab
Als beispiel hab' ich den cDemoSampleService wie folgt verbogen:
...
tResult cDemoSampleService::ServiceInit(IException** __exception_ptr)
{
LOG_INFO("cUserSampleService::ServiceInit() - modified");
// call parent method first
RETURN_IF_FAILED(cService::ServiceInit(__exception_ptr));
LOG_INFO("cUserSampleService:: throw now");
THROW_IF_FAILED_DESC(-100 , "got ya!!!");
....
System:
Ubuntu 16.04, g++ 4.9.4, Adtf 2.13.2
Output ist angehangen...
Lg Flo
Lösung
Ubuntu, GCC & Python Version müssen passen.
Files
Actions