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: medm edit mode SIGSEGV core dump Ubuntu 24.04.
From: Rong Huang via Tech-talk <tech-talk at aps.anl.gov>
To: tech-talk at aps.anl.gov
Date: Wed, 4 Dec 2024 11:00:57 -0600
Hello,

Something is wrong with my medm installation.
First time using Ubuntu 24.04 for EPICS. (libmotif-dev 2.3.8-3.1build;  libx11-dev 2:1.8.7-1build1)
This error happens for both medm3_1_19 and medm3_1_20.  medm was built without error messages.

When I use medm in edit mode, by running, for example:

medm simDetector.adl

as long as I click anywhere on the opened GUI, all medm windows crashed, and the messages on the terminal is:

SIGSEGV   Aborted (core dumped)

This crash also happens if I just click on a new empty adl panel or any medm object palette menu item.

Follow ChatGPT instructions, I built medm with USR_CFLAGS = -g, ran medm within gdb, opened simDetector.adl, clicked on the adl GUI, got segmentation fault at initializeResourcePaletteElements () at ../resourcePalette.c:2474

However, if add:
                  sleep(0.05);
right before line 2474, medm edit mode works without crashes.

For my tentative workaround, I am using medm with this sleep(0.05)

Thank you,
Rong Huang

Replies:
Re: medm edit mode SIGSEGV core dump Ubuntu 24.04. Soliday, Robert T. via Tech-talk

Navigate by Date:
Prev: Synchronized format strings for PVs Patrick Hilhorst via Tech-talk
Next: Java Status? Kim Gillies 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: Synchronized format strings for PVs Patrick Hilhorst via Tech-talk
Next: Re: medm edit mode SIGSEGV core dump Ubuntu 24.04. Soliday, Robert T. 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, 06 Dec 2024 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions ·
· Download · Search · IRMIS · Talk · Documents · Links · Licensing ·