GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » PANDA » PandaRoot » Bugs, Fixes, Releases » Problems with TPC: dbgstream and PndTpcClustVis
icon11.gif  Problems with TPC: dbgstream and PndTpcClustVis [message #11617] Tue, 05 April 2011 13:13 Go to previous message
StefanoSpataro is currently offline  StefanoSpataro
Messages: 2736
Registered: June 2005
Location: Torino
first-grade participant

From: *to.infn.it
Hi,
yesterday I have updated my trunk version, and I have seen (feb11 or trunk external packages) that the macros have a crash exiting. If i run macro/run/sim_complete_tpc.C (or stt), the macro seems executed properly but just at the end I have a segmentation violation:

Toggle Spoiler


From gdb output it seems it comes from the destruction of dbgstream, the command delete rdbuf(). In theory nothing has changed in this file, therefore I suppose the violation is coming from something else (crash noticed on an Ubuntu10.10 and on a SL4.7).

Another problem that I have seen is the inclusion of some eventdisplay code inside the tpc/TestBench package. We are not compiling EVE on grid machines -> tpc code crashes there.
An "If" would help to solve this problem, such as in the global CMakeLists.txt:

FIND_PATH(TEvePath NAMES TEveEventManager.h PATHS
  ${SIMPATH}/tools/root/include
  NO_DEFAULT_PATH
)

If(TEvePath)
#find_package(OpenGL)
#If (OPENGL_FOUND AND OPENGL_GLU_FOUND)
  Message("Found TEve, so the eventdisplay will be compiled.")
  add_subdirectory(eventdisplay)
  add_subdirectory(PndEventdisplay)
#EndIf (OPENGL_FOUND AND OPENGL_GLU_FOUND)
EndIf(TEvePath)


I think something similar should be added also on the tpc CMakeLists/LinkDef, so that tpc can work also in the grid.

 
Read Message icon11.gif
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: STT tracking crash during check getMCInfo.
Next Topic: Gas mixture composition (WMAT).
Goto Forum:
  


Current Time: Tue Nov 26 18:40:19 CET 2024

Total time taken to generate the page: 0.00662 seconds