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 2025 | 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 2025 |
<== Date ==> | <== Thread ==> |
---|
Subject: | Re: crash in CAS-event (high load?) |
From: | Till Straumann via Tech-talk <tech-talk at aps.anl.gov> |
To: | Michael Davidsaver <mdavidsaver at gmail.com>, Heinz Junkes <junkes at fhi-berlin.mpg.de> |
Cc: | EPICS Tech Talk <tech-talk at aps.anl.gov> |
Date: | Wed, 22 Sep 2021 09:40:15 +0200 |
to translate the addresses before decoding them.You often also get valuable info from the register contents by correlating them
with variables (disassemble the code around the fault location; sometimes you can find NULL or otherwise fishy pointers...) HTH - Till On 9/21/21 5:30 PM, Michael Davidsaver via Tech-talk wrote:
On 9/21/21 3:03 AM, Heinz Junkes via Tech-talk wrote:... I don't know the best way to resolve the problem (debug, how?). Setting CASDEBUG outputs too much and I can not cope with this.One place to start is decoding the stack trace using the addr2line utility. ...Stack Trace: IP: 0x00230314, LR: 0x0022a680 --^ 0x0022a67c--^ 0x0014ceb0--^ 0x0014d0ec--^ 0x0014d144--^ 0x00149df8 --^ 0x00142e50--^ 0x001217c0--^ 0x0011a704--^ 0x00231b64--^ 0x0022b0ec --^ 0x002272c4fatal source: RTEMS_FATAL_SOURCE_EXCEPTIONRun:powerpc-rtems5-addr2line -e ./myexe 0x00230314 0x0022a680 0x0022a67c \ 0x0014ceb0 0x0014d0ec 0x0014d144 0x00149df8 0x00142e50 0x001217c0 \ 0x0011a704 0x00231b64 0x0022b0ec