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  <20102011  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  2009  <20102011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: RE: *** buffer overflow detected ***: ./ioc terminated
From: "Mark Rivers" <[email protected]>
To: "tanushyam bhattacharjee" <[email protected]>, <[email protected]>
Date: Thu, 13 May 2010 08:57:12 -0500
I am not sure where that error is coming from.
 
You should either run your IOC under gdb, or enable core dumps (limit or ulimit commands in shell) and run gdb on the core dump.
 
Is there a reason you are running such an old version of EPICS and asyn?  asyn R4-4 is almost 5 years old, and lots of improvements have been done since then.
 
Mark
 

________________________________

From: [email protected] on behalf of tanushyam bhattacharjee
Sent: Thu 5/13/2010 8:45 AM
To: [email protected]
Subject: *** buffer overflow detected ***: ./ioc terminated 


I have successfully compiled my application in base-3.14.8.2 with asyn-4-4 in ubuntu(gcc ubuntu 4.1).
The Ioc runs succesfuly,however, if I process some PV,it terminates and shows the following error: 

*** buffer overflow detected ***: ./ioc terminated  

google search says:

In Ubuntu 8.10 and later versions, -D_FORTIFY_SOURCE=2 is set
by default, and is activated when -O is set to 2 or higher. This
enables additional compile-time and run-time checks for several
libc functions. To disable, specify either -U_FORTIFY_SOURCE or
-D_FORTIFY_SOURCE=0.

Please mention where do I specify it or please give me other possible solution.

Thanking You,
Tanushyam
	



References:
*** buffer overflow detected ***: ./ioc terminated tanushyam bhattacharjee

Navigate by Date:
Prev: *** buffer overflow detected ***: ./ioc terminated tanushyam bhattacharjee
Next: Fw: RE: *** buffer overflow detected ***: ./ioc terminated tanushyam bhattacharjee
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  <20102011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: *** buffer overflow detected ***: ./ioc terminated tanushyam bhattacharjee
Next: Fw: RE: *** buffer overflow detected ***: ./ioc terminated tanushyam bhattacharjee
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  <20102011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 02 Sep 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·