EPICS Home

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  2018  <20192020  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  2018  <20192020 
<== Date ==> <== Thread ==>

Subject: Re: Pointer corruption on Windows
From: Mark Rivers via Tech-talk <tech-talk@aps.anl.gov>
To: "Koennecke Mark (PSI)" <mark.koennecke@psi.ch>
Cc: "tech-talk@aps.anl.gov" <tech-talk@aps.anl.gov>
Date: Wed, 31 Jul 2019 16:19:31 +0000
Hi Mark,


asyn 4-25 is almost 5 years old. Could you try updating to a more recent version?


Mark



________________________________
From: tech-talk-bounces@aps.anl.gov <tech-talk-bounces@aps.anl.gov> on behalf of Koennecke Mark (PSI) via Tech-talk <tech-talk@aps.anl.gov>
Sent: Wednesday, July 31, 2019 2:41 AM
To: tech-talk@aps.anl.gov
Subject: Pointer corruption on Windows

Hi,

I am trying to write a motor record driver for the PXI7344 motor controller from
National Instruments and I am experiencing a weird pointer corruption problem.
First the environment:

- Windows 10, PSI computer security wants that
- MS Visual Studio 2010, I have to interface with the NI FlexMotion library which is EOL and from
  this time
- base-3-14-12
- asyn4-25
- motorR6-9

I am using the asynMotorController. What I see in my debugger is that everything is fine with my
pointer until epicsEventSignal(pollEventId_) is called in asynMotorController::wakeupPoller().
After that call my this pointer is corrupted and everything goes downhill from then. I tried to
override wakeupPoller() to an empty method in order to get more information but then
I get the pointer corruption on the call to  epicsEventWaitWithTimeout(pollEventId_, timeout) in
asynMotorController::asynMotorPoller()

Any ideas what could be wrong here?

Best Regards,

     Mark Koennecke



Replies:
RE: Pointer corruption on Windows Freddie Akeroyd - UKRI STFC via Tech-talk
References:
Pointer corruption on Windows Koennecke Mark (PSI) via Tech-talk

Navigate by Date:
Prev: Re: Problem with ADURL reading .jpg image from server Mark Rivers via Tech-talk
Next: Re: pmac driver on Debian Stretch J. Lewis Muir via Tech-talk
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  2018  <20192020 
Navigate by Thread:
Prev: Pointer corruption on Windows Koennecke Mark (PSI) via Tech-talk
Next: RE: Pointer corruption on Windows Freddie Akeroyd - UKRI STFC via Tech-talk
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  2018  <20192020