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 <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 2014 2015 2016 2017 2018 <2019> 2020 2021 2022 2023 2024 |
<== Date ==> | <== Thread ==> |
---|
Subject: | Pointer corruption on Windows |
From: | "Koennecke Mark \(PSI\) via Tech-talk" <[email protected]> |
To: | "[email protected]" <[email protected]> |
Date: | Wed, 31 Jul 2019 07:41:46 +0000 |
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
|