[Dpcl-user] dpcld dies AIX 5.2
Brought to you by:
dpcl-admin,
dwootton
From: Timothy H. K. <tk...@sd...> - 2005-04-07 19:51:56
|
I am getting a dpcld crash when I try to run the "hello" example while eut_hello hangs. Any thoughts on what might be going wrong? I built dpcl 3.3.4 from source on AIX 5.2. To try to track down the problem I added -g -DDEBUG_CLIENT to the GLOBAL_CFLAGS and GLOBAL_CXXFLAGS in rules.mk.aix.in. I then also changed CC = @CC_R@ CXX = @CXX_R@ I ran dpcld via a wrapper using dbx and got the following: Segmentation fault in refresh() at line 518 in file "" ($t1) refresh()(this = 0x30107ea8), line 518 in "BPatch_pThread.C" handleSigChild(int)(??, ??), line 1039 in "BPatch_threadRT.C" pollForStatusChange(int)(??, ??), line 1037 in "BPatch.C" unnamed block $b13910, line 3284 in "BPatch_threadInt.C" setupRPCLoad()(??), line 3284 in "BPatch_threadInt.C" unnamed block $b13814, line 1052 in "BPatch_threadInt.C" unnamed block $b13813, line 1052 in "BPatch_threadInt.C" unnamed block $b13812, line 1052 in "BPatch_threadInt.C" unnamed block $b13811, line 1052 in "BPatch_threadInt.C" unnamed block $b13808, line 1052 in "BPatch_threadInt.C" constructorEnd()(??), line 1052 in "BPatch_threadInt.C" BPatch_threadInt.BPatch_threadInt(BPatch_thread*,const char*,const char**,const char**,int,int,int)(??, ??, ??, ??, ??, ??, ??, ??), line 568 in "BPatch_threadInt.C" BPatch_thread.BPatch_thread(const char*,const char**,const char**,int,int,int)(??, ??, ??, ??, ??, ??, ??), line 193 in "BPatch_thread.C" unnamed block $b8083, line 837 in "BPatch.C" createProcess(const char*,const char**,const char**,int,int,int)(??, ??, ??, ??, ??, ??, ??), line 837 in "BPatch.C" computeRTInitLoc(bool)(??, ??), line 318 in "BPatch.C" unnamed block $b8088, line 474 in "BPatch.C" BPatch()(??), line 474 in "BPatch.C" main.main(argc = 0, argv = (nil)), line 553 in "main.C" I also ran eut_hello using dbx and found it is hung in Interrupt in select at 0xd026b14c 0xd026b14c (select+0x90) 80410014 lwz r2,0x14(r1) (dbx) where select(??, ??, ??, ??, ??) at 0xd026b14c Ais_next_fd(int&,int(*&)(int))(??, ??), line 423 in "AisHandler.C" AisOneEvent()(), line 122 in "AisWaitEvent.C" AisWaitEvent(AisBlockData&)(??), line 88 in "AisWaitEvent.C" open_connection()(0xd12b8ee8, 0x2ff218d8), line 683 in "Daisd.C" unnamed block $b2181, line 216 in "Daisd.C" open_connection()(0x2ff218f4, 0x2ff218d8), line 216 in "Daisd.C" unnamed block $b4003, line 2553 in "Process.C" unnamed block $b3999, line 2553 in "Process.C" unnamed block $b3996, line 2553 in "Process.C" unnamed block $b3994, line 2553 in "Process.C" unnamed block $b3992, line 2553 in "Process.C" unnamed block $b3990, line 2553 in "Process.C" unnamed block $b3988, line 2553 in "Process.C" connect(void(*)(GCBSysType,void*,void*,void*),void*,const Process&,unsigned int)(0x20001668, 0x2ff219f0, 0xf13a1f6c, 0x2ff21a00, 0x2ff219fc, 0x0), line 2553 in "Process.C" bconnect()(0x800003ff, 0x2ff21ad8, 0x20), line 2655 in "Process.C" bconnect()(0x10004d28, 0x2ff21ad8), line 561 in "Process.C" main(argc = 3, argv = 0x2ff22508), line 61 in "eut_hello.C" (dbx) The DDEBUG_CLIENT output is eut_hello ds270 655466 enroll key 1: tag = 0 fp = f13a3c64 enroll key 3: tag = 0 fp = f13a3c64 enroll key 2: tag = 0 fp = f13a3c64 enroll key 0: tag = 0 fp = f13a3c64 enroll key 7: tag = 0 fp = f13a3c64 enroll key 4: tag = 0 fp = f13a3c64 enroll key 22: tag = 0 fp = f13a3c64 enroll key 47: tag = 0 fp = f13a3c64 enroll key 57: tag = 0 fp = f13a3c64 Connecting to process 655466 on node ds270 Process::connect: connecting to pid 655466 on ds270 find_add_serv( ds270 -> ds270 ): start new daemon _Daisd 'ds270' ref_incr: count = 1 _Daisd 'ds270' ref_incr: count = 2 _Daisd 'ds270' ref_incr: count = 3 _Daisd 'ds270' ref_decr: count = 2 _Daisd 'ds270' ref_incr: count = 3 _Daisd 'ds270' ref_decr: count = 2 start daemon ds270: state is NOT_STARTED _Daisd::open_connection() socket = 3 hostname = ds270 service name = dpclSD enroll key 64: tag = 2001a958 fp = f13a3c64 enroll key 64: tag = 0 fp = f13a3c64 ### send message AIS_KEY_MSG size = 24 ### recv message (internal cb 64) size = 54 execute key 64 enroll key 34: tag = 2001a958 fp = f13a3c64 enroll key 34: tag = 0 fp = f13a3c64 0000000000000000000000000022546875204170722020372031393a34363a333120323030350a310a39373035373900000100000000 The received msg is: ### send message AIS_AUTH_MSG size = 183 cleanup_cb: removing callback 64. remove key 64 Thanks! Tim ------------------------------------------------------ Timothy H. Kaiser, Ph.D. tk...@sd... SDSC/UCSD "Nobody made a greater mistake than he who did nothing because he could only do a little" (Edmund Burke) |