(ps-4.5.16) daq-tmo-hsd-02:~$ which hsd134PVs
/cds/home/opr/tmoopr/git/lcls2_072122/install/bin/hsd134PVs
(ps-4.5.16) daq-tmo-hsd-02:~$ gdb `which hsd134PVs` core.9654
GNU gdb (GDB) 11.2
Copyright (C) 2022 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-conda-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/documentation/>.

For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /cds/home/opr/tmoopr/git/lcls2_072122/install/bin/hsd134PVs...

warning: Can't open file /tmp/ffilfj23F (deleted) during file-backed mapping note processing
[New LWP 9686]
[New LWP 9654]
[New LWP 9665]
[New LWP 9684]
[New LWP 9687]
[New LWP 9661]
[New LWP 9669]
[New LWP 9681]
[New LWP 9667]
[New LWP 9662]
[New LWP 9663]
[New LWP 9664]
[New LWP 9668]
[New LWP 9666]
[New LWP 9660]
[New LWP 9680]
[New LWP 9682]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
--Type <RET> for more, q to quit, c to continue without paging--
Core was generated by `hsd134PVs -P DAQ:TMO:HSD:2_41 -d /dev/pcie_adc_41'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x00007f05ac97fd85 in Pds_Epics::StructurePutTracker::putBuild (
    this=0x7f0574060ff0, build=..., args=...)
    at /cds/home/opr/tmoopr/git/lcls2_072122/psdaq/psdaq/epicstools/EpicsPVA.cc:190
190	            unsigned n = *sizes++;
[Current thread is 1 (Thread 0x7f059bfff700 (LWP 9686))]
(gdb) where
#0  0x00007f05ac97fd85 in Pds_Epics::StructurePutTracker::putBuild (
    this=0x7f0574060ff0, build=..., args=...)
    at /cds/home/opr/tmoopr/git/lcls2_072122/psdaq/psdaq/epicstools/EpicsPVA.cc:190
#1  0x00007f05ac68550e in (anonymous namespace)::Putter::doPut (tosend=..., 
    channelPut=..., args=..., G=..., this=0x7f0574066670)
   from /cds/sw/ds/ana/conda2/inst/envs/ps-4.5.16/epics/lib/linux-x86_64/libpvAccess.so.7.1.3
#2  (anonymous namespace)::Putter::channelPutConnect (this=0x7f0574066670, 
    status=..., channelPut=..., structure=...)
    at ../../src/client/clientPut.cpp:116
#3  0x00007f05ac6d28cf in (anonymous namespace)::ChannelPutImpl::initResponse (
    this=0x7f057405e4d0, transport=..., payloadBuffer=0x7f059bffec40, 
    status=...)
   from /cds/sw/ds/ana/conda2/inst/envs/ps-4.5.16/epics/lib/linux-x86_64/libpvAccess.so.7.1.3
#4  0x00007f05ac6b72ea in (anonymous namespace)::BaseRequestImpl::response (
    this=0x7f057405e4d0, transport=..., version=<optimized out>, 
    payloadBuffer=0x7f059c0009e0)
   from /cds/sw/ds/ana/conda2/inst/envs/ps-4.5.16/epics/lib/linux-x86_64/libpvAccess.so.7.1.3
#5  0x00007f05ac6b9fc8 in (anonymous namespace)::ResponseRequestHandler::handleResponse (this=<optimized out>, responseFrom=<optimized out>, transport=..., 
--Type <RET> for more, q to quit, c to continue without paging--
    version=2 '\002', command=<optimized out>, payloadSize=9, 
    payloadBuffer=0x7f059c0009e0)
   from /cds/sw/ds/ana/conda2/inst/envs/ps-4.5.16/epics/lib/linux-x86_64/libpvAccess.so.7.1.3
#6  0x00007f05ac6a47c9 in epics::pvAccess::detail::BlockingTCPTransportCodec::processApplicationMessage (this=0x7f059c000990)
   from /cds/sw/ds/ana/conda2/inst/envs/ps-4.5.16/epics/lib/linux-x86_64/libpvAccess.so.7.1.3
#7  epics::pvAccess::detail::AbstractCodec::processReadNormal (
    this=0x7f059c000990) at ../../src/remote/codec.cpp:253
#8  0x00007f05ac6a4a48 in epics::pvAccess::detail::BlockingTCPTransportCodec::receiveThread (this=0x7f059c000990)
   from /cds/sw/ds/ana/conda2/inst/envs/ps-4.5.16/epics/lib/linux-x86_64/libpvAccess.so.7.1.3
#9  0x00007f05aba22cfb in epicsThreadCallEntryPoint (pPvt=0x7f059c000ad0)
    at ../osi/epicsThread.cpp:95
#10 0x00007f05aba28543 in start_routine (arg=0x7f059c005810)
    at ../osi/os/posix/osdThread.c:412
#11 0x00007f05ac3b7ea5 in start_thread () from /lib64/libpthread.so.0
#12 0x00007f05abbad96d in clone () from /lib64/libc.so.6
quit) 
(ps-4.5.16) daq-tmo-hsd-02:~$ date
Tue Sep  6 14:26:48 PDT 2022
(ps-4.5.16) daq-tmo-hsd-02:~$ pwd
/cds/home/c/cpo
(ps-4.5.16) daq-tmo-hsd-02:~$ 

(ps-4.5.16) daq-tmo-hsd-02:~$ ls -rtl core*
-rw------- 1 cpo ec 89194496 Aug  7 02:11 core.17099
-rw------- 1 cpo ec 83591168 Sep  1 18:43 core.9654
(ps-4.5.16) daq-tmo-hsd-02:~$ gdb `which hsd134PVs` core.17099
GNU gdb (GDB) 11.2
Copyright (C) 2022 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-conda-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/documentation/>.

For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /cds/home/opr/tmoopr/git/lcls2_072122/install/bin/hsd134PVs...

warning: Can't open file /tmp/ffiAYKbnR (deleted) during file-backed mapping note processing
[New LWP 17124]
[New LWP 17127]
[New LWP 17099]
[New LWP 17105]
[New LWP 17102]
[New LWP 17108]
[New LWP 17103]
[New LWP 17129]
[New LWP 17110]
[New LWP 17101]
[New LWP 17121]
[New LWP 17109]
[New LWP 17126]
[New LWP 17104]
[New LWP 17122]
[New LWP 17106]
[New LWP 17107]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
--Type <RET> for more, q to quit, c to continue without paging--
Core was generated by `hsd134PVs -P DAQ:TMO:HSD:2_41 -d /dev/pcie_adc_41'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x00007f243a0afd98 in valT<int> (v=@0x7f2400159d08: 0x55b23399227c "")
    at /cds/home/opr/tmoopr/git/lcls2_062922/psdaq/psdaq/epicstools/EpicsPVA.cc:31
31	    printf("valT[%p] size[%zu] [%x]\n", v, sizeof(T), reinterpret_cast<const uint32_t*>(v)[0]);
[Current thread is 1 (Thread 0x7f243559c700 (LWP 17124))]
(gdb) where
#0  0x00007f243a0afd98 in valT<int> (v=@0x7f2400159d08: 0x55b23399227c "")
    at /cds/home/opr/tmoopr/git/lcls2_062922/psdaq/psdaq/epicstools/EpicsPVA.cc:31
#1  Pds_Epics::StructurePutTracker::putBuild (this=0x7f2400159cf0, build=..., 
    args=...)
    at /cds/home/opr/tmoopr/git/lcls2_062922/psdaq/psdaq/epicstools/EpicsPVA.cc:178
#2  0x00007f2439db550e in (anonymous namespace)::Putter::doPut (tosend=..., 
    channelPut=..., args=..., G=..., this=0x7f2400160c70)
   from /cds/sw/ds/ana/conda2/inst/envs/ps-4.5.16/epics/lib/linux-x86_64/libpvAccess.so.7.1.3
#3  (anonymous namespace)::Putter::channelPutConnect (this=0x7f2400160c70, 
    status=..., channelPut=..., structure=...)
    at ../../src/client/clientPut.cpp:116
#4  0x00007f2439e028cf in (anonymous namespace)::ChannelPutImpl::initResponse (
    this=0x7f2400161390, transport=..., payloadBuffer=0x7f243559bc40, 
    status=...)
   from /cds/sw/ds/ana/conda2/inst/envs/ps-4.5.16/epics/lib/linux-x86_64/libpvAccess.so.7.1.3
#5  0x00007f2439de72ea in (anonymous namespace)::BaseRequestImpl::response (
    this=0x7f2400161390, transport=..., version=<optimized out>, 
    payloadBuffer=0x7f2428000a00)
   from /cds/sw/ds/ana/conda2/inst/envs/ps-4.5.16/epics/lib/linux-x86_64/libpvAc--Type <RET> for more, q to quit, c to continue without paging--
cess.so.7.1.3
#6  0x00007f2439de9fc8 in (anonymous namespace)::ResponseRequestHandler::handleResponse (this=<optimized out>, responseFrom=<optimized out>, transport=..., 
    version=2 '\002', command=<optimized out>, payloadSize=9, 
    payloadBuffer=0x7f2428000a00)
   from /cds/sw/ds/ana/conda2/inst/envs/ps-4.5.16/epics/lib/linux-x86_64/libpvAccess.so.7.1.3
#7  0x00007f2439dd47c9 in epics::pvAccess::detail::BlockingTCPTransportCodec::processApplicationMessage (this=0x7f24280009b0)
   from /cds/sw/ds/ana/conda2/inst/envs/ps-4.5.16/epics/lib/linux-x86_64/libpvAccess.so.7.1.3
#8  epics::pvAccess::detail::AbstractCodec::processReadNormal (
    this=0x7f24280009b0) at ../../src/remote/codec.cpp:253
#9  0x00007f2439dd4a48 in epics::pvAccess::detail::BlockingTCPTransportCodec::receiveThread (this=0x7f24280009b0)
   from /cds/sw/ds/ana/conda2/inst/envs/ps-4.5.16/epics/lib/linux-x86_64/libpvAccess.so.7.1.3
#10 0x00007f2439152cfb in epicsThreadCallEntryPoint (pPvt=0x7f2428000af0)
    at ../osi/epicsThread.cpp:95
#11 0x00007f2439158543 in start_routine (arg=0x7f242800afd0)
    at ../osi/os/posix/osdThread.c:412
#12 0x00007f24395b4ea5 in start_thread () from /lib64/libpthread.so.0
#13 0x00007f24392dd96d in clone () from /lib64/libc.so.6
(gdb) quit
(ps-4.5.16) daq-tmo-hsd-02:~$ 

  • No labels