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