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: RE: asyn driver problem running Linux 3.8.13 with arm processor
From: Mark Rivers <[email protected]>
To: Jim Chen <[email protected]>, "[email protected]" <[email protected]>
Date: Fri, 7 Feb 2014 15:10:07 +0000
I don't know anything about the queuetask, but I have a guess about what could be causing the problem.  The getIntegerParam, etc. functions use C++ try/catch blocks, because the underlying classes can throw exceptions.  

Perhaps exceptions are not allowed in queuetask?

Mark

________________________________________
From: [email protected] [[email protected]] on behalf of Jim Chen [[email protected]]
Sent: Friday, February 07, 2014 8:47 AM
To: [email protected]
Subject: asyn driver problem running Linux 3.8.13 with arm processor

Hello,

Has anybody experienced segmentation fault when using asynPortDriver
parameter interfaces such as

        getIntegerParam
        setIntegerParam
        setDoubleParam

in the queuetask in Linux 3.8.13 for arm processor?

My environment is an EPICS application on BeagleBone Black:

        Platform: BeagleBone Black
        Processor: ARMv7 Processor rev 2 (v7l)
        Linux distro: Angstrom Linux version 3.8.13 (koen@rrMBP) (gcc
version 4.7.3 20130205 (prerelease) (Linaro GCC 4.7-2013.02-01) ) #1 SMP Thu
Sep 12 10:27:06 CEST 2013
        EPICS R3.14.12.3
        Asyn4-22/4-18

Everything else works fine until an interrupt which wakes up the queuetask.
Inside the queuetask, any of those parameter interfaces causes the
segmentation fault.

I have tried the same code in other arch like Intel but running Scientific
Linux without problem.

Any idea?

Thanks,
Jim




Replies:
RE: asyn driver problem running Linux 3.8.13 with arm processor Jim Chen
References:
asyn driver problem running Linux 3.8.13 with arm processor Jim Chen

Navigate by Date:
Prev: asyn driver problem running Linux 3.8.13 with arm processor Jim Chen
Next: motorRecord on linux-arm Jens . Eden
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: asyn driver problem running Linux 3.8.13 with arm processor Jim Chen
Next: RE: asyn driver problem running Linux 3.8.13 with arm processor Jim Chen
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 ·