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: Segmentation fault when setting motorStatusProblem_ to 1 |
From: | "Kasemir, Kay" <[email protected]> |
To: | "Sobhani, Bayan" <[email protected]> |
Cc: | "[email protected]" <[email protected]> |
Date: | Thu, 1 Feb 2018 18:49:06 +0000 |
>How exactly do i run the IOC from gdb? # Go to the directory that has the st.cmd file cd iocStart/your_ioc_directory # Check the st.cmd file. It should start with something like # "#!../../bin/linuxx86_64/name_of_your_ioc_binary" # # That's what you load into GDB gdb ../../bin/linuxx86_64/name_of_your_ioc_binary # Then, inside gdb, you start the process with the st.cmd file as input run st.cmd # Once it crashes, list the threads info threads # Pick one thread 3 # Get backtrace bt # Select some interesting stack frame frame 2 # print stuff print some_var print *some_pointer_var