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> 2025 | 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> 2025 |
<== Date ==> | <== Thread ==> |
---|
Subject: | Re: medm edit mode SIGSEGV core dump Ubuntu 24.04. |
From: | "Soliday, Robert T. via Tech-talk" <tech-talk at aps.anl.gov> |
To: | "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov>, "Huang, Rong" <ronghuang at ls-cat.org> |
Date: | Fri, 6 Dec 2024 19:20:58 +0000 |
I was able to duplicate the problem with MEDM in edit mode on Ubuntu 24.04 and verified that your source code change is an effective workaround. I have updated our Github release to include this fix.
Thanks,
--Bob Soliday
From: Tech-talk <tech-talk-bounces at aps.anl.gov> on behalf of Rong Huang via Tech-talk <tech-talk at aps.anl.gov>
Sent: Wednesday, December 4, 2024 11:00 AM To: tech-talk at aps.anl.gov <tech-talk at aps.anl.gov> Subject: medm edit mode SIGSEGV core dump Ubuntu 24.04. 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
|