Project

General

Profile

Actions

Support Request #504

closed

ADTFS-46475 Linux ADTF Crash beim stoppen des Python Support Service wenn ein Service eine Execption wirft

Added by hidden about 7 years ago. Updated over 6 years ago.

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

output.txt (44.4 KB) output.txt hidden, 2017-03-31 08:15
Actions

Also available in: Atom PDF