- Made init function in ascon handle errors
- Minor fixes to scriptcontext.c
This commit is contained in:
24
ascon.c
24
ascon.c
@ -59,7 +59,7 @@ double DoubleTime(void) {
|
||||
return now.tv_sec + now.tv_usec / 1e6;
|
||||
}
|
||||
|
||||
static void AsconError(Ascon *a, char *msg, int errorno) {
|
||||
void AsconError(Ascon *a, char *msg, int errorno) {
|
||||
static char *stateText[]={
|
||||
"state 0", "kill", "state 2", "notConnected",
|
||||
"connect", "start connect", "connect finished", "connect failed",
|
||||
@ -126,11 +126,13 @@ static void AsconConnect(Ascon *a) {
|
||||
return;
|
||||
}
|
||||
|
||||
void AsconStdInit(Ascon *a, int argc, char *argv[]) {
|
||||
int AsconStdInit(Ascon *a, SConnection *con,
|
||||
int argc, char *argv[]) {
|
||||
a->fd = -1;
|
||||
a->state = AsconConnectStart;
|
||||
a->reconnectInterval = 10;
|
||||
a->hostport = strdup(argv[1]);
|
||||
a->hostport = strdup(argv[1]);
|
||||
if(argc < 2){
|
||||
a->sendTerminator = strdup(argv[2]);
|
||||
} else {
|
||||
@ -141,6 +143,7 @@ void AsconStdInit(Ascon *a, int argc, char *argv[]) {
|
||||
} else {
|
||||
a->timeout = 2.0; /* sec */
|
||||
}
|
||||
return 1;
|
||||
}
|
||||
|
||||
int AsconReadGarbage(int fd) {
|
||||
@ -367,19 +370,23 @@ void AsconInsertProtocol(AsconProtocol *protocol) {
|
||||
AsconProtocolAdd(&protocols, protocol);
|
||||
}
|
||||
|
||||
AsconHandler AsconSetHandler(Ascon *a, int argc, char *argv[]) {
|
||||
AsconHandler AsconSetHandler(Ascon *a, SConnection *con,
|
||||
int argc, char *argv[]) {
|
||||
AsconProtocol *p;
|
||||
|
||||
if (argc < 1) return NULL;
|
||||
if (strcasecmp(argv[0], "std") == 0) {
|
||||
if (argc != 2) return NULL;
|
||||
AsconStdInit(a, argc, argv);
|
||||
AsconStdInit(a, con, argc, argv);
|
||||
return AsconStdHandler;
|
||||
}
|
||||
for (p = protocols.head; p!= NULL; p=p->next) {
|
||||
if (strcasecmp(p->name, argv[0]) == 0) {
|
||||
p->init(a, argc, argv);
|
||||
return p->handler;
|
||||
if(p->init(a, con, argc, argv)){
|
||||
return p->handler;
|
||||
} else {
|
||||
return NULL;
|
||||
}
|
||||
}
|
||||
}
|
||||
return NULL;
|
||||
@ -400,7 +407,7 @@ Ascon *AsconMake(SConnection *con, int argc, char *argv[]) {
|
||||
SCWrite(con, "ERROR: no memory", eError);
|
||||
return NULL;
|
||||
}
|
||||
a->handler = AsconSetHandler(a, argc, argv);
|
||||
a->handler = AsconSetHandler(a, con, argc, argv);
|
||||
if (a->handler == NULL) {
|
||||
args = ConcatArgs(argc, argv);
|
||||
if (!args) return NULL;
|
||||
@ -431,6 +438,9 @@ void AsconKill(Ascon *a) {
|
||||
if(a->sendTerminator){
|
||||
free(a->sendTerminator);
|
||||
}
|
||||
if(a->private != NULL && a->killPrivate != NULL){
|
||||
a->killPrivate(a->private);
|
||||
}
|
||||
free(a);
|
||||
}
|
||||
|
||||
|
14
ascon.i
14
ascon.i
@ -70,6 +70,7 @@ struct Ascon {
|
||||
ErrMsg *curError; /**< the currently active error */
|
||||
double start; /**< unix time when read was started */
|
||||
void *private; /**< private data of protocol */
|
||||
void (*killPrivate)(void *); /** < kill function for private */
|
||||
int noResponse; /**< no response expected */
|
||||
int responseValid; /**< a valid response is ready */
|
||||
AsconHandler handler; /**< handler function */
|
||||
@ -92,11 +93,12 @@ int AsconStdHandler(Ascon *a);
|
||||
|
||||
/** \brief initialize a standard connection
|
||||
* \param a the connection
|
||||
* \param con A connection to print errors too.
|
||||
* \param hostport the tcp/ip address (syntax: host:port)
|
||||
*
|
||||
* In most cases a custom init function may be a wrapper around AsconStdInit
|
||||
*/
|
||||
void AsconStdInit(Ascon *a, int argc, char *argv[]);
|
||||
int AsconStdInit(Ascon *a, SConnection *con, int argc, char *argv[]);
|
||||
|
||||
/** The Ascon Protocol
|
||||
*/
|
||||
@ -104,7 +106,7 @@ typedef struct AsconProtocol {
|
||||
struct AsconProtocol *next;
|
||||
char *name;
|
||||
AsconHandler handler;
|
||||
void (*init)(Ascon *s, int argc, char *argv[]);
|
||||
int (*init)(Ascon *s, SConnection *con, int argc, char *argv[]);
|
||||
} AsconProtocol;
|
||||
|
||||
/** \brief Insert a new protocol into the protocol list
|
||||
@ -145,4 +147,12 @@ int AsconReadChar(int fd, char *chr);
|
||||
*/
|
||||
int AsconWriteChars(int fd, char *data, int length);
|
||||
|
||||
/** \brief store an error
|
||||
* \param a The asynchronous I/O structure to store the
|
||||
* error with
|
||||
* \param msg The error message
|
||||
* \param errorno The error number
|
||||
*/
|
||||
void AsconError(Ascon *a, char *msg, int errorno);
|
||||
|
||||
#endif
|
||||
|
@ -14,7 +14,7 @@ NILIB=$(SINQDIR)/sl5/lib/cib.o
|
||||
include sllinux_def
|
||||
|
||||
CC = gcc
|
||||
CFLAGS = -I$(HDFROOT)/include -DNXXML -DHDF4 -DHDF5 $(NI) \
|
||||
CFLAGS = -I$(HDFROOT)/include -DNXXML -DHDF4 -DHDF5 $(NI) \
|
||||
-Ipsi/hardsup -I. \
|
||||
-Werror -DCYGNUS -DNONINTF -g $(DFORTIFY) \
|
||||
-Wall -Wno-unused -Wno-comment -Wno-switch
|
||||
|
@ -190,7 +190,7 @@ int SctCommand(SConnection *con, SicsInterp *sics, void *object,
|
||||
return 0;
|
||||
}
|
||||
dtime = DoubleTime();
|
||||
snprintf(value,1024,"%ld",(long)dtime);
|
||||
snprintf(value,1024,"%.3f",dtime);
|
||||
SetHdbProperty(node,argv[2], value);
|
||||
return 1;
|
||||
}
|
||||
|
@ -514,16 +514,16 @@ static void copyIntSicsData(pHdb node, pSICSData data){
|
||||
if(node->value.arrayLength != data->dataUsed){
|
||||
if(node->value.v.intArray != NULL){
|
||||
free(node->value.v.intArray);
|
||||
node->value.arrayLength = data->dataUsed;
|
||||
node->value.v.intArray = malloc(data->dataUsed*sizeof(int));
|
||||
if(node->value.v.intArray == NULL){
|
||||
node->value.arrayLength = 0;
|
||||
return;
|
||||
}
|
||||
memcpy(node->value.v.intArray, data->data,
|
||||
data->dataUsed*sizeof(int));
|
||||
}
|
||||
node->value.arrayLength = data->dataUsed;
|
||||
node->value.v.intArray = malloc(data->dataUsed*sizeof(int));
|
||||
if(node->value.v.intArray == NULL){
|
||||
node->value.arrayLength = 0;
|
||||
return;
|
||||
}
|
||||
}
|
||||
memcpy(node->value.v.intArray, data->data,
|
||||
data->dataUsed*sizeof(int));
|
||||
}
|
||||
/*-----------------------------------------------------------------------*/
|
||||
static void copyFloatSicsData(pHdb node, pSICSData data){
|
||||
@ -533,17 +533,17 @@ static void copyFloatSicsData(pHdb node, pSICSData data){
|
||||
if(node->value.arrayLength != data->dataUsed){
|
||||
if(node->value.v.floatArray != NULL){
|
||||
free(node->value.v.floatArray);
|
||||
node->value.arrayLength = data->dataUsed;
|
||||
node->value.v.floatArray = malloc(data->dataUsed*sizeof(double));
|
||||
if(node->value.v.floatArray == NULL){
|
||||
node->value.arrayLength = 0;
|
||||
return;
|
||||
}
|
||||
for(i = 0; i < data->dataUsed; i++){
|
||||
getSICSDataFloat(data,i,&val);
|
||||
node->value.v.floatArray[i] = val;
|
||||
}
|
||||
}
|
||||
node->value.arrayLength = data->dataUsed;
|
||||
node->value.v.floatArray = malloc(data->dataUsed*sizeof(double));
|
||||
if(node->value.v.floatArray == NULL){
|
||||
node->value.arrayLength = 0;
|
||||
return;
|
||||
}
|
||||
}
|
||||
for(i = 0; i < data->dataUsed; i++){
|
||||
getSICSDataFloat(data,i,&val);
|
||||
node->value.v.floatArray[i] = val;
|
||||
}
|
||||
}
|
||||
/*----------------------------------------------------------------------*/
|
||||
@ -612,7 +612,6 @@ static hdbCallbackReturn SICSDataCallback(pHdb node, void *userData,
|
||||
/*============== interpreter function ==================================*/
|
||||
int SICSHdbAdapter(SConnection *pCon, SicsInterp *pSics, void *pData,
|
||||
int argc, char *argv[]){
|
||||
pHdb root = NULL;
|
||||
pHdb path = NULL;
|
||||
pHdb node = NULL;
|
||||
pMotor pMot = NULL;
|
||||
@ -627,9 +626,6 @@ int SICSHdbAdapter(SConnection *pCon, SicsInterp *pSics, void *pData,
|
||||
int type;
|
||||
pHdbCallback pCall = NULL;
|
||||
|
||||
root = GetHipadabaRoot();
|
||||
assert(root != NULL);
|
||||
|
||||
if(!SCMatchRights(pCon,usMugger)){
|
||||
return 0;
|
||||
}
|
||||
@ -638,7 +634,7 @@ int SICSHdbAdapter(SConnection *pCon, SicsInterp *pSics, void *pData,
|
||||
return 0;
|
||||
}
|
||||
|
||||
path = GetHipadabaNode(root,argv[1]);
|
||||
path = FindHdbNode(NULL,argv[1],pCon);
|
||||
if(path == NULL){
|
||||
SCWrite(pCon,"ERROR: path to attach object too not found",eError);
|
||||
return 0;
|
||||
|
611
val.lis
611
val.lis
@ -1,611 +0,0 @@
|
||||
==23429== Memcheck, a memory error detector.
|
||||
==23429== Copyright (C) 2002-2006, and GNU GPL'd, by Julian Seward et al.
|
||||
==23429== Using LibVEX rev 1658, a library for dynamic binary translation.
|
||||
==23429== Copyright (C) 2004-2006, and GNU GPL'd, by OpenWorks LLP.
|
||||
==23429== Using valgrind-3.2.1, a dynamic binary instrumentation framework.
|
||||
==23429== Copyright (C) 2000-2006, and GNU GPL'd, by Julian Seward et al.
|
||||
==23429== For more details, rerun with: -v
|
||||
==23429==
|
||||
WARNING: Cannot log(Accepted dummy connection )
|
||||
sim/powder/hrpt.tcl:0>> ServerOption RedirectFile $loghome/stdhrpt
|
||||
sim/powder/hrpt.tcl:1>> ServerOption ReadTimeOut 10
|
||||
sim/powder/hrpt.tcl:2>> ServerOption AcceptTimeOut 10
|
||||
sim/powder/hrpt.tcl:3>> ServerOption ReadUserPasswdTimeout 500000
|
||||
sim/powder/hrpt.tcl:4>> ServerOption LogFileBaseName "$loghome/hrptlog"
|
||||
sim/powder/hrpt.tcl:5>> ServerOption LogFileDir $loghome
|
||||
sim/powder/hrpt.tcl:6>> ServerOption TecsPort 9753
|
||||
sim/powder/hrpt.tcl:7>> ServerOption ServerPort 2911
|
||||
sim/powder/hrpt.tcl:8>> ServerOption statusfile $datahome/hrptstatus.tcl
|
||||
sim/powder/hrpt.tcl:9>> ServerOption InterruptPort 3007
|
||||
sim/powder/hrpt.tcl:10>> ServerOption TelnetPort 1301
|
||||
sim/powder/hrpt.tcl:11>> ServerOption TelWord sicslogin
|
||||
sim/powder/hrpt.tcl:12>> ServerOption QuieckPort 2108
|
||||
sim/powder/hrpt.tcl:13>> TokenInit connan
|
||||
sim/powder/hrpt.tcl:14>> SicsUser lnsmanager lnsSICSlns 1
|
||||
sim/powder/hrpt.tcl:15>> SicsUser Manager lnsSICSlns 1
|
||||
sim/powder/hrpt.tcl:16>> SicsUser User 07lns1 2
|
||||
sim/powder/hrpt.tcl:17>> SicsUser hrptuser 08lns1 2
|
||||
sim/powder/hrpt.tcl:18>> SicsUser user 08lns1 2
|
||||
sim/powder/hrpt.tcl:19>> SicsUser manager lnsSICSlns 1
|
||||
sim/powder/hrpt.tcl:20>> ClientPut "Initialising Elephant"
|
||||
Initialising Elephant
|
||||
sim/powder/hrpt.tcl:21>> ClientPut "Initialising Sample Table Motors"
|
||||
Initialising Sample Table Motors
|
||||
sim/powder/hrpt.tcl:22>> SicsAlias MOMU A1
|
||||
sim/powder/hrpt.tcl:23>> SicsAlias SOM A3
|
||||
sim/powder/hrpt.tcl:24>> SicsAlias SOM OM
|
||||
sim/powder/hrpt.tcl:25>> SicsAlias SOM OMEGA
|
||||
sim/powder/hrpt.tcl:26>> SicsAlias STT A4
|
||||
sim/powder/hrpt.tcl:27>> SicsAlias STT TH
|
||||
sim/powder/hrpt.tcl:28>> SicsAlias MOML B1
|
||||
sim/powder/hrpt.tcl:29>> SicsAlias CEX1 A17
|
||||
sim/powder/hrpt.tcl:30>> SicsAlias CEX2 A18
|
||||
sim/powder/hrpt.tcl:31>> SicsAlias MTVU A12
|
||||
sim/powder/hrpt.tcl:32>> SicsAlias MTPU A13
|
||||
sim/powder/hrpt.tcl:33>> SicsAlias MGVU A14
|
||||
sim/powder/hrpt.tcl:34>> SicsAlias MGPU A15
|
||||
sim/powder/hrpt.tcl:35>> SicsAlias MCVU A16
|
||||
sim/powder/hrpt.tcl:36>> SicsAlias MEXZ A37
|
||||
sim/powder/hrpt.tcl:37>> SicsAlias MTVL A22
|
||||
sim/powder/hrpt.tcl:38>> SicsAlias MTPL A23
|
||||
sim/powder/hrpt.tcl:39>> SicsAlias MGVL A24
|
||||
sim/powder/hrpt.tcl:40>> SicsAlias MGPL A25
|
||||
sim/powder/hrpt.tcl:41>> SicsAlias MCVL A26
|
||||
sim/powder/hrpt.tcl:42>> DefineAlias TT temperature
|
||||
sim/powder/hrpt.tcl:43>> VarMake MTT Float User
|
||||
sim/powder/hrpt.tcl:44>> MTT 90.
|
||||
sim/powder/hrpt.tcl:45>> SicsAlias MTT A2
|
||||
sim/powder/hrpt.tcl:46>> VarMake typename Text Mugger
|
||||
sim/powder/hrpt.tcl:47>> typename Pyrolithic Graphite
|
||||
sim/powder/hrpt.tcl:48>> VarMake radcol Text Mugger
|
||||
sim/powder/hrpt.tcl:49>> MakeConfigurableMotor D1W
|
||||
sim/powder/hrpt.tcl:50>> D1W drivescript widthscript
|
||||
sim/powder/hrpt.tcl:51>> D1W readscript readwidth
|
||||
sim/powder/hrpt.tcl:52>> ClientPut "Installing counters"
|
||||
Installing counters
|
||||
sim/powder/hrpt.tcl:53>> banana configure HistMode hrpt
|
||||
sim/powder/hrpt.tcl:54>> banana configure OverFlowMode reflect
|
||||
sim/powder/hrpt.tcl:55>> banana configure Rank 1
|
||||
sim/powder/hrpt.tcl:56>> banana configure dim0 1600
|
||||
sim/powder/hrpt.tcl:57>> banana configure BinWidth 4
|
||||
sim/powder/hrpt.tcl:58>> banana preset 100.
|
||||
sim/powder/hrpt.tcl:59>> banana CountMode Timer
|
||||
sim/powder/hrpt.tcl:60>> banana configure HMComputer lnse03.psi.ch
|
||||
sim/powder/hrpt.tcl:61>> banana configure HMPort 2400
|
||||
sim/powder/hrpt.tcl:62>> banana configure Counter counter
|
||||
sim/powder/hrpt.tcl:63>> banana init
|
||||
Receive on port 0xABCB=43979, use multicast group="226.129.151.54" addr=INADDR_ANY
|
||||
sim/powder/hrpt.tcl:64>> VarMake SicsDataPath Text Internal
|
||||
sim/powder/hrpt.tcl:65>> SicsDataPath "$datahome/"
|
||||
sim/powder/hrpt.tcl:66>> SicsDataPath lock
|
||||
sim/powder/hrpt.tcl:67>> VarMake DetStepWidth Float Internal
|
||||
sim/powder/hrpt.tcl:68>> DetStepWidth 0.1
|
||||
sim/powder/hrpt.tcl:69>> DetStepWidth lock
|
||||
sim/powder/hrpt.tcl:70>> VarMake Instrument Text Internal
|
||||
sim/powder/hrpt.tcl:71>> Instrument lock
|
||||
sim/powder/hrpt.tcl:72>> VarMake Title Text User
|
||||
sim/powder/hrpt.tcl:73>> VarMake User Text User
|
||||
sim/powder/hrpt.tcl:74>> VarMake Collimation Text User
|
||||
sim/powder/hrpt.tcl:75>> VarMake Sample Text User
|
||||
sim/powder/hrpt.tcl:76>> Sample Fischerit
|
||||
sim/powder/hrpt.tcl:77>> VarMake comment1 Text User
|
||||
sim/powder/hrpt.tcl:78>> VarMake comment2 Text User
|
||||
sim/powder/hrpt.tcl:79>> VarMake comment3 Text User
|
||||
sim/powder/hrpt.tcl:80>> VarMake starttime Text User
|
||||
sim/powder/hrpt.tcl:81>> starttime ""
|
||||
sim/powder/hrpt.tcl:82>> VarMake SicsDataPrefix Text Internal
|
||||
sim/powder/hrpt.tcl:83>> SicsDataPrefix hrpt
|
||||
sim/powder/hrpt.tcl:84>> SicsDataPrefix lock
|
||||
sim/powder/hrpt.tcl:85>> MakeDataNumber SicsDataNumber $datahome/DataNumber
|
||||
sim/powder/hrpt.tcl:86>> VarMake SicsDataPostFix Text Internal
|
||||
sim/powder/hrpt.tcl:87>> SicsDataPostFix ".hdf"
|
||||
sim/powder/hrpt.tcl:88>> SicsDataPostFix lock
|
||||
sim/powder/hrpt.tcl:89>> VarMake Adress Text User
|
||||
sim/powder/hrpt.tcl:90>> VarMake phone Text User
|
||||
sim/powder/hrpt.tcl:91>> VarMake fax Text User
|
||||
sim/powder/hrpt.tcl:92>> VarMake email Text User
|
||||
sim/powder/hrpt.tcl:93>> VarMake sample_mur Float User
|
||||
sim/powder/hrpt.tcl:94>> VarMake BatchRoot Text User
|
||||
sim/powder/hrpt.tcl:95>> VarMake lambda Float User
|
||||
sim/powder/hrpt.tcl:96>> hfactory /instrument plain spy none
|
||||
sim/powder/hrpt.tcl:97>> hsetprop /instrument type instrument
|
||||
sim/powder/hrpt.tcl:98>> hmake /instrument/sinq spy none
|
||||
sim/powder/hrpt.tcl:99>> hfactory /instrument/sinq/counts plain internal int
|
||||
sim/powder/hrpt.tcl:100>> hattach /instrument/sinq/counts counter 4
|
||||
sim/powder/hrpt.tcl:101>> hfactory /instrument/sinq/ring_current script "sinq ring" hdbReadOnly int
|
||||
sim/powder/hrpt.tcl:102>> hfactory /instrument/sinq/sinq_current script "sinq beam" hdbReadOnly int
|
||||
sim/powder/hrpt.tcl:103>> sicspoll add /instrument/sinq/ring_current hdb 5
|
||||
sim/powder/hrpt.tcl:104>> sicspoll add /instrument/sinq/beam_current hdb 5
|
||||
ERROR: node /instrument/sinq/beam_current not found
|
||||
ERROR: object to poll not found
|
||||
sim/powder/hrpt.tcl:105>> hfactory $path plain spy none
|
||||
sim/powder/hrpt.tcl:106>> hattach $path cex1 drum1
|
||||
sim/powder/hrpt.tcl:107>> hattach $path cex2 drum2
|
||||
sim/powder/hrpt.tcl:108>> hfactory $path plain spy none
|
||||
sim/powder/hrpt.tcl:109>> hfactory $path/upper plain spy none
|
||||
sim/powder/hrpt.tcl:110>> hfactory $path/lower plain spy none
|
||||
sim/powder/hrpt.tcl:111>> hattach $path/upper mtvu vertical_translation
|
||||
sim/powder/hrpt.tcl:112>> hattach $path/upper mtpu paralell_translation
|
||||
sim/powder/hrpt.tcl:113>> hattach $path/upper mgvu vertical_tilt
|
||||
sim/powder/hrpt.tcl:114>> hattach $path/upper mgpu paralell_tilt
|
||||
sim/powder/hrpt.tcl:115>> hattach $path/upper momu omega
|
||||
sim/powder/hrpt.tcl:116>> hattach $path/lower mtvl vertical_translation
|
||||
sim/powder/hrpt.tcl:117>> hattach $path/lower mtpl paralell_translation
|
||||
sim/powder/hrpt.tcl:118>> hattach $path/lower mgvl vertical_tilt
|
||||
sim/powder/hrpt.tcl:119>> hattach $path/lower mgpl paralell_tilt
|
||||
sim/powder/hrpt.tcl:120>> hattach $path/lower moml omega
|
||||
sim/powder/hrpt.tcl:121>> hattach $path mexz lift
|
||||
sim/powder/hrpt.tcl:122>> hattach $path lambda wavelength
|
||||
sim/powder/hrpt.tcl:123>> hattach $path/lower mcvl curvature
|
||||
sim/powder/hrpt.tcl:124>> hattach /instrument/slit d1w width
|
||||
sim/powder/hrpt.tcl:125>> hchain /instrument/slit/d1r /instrument/slit/width
|
||||
ERROR: slave /instrument/slit/d1r not found
|
||||
sim/powder/hrpt.tcl:126>> hfactory $path plain spy none
|
||||
sim/powder/hrpt.tcl:127>> hattach $path sample name
|
||||
sim/powder/hrpt.tcl:128>> hattach $path som omega
|
||||
sim/powder/hrpt.tcl:129>> hfactory $path/monitor plain internal int
|
||||
sim/powder/hrpt.tcl:130>> hattach $path/monitor counter 1
|
||||
sim/powder/hrpt.tcl:131>> hfactory $path/changer plain spy none
|
||||
sim/powder/hrpt.tcl:132>> hfactory $path/changer/rotation script sarot sarot text
|
||||
sim/powder/hrpt.tcl:133>> hsetprop $path/changer/rotation values on,off
|
||||
sim/powder/hrpt.tcl:134>> hattach $path/changer chpos position
|
||||
sim/powder/hrpt.tcl:135>> hfactory /instrument/radial_collimator plain spy none
|
||||
sim/powder/hrpt.tcl:136>> hfactory /instrument/radial_collimator/status script radial hdbradial text
|
||||
sim/powder/hrpt.tcl:137>> hsetprop /instrument/radial_collimator values start,stop
|
||||
sim/powder/hrpt.tcl:138>> sicspoll /instrument/radial_collimator/status hdb 60
|
||||
sim/powder/hrpt.tcl:139>> hattach /instrument/radial_collimator radcol type
|
||||
sim/powder/hrpt.tcl:140>> hfactory $path plain spy none
|
||||
sim/powder/hrpt.tcl:141>> hattach $path stt two_theta
|
||||
sim/powder/hrpt.tcl:142>> hfactory /instrument/detector/preset script "banana preset" hdbReadOnly float
|
||||
sim/powder/hrpt.tcl:143>> hsetprop /instrument/detector/preset priv internal
|
||||
sim/powder/hrpt.tcl:144>> hfactory /instrument/detector/countmode script "banana countmode" hdbReadOnly text
|
||||
sim/powder/hrpt.tcl:145>> hsetprop /instrument/detector/countmode priv internal
|
||||
sim/powder/hrpt.tcl:146>> sicspoll add /instrument/detector/preset hdb 30
|
||||
sim/powder/hrpt.tcl:147>> sicspoll add /instrument/detector/countmode hdb 30
|
||||
sim/powder/hrpt.tcl:148>> hfactory /instrument/detector/count_time plain internal float
|
||||
sim/powder/hrpt.tcl:149>> hattach /instrument/detector/count_time counter -1
|
||||
sim/powder/hrpt.tcl:150>> hfactory /instrument/commands plain spy none
|
||||
sim/powder/hrpt.tcl:151>> hfactory /graphics plain spy none
|
||||
sim/powder/hrpt.tcl:152>> hfactory /graphics/powder_diagram plain spy none
|
||||
sim/powder/hrpt.tcl:153>> hattach /graphics/powder_diagram title title
|
||||
sim/powder/hrpt.tcl:154>> hsetprop /graphics/powder_diagram type graphdata
|
||||
sim/powder/hrpt.tcl:155>> hsetprop /graphics/powder_diagram viewer default
|
||||
sim/powder/hrpt.tcl:156>> hfactory /graphics/powder_diagram/rank plain internal int
|
||||
sim/powder/hrpt.tcl:157>> hset /graphics/powder_diagram/rank 1
|
||||
sim/powder/hrpt.tcl:158>> hfactory /graphics/powder_diagram/dim plain internal intar 1
|
||||
sim/powder/hrpt.tcl:159>> hset /graphics/powder_diagram/dim 1600
|
||||
sim/powder/hrpt.tcl:160>> hfactory /graphics/powder_diagram/two_theta script maketwotheta hdbReadOnly floatar 1600
|
||||
sim/powder/hrpt.tcl:161>> hchain /graphics/powder_diagram/two_theta /instrument/detector/two_theta
|
||||
sim/powder/hrpt.tcl:162>> hsetprop /graphics/powder_diagram/two_theta type axis
|
||||
sim/powder/hrpt.tcl:163>> hsetprop /graphics/powder_diagram/two_theta transfer zip
|
||||
sim/powder/hrpt.tcl:164>> hsetprop /graphics/powder_diagram/two_theta dim 0
|
||||
sim/powder/hrpt.tcl:165>> hattach /graphics/powder_diagram banana counts
|
||||
sim/powder/hrpt.tcl:166>> hsetprop /graphics/powder_diagram/counts type data
|
||||
sim/powder/hrpt.tcl:167>> hsetprop /graphics/powder_diagram/counts transfer zip
|
||||
sim/powder/hrpt.tcl:168>> hsetprop /graphics/powder_diagram/counts priv internal
|
||||
sim/powder/hrpt.tcl:169>> sicspoll add /graphics/powder_diagram/counts hdb 60
|
||||
sim/powder/hrpt.tcl:170>> hfactory /quickview plain spy none
|
||||
ERROR: duplicate exe manager not created
|
||||
sim/powder/hrpt.tcl:171>> sicsdatafactory new hmdata
|
||||
sim/powder/hrpt.tcl:172>> sicsdatafactory new effdata
|
||||
sim/powder/hrpt.tcl:173>> MakeOscillator a3osc som
|
||||
sim/powder/hrpt.tcl:174>> commandlog auto
|
||||
sim/powder/hrpt.tcl:175>> MakeScanCommand xxxscan counter $scripthome/hrpt.hdd recover.bin
|
||||
sim/powder/hrpt.tcl:176>> MakePeakCenter xxxscan
|
||||
sim/powder/hrpt.tcl:177>> sicscron 10 backupCron $datahome/statusHistory
|
||||
sim/powder/hrpt.tcl:178>> clientput "Finished initializing HRPT"
|
||||
Finished initializing HRPT
|
||||
OK
|
||||
==23429== Invalid read of size 1
|
||||
==23429== at 0x400630E: strcmp (mc_replace_strmem.c:341)
|
||||
==23429== by 0x80FEED0: compareHdbValue (hipadaba.c:430)
|
||||
==23429== by 0x8115EDC: pollHdb (polldriv.c:38)
|
||||
==23429== by 0x81165EA: PollTask (sicspoll.c:135)
|
||||
==23429== by 0x8058CEA: TaskSchedule (task.c:211)
|
||||
==23429== by 0x80576F9: RunServer (nserver.c:406)
|
||||
==23429== by 0x8057BFB: main (SICSmain.c:62)
|
||||
==23429== Address 0x42B6E08 is 0 bytes inside a block of size 8 free'd
|
||||
==23429== at 0x4004FDA: free (vg_replace_malloc.c:233)
|
||||
==23429== by 0x8104291: readHdbValue (sicshipadaba.c:1829)
|
||||
==23429== by 0x8101A71: SICSScriptReadCallback (sicshipadaba.c:734)
|
||||
==23429== by 0x80FE75D: InvokeCallbackChain (hipadaba.c:155)
|
||||
==23429== by 0x80FFBDD: SendDataMessage (hipadaba.c:866)
|
||||
==23429== by 0x80FFD3B: GetHipadabaPar (hipadaba.c:895)
|
||||
==23429== by 0x8115E89: pollHdb (polldriv.c:37)
|
||||
==23429== by 0x81165EA: PollTask (sicspoll.c:135)
|
||||
==23429== by 0x8058CEA: TaskSchedule (task.c:211)
|
||||
==23429== by 0x80576F9: RunServer (nserver.c:406)
|
||||
==23429== by 0x8057BFB: main (SICSmain.c:62)
|
||||
==23429==
|
||||
==23429== Conditional jump or move depends on uninitialised value(s)
|
||||
==23429== at 0x8105700: HdbNodeInfo (sicshipadaba.c:2356)
|
||||
==23429== by 0x8059600: SicsUnknownProc (macro.c:185)
|
||||
==23429== by 0x2DF95D: TclInvokeStringCommand (in /usr/lib/libtcl8.4.so)
|
||||
==23429== by 0x2E130A: TclEvalObjvInternal (in /usr/lib/libtcl8.4.so)
|
||||
==23429== by 0x2E13FA: TclEvalObjvInternal (in /usr/lib/libtcl8.4.so)
|
||||
==23429== by 0x30DF60: (within /usr/lib/libtcl8.4.so)
|
||||
==23429== by 0x311D9B: TclCompEvalObj (in /usr/lib/libtcl8.4.so)
|
||||
==23429== by 0x33E86B: TclObjInterpProc (in /usr/lib/libtcl8.4.so)
|
||||
==23429== by 0x2E130A: TclEvalObjvInternal (in /usr/lib/libtcl8.4.so)
|
||||
==23429== by 0x30DF60: (within /usr/lib/libtcl8.4.so)
|
||||
==23429== by 0x311D9B: TclCompEvalObj (in /usr/lib/libtcl8.4.so)
|
||||
==23429== by 0x33E86B: TclObjInterpProc (in /usr/lib/libtcl8.4.so)
|
||||
==23429==
|
||||
==23429== Invalid read of size 1
|
||||
==23429== at 0x400632E: strcmp (mc_replace_strmem.c:341)
|
||||
==23429== by 0x80FEED0: compareHdbValue (hipadaba.c:430)
|
||||
==23429== by 0x8115EDC: pollHdb (polldriv.c:38)
|
||||
==23429== by 0x81165EA: PollTask (sicspoll.c:135)
|
||||
==23429== by 0x8058CEA: TaskSchedule (task.c:211)
|
||||
==23429== by 0x80576F9: RunServer (nserver.c:406)
|
||||
==23429== by 0x8057BFB: main (SICSmain.c:62)
|
||||
==23429== Address 0x45BC419 is 1 bytes inside a block of size 7 free'd
|
||||
==23429== at 0x4004FDA: free (vg_replace_malloc.c:233)
|
||||
==23429== by 0x8104291: readHdbValue (sicshipadaba.c:1829)
|
||||
==23429== by 0x8101A71: SICSScriptReadCallback (sicshipadaba.c:734)
|
||||
==23429== by 0x80FE75D: InvokeCallbackChain (hipadaba.c:155)
|
||||
==23429== by 0x80FFBDD: SendDataMessage (hipadaba.c:866)
|
||||
==23429== by 0x80FFD3B: GetHipadabaPar (hipadaba.c:895)
|
||||
==23429== by 0x8115E89: pollHdb (polldriv.c:37)
|
||||
==23429== by 0x81165EA: PollTask (sicspoll.c:135)
|
||||
==23429== by 0x8058CEA: TaskSchedule (task.c:211)
|
||||
==23429== by 0x80576F9: RunServer (nserver.c:406)
|
||||
==23429== by 0x8057BFB: main (SICSmain.c:62)
|
||||
==23429==
|
||||
==23429== Conditional jump or move depends on uninitialised value(s)
|
||||
==23429== at 0xD27CE9: (within /usr/lib/libz.so.1.2.3)
|
||||
==23429== by 0xD28EA0: (within /usr/lib/libz.so.1.2.3)
|
||||
==23429== by 0xD282D6: deflate (in /usr/lib/libz.so.1.2.3)
|
||||
==23429== by 0x804F511: SCWriteZipped (conman.c:1231)
|
||||
==23429== by 0x8100C1B: sendZippedNodeData (sicshipadaba.c:414)
|
||||
==23429== by 0x81051D8: ZipGetHdbNode (sicshipadaba.c:2229)
|
||||
==23429== by 0x805248A: InterpExecute (SCinter.c:322)
|
||||
==23429== by 0x80F7C2D: ContextDo (protocol.c:200)
|
||||
==23429== by 0x805248A: InterpExecute (SCinter.c:322)
|
||||
==23429== by 0x804FF53: SCInvoke (conman.c:1604)
|
||||
==23429== by 0x8051333: SCTaskFunction (conman.c:2097)
|
||||
==23429== by 0x8058CEA: TaskSchedule (task.c:211)
|
||||
==23429==
|
||||
==23429== Conditional jump or move depends on uninitialised value(s)
|
||||
==23429== at 0xD27CE9: (within /usr/lib/libz.so.1.2.3)
|
||||
==23429== by 0xD28EA0: (within /usr/lib/libz.so.1.2.3)
|
||||
==23429== by 0xD282D6: deflate (in /usr/lib/libz.so.1.2.3)
|
||||
==23429== by 0x804F7C6: SCWriteZipped (conman.c:1287)
|
||||
==23429== by 0x8100C1B: sendZippedNodeData (sicshipadaba.c:414)
|
||||
==23429== by 0x81051D8: ZipGetHdbNode (sicshipadaba.c:2229)
|
||||
==23429== by 0x805248A: InterpExecute (SCinter.c:322)
|
||||
==23429== by 0x80F7C2D: ContextDo (protocol.c:200)
|
||||
==23429== by 0x805248A: InterpExecute (SCinter.c:322)
|
||||
==23429== by 0x804FF53: SCInvoke (conman.c:1604)
|
||||
==23429== by 0x8051333: SCTaskFunction (conman.c:2097)
|
||||
==23429== by 0x8058CEA: TaskSchedule (task.c:211)
|
||||
==23429==
|
||||
==23429== Conditional jump or move depends on uninitialised value(s)
|
||||
==23429== at 0xD27D70: (within /usr/lib/libz.so.1.2.3)
|
||||
==23429== by 0xD28EA0: (within /usr/lib/libz.so.1.2.3)
|
||||
==23429== by 0xD282D6: deflate (in /usr/lib/libz.so.1.2.3)
|
||||
==23429== by 0xD25B91: compress2 (in /usr/lib/libz.so.1.2.3)
|
||||
==23429== by 0x82B37D7: H5Z_filter_deflate (in /afs/psi.ch/user/k/koennecke/src/workspace/sics/SICServer)
|
||||
==23429==
|
||||
==23429== Conditional jump or move depends on uninitialised value(s)
|
||||
==23429== at 0xD27D82: (within /usr/lib/libz.so.1.2.3)
|
||||
==23429== by 0xD28EA0: (within /usr/lib/libz.so.1.2.3)
|
||||
==23429== by 0xD282D6: deflate (in /usr/lib/libz.so.1.2.3)
|
||||
==23429== by 0xD25B91: compress2 (in /usr/lib/libz.so.1.2.3)
|
||||
==23429== by 0x82B37D7: H5Z_filter_deflate (in /afs/psi.ch/user/k/koennecke/src/workspace/sics/SICServer)
|
||||
==23429==
|
||||
==23429== Conditional jump or move depends on uninitialised value(s)
|
||||
==23429== at 0xD27D91: (within /usr/lib/libz.so.1.2.3)
|
||||
==23429== by 0xD28EA0: (within /usr/lib/libz.so.1.2.3)
|
||||
==23429== by 0xD282D6: deflate (in /usr/lib/libz.so.1.2.3)
|
||||
==23429== by 0xD25B91: compress2 (in /usr/lib/libz.so.1.2.3)
|
||||
==23429== by 0x82B37D7: H5Z_filter_deflate (in /afs/psi.ch/user/k/koennecke/src/workspace/sics/SICServer)
|
||||
==23429==
|
||||
==23429== Conditional jump or move depends on uninitialised value(s)
|
||||
==23429== at 0xD27DA3: (within /usr/lib/libz.so.1.2.3)
|
||||
==23429== by 0xD28EA0: (within /usr/lib/libz.so.1.2.3)
|
||||
==23429== by 0xD282D6: deflate (in /usr/lib/libz.so.1.2.3)
|
||||
==23429== by 0xD25B91: compress2 (in /usr/lib/libz.so.1.2.3)
|
||||
==23429== by 0x82B37D7: H5Z_filter_deflate (in /afs/psi.ch/user/k/koennecke/src/workspace/sics/SICServer)
|
||||
==23429==
|
||||
==23429== Conditional jump or move depends on uninitialised value(s)
|
||||
==23429== at 0xD27DB2: (within /usr/lib/libz.so.1.2.3)
|
||||
==23429== by 0xD28EA0: (within /usr/lib/libz.so.1.2.3)
|
||||
==23429== by 0xD282D6: deflate (in /usr/lib/libz.so.1.2.3)
|
||||
==23429== by 0xD25B91: compress2 (in /usr/lib/libz.so.1.2.3)
|
||||
==23429== by 0x82B37D7: H5Z_filter_deflate (in /afs/psi.ch/user/k/koennecke/src/workspace/sics/SICServer)
|
||||
==23429==
|
||||
==23429== Conditional jump or move depends on uninitialised value(s)
|
||||
==23429== at 0xD27D3C: (within /usr/lib/libz.so.1.2.3)
|
||||
==23429== by 0xD28EA0: (within /usr/lib/libz.so.1.2.3)
|
||||
==23429== by 0xD282D6: deflate (in /usr/lib/libz.so.1.2.3)
|
||||
==23429== by 0xD25B91: compress2 (in /usr/lib/libz.so.1.2.3)
|
||||
==23429== by 0x82B37D7: H5Z_filter_deflate (in /afs/psi.ch/user/k/koennecke/src/workspace/sics/SICServer)
|
||||
==23429==
|
||||
==23429== Conditional jump or move depends on uninitialised value(s)
|
||||
==23429== at 0xD27D4F: (within /usr/lib/libz.so.1.2.3)
|
||||
==23429== by 0xD28EA0: (within /usr/lib/libz.so.1.2.3)
|
||||
==23429== by 0xD282D6: deflate (in /usr/lib/libz.so.1.2.3)
|
||||
==23429== by 0xD25B91: compress2 (in /usr/lib/libz.so.1.2.3)
|
||||
==23429== by 0x82B37D7: H5Z_filter_deflate (in /afs/psi.ch/user/k/koennecke/src/workspace/sics/SICServer)
|
||||
==23429==
|
||||
==23429== Conditional jump or move depends on uninitialised value(s)
|
||||
==23429== at 0xD27D61: (within /usr/lib/libz.so.1.2.3)
|
||||
==23429== by 0xD28EA0: (within /usr/lib/libz.so.1.2.3)
|
||||
==23429== by 0xD282D6: deflate (in /usr/lib/libz.so.1.2.3)
|
||||
==23429== by 0xD25B91: compress2 (in /usr/lib/libz.so.1.2.3)
|
||||
==23429== by 0x82B37D7: H5Z_filter_deflate (in /afs/psi.ch/user/k/koennecke/src/workspace/sics/SICServer)
|
||||
==23429==
|
||||
==23429== Conditional jump or move depends on uninitialised value(s)
|
||||
==23429== at 0xD27D70: (within /usr/lib/libz.so.1.2.3)
|
||||
==23429== by 0xD28EA0: (within /usr/lib/libz.so.1.2.3)
|
||||
==23429== by 0xD282D6: deflate (in /usr/lib/libz.so.1.2.3)
|
||||
==23429== by 0x804F511: SCWriteZipped (conman.c:1231)
|
||||
==23429== by 0x8100B0F: sendZippedNodeData (sicshipadaba.c:394)
|
||||
==23429== by 0x8100EE0: SICSNotifyCallback (sicshipadaba.c:494)
|
||||
==23429== by 0x80FE75D: InvokeCallbackChain (hipadaba.c:155)
|
||||
==23429== by 0x80FFBDD: SendDataMessage (hipadaba.c:866)
|
||||
==23429== by 0x80FFC67: UpdateHipadabaPar (hipadaba.c:876)
|
||||
==23429== by 0x81146E7: HMDataGetCallback (sicshdbadapter.c:339)
|
||||
==23429== by 0x80FE75D: InvokeCallbackChain (hipadaba.c:155)
|
||||
==23429== by 0x80FFBDD: SendDataMessage (hipadaba.c:866)
|
||||
==23429==
|
||||
==23429== Conditional jump or move depends on uninitialised value(s)
|
||||
==23429== at 0xD27D70: (within /usr/lib/libz.so.1.2.3)
|
||||
==23429== by 0xD28EA0: (within /usr/lib/libz.so.1.2.3)
|
||||
==23429== by 0xD282D6: deflate (in /usr/lib/libz.so.1.2.3)
|
||||
==23429== by 0x804F7C6: SCWriteZipped (conman.c:1287)
|
||||
==23429== by 0x8100B0F: sendZippedNodeData (sicshipadaba.c:394)
|
||||
==23429== by 0x8100EE0: SICSNotifyCallback (sicshipadaba.c:494)
|
||||
==23429== by 0x80FE75D: InvokeCallbackChain (hipadaba.c:155)
|
||||
==23429== by 0x80FFBDD: SendDataMessage (hipadaba.c:866)
|
||||
==23429== by 0x80FFC67: UpdateHipadabaPar (hipadaba.c:876)
|
||||
==23429== by 0x81146E7: HMDataGetCallback (sicshdbadapter.c:339)
|
||||
==23429== by 0x80FE75D: InvokeCallbackChain (hipadaba.c:155)
|
||||
==23429== by 0x80FFBDD: SendDataMessage (hipadaba.c:866)
|
||||
==23429==
|
||||
==23429== Conditional jump or move depends on uninitialised value(s)
|
||||
==23429== at 0xD27D82: (within /usr/lib/libz.so.1.2.3)
|
||||
==23429== by 0xD28EA0: (within /usr/lib/libz.so.1.2.3)
|
||||
==23429== by 0xD282D6: deflate (in /usr/lib/libz.so.1.2.3)
|
||||
==23429== by 0x804F7C6: SCWriteZipped (conman.c:1287)
|
||||
==23429== by 0x8100B0F: sendZippedNodeData (sicshipadaba.c:394)
|
||||
==23429== by 0x8100EE0: SICSNotifyCallback (sicshipadaba.c:494)
|
||||
==23429== by 0x80FE75D: InvokeCallbackChain (hipadaba.c:155)
|
||||
==23429== by 0x80FFBDD: SendDataMessage (hipadaba.c:866)
|
||||
==23429== by 0x80FFC67: UpdateHipadabaPar (hipadaba.c:876)
|
||||
==23429== by 0x81146E7: HMDataGetCallback (sicshdbadapter.c:339)
|
||||
==23429== by 0x80FE75D: InvokeCallbackChain (hipadaba.c:155)
|
||||
==23429== by 0x80FFBDD: SendDataMessage (hipadaba.c:866)
|
||||
==23429==
|
||||
==23429== Conditional jump or move depends on uninitialised value(s)
|
||||
==23429== at 0xD27D91: (within /usr/lib/libz.so.1.2.3)
|
||||
==23429== by 0xD28EA0: (within /usr/lib/libz.so.1.2.3)
|
||||
==23429== by 0xD282D6: deflate (in /usr/lib/libz.so.1.2.3)
|
||||
==23429== by 0x804F7C6: SCWriteZipped (conman.c:1287)
|
||||
==23429== by 0x8100B0F: sendZippedNodeData (sicshipadaba.c:394)
|
||||
==23429== by 0x8100EE0: SICSNotifyCallback (sicshipadaba.c:494)
|
||||
==23429== by 0x80FE75D: InvokeCallbackChain (hipadaba.c:155)
|
||||
==23429== by 0x80FFBDD: SendDataMessage (hipadaba.c:866)
|
||||
==23429== by 0x80FFC67: UpdateHipadabaPar (hipadaba.c:876)
|
||||
==23429== by 0x81146E7: HMDataGetCallback (sicshdbadapter.c:339)
|
||||
==23429== by 0x80FE75D: InvokeCallbackChain (hipadaba.c:155)
|
||||
==23429== by 0x80FFBDD: SendDataMessage (hipadaba.c:866)
|
||||
==23429==
|
||||
==23429== Conditional jump or move depends on uninitialised value(s)
|
||||
==23429== at 0xD27DA3: (within /usr/lib/libz.so.1.2.3)
|
||||
==23429== by 0xD28EA0: (within /usr/lib/libz.so.1.2.3)
|
||||
==23429== by 0xD282D6: deflate (in /usr/lib/libz.so.1.2.3)
|
||||
==23429== by 0x804F7C6: SCWriteZipped (conman.c:1287)
|
||||
==23429== by 0x8100B0F: sendZippedNodeData (sicshipadaba.c:394)
|
||||
==23429== by 0x8100EE0: SICSNotifyCallback (sicshipadaba.c:494)
|
||||
==23429== by 0x80FE75D: InvokeCallbackChain (hipadaba.c:155)
|
||||
==23429== by 0x80FFBDD: SendDataMessage (hipadaba.c:866)
|
||||
==23429== by 0x80FFC67: UpdateHipadabaPar (hipadaba.c:876)
|
||||
==23429== by 0x81146E7: HMDataGetCallback (sicshdbadapter.c:339)
|
||||
==23429== by 0x80FE75D: InvokeCallbackChain (hipadaba.c:155)
|
||||
==23429== by 0x80FFBDD: SendDataMessage (hipadaba.c:866)
|
||||
==23429==
|
||||
==23429== Conditional jump or move depends on uninitialised value(s)
|
||||
==23429== at 0xD27DB2: (within /usr/lib/libz.so.1.2.3)
|
||||
==23429== by 0xD28EA0: (within /usr/lib/libz.so.1.2.3)
|
||||
==23429== by 0xD282D6: deflate (in /usr/lib/libz.so.1.2.3)
|
||||
==23429== by 0x804F7C6: SCWriteZipped (conman.c:1287)
|
||||
==23429== by 0x8100B0F: sendZippedNodeData (sicshipadaba.c:394)
|
||||
==23429== by 0x8100EE0: SICSNotifyCallback (sicshipadaba.c:494)
|
||||
==23429== by 0x80FE75D: InvokeCallbackChain (hipadaba.c:155)
|
||||
==23429== by 0x80FFBDD: SendDataMessage (hipadaba.c:866)
|
||||
==23429== by 0x80FFC67: UpdateHipadabaPar (hipadaba.c:876)
|
||||
==23429== by 0x81146E7: HMDataGetCallback (sicshdbadapter.c:339)
|
||||
==23429== by 0x80FE75D: InvokeCallbackChain (hipadaba.c:155)
|
||||
==23429== by 0x80FFBDD: SendDataMessage (hipadaba.c:866)
|
||||
==23429==
|
||||
==23429== Conditional jump or move depends on uninitialised value(s)
|
||||
==23429== at 0xD27D3C: (within /usr/lib/libz.so.1.2.3)
|
||||
==23429== by 0xD28EA0: (within /usr/lib/libz.so.1.2.3)
|
||||
==23429== by 0xD282D6: deflate (in /usr/lib/libz.so.1.2.3)
|
||||
==23429== by 0x804F7C6: SCWriteZipped (conman.c:1287)
|
||||
==23429== by 0x8100B0F: sendZippedNodeData (sicshipadaba.c:394)
|
||||
==23429== by 0x8100EE0: SICSNotifyCallback (sicshipadaba.c:494)
|
||||
==23429== by 0x80FE75D: InvokeCallbackChain (hipadaba.c:155)
|
||||
==23429== by 0x80FFBDD: SendDataMessage (hipadaba.c:866)
|
||||
==23429== by 0x80FFC67: UpdateHipadabaPar (hipadaba.c:876)
|
||||
==23429== by 0x81146E7: HMDataGetCallback (sicshdbadapter.c:339)
|
||||
==23429== by 0x80FE75D: InvokeCallbackChain (hipadaba.c:155)
|
||||
==23429== by 0x80FFBDD: SendDataMessage (hipadaba.c:866)
|
||||
==23429==
|
||||
==23429== Conditional jump or move depends on uninitialised value(s)
|
||||
==23429== at 0xD27D4F: (within /usr/lib/libz.so.1.2.3)
|
||||
==23429== by 0xD28EA0: (within /usr/lib/libz.so.1.2.3)
|
||||
==23429== by 0xD282D6: deflate (in /usr/lib/libz.so.1.2.3)
|
||||
==23429== by 0x804F7C6: SCWriteZipped (conman.c:1287)
|
||||
==23429== by 0x8100B0F: sendZippedNodeData (sicshipadaba.c:394)
|
||||
==23429== by 0x8100EE0: SICSNotifyCallback (sicshipadaba.c:494)
|
||||
==23429== by 0x80FE75D: InvokeCallbackChain (hipadaba.c:155)
|
||||
==23429== by 0x80FFBDD: SendDataMessage (hipadaba.c:866)
|
||||
==23429== by 0x80FFC67: UpdateHipadabaPar (hipadaba.c:876)
|
||||
==23429== by 0x81146E7: HMDataGetCallback (sicshdbadapter.c:339)
|
||||
==23429== by 0x80FE75D: InvokeCallbackChain (hipadaba.c:155)
|
||||
==23429== by 0x80FFBDD: SendDataMessage (hipadaba.c:866)
|
||||
==23429==
|
||||
==23429== Conditional jump or move depends on uninitialised value(s)
|
||||
==23429== at 0xD27D61: (within /usr/lib/libz.so.1.2.3)
|
||||
==23429== by 0xD28EA0: (within /usr/lib/libz.so.1.2.3)
|
||||
==23429== by 0xD282D6: deflate (in /usr/lib/libz.so.1.2.3)
|
||||
==23429== by 0x804F7C6: SCWriteZipped (conman.c:1287)
|
||||
==23429== by 0x8100B0F: sendZippedNodeData (sicshipadaba.c:394)
|
||||
==23429== by 0x8100EE0: SICSNotifyCallback (sicshipadaba.c:494)
|
||||
==23429== by 0x80FE75D: InvokeCallbackChain (hipadaba.c:155)
|
||||
==23429== by 0x80FFBDD: SendDataMessage (hipadaba.c:866)
|
||||
==23429== by 0x80FFC67: UpdateHipadabaPar (hipadaba.c:876)
|
||||
==23429== by 0x81146E7: HMDataGetCallback (sicshdbadapter.c:339)
|
||||
==23429== by 0x80FE75D: InvokeCallbackChain (hipadaba.c:155)
|
||||
==23429== by 0x80FFBDD: SendDataMessage (hipadaba.c:866)
|
||||
==23429==
|
||||
==23429== ERROR SUMMARY: 59345 errors from 22 contexts (suppressed: 17 from 1)
|
||||
==23429== malloc/free: in use at exit: 247,513 bytes in 3,132 blocks.
|
||||
==23429== malloc/free: 8,290,472 allocs, 8,287,340 frees, 310,185,272 bytes allocated.
|
||||
==23429== For counts of detected errors, rerun with: -v
|
||||
==23429== searching for pointers to 3,132 not-freed blocks.
|
||||
==23429== checked 566,520 bytes.
|
||||
==23429==
|
||||
==23429==
|
||||
==23429== 8 bytes in 1 blocks are definitely lost in loss record 2 of 26
|
||||
==23429== at 0x40053C0: malloc (vg_replace_malloc.c:149)
|
||||
==23429== by 0x80FF25C: MakeHipadabaNode (hipadaba.c:546)
|
||||
==23429== by 0x8114732: MakeHMDataNode (sicshdbadapter.c:350)
|
||||
==23429== by 0x8115658: SICSHdbAdapter (sicshdbadapter.c:701)
|
||||
==23429== by 0x8059600: SicsUnknownProc (macro.c:185)
|
||||
==23429== by 0x2DF95D: TclInvokeStringCommand (in /usr/lib/libtcl8.4.so)
|
||||
==23429== by 0x2E130A: TclEvalObjvInternal (in /usr/lib/libtcl8.4.so)
|
||||
==23429== by 0x2E13FA: TclEvalObjvInternal (in /usr/lib/libtcl8.4.so)
|
||||
==23429== by 0x2E18C6: Tcl_EvalEx (in /usr/lib/libtcl8.4.so)
|
||||
==23429== by 0x2E1BAB: Tcl_Eval (in /usr/lib/libtcl8.4.so)
|
||||
==23429== by 0x8059FE8: MacroFileEval (macro.c:540)
|
||||
==23429== by 0x805248A: InterpExecute (SCinter.c:322)
|
||||
==23429==
|
||||
==23429==
|
||||
==23429== 8 bytes in 1 blocks are definitely lost in loss record 3 of 26
|
||||
==23429== at 0x40053C0: malloc (vg_replace_malloc.c:149)
|
||||
==23429== by 0x8082E96: CreateCallBackInterface (callback.c:85)
|
||||
==23429== by 0x80B0E03: MakeConfigurableVirtualMotor (confvirtualmot.c:470)
|
||||
==23429== by 0x8059600: SicsUnknownProc (macro.c:185)
|
||||
==23429== by 0x2DF95D: TclInvokeStringCommand (in /usr/lib/libtcl8.4.so)
|
||||
==23429== by 0x2E130A: TclEvalObjvInternal (in /usr/lib/libtcl8.4.so)
|
||||
==23429== by 0x2E13FA: TclEvalObjvInternal (in /usr/lib/libtcl8.4.so)
|
||||
==23429== by 0x2E18C6: Tcl_EvalEx (in /usr/lib/libtcl8.4.so)
|
||||
==23429== by 0x2E1BAB: Tcl_Eval (in /usr/lib/libtcl8.4.so)
|
||||
==23429== by 0x8059FE8: MacroFileEval (macro.c:540)
|
||||
==23429== by 0x805248A: InterpExecute (SCinter.c:322)
|
||||
==23429== by 0x805CD19: InitObjectCommands (ofac.c:481)
|
||||
==23429==
|
||||
==23429==
|
||||
==23429== 32 bytes in 1 blocks are definitely lost in loss record 11 of 26
|
||||
==23429== at 0x40053C0: malloc (vg_replace_malloc.c:149)
|
||||
==23429== by 0x8082BBD: CreateDrivableInterface (interface.c:74)
|
||||
==23429== by 0x80B0D4E: MakeConfigurableVirtualMotor (confvirtualmot.c:451)
|
||||
==23429== by 0x8059600: SicsUnknownProc (macro.c:185)
|
||||
==23429== by 0x2DF95D: TclInvokeStringCommand (in /usr/lib/libtcl8.4.so)
|
||||
==23429== by 0x2E130A: TclEvalObjvInternal (in /usr/lib/libtcl8.4.so)
|
||||
==23429== by 0x2E13FA: TclEvalObjvInternal (in /usr/lib/libtcl8.4.so)
|
||||
==23429== by 0x2E18C6: Tcl_EvalEx (in /usr/lib/libtcl8.4.so)
|
||||
==23429== by 0x2E1BAB: Tcl_Eval (in /usr/lib/libtcl8.4.so)
|
||||
==23429== by 0x8059FE8: MacroFileEval (macro.c:540)
|
||||
==23429== by 0x805248A: InterpExecute (SCinter.c:322)
|
||||
==23429== by 0x805CD19: InitObjectCommands (ofac.c:481)
|
||||
==23429==
|
||||
==23429==
|
||||
==23429== 36 bytes in 3 blocks are definitely lost in loss record 13 of 26
|
||||
==23429== at 0x40053C0: malloc (vg_replace_malloc.c:149)
|
||||
==23429== by 0x812D4E1: NewSIMCounter (simcter.c:331)
|
||||
==23429== by 0x812E721: MakeCounter (counter.c:528)
|
||||
==23429== by 0x8059600: SicsUnknownProc (macro.c:185)
|
||||
==23429== by 0x2DF95D: TclInvokeStringCommand (in /usr/lib/libtcl8.4.so)
|
||||
==23429== by 0x2E130A: TclEvalObjvInternal (in /usr/lib/libtcl8.4.so)
|
||||
==23429== by 0x2E13FA: TclEvalObjvInternal (in /usr/lib/libtcl8.4.so)
|
||||
==23429== by 0x30DF60: (within /usr/lib/libtcl8.4.so)
|
||||
==23429== by 0x311D9B: TclCompEvalObj (in /usr/lib/libtcl8.4.so)
|
||||
==23429== by 0x2E2454: Tcl_EvalObjEx (in /usr/lib/libtcl8.4.so)
|
||||
==23429== by 0x2EEF46: Tcl_IfObjCmd (in /usr/lib/libtcl8.4.so)
|
||||
==23429== by 0x2E130A: TclEvalObjvInternal (in /usr/lib/libtcl8.4.so)
|
||||
==23429==
|
||||
==23429==
|
||||
==23429== 45 bytes in 6 blocks are definitely lost in loss record 15 of 26
|
||||
==23429== at 0x40053C0: malloc (vg_replace_malloc.c:149)
|
||||
==23429== by 0x16DB7F: strdup (in /lib/libc-2.5.so)
|
||||
==23429== by 0x812CBDA: CreateCounterDriver (countdriv.c:59)
|
||||
==23429== by 0x812D4BD: NewSIMCounter (simcter.c:325)
|
||||
==23429== by 0x8082A3D: CreateSIMHM (histsim.c:281)
|
||||
==23429== by 0x807E3ED: CreateHistMemory (histmem.c:459)
|
||||
==23429== by 0x807E647: MakeHistMemory (histmem.c:545)
|
||||
==23429== by 0x8059600: SicsUnknownProc (macro.c:185)
|
||||
==23429== by 0x2DF95D: TclInvokeStringCommand (in /usr/lib/libtcl8.4.so)
|
||||
==23429== by 0x2E130A: TclEvalObjvInternal (in /usr/lib/libtcl8.4.so)
|
||||
==23429== by 0x2E13FA: TclEvalObjvInternal (in /usr/lib/libtcl8.4.so)
|
||||
==23429== by 0x30DF60: (within /usr/lib/libtcl8.4.so)
|
||||
==23429==
|
||||
==23429==
|
||||
==23429== 192 (60 direct, 132 indirect) bytes in 5 blocks are definitely lost in loss record 18 of 26
|
||||
==23429== at 0x40053C0: malloc (vg_replace_malloc.c:149)
|
||||
==23429== by 0x8068F92: ListInit (lld.c:76)
|
||||
==23429== by 0x8069352: LLDcreate (lld.c:196)
|
||||
==23429== by 0x8082EBD: CreateCallBackInterface (callback.c:92)
|
||||
==23429== by 0x80B0E03: MakeConfigurableVirtualMotor (confvirtualmot.c:470)
|
||||
==23429== by 0x8059600: SicsUnknownProc (macro.c:185)
|
||||
==23429== by 0x2DF95D: TclInvokeStringCommand (in /usr/lib/libtcl8.4.so)
|
||||
==23429== by 0x2E130A: TclEvalObjvInternal (in /usr/lib/libtcl8.4.so)
|
||||
==23429== by 0x2E13FA: TclEvalObjvInternal (in /usr/lib/libtcl8.4.so)
|
||||
==23429== by 0x2E18C6: Tcl_EvalEx (in /usr/lib/libtcl8.4.so)
|
||||
==23429== by 0x2E1BAB: Tcl_Eval (in /usr/lib/libtcl8.4.so)
|
||||
==23429== by 0x8059FE8: MacroFileEval (macro.c:540)
|
||||
==23429==
|
||||
==23429==
|
||||
==23429== 137 (36 direct, 101 indirect) bytes in 1 blocks are definitely lost in loss record 20 of 26
|
||||
==23429== at 0x40053C0: malloc (vg_replace_malloc.c:149)
|
||||
==23429== by 0x80BF1F6: MakeExeManager (exeman.c:81)
|
||||
==23429== by 0x8059600: SicsUnknownProc (macro.c:185)
|
||||
==23429== by 0x2DF95D: TclInvokeStringCommand (in /usr/lib/libtcl8.4.so)
|
||||
==23429== by 0x2E130A: TclEvalObjvInternal (in /usr/lib/libtcl8.4.so)
|
||||
==23429== by 0x2E13FA: TclEvalObjvInternal (in /usr/lib/libtcl8.4.so)
|
||||
==23429== by 0x2E18C6: Tcl_EvalEx (in /usr/lib/libtcl8.4.so)
|
||||
==23429== by 0x2E1BAB: Tcl_Eval (in /usr/lib/libtcl8.4.so)
|
||||
==23429== by 0x8059FE8: MacroFileEval (macro.c:540)
|
||||
==23429== by 0x805248A: InterpExecute (SCinter.c:322)
|
||||
==23429== by 0x805CD19: InitObjectCommands (ofac.c:481)
|
||||
==23429== by 0x8056F1E: InitServer (nserver.c:128)
|
||||
==23429==
|
||||
==23429==
|
||||
==23429== 48 (24 direct, 24 indirect) bytes in 2 blocks are definitely lost in loss record 21 of 26
|
||||
==23429== at 0x40053C0: malloc (vg_replace_malloc.c:149)
|
||||
==23429== by 0x8068FEE: ListInit (lld.c:87)
|
||||
==23429== by 0x8069352: LLDcreate (lld.c:196)
|
||||
==23429== by 0x804D8A3: CreateConnection (conman.c:175)
|
||||
==23429== by 0x804DACB: SCCreateDummyConnection (conman.c:241)
|
||||
==23429== by 0x8100482: SICSReadDriveCallback (sicshipadaba.c:230)
|
||||
==23429== by 0x80FE75D: InvokeCallbackChain (hipadaba.c:155)
|
||||
==23429== by 0x80FFBDD: SendDataMessage (hipadaba.c:866)
|
||||
==23429== by 0x80FFD3B: GetHipadabaPar (hipadaba.c:895)
|
||||
==23429== by 0x8105349: GetHdbNode (sicshipadaba.c:2268)
|
||||
==23429== by 0x805248A: InterpExecute (SCinter.c:322)
|
||||
==23429== by 0x80F7C2D: ContextDo (protocol.c:200)
|
||||
==23429==
|
||||
==23429==
|
||||
==23429== 8,000 bytes in 1 blocks are possibly lost in loss record 24 of 26
|
||||
==23429== at 0x40053C0: malloc (vg_replace_malloc.c:149)
|
||||
==23429== by 0x2DEECC: TclpAlloc (in /usr/lib/libtcl8.4.so)
|
||||
==23429== by 0x2E68B4: Tcl_Alloc (in /usr/lib/libtcl8.4.so)
|
||||
==23429== by 0x311F7C: TclCreateExecEnv (in /usr/lib/libtcl8.4.so)
|
||||
==23429== by 0x2E3F42: Tcl_CreateInterp (in /usr/lib/libtcl8.4.so)
|
||||
==23429== by 0x8059930: MacroInit (macro.c:321)
|
||||
==23429== by 0x8051D8D: InitInterp (SCinter.c:101)
|
||||
==23429== by 0x8056E3B: InitServer (nserver.c:109)
|
||||
==23429== by 0x8057BCD: main (SICSmain.c:54)
|
||||
==23429==
|
||||
==23429== LEAK SUMMARY:
|
||||
==23429== definitely lost: 249 bytes in 20 blocks.
|
||||
==23429== indirectly lost: 257 bytes in 17 blocks.
|
||||
==23429== possibly lost: 8,000 bytes in 1 blocks.
|
||||
==23429== still reachable: 239,007 bytes in 3,094 blocks.
|
||||
==23429== suppressed: 0 bytes in 0 blocks.
|
||||
==23429== Reachable blocks (those to which a pointer was found) are not shown.
|
||||
==23429== To see them, rerun with: --show-reachable=yes
|
Reference in New Issue
Block a user