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  <20092010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  <20092010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: edm crashing in execute mode
From: "J. Lewis Muir" <[email protected]>
To: Pierrick Hanlet <[email protected]>
Cc: "[email protected]" <[email protected]>
Date: Fri, 20 Mar 2009 08:38:44 -0400
On 3/20/09 8:03 AM, Pierrick Hanlet wrote:
> Hi,
> I've developed a fake ioc and some edm panels to view the ioc data.  It runs 
> beautifully on my laptop.  I've copied the software to our epics server and
> now when I attempt to execute the edm panel, edm crashes with a
> segmentation fault error.  The only problem appears to be in executing.
> 
> Any ideas?
> Thanks,
> Pierrick

Hi, Pierrick.

You could run it in a debugger and try to see what's wrong.

Are you running Linux or Mac OS X (or some other UNIX-like OS)?  If so,
you could use GDB.  Say your edm screen is named motor.edl; you could do
the following:

$ gdb edm
(gdb) run -x motor.edl

Once it crashes, you can issue the bt command to get a backtrace:

(gdb) bt

Or, if edm is multithreaded, you could get a backtrace for all threads:

(gdb) thread apply all bt

If you don't understand the gdb, you could post it here and hopefully
someone would be able to help.  You should also state the version of
EPICS and edm you're using and the operating system and version you're
using.

Lewis

-- 
J. Lewis Muir
Software Engineer
IMCA-CAT/CARS

References:
edm crashing in execute mode Pierrick Hanlet

Navigate by Date:
Prev: edm crashing in execute mode Pierrick Hanlet
Next: Re: edm crashing in execute mode Pierrick Hanlet
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  <20092010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: edm crashing in execute mode Pierrick Hanlet
Next: Re: edm crashing in execute mode John Sinclair
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  <20092010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 31 Jan 2014 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·