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  2014  2015  2016  <2017 Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  <2017
<== Date ==> <== Thread ==>

Subject: memory leak after unloading of ca.lib
From: Carsten Winkler <carsten.winkler@helmholtz-berlin.de>
To: <tech-talk@aps.anl.gov>
Date: Thu, 23 Feb 2017 09:50:01 +0100
Hi there,

when your project (e.g. LabVIEW) uses dynamic loading and unloading of
channel access classes your main class will sometimes (at 64 bit nearly
always) crush with a segmentation fault. The reason seems to be missing
free() and delete functions in EPICS Base 3.14.12.6 (I'm sure this
applies also to other EPICS Base versions).

I wrote a tiny test case to check it and it would be great to get any
advise to solve the issue.

Best regards
Carsten


________________________________

Helmholtz-Zentrum Berlin für Materialien und Energie GmbH

Mitglied der Hermann von Helmholtz-Gemeinschaft Deutscher Forschungszentren e.V.

Aufsichtsrat: Vorsitzender Dr. Karl Eugen Huthmacher, stv. Vorsitzende Dr. Jutta Koch-Unterseher
Geschäftsführung: Prof. Dr. Anke Rita Kaysser-Pyzalla, Thomas Frederking

Sitz Berlin, AG Charlottenburg, 89 HRB 5583

Postadresse:
Hahn-Meitner-Platz 1
D-14109 Berlin

http://www.helmholtz-berlin.de

Attachment: libtest-64.tar.gz
Description: application/gzip

Attachment: libtest-32.tar.gz
Description: application/gzip


Replies:
Re: memory leak after unloading of ca.lib Michael Davidsaver
RE: memory leak after unloading of ca.lib Hill, Jeff
RE: memory leak after unloading of ca.lib Wang Xiaoqiang (PSI)

Navigate by Date:
Prev: Re: Segmentation fault at dbConvert.c in Ubuntu 32/64 bit Carsten Winkler
Next: RE: RE: Re: IOC Connecting Problem Pilkyu Jung
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  <2017
Navigate by Thread:
Prev: New releases of areaDetector drivers Mark Rivers
Next: Re: memory leak after unloading of ca.lib Michael Davidsaver
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  <2017
ANJ, 23 Mar 2017 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·