On Thursday 20 September 2007 14:50, Benjamin Franksen wrote:
> On Wednesday 19 September 2007 15:36, Benjamin Franksen wrote:
> However, the IOC crashes anyway, because this is just one of many bugs.
> I'll send more debugger output soon.
Ok, now it crashes inside asyn/vxi-11 when creating the RPC client. This is
only reproducable when the ioc is started in a debugger session, probably
due to different timings. The output is attached.
Cheers
Ben
--
"Programming = Mathematics + Murphy's Law" (E.W.Dijkstra)
(gdb) run
Failed to read a valid object file image from memory.
[Thread debugging using libthread_db enabled]
[New Thread -1211287488 (LWP 26521)]
#!../../bin/linux-x86/SIOC6CP
# Change to top directory
cd ../..
########################################################### Set up Environment
epicsEnvSet IOC SIOC6CP
epicsEnvSet LOG_DIR log
epicsEnvSet EPICS_CA_PUT_LOG_INET 192.168.48.97
epicsEnvSet STREAM_PROTOCOL_PATH db
############################################## Register all support components
dbLoadDatabase dbd/SIOC6CP.dbd 0 0
SIOC6CP_registerRecordDeviceDriver pdbbase
############################################################ Configure drivers
# Reboot E5810
# E5810Reboot box6.acc.bessy.de E5810
# Configure asyn vxi-11 driver for GPIB box
vxi11Configure L3 tcl-101-134-Host.tcl.bessy.de 1 10 gpib0
[New Thread -1211290704 (LWP 26539)]
[New Thread -1211552848 (LWP 26540)]
[New Thread -1213912144 (LWP 26541)]
####################################################### Autosave configuration
set_requestfile_path db
set_savefile_path log/autoSaveRestore
save_restoreSet_DatedBackupFiles 1
save_restoreSet_UseStatusPVs 0
######################################################## Load record instances
dbLoadRecords db/NRVD.db
######################################################## Restore record values
#set_pass0_restoreFile <irgendwas>.sav
########################################################### Configure IOC Core
# IOC Log Server Connection 0=enabled 1=disabled
setIocLogDisable 0
# Configure Access Security
asSetFilename db/no_security.acf
#################################################################### Start IOC
iocInit
[New Thread -1211814992 (LWP 26542)]
Starting iocInit
############################################################################
### EPICS IOC CORE built on Aug 9 2007
### EPICS R3.14.8.2 $R3-14-8-2$ $2006/01/06 15:55:13$
############################################################################
[New Thread -1213203536 (LWP 26543)]
[New Thread -1214043216 (LWP 26544)]
[New Thread -1214567504 (LWP 26545)]
[New Thread -1215091792 (LWP 26546)]
2007/09/20 14:54:36.798 L3 vxi11 clientCall errno 4 clnt_stat 0
L3 port not connected
2007/09/20 14:54:36.800 L3 vxiConnectPort vxiBusStatus error initialization aborted
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1211552848 (LWP 26540)]
0xb7d46e84 in mallopt () from /lib/tls/libc.so.6
(gdb) backtrace
#0 0xb7d46e84 in mallopt () from /lib/tls/libc.so.6
#1 0xb7d45dcb in free () from /lib/tls/libc.so.6
#2 0xb7dd29c8 in xdrrec_endofrecord () from /lib/tls/libc.so.6
#3 0xb7dcb5a9 in clnttcp_create () from /lib/tls/libc.so.6
#4 0x08091e01 in vxiConnectPort (pvxiPort=0xb7dff90c, pasynUser=0xb7b005a4) at ../../asyn/vxi11/drvVxi11.c:918
#5 0x0808ec9a in vxiConnect (drvPvt=0x81e53c0, pasynUser=0x81e53c0) at ../../asyn/vxi11/drvVxi11.c:312
#6 0x0809b810 in connect (drvPvt=0x81ed940, pasynUser=0xb7b005a4) at ../../asyn/asynGpib/asynGpib.c:369
#7 0x08078ccd in asynConnectCallback (pasynUser=0xb7b005a4) at ../../asyn/asynDriver/asynManager.c:1188
#8 0x0807c48c in portThread (pport=0x81a3818) at ../../asyn/asynDriver/asynManager.c:701
#9 0x0814544c in start_routine (arg=0x81f2ca8) at ../../../src/libCom/osi/os/posix/osdThread.c:320
#10 0xb7f65b63 in start_thread () from /lib/tls/libpthread.so.0
#11 0xb7dac18a in clone () from /lib/tls/libc.so.6
(gdb)
- Replies:
- Re: Asyn/VXI-11 problems Eric Norum
- References:
- Asyn/VXI-11 problems Benjamin Franksen
- Re: Asyn/VXI-11 problems Benjamin Franksen
- Re: Asyn/VXI-11 problems Benjamin Franksen
- Navigate by Date:
- Prev:
Re: Asyn/VXI-11 problems Benjamin Franksen
- Next:
Re: Asyn/VXI-11 problems Eric Norum
- 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: Asyn/VXI-11 problems Benjamin Franksen
- Next:
Re: Asyn/VXI-11 problems Eric Norum
- 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
|