Experimental Physics and Industrial Control System
On 04/13/2017 10:49 AM, Mark Rivers wrote:
> Hi Pierrick,
>
> I don't know if anyone has tested asyn with 3.16 yet. However, I would be surprised if it broke something that basic.
I've been using areadetector with 3.16 dev. for some time. My guess is
that not all modules were rebuilt against 3.16.
> Are any asyn commands defined at the iocsh prompt? What do you see when you type "help" at the iocsh prompt?
>
> Are you sure you included asyn.dbd in your application? What version of asyn are you using?
>
> Mark
>
> ________________________________
> From: [email protected] [[email protected]] on behalf of Pierrick Hanlet [[email protected]]
> Sent: Thursday, April 13, 2017 6:33 AM
> To: [email protected]
> Subject: 3.16.1: asynSetTraceMask and asynSetTraceIOMask
>
> Hi,
> For a variety of reasons, I'm swtiching from 3.14.12.3 to 3.16.0.1. However, I've found that asynSetTraceMask and asynSetTraceIOMask are
> no longer recognized when called from my st.cmd file:
> asynSetTraceMask("PN2port",-1,0xF)
> st.cmd line 18: Command asynSetTraceMask not found.
> asynSetTraceIOMask("PN2port",-1,0x2)
> st.cmd line 19: Command asynSetTraceIOMask not found.
>
> My OS is Scientific Linux 7.3.
>
> To make the move, I changed a softlink point from base 3.14.12.3 to 3.16.0.1 and recompiled everything - no errors.
> I've not changed any of my code, Makefules, or configure/RELEASE files.
>
> There is an additional piece of information which may, or may not, pertain to my problem. If I run without the calls to
> asynSetTraceMask and asynSetTraceIOMas, things appear to work as expected. However, when I exit from the shell, I get
> the following:
> epics> exit
> *** Error in `../../bin/linux-x86_64/mks651': double free or corruption (!prev): 0x000000000083dcc0 ***
> ======= Backtrace: =========
> /lib64/libc.so.6(+0x7c503)[0x7f8704c4b503]
> /home/epics/epicsPRO/base-3.16.0.1/lib/linux-x86_64/libCom.so.3.16.0(_ZN9fdManagerD1Ev+0xa2)[0x7f87057e13c2]
> /lib64/libc.so.6(__cxa_finalize+0x9a)[0x7f8704c07dba]
> /home/epics/epicsPRO/base-3.14.12.3/lib/linux-x86_64/libCom.so.3.14(+0x1f4b3)[0x7f8702bf74b3]
> ======= Memory map: ========
> 00400000-00407000 r-xp 00000000 fd:02 472938 /home/epics/epicsDEV/iocTops/MKS651/bin/linux-x86_64/mks651
> 00606000-00607000 r--p 00006000 fd:02 472938 /home/epics/epicsDEV/iocTops/MKS651/bin/linux-x86_64/mks651
> 00607000-00608000 rw-p 00007000 fd:02 472938 /home/epics/epicsDEV/iocTops/MKS651/bin/linux-x86_64/mks651
> 00608000-00609000 rw-p 00000000 00:00 0
> 0083b000-009c7000 rw-p 00000000 00:00 0 [heap]
> 7f86a0000000-7f86a0022000 rw-p 00000000 00:00 0
> 7f86a0022000-7f86a4000000 ---p 00000000 00:00 0
> 7f86a5ad7000-7f86ac000000 r--p 00000000 fd:00 100694109 /usr/lib/locale/locale-archive
> 7f86ac000000-7f86ac02c000 rw-p 00000000 00:00 0
> 7f86ac02c000-7f86b0000000 ---p 00000000 00:00 0
> 7f86b0000000-7f86b0026000 rw-p 00000000 00:00 0
> 7f86b0026000-7f86b4000000 ---p 00000000 00:00 0
> 7f86b4000000-7f86b4021000 rw-p 00000000 00:00 0
> 7f86b4021000-7f86b8000000 ---p 00000000 00:00 0
> 7f86b8000000-7f86b8021000 rw-p 00000000 00:00 0
> 7f86b8021000-7f86bc000000 ---p 00000000 00:00 0
> 7f86bc000000-7f86bc021000 rw-p 00000000 00:00 0
> 7f86bc021000-7f86c0000000 ---p 00000000 00:00 0
> 7f86c0000000-7f86c0022000 rw-p 00000000 00:00 0
> 7f86c0022000-7f86c4000000 ---p 00000000 00:00 0
> 7f86c4000000-7f86c4021000 rw-p 00000000 00:00 0
> 7f86c4021000-7f86c8000000 ---p 00000000 00:00 0
> 7f86cb2e5000-7f86cb2e6000 ---p 00000000 00:00 0
> 7f86cb2e6000-7f86cb4e6000 rw-p 00000000 00:00 0 [stack:15215]
> 7f86cb4e6000-7f86cb4e7000 ---p 00000000 00:00 0
> 7f86cb4e7000-7f86cb5e7000 rw-p 00000000 00:00 0 [stack:15214]
> 7f86cb5e7000-7f86cb5e8000 ---p 00000000 00:00 0
> 7f86cb5e8000-7f86cb6e8000 rw-p 00000000 00:00 0
> 7f86cb6e8000-7f86cb6f4000 r-xp 00000000 fd:00 100698803 /usr/lib64/libnss_files-2.17.so
> 7f86cb6f4000-7f86cb8f3000 ---p 0000c000 fd:00 100698803 /usr/lib64/libnss_files-2.17.so
> 7f86cb8f3000-7f86cb8f4000 r--p 0000b000 fd:00 100698803 /usr/lib64/libnss_files-2.17.so
> 7f86cb8f4000-7f86cb8f5000 rw-p 0000c000 fd:00 100698803 /usr/lib64/libnss_files-2.17.so
> 7f86cb8f5000-7f86cb8fb000 rw-p 00000000 00:00 0
> 7f86cb8fb000-7f86cb8fc000 ---p 00000000 00:00 0
> 7f86cb8fc000-7f86cb9fc000 rw-p 00000000 00:00 0
> 7f86cb9fc000-7f86cb9fd000 ---p 00000000 00:00 0
> 7f86cb9fd000-7f86cbbfd000 rw-p 00000000 00:00 0 [stack:15209]
> 7f86cbbfd000-7f86cbbfe000 ---p 00000000 00:00 0
> 7f86cbbfe000-7f86cbcfe000 rw-p 00000000 00:00 0 [stack:15207]
> 7f86cbcfe000-7f86cbcff000 ---p 00000000 00:00 0
> 7f86cbcff000-7f86cbdff000 rw-p 00000000 00:00 0 [stack:15206]
> 7f86cbdff000-7f86cbe00000 ---p 00000000 00:00 0
> 7f86cbe00000-7f86cc000000 rw-p 00000000 00:00 0 [stack:15205]
> 7f86cc000000-7f86cc021000 rw-p 00000000 00:00 0
> 7f86cc021000-7f86d0000000 ---p 00000000 00:00 0
> 7f86d0000000-7f86d0021000 rw-p 00000000 00:00 0
> 7f86d0021000-7f86d4000000 ---p 00000000 00:00 0
> 7f86d4000000-7f86d4021000 rw-p 00000000 00:00 0
> 7f86d4021000-7f86d8000000 ---p 00000000 00:00 0
> 7f86d8000000-7f86d8021000 rw-p 00000000 00:00 0
> 7f86d8021000-7f86dc000000 ---p 00000000 00:00 0
> 7f86dc000000-7f86dc021000 rw-p 00000000 00:00 0
> 7f86dc021000-7f86e0000000 ---p 00000000 00:00 0
> 7f86e0000000-7f86e0021000 rw-p 00000000 00:00 0
> 7f86e0021000-7f86e4000000 ---p 00000000 00:00 0
> 7f86e4000000-7f86e4026000 rw-p 00000000 00:00 0
> 7f86e4026000-7f86e8000000 ---p 00000000 00:00 0
> 7f86e8000000-7f86e8021000 rw-p 00000000 00:00 0
> 7f86e8021000-7f86ec000000 ---p 00000000 00:00 0
> 7f86ec000000-7f86ec021000 rw-p 00000000 00:00 0
> 7f86ec021000-7f86f0000000 ---p 00000000 00:00 0
> 7f86f0000000-7f86f0021000 rw-p 00000000 00:00 0
> 7f86f0021000-7f86f4000000 ---p 00000000 00:00 0
> 7f86f4000000-7f86f4021000 rw-p 00000000 00:00 0
> 7f86f4021000-7f86f8000000 ---p 00000000 00:00 0
> 7f86f8000000-7f86f8021000 rw-p 00000000 00:00 0
> 7f86f8021000-7f86fc000000 ---p 00000000 00:00 0
> 7f86fc000000-7f86fc021000 rw-p 00000000 00:00 0
> 7f86fc021000-7f8700000000 ---p 00000000 00:00 0
> 7f8700012000-7f8700053000 rw-p 00000000 00:00 0
> 7f8700053000-7f8700054000 ---p 00000000 00:00 0
> 7f8700054000-7f87000d4000 rw-p 00000000 00:00 0 [stack:15208]
> 7f87000d4000-7f87000d5000 ---p 00000000 00:00 0
> 7f87000d5000-7f87002d5000 rw-p 00000000 00:00 0 [stack:15204]
> 7f87002d5000-7f87002d6000 ---p 00000000 00:00 0
> 7f87002d6000-7f87004d6000 rw-p 00000000 00:00 0 [stack:15203]
> 7f87004d6000-7f87004d7000 ---p 00000000 00:00 0
> 7f87004d7000-7f87006d7000 rw-p 00000000 00:00 0 [stack:15202]
> 7f87006d7000-7f87006d8000 ---p 00000000 00:00 0
> 7f87006d8000-7f87008d8000 rw-p 00000000 00:00 0 [stack:15201]
> 7f87008d8000-7f87008d9000 ---p 00000000 00:00 0
> 7f87008d9000-7f8700ad9000 rw-p 00000000 00:00 0 [stack:15200]
> 7f8700ad9000-7f8700ada000 ---p 00000000 00:00 0
> 7f8700ada000-7f8700cda000 rw-p 00000000 00:00 0 [stack:15199]
> 7f8700cda000-7f8700cdb000 ---p 00000000 00:00 0
> 7f8700cdb000-7f8700edb000 rw-p 00000000 00:00 0 [stack:15198]
> 7f8700edb000-7f8700edc000 ---p 00000000 00:00 0
> 7f8700edc000-7f8700fdc000 rw-p 00000000 00:00 0 [stack:15197]
> 7f8700fdc000-7f8700fdd000 ---p 00000000 00:00 0
> 7f8700fdd000-7f87011dd000 rw-p 00000000 00:00 0
> 7f87011dd000-7f87011de000 ---p 00000000 00:00 0
> 7f87011de000-7f87013de000 rw-p 00000000 00:00 0 [stack:15195]
> 7f87013de000-7f87013df000 ---p 00000000 00:00 0
> 7f87013df000-7f87015df000 rw-p 00000000 00:00 0 [stack:15194]
> 7f87015df000-7f87015e0000 ---p 00000000 00:00 0
> 7f87015e0000-7f87017e0000 rw-p 00000000 00:00 0 [stack:15193]
> 7f87017e0000-7f87017e1000 ---p 00000000 00:00 0
> 7f87017e1000-7f87018e1000 rw-p 00000000 00:00 0 [stack:15192]
> 7f87018e1000-7f87018e2000 ---p 00000000 00:00 0 ./startMKS.bash: line 8: 15185 Aborted ../../bin/linux-x86_64/mks651 st.cmd
>
>
> Any help is appreciated.
> Thank you,
> Pierrick
>
> --
> "Whether you think you can or think you can't, either way, you are correct" -- Henry Ford
> _______________________________________________________________
> Pierrick Hanlet
> IIT/Fermilab
> +44-(0)1235-44-5550 (RAL)
> +1-630-840-5555 (FNAL)
> +1-312-567-5745 (IIT)
> +1-630-888-0185/+44-(0)79-48-860-197 (US/UK mobile)
>
- References:
- 3.16.1: asynSetTraceMask and asynSetTraceIOMask Pierrick Hanlet
- RE: 3.16.1: asynSetTraceMask and asynSetTraceIOMask Mark Rivers
- Navigate by Date:
- Prev:
Re: 3.16.1: asynSetTraceMask and asynSetTraceIOMask Andrew Johnson
- Next:
Re: Archiver Appliance established multiple CA connections for one channel Michael Davidsaver
- 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: 3.16.1: asynSetTraceMask and asynSetTraceIOMask Mark Rivers
- Next:
Re: 3.16.1: asynSetTraceMask and asynSetTraceIOMask Hartman, Steven M.
- 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