EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

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  <20242025  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  <20242025 
<== Date ==> <== Thread ==>

Subject: Re: Phoebus on Windows host causes IOC crash on WSL
From: Zhibang Shen via Tech-talk <tech-talk at aps.anl.gov>
To: ralph.lange at gmx.de
Cc: "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov>
Date: Tue, 31 Dec 2024 10:08:14 +0800 (GMT+08:00)

Hi,


Thank you for your reply.


There is no specific reason for running inside WSL. Building the EPICS environment in Linux is simpler than in Windows.


It is OK for me to not use Phoebus, for I only use the OPI to observe PV changes. Camonitor is good enough, it is just not that convenient.



Best regards,

Zhibang



-----原始邮件-----
发件人: shenzb at ihep.ac.cn
发送时间: 2024-12-30 12:28:54 (星期一)
收件人: "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov>
主题: Phoebus on Windows host causes IOC crash on WSL

Hi,


I would like to build the motorMotorSim module in my WSL, Ubuntu 24.04 LTS. And I have succeeded building the module, ran it and accessed the PVs from the host of Windows with caput,caget,camonitor...


But there is a wired thing that if I want to use Phoebus to access the PVs, the IOC will crash.


The Phoebus also runs on the Windows host.



motorMotorSim IOC on Ubuntu(WSL) --> successfully run

caget.exe/caput.exe on Windows(host) --> successfully access the PVs

Phoebus on Windows(host) --> cause the IOC crash



For example, if I run the motorall_x.bob in execution mode, the IOC will show such information:



epics> *** buffer overflow detected ***: terminated

Aborted (core dumped)



I have found there was a talk from 2010 saying that this could be an issue caused by the OS itself. I am not sure if WSL is related to this issue.


Could any one help with this? Thank you!








Zhibang Shen

Institute of High Energy Physics, Chinese Academy of Sciences

19B Yuquan Road, Shijingshan District, Beijing, China

100049


Replies:
Re: Phoebus on Windows host causes IOC crash on WSL Ralph Lange via Tech-talk
References:
Phoebus on Windows host causes IOC crash on WSL Zhibang Shen via Tech-talk

Navigate by Date:
Prev: Strange behavior with single stepping a motor with Galil controller Mark Rivers via Tech-talk
Next: RE: Strange behavior with single stepping a motor with Galil controller Mark Rivers via Tech-talk
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  <20242025 
Navigate by Thread:
Prev: Re: Phoebus on Windows host causes IOC crash on WSL Ralph Lange via Tech-talk
Next: Re: Phoebus on Windows host causes IOC crash on WSL Ralph Lange via Tech-talk
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  <20242025 
ANJ, 31 Dec 2024 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions ·
· Download · Search · IRMIS · Talk · Documents · Links · Licensing ·