title: gdb corrupt stack issue, not function and line number displayed
body: <p>I know there is a <em>similar</em> <a href="https://stackoverflow.com/questions/9809810/gdb-corrupted-stack-frame-how-to-debug">question</a> out there. But I think this question is different.</p>
  
  <p>I'm using <code>gdb-cross-aarch64</code> to analyze a dumped core file generated on an arm arch64 device.</p>
  
  <p>My command line is like:</p>
  
  <pre><code>gdb-cross-aarch64 /path_to/gst-launch-1.0 /path_to/core.2135
  </code></pre>
  
  <p>and <code>gst-launch-1.0</code> is depended on a shared lib <code>libOmxCore.so</code>.</p>
  
  <p>Here is the output of the <code>gdb</code>:</p>
  
  <pre><code>GNU gdb (GDB) 7.9.1
  Copyright (C) 2015 Free Software Foundation, Inc.
  License GPLv3+: GNU GPL version 3 or later &lt;http://gnu.org/licenses/gpl.html&gt;
  This is free software: you are free to change and redistribute it.
  There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
  and "show warranty" for details.
  This GDB was configured as "--host=x86_64-linux --target=aarch64-poky-linux".
  Type "show configuration" for configuration details.
  For bug reporting instructions, please see:
  &lt;http://www.gnu.org/software/gdb/bugs/&gt;.
  Find the GDB manual and other documentation resources online at:
  &lt;http://www.gnu.org/software/gdb/documentation/&gt;.
  For help, type "help".
  Type "apropos word" to search for commands related to "word"...
  Reading symbols from ./work/aarch64-poky-linux/gstreamer1.0/1.4.5-r0/image/usr/bin/gst-launch-1.0...done.
  [New LWP 2135]
  [New LWP 2137]
  [New LWP 2141]
  [New LWP 2139]
  [New LWP 2138]
  [New LWP 2136]
  [New LWP 2143]
  [New LWP 2142]
  [New LWP 2140]
  
  warning: Could not load shared library symbols for 46 libraries, e.g. linux-vdso.so.1.
  Use the "info sharedlibrary" command to see the complete listing.
  Do you need "set solib-search-path" or "set sysroot"?
  Core was generated by `gst-launch-1.0 filesrc location=samplevideo.mp4 ! decodebin ! fakesink'.
  Program terminated with signal SIGABRT, Aborted.
  #0  0x0000007fa1d42cb0 in ?? ()
  (gdb) set sysroot /Disk_1/Alan_s_Work/path_to/image/
  Reading symbols from /Disk_1/Alan_s_Work/path_to/libOmxCore.so...done.
  (gdb) bt
  #0  0x0000007fa1d42cb0 in ?? ()
  #1  0x0000007fa1d46120 in ?? ()
  Backtrace stopped: previous frame identical to this frame (corrupt stack?)
  (gdb) 
  </code></pre>
  
  <p>As shown above, I've set the <code>sysroot</code> in gdb, and symbols in <code>libOmxCore.so</code> and <code>gst-launch-1.0</code> are read by <code>gdb</code>.</p>
  
  <p>But I can't still see a valid stack backtrace through <code>gdb</code>.</p>
  
  <p>I'm pretty sure that the <code>signal SIGABRT</code> is caused in <code>libOmxCore.so</code>.</p>
  
  <p>What am I doing wrong here ? Or what else should I do ?</p>
  
  <p>Thank You</p>