Experimental Physics and Industrial Control System
Aloha,
I have CA client program (basic client stuff: connect, write, put
and monitor PVs) which has been running without a problem for
over 1.5 years. A week or so ago the IOC server code changed
to version 3.13.8 from (I believe 3.13.0 beta). The client code
is compiled with libraries from 3.13.6. The most recent compilation
and release of the client code (modifications to which did not
change/add any CA routines) crashes with the following core.
As far as I can tell the offending line is:
(core will not respond to gdb -- permission issues)
assert (uSec<1000000);
within */epics/base/src/libCom/os/generic/osiSleep.
(ASIDE: Albeit, from the core (below) it seems to go on to the fprintf
below the assert statement. :-( )
Changes in client code
----------------------
The only change in the client code was:
From:
-----
time_t timeout;
time(&timeout);
timeout += 3; /* 3 Seconds */
do {
ca_pend_event(LNG_DLY);
----
----
)while (time(NULL) < timeout);
To:
--
time_t timeout;
time(&timeout);
timeout += 10; /* 10 Seconds */
do {
ca_pend_event(LNG_DLY);
----
----
)while (time(NULL) < timeout);
LNG_DLY is defined to be 0.25
Any ideas?
>From the core:
------------------------------------------------------------
A call to "assert (%s)" failed in %s line %d.
The file "core" will be created in the current working directory.
Please save this file and the text of this message in order to assist
in diagnosing this problem.
Please send the text of this message to "%s"
(the author of this call to assert()) or to "[email protected]"
Please contact the author of this software or else send the text of
this message to "[email protected]"
This problem occurred in "%s"
@(#)Version R3.13.6 $2002/03/13 14:44:06$%s replace of SIGPIPE failed beacuse %s
.../os/generic/sigPipeIgnore.c@¬rinpcb_rc_lock@?À%li.%li.%li.%li:%i%li:%i%511s:%iinpcb_rc
_lock@?<Ukn Addr Type>%.*s:%hu%.*sinpcb_rc_lock@?8../os/generic/osiSleep.cuSec<1000000er
ror from select in osiDelayMicroSec() was %s
errSymBld: Can't allocate storage
errSymBld: ERROR - Module number in errSymTbl < 501 was Module=%lx Name=%s
errSymBld: ERROR - errSymbolAdd() failed
errSymbolAdd: Can't allocate storage
err = %lderrSymDump: number of hash slots=%d
------------------------------------------------------------
Other stuff from the (mostly unreadable core)
ATDBF_SHORTDBF_STRINGTYPENOTCONNDBF_invalid@X @[@Zô@Zè@ZÜ@ZÐ@ZÄ@Z¸@Z¨@Z?@Z?@Zx@Zh@ZX@ZH@Z8@Z(@Z@@Yø@Yè@YØ
@YÈ@Y¸@Y¨@Y?@Y?@Y?@Yt@Yd@YT@YD@Y4@Y$@Y@Y@Xô@Xä@XÐ@XÀDBR_CLASS_NAMEDBR_STSACK_STRINGDBR_PUT_ACKSDBR_PUT_ACKT
DBR_CTRL_DOUBLEDBR_CTRL_LONGDBR_CTRL_CHARDBR_CTRL_ENUMDBR_CTRL_FLOATDBR_CTRL_SHORTDBR_CTRL_STRINGDBR_GR_DOU
BLEDBR_GR_LONGDBR_GR_CHARDBR_GR_ENUMDBR_GR_FLOATDBR_GR_SHORTDBR_GR_STRINGDBR_TIME_DOUBLEDBR_TIME_LONGDBR_TI
ME_CHARDBR_TIME_ENUMDBR_TIME_FLOATDBR_TIME_SHORTDBR_TIME_STRINGDBR_STS_DOUBLEDBR_STS_LONGDBR_STS_CHARDBR_ST
S_ENUMDBR_STS_FLOATDBR_STS_SHORTDBR_STS_STRINGDBR_DOUBLEDBR_LONGDBR_CHARDBR_ENUMDBR_FLOATDBR_SHORTDBR_STRIN
GDBR_invalid@[^L(@(#) caerr.h,v 1.15.2.1 2000/05/08 18:10:15 jba Exp@[ @eô@eÄ@e¬@e?@ep@e@@e@dü@dÀ@dx@dH@@cà
@c?@c\@c@@c@bð@bÈ@b?@bX@b @að@aÈ@a°@al@a$@`à@`?@`X@`4@`^L@_è@_¸@_?@_l@_(@^ì@^¼@^x@^H@^^L@]ì@]Ì@]¤@]X@]D@]0@
\ð@\¨@\d@\H@\,Invalid function pointerInvalid channel identifierData conversion between client's type and t
he server's type failedThe search request/beacon address list was empty after initializationSorry, that ana
chronistic feature of CA is no longer supportedWrite access deniedRead access deniedPut call back operation
collision with put call back operation in progressInvalid synchronous group identifierIO operations are in
progressIO operations have completedThe event selection mask supplied is empty or inappropriateNo internet
interface with broadcast availableServer (IOC) has fallen behind or is not responding- still waitingReseti
ng dead connection- will try to reconnectNo channel id match for search reply- search reply ignoredUnable t
o spawn the CA repeater thread- auto reconnect will failThe supplied string is emptyAttempt to use defunct
CA feature failedSpecified task isnt a member of a CA contextNew or resumed network connectionRemote channe
l has new network addressA monitor by that id cant be foundEvent queue overflow has prevented first pass ev
ent after event addUnable to initialize without the vxWorks VX_FP_TASK task option setDatabase value get fo
r that channel failed during channel searchThe CA routine called is inappropriate for use within an event h
andlerAmbiguous channel host (multiple IOC's have a channel by that name)Network connection lostThe supplie
d string has improper formatCount requested inappropriate for that channelCould not perform a database even
t add for that channelCould not perform a database value put for that channelCould not perform a database v
alue get for that channelThe requested local DB operation failedChannel Access Internal FailureUnable to lo
cate all user specified channelsRemote Channel not foundThe type you have requested from this channel is un
knownThe request was ignored because the specified channel is disconnectedThe supplied string is unusually
largeSorry, that feature is planned but not supported at this timeUser specified timeout on IO operation ex
piredThe array or data structure specified will not fit in CA message bufferRecord field specified inapprop
riate for channel specifiedUnknown IO channelUnable to allocate additional dynamic memoryUnable to connect
to internet host or serviceUnable to allocate a new socketUnknown internet serviceUnknown internet hostMaxi
mum simultaneous IOC connections exceededNormal successful completion../access.cbytesSent == sizeof(msg)byt
esSent == actualextsizen<=sizeof(nullBuff)bytesSent == nA.??piiu->sock_proto == I
------------------------------------------------------------
- Replies:
- RE: Assert failure in (?) osiSleep (*/epics/base/src/libCom/os/generic/) Jeff Hill
- Navigate by Date:
- Prev:
Non Gates style topic list for May Bob Dalesio
- Next:
More CPU questions Chestnut, Ronald P.
- Index:
1994
1995
1996
1997
1998
1999
2000
2001
2002
<2003>
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
- Navigate by Thread:
- Prev:
Non Gates style topic list for May Bob Dalesio
- Next:
RE: Assert failure in (?) osiSleep (*/epics/base/src/libCom/os/generic/) Jeff Hill
- Index:
1994
1995
1996
1997
1998
1999
2000
2001
2002
<2003>
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024