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  <20142015  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  2009  2010  2011  2012  2013  <20142015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: PCMON segmentation fault
From: Ralph Lange <[email protected]>
To: EPICS Tech-Talk <[email protected]>
Date: Mon, 28 Apr 2014 19:02:06 +0200
Hi Nicoletta,

Unless you are aiming to do something very specific, I would suppose trying the devIocStats module [1] (available in the EPICS Applications project on SourceForge [2]), which contains practically all the functionality of PCMON, but has more features, is more portable, and probably (hopefully) better maintained.

Cheers,
~Ralph

[1] http://www.slac.stanford.edu/grp/ssrl/spear/epics/site/devIocStats/
[2] http://sourceforge.net/apps/trac/epics/


On 28.04.2014 11:26, Nicoletta Petrella wrote:
Dear all,

I have downloaded the package PCMON from http://epics.web.psi.ch/software/pcmon/, but If I try to run it I get a segmentation fault while reading the memory status.

If I run the IOC inside the debugger I do not get any error and the package works fine.

The problem apparently is in the devSysMon.c.

Reading the core file from the debugger I get:

Core was generated by `../../bin/linux-x86_64/pcMonitor st2.cmd'.
Program terminated with signal 11, Segmentation fault.
#0  meminfo () at ../devSysMon.c:437
437                    while(*p++ != '\n'); /* ignore lines we don't understand */
Missing separate debuginfos, use: debuginfo-install glibc-2.12-1.132.el6.x86_64 libgcc-4.4.7-4.el6.x86_64 libstdc++-4.4.7-4.el6.x86_64 ncurses-libs-5.7-3.20090208.el6.x86_64 readline-6.0-4.el6.x86_64
(gdb)

If I cut from the database all the records related to the Memory Status which use the MEMLoad device, the package works fine.

Did anyone have the same problem? Would you know how to run the IOC outside the debugger without getting a segmentation fault?

Thank you very much.
Kind regards,
Nicoletta




..... @@ ........
....@(';')@.......
..0==/--\==0.... 
....../___\........
......_| |_.........


References:
PCMON segmentation fault Nicoletta Petrella

Navigate by Date:
Prev: looking for a part time developer for EPICS kingcomsh
Next: Acromag avme9670 LiuP
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  <20142015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: PCMON segmentation fault Nicoletta Petrella
Next: Re: PCMON segmentation fault Dirk Zimoch
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  <20142015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 17 Dec 2015 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·