CA client crash while doing the rsrv tests
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
EPICS Base |
Fix Released
|
Critical
|
Unassigned | ||
3.14 |
Fix Released
|
Undecided
|
Andrew Johnson | ||
3.15 |
Fix Released
|
Critical
|
Ralph Lange | ||
3.16 |
Fix Released
|
Critical
|
Unassigned |
Bug Description
Heinz Junkes reported the following when he ran the rsrv tests on an Ubuntu 64 box:
> Tests on (output of ifconfig attached)
> inet addr:10.20.30.1 Bcast:10.20.30.255
> and
> inet addr:141.14.133.59 Bcast:141.
>
> All tests ok exept for the the very first “caget" on the client I saw this:
>
>
> epics@kannsein:
> CA.Client.
> Warning: "Identical process variable names on multiple servers"
> Context: "Channel: "test", Connecting to: localhost:57241, Ignored: kannsein.
> Source File: ../cac.cpp line 1298
> Current Time: Sun May 08 2016 15:41:26.945259053
> .......
> test 18
> pure virtual method called
> terminate called without an active exception
> Aborted (core dumped)
Related branches
- Andrew Johnson: Approve
- Ralph Lange: Approve
-
Diff: 603 lines (+339/-81)4 files modifiedsrc/libCom/misc/ipAddrToAsciiAsynchronous.cpp (+171/-81)
src/libCom/misc/ipAddrToAsciiAsynchronous.h (+4/-0)
src/libCom/test/Makefile (+3/-0)
src/libCom/test/ipAddrToAsciiTest.cpp (+161/-0)
On 05/08/2016 03:53 PM, Heinz Junkes wrote: cond_wait@ @GLIBC_ 2.3.2 () sysdeps/ unix/sysv/ linux/x86_ 64/pthread_ cond_wait. S:185 0x7f267c0012a0) ./src/libCom/ osi/os/ posix/osdEvent. c:103 ./src/libCom/ osi/epicsEvent. cpp:125 ExitsPvt (pep=<optimized out>) ./src/libCom/ misc/epicsExit. c:95 Exits () at ../../. ./src/libCom/ misc/epicsExit. c:113 dtors_aux () EPICS/base- 3.15.4- pre1/lib/ linux-x86_ 64/libCom. so.3.15. 4 cond_wait@ @GLIBC_ 2.3.2 () sysdeps/ unix/sysv/ linux/x86_ 64/pthread_ cond_wait. S:185 0x7f267c001000) ./src/libCom/ osi/os/ posix/osdEvent. c:103 ./src/libCom/ osi/epicsEvent. cpp:125 ./src/libCom/ error/errlog. c:569 48b0) ./src/libCom/ osi/os/ posix/osdThread .c:403 b700) create. c:312 unix/sysv/ linux/x86_ 64/clone. S:111 sysdeps/ unix/sysv/ linux/raise. c:56 :__verbose_ terminate_ handler( ) () x86_64- linux-gnu/ libstdc+ +.so.6 x86_64- linux-gnu/ libstdc+ +.so.6 x86_64- linux-gnu/ libstdc+ +.so.6 x86_64- linux-gnu/ libstdc+ +.so.6 ginePrivate: :run (this=0x1c95640) ./src/libCom/ misc/ipAddrToAs ciiAsynchronous .cpp:273 EntryPoint (pPvt=0x1c95a98) ./src/libCom/ osi/epicsThread .cpp:85 ./src/libCom/ osi/os/ posix/osdThread .c:403 9700) create. c:312 unix/sysv/ linux/x86_ 64/clone. S:111
> (gdb) thread apply all backtrace
>
> Thread 3 (Thread 0x7f26831a6780 (LWP 2408)):
> #0 pthread_
> at ../nptl/
> #1 0x00007f2682afe27b in epicsEventWait (pevent=
> at ../../.
> #2 0x00007f2682af7269 in epicsEventMustWait (id=<optimized out>)
> at ../../.
> #3 0x00007f2682af234c in epicsExitCallAt
> at ../../.
> #4 epicsExitCallAt
> #5 0x00007f26827305ea in __cxa_finalize (d=0x7f2682d28460)
> at cxa_finalize.c:56
> #6 0x00007f2682adc283 in __do_global_
> from /home/epics/
> #7 0x00007ffe04b8b670 in ?? ()
> #8 0x00007f2682fa673a in _dl_fini () at dl-fini.c:252
> Backtrace stopped: frame did not save the PC
>
> Thread 2 (Thread 0x7f26800fb700 (LWP 2415)):
> #0 pthread_
> at ../nptl/
> #1 0x00007f2682afe27b in epicsEventWait (pevent=
> at ../../.
> ---Type <return> to continue, or q <return> to quit---
> #2 0x00007f2682af7269 in epicsEventMustWait (id=<optimized out>)
> at ../../.
> #3 0x00007f2682ae6765 in errlogThread ()
> at ../../.
> #4 0x00007f2682afbabc in start_routine (arg=0x7f267c00
> at ../../.
> #5 0x00007f26824de182 in start_thread (arg=0x7f26800f
> at pthread_
> #6 0x00007f26827ee47d in clone ()
> at ../sysdeps/
>
> Thread 1 (Thread 0x7f2680c39700 (LWP 2410)):
> #0 0x00007f268272acc9 in __GI_raise (sig=sig@entry=6)
> at ../nptl/
> #1 0x00007f268272e0d8 in __GI_abort () at abort.c:89
> #2 0x00007f2682232535 in __gnu_cxx:
> from /usr/lib/
> #3 0x00007f26822306d6 in ?? () from /usr/lib/
> #4 0x00007f2682230703 in std::terminate() ()
> from /usr/lib/
> #5 0x00007f26822311bf in __cxa_pure_virtual ()
> from /usr/lib/
> #6 0x00007f2682af4529 in ipAddrToAsciiEn
> at ../../.
> ---Type <return> to continue, or q <return> to quit---
> #7 0x00007f2682af5df9 in epicsThreadCall
> at ../../.
> #8 0x00007f2682afbabc in start_routine (arg=0x1c95e00)
> at ../../.
> #9 0x00007f26824de182 in start_thread (arg=0x7f2680c3
> at pthread_
> #10 0x00007f26827ee47d in clone ()
> at ../sysdeps/