|
From: | Eric Noulard |
Subject: | Re: RE : [Tsp-devel] failure provider link on TSP_consumer_request_s ample() |
Date: | Thu, 26 Apr 2007 09:36:29 +0200 |
2007/4/25, ZXOPESOGE001, Ext <address@hidden>:
My problem is that the TSP_consumer_request_sample function returns no status. My code is the following: MSG_TRACE(INOUT_LOW, "avt TSP_consumer_request_sample "); result = TSP_consumer_request_sample(_scoe,symbolsList); MSG_TRACE(INOUT_LOW, "aps TSP_consumer_request_sample "<< result ); if( TSP_STATUS_ERROR_SYMBOLS == result || TSP_STATUS_OK == result ) { //add available symbol to EIF internal list and add bad symbols to errorList _acqParamList->addAvailableSymbol(symbolsList,freq,errorList); } else { MSG_SW_ERROR("SCOE " << MSG_PTR(_scoeName) << " : TSP_consumer_request_sample failed" ); throw OCEIF_TSP_Exception(OCEIF_TSP_ADDPARAM_PB_IDNB, OCEIF_TSP_ADDPARAM_PB_NAME, OCEIF_TSP_ADDPARAM_PB_REASON); } My problen is that i never have the msg trace ""aps TSP_consumer_request_sample " and in this way i have not the status of the request.And then, i can't throw my exception.... My last trace is a TSP trace :(STRACE_DEBUG =7)
OK then you have to file a bug in Savannah with just that. You may add url the ML archive: http://lists.nongnu.org/archive/html/tsp-devel/2007-04/msg00046.html I currently do not have much time to reproduce and track this bug may be someone else out there may investigate? Nevertheless if you do not see any trace after the request_sample statement the thread running that code should have died? Is your application multi-threaded or multi-process? If yes did you call any of the: pthread_cleanup_push/pop pthread_atfork atexit and the like function Did you try to do a step by step run inside a debugger in order to see what happen after the buggy statement?
> TSP Request||/home/intocv61/VAla/TSP/sources/src/core/driver/tsp_consumer.c##TSP_consumer_request_sample##978: SAMPLE > ERROR||/home/intocv61/VAla/TSP/sources/src/core/rpc/tsp_client.c##TSP_request_sample##252: : RPC: Unable to receive; errno = Connection reset by pee
-- Erk
[Prev in Thread] | Current Thread | [Next in Thread] |