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: PCMON segmentation fault
From: Nicoletta Petrella <[email protected]>
To: [email protected]
Date: Mon, 28 Apr 2014 10:26:17 +0100
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.... 
....../___\........
......_| |_.........

Replies:
Re: PCMON segmentation fault Jani Hakala
Re: PCMON segmentation fault Ralph Lange
Re: PCMON segmentation fault Dirk Zimoch
Re: PCMON segmentation fault Nicoletta Petrella

Navigate by Date:
Prev: Re: Area Detector build issues... Mark Rivers
Next: Re: PCMON segmentation fault Jani Hakala
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: Area Detector build issues... Mark Rivers
Next: Re: PCMON segmentation fault Jani Hakala
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 ·