title: Linux addr2line command returns ??:0
body: <p>I created a simple code in c++ that need to be crashed. I am getting back a backtrace with this error:</p>
  <pre><code>/prbsft/bins/Main(_Z5FuncCv+0x14)[0x5571ea64dd80]
  </code></pre>
  <p>Now I'm trying to use addr2line to get the error line in the function.</p>
  <p>So I used:</p>
  <pre><code>addr2line -e /prbsft/bins/prbMain 0x5594262a8d80
  </code></pre>
  <p>But all I got is <code>0:??</code>.</p>
  <p>I have also tried to use 0x14 address instead of 0x5594262a8d80 but it returns the same result.</p>
  <p>I'm using Ubuntu. <code>addr2line</code> version is:</p>
  <pre><code>GNU addr2line (GNU Binutils for Ubuntu) 2.30
  </code></pre>
  <p>Any idea?</p>
  <hr />
  <p>Here is the output:</p>
  <pre><code>Program received signal SIGSEGV, Segmentation fault. 0x0000555555554d80 in FuncC () at main.cpp:34
  warning: Source file is more recent than executable.
  34 std::cout &lt;&lt; k-&gt;n &lt;&lt; std::endl;
  (gdb) bt
  #0 0x0000555555554d80 in FuncC () at main.cpp:34
  #1 0x0000555555554db1 in FuncB () at main.cpp:39
  #2 0x0000555555554dbd in FuncA () at main.cpp:44
  #3 0x0000555555554dda in main () at main.cpp:53
  </code></pre>