[TProof] Error retrieving message from input socket

ROOT VERSION: 6.14.04-x86_64-slc6-gcc62-opt …
ROOT is from lcgenv -p LCG_94 x86_64-slc6-gcc62-opt ROOT

Dear experts,
When I open a TProof session and close it with the code below, in the log file I have the following error:
Error in <TProofServLite::HandleSocketInput>: retrieving message from input socket)

Do you have any idea of what may cause this error?
(It does not come from gEnv->SetValue(...). As I get the same error if I comment this line).

To compile the code I use:
g++ -Wall $(root-config --libs --cflags) -lProof -lProofPlayer test_tproof_socket.cpp -o tproof_socket.out && ./tproof_socket.out

#include <iostream> 
// ROOT libraries 
#include "TProof.h" 
#include "TProofLog.h" 
#include "TEnv.h" 

bool check_tproof_open(TProof *proof)
  // TProof session could not open 
  if (!proof) 
    std::cout << "not valid" << std::endl ; 
    return false ; 

  // TProof session opened successfully  
    return true ; 

int main() 
  bool isvalid ; 
  gEnv->SetValue("ProofLite.Sandbox", "/home/rbouquet/workdir/bJES/log_proof") ; 

  TProof *tproof = TProof::Open("","workers=2");

  isvalid = check_tproof_open(tproof) ; 
  if (isvalid)
    tproof->Close() ; 

  TProof::Mgr("")->GetSessionLogs()->Display("*") ; 

  return 0 ; 

It seems not to alter TProof, I have another code where I use TChain, process events and produce plots which are coherent.

But still this error is displayed in log files. I would like to know if it should be a concern or not?

Thanks in advance,
Romain Bouquet

@ganis can you help here?

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.