Hi,
excas serves out a number of channels, such as jane, fred, etc.
I created an alh config file that uses these, than ran alh. excas
complains, and alh gets a segmentation fault. Below are outputs, alh
config file, and gdb output.
Output from excas:
$ excas
filename="../../../include/gddAppFuncTable.h" line number=263
application type unregistered - ukn appl type code = 19
filename="../../../../src/cas/generic/casStrmClient.cc" line number=849
application type unregistered - in monitor response
Output from alh:
$ alh -debug
no XML!
programName=alh
OpMod File is ALH-default.alhOpmod
Filename is ALH-default.alhOpmod
AlarmLog File is ALH-default.alhAlarm
Filename is ALH-default.alhAlarm
Config File is ALH-default.alhConfig
Filename is ALH-default.alhConfig
fileSetupCallback: filename is
/group/da/dist/epics-3.14.10/base/testApp/excasTest.alhConfig
Filename is /group/da/dist/epics-3.14.10/base/testApp/excasTest.alhConfig
Segmentation fault (core dumped)
alh config file:
$BEEPSEVERITY MAJOR
GROUP NULL
JLAB_TEST_MAIN_GROUP
$COMMAND xload
$GUIDANCE
This is the text guidance for JLAB_TEST_MAIN_GROUP alarms.
This is the text guidance for JLAB_TEST_MAIN_GROUP alarms.
$END
CHANNEL JLAB_TEST_MAIN_GROUP jane -----
CHANNEL JLAB_TEST_MAIN_GROUP fred ----
GROUP JLAB_TEST_MAIN_GROUP GROUP
$FORCEPV jane -D--- 1 0
$GUIDANCE
This is the text guidance for group GROUP.
This is the text guidance for group GROUP.
$END
$COMMAND xascii
CHANNEL GROUP janet -----
CHANNEL GROUP freddy -----
GROUP GROUP SUBGROUP
$GUIDANCE
This is the text guidance for SUBGROUP.
This is the text guidance for SUBGROUP.
$END
CHANNEL SUBGROUP alan -----
CHANNEL SUBGROUP albert -----
GROUP GROUP SECONDSUBGROUP
$GUIDANCE
This is the text guidance for SECONDSUBGROUP.
This is the text guidance for SECONDSUBGROUP.
$END
CHANNEL SECONDSUBGROUP boot -----
CHANNEL SECONDSUBGROUP booty -----
GROUP JLAB_TEST_MAIN_GROUP SECONDGROUP
$ALIAS This is a test alias for the second group
CHANNEL SECONDGROUP bill -----
CHANNEL SECONDGROUP billy -----
gdb output:
Program terminated with signal 11, Segmentation fault.
#0 alCaNewAlarmEvent (args=
{usr = 0x94cde20, chid = 0x94d2108, type = 37, count = 1, dbr =
0x0, status = 152}) at ../alCA.c:470
470 stat = ((struct dbr_stsack_string *) args.dbr)->status;
(gdb) where
#0 alCaNewAlarmEvent (args=
{usr = 0x94cde20, chid = 0x94d2108, type = 37, count = 1, dbr =
0x0, status = 152}) at ../alCA.c:470
#1 0x004ea17b in oldSubscription::exception (this=0x94fe5f8,
guard=@0xb7de00f8, status=152, type=37,
count=1) at ../oldSubscription.cpp:92
#2 0x004e1c4b in netSubscription::exception (this=0x9503600,
guard=@0xb7de00f8, recycle=@0x94cca54,
status=152, pContext=0x4f1964 "subscription update read failed",
typeIn=37, countIn=1)
at ../netSubscription.cpp:129
#3 0x004c1b2e in cac::eventRespAction (this=0x94cca50, iiu=@0x950e608,
hdr=@0x950e7dc, pMsgBdy=0x95141b0)
at ../cac.cpp:870
#4 0x004c15c5 in cac::executeResponse (this=0x94cca50, mgr=@0xb7de01c0,
iiu=@0x950e608,
currentTime=@0xb7de01c8, hdr=@0x950e7dc, pMshBody=0x95141b0 "") at
../cac.cpp:1106
#5 0x004dc7ca in tcpiiu::processIncoming (this=0x950e608,
currentTime=@0xb7de01c8, mgr=@0xb7de01c0)
at ../tcpiiu.cpp:1224
#6 0x004dcc7c in tcpRecvThread::run (this=0x950e6c4) at ../tcpiiu.cpp:530
#7 0x0061c06e in epicsThreadCallEntryPoint (pPvt=0x950e6c8) at
../../../src/libCom/osi/epicsThread.cpp:42
#8 0x0062365b in start_routine (arg=0x94cf480) at
../../../src/libCom/osi/os/posix/osdThread.c:319
#9 0x0011545b in start_thread () from /lib/libpthread.so.0
#10 0x009cec4e in clone () from /lib/libc.so.6
--
Sincerely,
Elliott
================================================================================
Those raised in a morally relative or neutral environment will hold
no truths to be self-evident.
Elliott Wolin
Staff Physicist, Jefferson Lab
12000 Jefferson Ave
Suite 8 MS 12A1
Newport News, VA 23606
757-269-7365
================================================================================
- Navigate by Date:
- Prev:
Re: Problem with subArray - unnecessary memory allocation Thomas Birke
- Next:
Re: MaxP PCI motor interface Jens Eden
- 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:
Re: Problem with subArray - unnecessary memory allocation Thomas Birke
- Next:
Codeathon: Calling twice... Andrew Johnson
- 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
|